All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
@ 2015-11-09 21:25 Carlos Rafael Giani
  2015-11-09 22:29 ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Rafael Giani @ 2015-11-09 21:25 UTC (permalink / raw)
  To: meta-freescale Mailing List

Hello,

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?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-09 21:25 [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken Carlos Rafael Giani
@ 2015-11-09 22:29 ` Otavio Salvador
  2015-11-10 23:25   ` Ian Coolidge
  0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-11-09 22:29 UTC (permalink / raw)
  To: Carlos Rafael Giani, Ian Coolidge, Troy Kisky; +Cc: meta-freescale Mailing List

Hello Carlos,

On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
<dv@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            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-09 22:29 ` Otavio Salvador
@ 2015-11-10 23:25   ` Ian Coolidge
  2015-11-11  1:56     ` Ian Coolidge
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Coolidge @ 2015-11-10 23:25 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List, Troy Kisky

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

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@ossystems.com.br> wrote:

> Hello Carlos,
>
> On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
> <dv@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            Mobile: +1 (347) 903-9750
>

[-- Attachment #2: Type: text/html, Size: 2255 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-10 23:25   ` Ian Coolidge
@ 2015-11-11  1:56     ` Ian Coolidge
  2015-11-11 15:37       ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Coolidge @ 2015-11-11  1:56 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List, Troy Kisky

[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]

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".

Thanks!
-Ian Coolidge

On Tue, Nov 10, 2015 at 3:25 PM, Ian Coolidge <ian@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@ossystems.com.br> wrote:
>
>> Hello Carlos,
>>
>> On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>> <dv@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            Mobile: +1 (347) 903-9750
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3317 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-11  1:56     ` Ian Coolidge
@ 2015-11-11 15:37       ` Gary Thomas
  2015-11-11 15:42         ` Carlos Rafael Giani
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2015-11-11 15:37 UTC (permalink / raw)
  To: meta-freescale

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@boundarydevices.com <mailto:ian@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@ossystems.com.br <mailto:otavio.salvador@ossystems.com.br>> wrote:
>
>         Hello Carlos,
>
>         On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>         <dv@pseudoterminal.org <mailto:dv@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>            Mobile: +1 (347) 903-9750 <tel:%2B1%20%28347%29%20903-9750>
>
>
>
>
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-11 15:37       ` Gary Thomas
@ 2015-11-11 15:42         ` Carlos Rafael Giani
  2015-11-11 15:50           ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Rafael Giani @ 2015-11-11 15:42 UTC (permalink / raw)
  To: meta-freescale

Yes, same here. The thing is, my camera is an ov5642 module.

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@boundarydevices.com <mailto:ian@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@ossystems.com.br 
>> <mailto:otavio.salvador@ossystems.com.br>> wrote:
>>
>>         Hello Carlos,
>>
>>         On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>>         <dv@pseudoterminal.org <mailto:dv@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>            Mobile: +1 (347) 
>> 903-9750 <tel:%2B1%20%28347%29%20903-9750>
>>
>>
>>
>>
>>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-11 15:42         ` Carlos Rafael Giani
@ 2015-11-11 15:50           ` Gary Thomas
  2015-11-16 21:27             ` Ian Coolidge
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2015-11-11 15:50 UTC (permalink / raw)
  To: meta-freescale

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@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@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@boundarydevices.com <mailto:ian@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@ossystems.com.br <mailto:otavio.salvador@ossystems.com.br>> wrote:
>>>
>>>         Hello Carlos,
>>>
>>>         On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>>>         <dv@pseudoterminal.org <mailto:dv@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>            Mobile: +1 (347) 903-9750 <tel:%2B1%20%28347%29%20903-9750>
>>>
>>>
>>>
>>>
>>>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-11 15:50           ` Gary Thomas
@ 2015-11-16 21:27             ` Ian Coolidge
  2015-11-17  0:26               ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Coolidge @ 2015-11-16 21:27 UTC (permalink / raw)
  To: Gary Thomas, Carlos Rafael Giani; +Cc: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 4722 bytes --]

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.

Thanks,
-Ian Coolidge

On Wed, Nov 11, 2015 at 7:50 AM, Gary Thomas <gary@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@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@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@boundarydevices.com
>>>> <mailto:ian@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@ossystems.com.br <mailto:
>>>> otavio.salvador@ossystems.com.br>> wrote:
>>>>
>>>>         Hello Carlos,
>>>>
>>>>         On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>>>>         <dv@pseudoterminal.org <mailto:dv@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>
>>>>           Mobile: +1 (347) 903-9750 <tel:%2B1%20%28347%29%20903-9750>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

[-- Attachment #2: Type: text/html, Size: 7016 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-16 21:27             ` Ian Coolidge
@ 2015-11-17  0:26               ` Gary Thomas
  2015-11-25 19:42                 ` Ian Coolidge
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2015-11-17  0:26 UTC (permalink / raw)
  To: Ian Coolidge, Carlos Rafael Giani; +Cc: meta-freescale Mailing List

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@mlbassoc.com <mailto:gary@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@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@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@boundarydevices.com <mailto:ian@boundarydevices.com> <mailto:ian@boundarydevices.com
>                 <mailto:ian@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@ossystems.com.br <mailto:otavio.salvador@ossystems.com.br>
>                 <mailto:otavio.salvador@ossystems.com.br <mailto:otavio.salvador@ossystems.com.br>>> wrote:
>
>                          Hello Carlos,
>
>                          On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael Giani
>                          <dv@pseudoterminal.org <mailto:dv@pseudoterminal.org> <mailto:dv@pseudoterminal.org <mailto:dv@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@yoctoproject.org <mailto:meta-freescale@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/meta-freescale
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken
  2015-11-17  0:26               ` Gary Thomas
@ 2015-11-25 19:42                 ` Ian Coolidge
  0 siblings, 0 replies; 10+ messages in thread
From: Ian Coolidge @ 2015-11-25 19:42 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 6542 bytes --]

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@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@mlbassoc.com <mailto:
>> gary@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@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@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@boundarydevices.com <mailto:ian@boundarydevices.com> <mailto:
>> ian@boundarydevices.com
>>                 <mailto:ian@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@ossystems.com.br <mailto:otavio.salvador@ossystems.com.br
>> >
>>                 <mailto:otavio.salvador@ossystems.com.br <mailto:
>> otavio.salvador@ossystems.com.br>>> wrote:
>>
>>                          Hello Carlos,
>>
>>                          On Mon, Nov 9, 2015 at 7:25 PM, Carlos Rafael
>> Giani
>>                          <dv@pseudoterminal.org <mailto:
>> dv@pseudoterminal.org> <mailto:dv@pseudoterminal.org <mailto:
>> dv@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@yoctoproject.org <mailto:
>> meta-freescale@yoctoproject.org>
>>     https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>

[-- Attachment #2: Type: text/html, Size: 9806 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-25 19:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09 21:25 [meta-fsl-arm-extra] nitrogen6x: ov5642 support in master/jethro broken Carlos Rafael Giani
2015-11-09 22:29 ` Otavio Salvador
2015-11-10 23:25   ` Ian Coolidge
2015-11-11  1:56     ` Ian Coolidge
2015-11-11 15:37       ` Gary Thomas
2015-11-11 15:42         ` Carlos Rafael Giani
2015-11-11 15:50           ` Gary Thomas
2015-11-16 21:27             ` Ian Coolidge
2015-11-17  0:26               ` Gary Thomas
2015-11-25 19:42                 ` Ian Coolidge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.