[meta-freescale] Nitrogen6x w/ OV5642

Sébastien Taylor me at staylor.ca
Thu May 23 11:48:00 PDT 2013


I did previously have the module working in Yocto when I first setup the fsl-image-test.  I then spent a few days customizing a custom layer and porting our applications and when I returned to do more testing is when the camera was no longer working.  It does seem like it's a connection issue though I'm so far not having much luck on that front, but I did capture these logs showing the ov5642_probe failing (extended the debug log slightly).

But it would seem the problem is on my end.

ov5642_probe
camera_reset: power_gp=0x6, reset_gp=0x8 reset_gp2=0xab
mx6_csi0_powerdown: powerdown=0, power_gp=0x6
ov5642_read_reg: write reg error: reg=300a err=-5
ov5642_probe:cannot find camera retval -1 chip_id_high 0x0
ov5642_read_reg: write reg error: reg=300b err=-5
ov5642_probe:cannot find camera retval -1 chip_id_low 0x0
mx6_csi0_powerdown: powerdown=1, power_gp=0x6


On 2013-05-22, at 6:02 PM, Eric Nelson <eric.nelson at boundarydevices.com> wrote:

> Hi Sébastien,
> 
> Is this the first time you've used the module?
> 
> If so, I suspect a cabling issue. The flex connectors can
> be a pain to get right the first time:
> 
> Theres a photo here of how the cables should be connected
> to Nitrogen6X (i.e. blue side up):
> 	http://boundarydevices.com/wp-content/uploads/2012/05/Camera-to-6X-Small.jpg
> 
> I'll try to get a Dylan image built, but that may bleed into
> next week, since I'm taking a few days off.
> 
> Please advise,
> 
> 
> Eric
> 
> On 05/22/2013 04:56 PM, Sébastien Taylor wrote:
>> MFW_GST_V4LSRC_PLUGIN 3.0.5 build on May 21 2013 14:49:13.
>> 
>> Running gst-launch with DEBUG=*:3 shows that the failure is caused by being unable to open /dev/video0 though the device is there.
>> 
>> On 2013-05-22, at 5:01 PM, Eric Nelson <eric.nelson at boundarydevices.com> wrote:
>> 
>>> Hi Sébastien,
>>> 
>>> On 05/22/2013 03:43 PM, Sébastien Taylor wrote:
>>>> I'm on the Dylan branch and I've tried withboth the default
>>>> linux-boundary kernel as well as updating the .bb to use
>>>> the latest 1.1.1 branch from boundary.
>>>> 
>>>> Looks like I'll have to dig a little deeper to see what's causing
>>>> mfw_v4lsrc to fail (mfw_v4lsink works fine with a videotestsrc).
>>>> 
>>> Can you check the version of the gstreamer plugins?
>>> 
>>> 	root at nitrogen6x# gst-inspect mfw_v4lsrc | head -n 1
>>> 
>>> Our 1.1.1 branch is confirmed to work with the 3.0.5 package,
>>> but I haven't yet pushed a kernel matching the 4.0.0. BSP
>>> release (I'm hoping to do some clean up along the way).
>>> 
>>> Please advise,
>>> 
>>> 
>>> Eric
>>> 
>> 
> 




More information about the meta-freescale mailing list