[meta-freescale] [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken

Ian Coolidge ian at boundarydevices.com
Wed Nov 25 11:42:20 PST 2015


All,

This is fixed in the latest kernel:
https://github.com/boundarydevices/linux-imx6/commit/2ffd4a4

I'll be bumping our Yocto revision on meta-fsl-arm-extra shortly, but in
case you want the fix now there it is.

On Mon, Nov 16, 2015 at 4:26 PM, Gary Thomas <gary at mlbassoc.com> wrote:

> On 2015-11-16 14:27, Ian Coolidge wrote:
>
>> Gary/Carlos,
>>
>> What U-Boot version are you running? You need the new 2015-07 boundary
>> u-boot to work with the new 3.14.28 kernel.
>>
>
> U-Boot 2015.07 (Sep 23 2015 - 09:05:20 -0600)
>
> Is there anything newer?
>
>
>> Thanks,
>> -Ian Coolidge
>>
>>
>> On Wed, Nov 11, 2015 at 7:50 AM, Gary Thomas <gary at mlbassoc.com <mailto:
>> gary at mlbassoc.com>> wrote:
>>
>>     On 2015-11-11 08:42, Carlos Rafael Giani wrote:
>>
>>         Yes, same here. The thing is, my camera is an ov5642 module.
>>
>>
>>     What's really interesting is that the ov5642 doesn't seem to even
>>     show up on the I2C bus with the newer kernel:
>>
>>     3.10.53:
>>     root at nitrogen6x:~# i2cdetect -r -y 1
>>           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
>>     00:          -- -- -- -- -- -- -- -- -- -- -- -- --
>>     10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     30: -- -- -- -- -- -- -- -- -- -- -- -- -- UU UU --
>>     40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     70: -- -- -- -- -- -- -- --
>>
>>     3.14.28:
>>     root at nitrogen6x:~# i2cdetect -r -y 1
>>     0 1 2 3 4 5 6 7 8 9 a b c d e f
>>     00: -- -- -- -- -- -- -- -- -- -- -- -- --
>>     10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU --
>>     40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>     70: -- -- -- -- -- -- -- --
>>
>>     0x3d is the ov5642 and 0x3e is ov5640_mipi
>>
>>
>>
>>         On 2015-11-11 16:37, Gary Thomas wrote:
>>
>>             On 2015-11-10 18:56, Ian Coolidge wrote:
>>
>>                 Carlos,
>>
>>                 To follow up, I tested both the 3.14.28 image on jethro
>> and the old 3.10.53 fido image in the blogpost I mentioned and both worked.
>> Granted it took me two tries to
>>                 get the ribbon
>>                 cable seated properly, maybe you're having the same
>> issues?
>>
>>                 You should see "camera ov5640 is found" in dmesg if it
>> properly detects the hardware. Then you can run this gst command to show it
>> on the screen "gst-launch-1.0
>>                 imxv4l2videosrc
>>                 device=/dev/video0 ! autovideosink".
>>
>>
>>             I just verified this on my SabreLite which has OV5642 &
>> OV5640_MIPI installed.
>>             With the 3.10.53 kernel built in July, both sensors are found
>> and function.
>>             With the 3.14.28 kernel built today, only the OV5640_MIPI is
>> found.
>>
>>
>>                 Thanks!
>>                 -Ian Coolidge
>>
>>                 On Tue, Nov 10, 2015 at 3:25 PM, Ian Coolidge <
>> ian at boundarydevices.com <mailto:ian at boundarydevices.com> <mailto:
>> ian at boundarydevices.com
>>                 <mailto:ian at boundarydevices.com>>> wrote:
>>
>>                      Hello Carlos,
>>
>>                      What kernel are you running? If it's the new 3.14.28
>> kernel you'll need to upgrade your u-boot version to our 2015.07 u-boot.
>> I've written a blogpost about it
>>                 here:
>>
>> https://boundarydevices.com/compiling-latest-u-boot-for-i-mx6-2015-edition/
>> .
>>
>>                      If you want to keep your old u-boot version, or want
>> an image that works for the old u-boot, we have images on this blogpost
>> that will work and have been
>>                 tested against that
>>                      hardware:
>> https://boundarydevices.com/fido-release-of-yocto/
>>
>>                      Thanks,
>>                      -Ian Coolidge
>>
>>                      On Mon, Nov 9, 2015 at 2:29 PM, Otavio Salvador <
>> otavio.salvador at ossystems.com.br <mailto:otavio.salvador at ossystems.com.br
>> >
>>                 <mailto:otavio.salvador at ossystems.com.br <mailto:
>> otavio.salvador at ossystems.com.br>>> wrote:
>>
>>                          Hello Carlos,
>>
>>                          On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael
>> Giani
>>                          <dv at pseudoterminal.org <mailto:
>> dv at pseudoterminal.org> <mailto:dv at pseudoterminal.org <mailto:
>> dv at pseudoterminal.org>>> wrote:
>>                          > I tried to use the nitrogen6x' camera, and saw
>> that no ov5642 hardware was
>>                          > detected. The kernel module was loaded.
>>                          > With the fido kernel and the exact same
>> hardware, it works just fine.
>>                          > Is this a known issue?
>>
>>                          Added Boundary's fellows on Cc.
>>
>>                          --
>>                          Otavio Salvador                             O.S.
>> Systems
>>                 http://www.ossystems.com.br http://code.ossystems.com.br
>>                          Mobile: +55 (53) 9981-7854
>> <tel:%2B55%20%2853%29%209981-7854> <tel:%2B55%20%2853%29%209981-7854>
>>       Mobile: +1 (347) 903-9750
>>                 <tel:%2B1%20%28347%29%20903-9750>
>> <tel:%2B1%20%28347%29%20903-9750>
>>
>>
>>
>>
>>
>>
>>
>>     --
>>     ------------------------------------------------------------
>>     Gary Thomas                 |  Consulting for the
>>     MLB Associates              |    Embedded world
>>     ------------------------------------------------------------
>>
>>     --
>>     _______________________________________________
>>     meta-freescale mailing list
>>     meta-freescale at yoctoproject.org <mailto:
>> meta-freescale at yoctoproject.org>
>>     https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20151125/210c248f/attachment.html>


More information about the meta-freescale mailing list