Yes, basic SCCB/I2C communication is working but the actual drivers do not 
work. From what I can tell all of the OmniVision cameras use the same 
SCCB/I2C communication and the only difference are the register definitions 
and settings.

Unfortunately I have not been successful in getting the drivers to work, 
they either crash the kernel or reply with an error. For some reason the 
drivers are written differently than what I seen from TI and Freescale and 
internet searching shows both of those platforms have working solutions.

I want to get this working but I am not a driver developer so my work is 
slow and wastes a lot time. I'm hoping to find someone to help with this 
project!

On Monday, September 22, 2014 6:58:09 AM UTC-7, Joseph Nguya wrote:
>
> Thanks, we'll try.
>
> On Monday, September 22, 2014 3:50:18 PM UTC+2, Jon Smirl wrote:
>>
>> On Mon, Sep 22, 2014 at 9:48 AM, Joseph Nguya <[email protected]> 
>> wrote:
>>
>>> Are you able to share your ov2643.c driver; for what kernel was it built
>>>
>>> George is using OV5642.
>>
>>  
>>
>>> On Monday, September 22, 2014 3:30:23 PM UTC+2, Jon Smirl wrote:
>>>>
>>>> George has i2c working.
>>>>
>>>> On Mon, Sep 22, 2014 at 9:16 AM, Joseph Nguya <[email protected]> 
>>>> wrote:
>>>>
>>>>> Hi Jon,
>>>>>
>>>>> The A20 does not support SCCB protocol. Did you manage to get a 
>>>>> working sccb driver for the ov2643 working over i2c for the A20? What did 
>>>>> you do to get it working.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Sunday, January 5, 2014 7:19:05 PM UTC+2, Jon Smirl wrote:
>>>>>>
>>>>>> The unit has a Chinese Android build on it which is slowing me down. 
>>>>>>
>>>>>> I haven't figure out how to start adb Ethernet daemon on target 
>>>>>> device.
>>>>>>
>>>>>>
>>>>>> On Sun, Jan 5, 2014 at 12:01 PM, [email protected] <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Jan 5, 2014 at 11:55 AM, Michal Suchanek <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 5 January 2014 17:48, [email protected] <[email protected]> 
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > On Sun, Jan 5, 2014 at 11:43 AM, Michal Suchanek <
>>>>>>>> [email protected]> wrote:
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> On 5 January 2014 16:50, [email protected] <[email protected]> 
>>>>>>>> wrote:
>>>>>>>> >>
>>>>>>>> >>>
>>>>>>>> >>>
>>>>>>>> >>>
>>>>>>>> >>> On Sun, Jan 5, 2014 at 5:38 AM, Michal Suchanek <
>>>>>>>> [email protected]>
>>>>>>>>
>>>>>>>> >>> wrote:
>>>>>>>> >>>>
>>>>>>>> >>>> AFAIK the camera board is connected digitally so the noise is 
>>>>>>>> something
>>>>>>>> >>>> that is internal to the camera board.
>>>>>>>> >>>>
>>>>>>>> >>>> It is normal that under low light condition the image is 
>>>>>>>> noisy. Did you
>>>>>>>> >>>> try taking pictures in full daylight or using some photography 
>>>>>>>> lighting?
>>>>>>>> >>>
>>>>>>>> >>>
>>>>>>>> >>> I have four other USB webcams and none of them have this noise 
>>>>>>>> under same
>>>>>>>> >>> lighting conditions. I have two other Allwinner systems with 
>>>>>>>> cameras and
>>>>>>>> >>> they all have noise. I checked it out this morning under 
>>>>>>>> sunlight. It is
>>>>>>>> >>> better but the noise is still there.
>>>>>>>> >>>
>>>>>>>> >>> Maybe the camera images need some image processing that is not 
>>>>>>>> getting
>>>>>>>> >>> turned on under the Allwinner platform? All of the Allwinner 
>>>>>>>> devices appear
>>>>>>>> >>> to be running Allwinner SDK with only minor changes. They 
>>>>>>>> probably all
>>>>>>>> >>> copied each other.
>>>>>>>> >>>
>>>>>>>> >>> The datasheet for the image sensor is here:
>>>>>>>> >>> http://files.virt2real.ru/docs/
>>>>>>>> >>>
>>>>>>>> >>> It is also possible that image processing features of the 
>>>>>>>> sensor chip are
>>>>>>>> >>> not properly enabled.
>>>>>>>> >>>
>>>>>>>> >>
>>>>>>>> >> According to the datasheet the camera chip has various image 
>>>>>>>> processing
>>>>>>>> >> filters including noise reduction. Does the driver support 
>>>>>>>> tuning these
>>>>>>>> >> filters?
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > I can modify driver. But that triggers the whole problem of being 
>>>>>>>> able to
>>>>>>>> > rebuild the software for these devices. I'm trying to figure out 
>>>>>>>> how to
>>>>>>>> > extract the fex files. They are STBs and don't have normal 
>>>>>>>> Android buttons.
>>>>>>>>
>>>>>>>> Meaning not even a FEL button?
>>>>>>>>
>>>>>>>> No OTG USB port. They put a hub chip on the board and only exposed 
>>>>>>> host port. 
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>> Do you get access to the boot partition with adb?
>>>>>>>>
>>>>>>>> The other way would be to run a non-broken Linux system from SD 
>>>>>>>> card.
>>>>>>>> Getting at least serial or ethernet should be easy if the box has
>>>>>>>> those. Or an USB Ethernet.
>>>>>>>>
>>>>>>>
>>>>>>> It has Ethernet. I'm trying to figure it out, I haven't used Android 
>>>>>>> SDK with Ethernet before.
>>>>>>>  
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> Michal
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "linux-sunxi" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Jon Smirl
>>>>>>> [email protected] 
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Jon Smirl
>>>>>> [email protected] 
>>>>>>
>>>>>  -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "linux-sunxi" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Jon Smirl
>>>> [email protected] 
>>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "linux-sunxi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Jon Smirl
>> [email protected] 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to