[meta-freescale] What image should I build on the SabreLite?

Philippe BALLEYDIER PBalleydier at visionsystems.fr
Fri Nov 7 02:00:23 PST 2014


Hi

I did the same as you on fsl-image-multimedia-full
Here's what i get:

root at nitrogen6x:~# cat /proc/version
Linux version 3.10.17-1.0.1_ga+yocto+g9f710da (philippe at philippe-HP-ProBook-4730s) (gcc version 4.9.1 (GCC) ) #1 SMP Fri Nov 7 08:50:50 CET 2014
root at nitrogen6x:~# dmesg | grep ov5642
update_device_addr: ov5642 ret=-110
ov5642_read_reg:write reg error:reg=300a
camera ov5642 is not found
root at nitrogen6x:~# dmesg | grep ov5640
ov5640_mipi 1-003e: found pwm2, period=45
ov5640_read_reg:write reg error:reg=300a
camera ov5640 is not found
update_device_addr: ov5640_mipi ret=-110
ov5640_read_reg(mipi):reg=300a ret=-110
camera ov5640_mipi is not found
root at nitrogen6x:~# gst-launch --gst-debug-level=2 mfw_v4lsrc ! mfw_v4lsink
MFW_GST_V4LSRC_PLUGIN 3.0.11 build on Nov  7 2014 09:23:30.
mxc_v4l_open: Mxc Camera no sensor ipu0/csi0
mxc_v4l_open: Mxc Camera no sensor ipu1/csi0
mxc_v4l_open: Mxc Camera no sensor ipu1/csi1
0:00:00.113605000   804  0x18aad20 WARN   xc_v4l_open: Mxc Camera no sensor ipu0/csi0
m          mfw_v4lsink /media/philippe/data/release/build/tmp/work/nitrogen6x-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/gst-fsl-plugins-3.0.11/src/misc/v4l_sink/src/mfw_gst_v4lsink.c:303:mfw_gst_v4l2sink_query_support_formats: unrecognized format:[Y444]YUV444
MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Nov  7 2014 09:23:25.
Setting pipeline to PAUSED ...
0:00:00.123365000   804  0x18aad20 ERROR             mfw_v4lsrc /media/philippe/data/release/build/tmp/work/nitrogen6x-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/gst-fsl-plugins-3.0.11/src/misc/v4l_source/src/mfw_gst_v4lsrc.c:474:mfw_gst_v4lsrc_capture_setup: >>V4L_SRC: Unable to open /dev/video0
0:00:00.123428667   804  0x18aad20 ERROR             mfw_v4lsrc /media/philippe/data/release/build/tmp/work/nitrogen6x-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/gst-fsl-plugins-3.0.11/src/misc/v4l_source/src/mfw_gst_v4lsrc.c:1030:mfw_gst_v4lsrc_start: v4lsrc:error in opening the device
0:00:00.123483667   804  0x18aad20 WARN                 basesrc /media/philippe/data/release/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c:3039:gst_base_src_activate_push:<mfwgstv4lsrc0> Failed to start in push mode
0:00:00.123538333   804  0x18aad20 WARN                GST_PADS /media/philippe/data/release/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:737:gst_pad_set_active:<mfwgstv4lsrc0:src> Failed to activate pad
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Total rendered:0
Freeing pipeline ...
[--->FINALIZE v4l_sink



Is it possible that my camera is dead? How can i make sure of that?
I managed to make it work once on fsl-image-gui (dora branch). I guess i will rebuild this one just to make sure the camera is still working fine.


I added the CONFIG_USB_AUDIO to the kernel and i now have a UAC2_Gadget appearing in alsamixer, but no element is showing up: This sound device does not have any controls.


________________________________________
De : Eric Nelson [eric.nelson at boundarydevices.com]
Envoyé : jeudi 6 novembre 2014 19:11
À : Philippe BALLEYDIER
Cc : meta-freescale at yoctoproject.org
Objet : Re: [meta-freescale] What image should I build on the SabreLite?

Hi Philippe,

On 11/06/2014 08:55 AM, Eric Nelson wrote:
> Hi Philippe,
>
> Sorry for the delayed response.
>
> On 11/06/2014 02:31 AM, Philippe BALLEYDIER wrote:
>> Hi
>>
>> i'm still stuck with this problem.
>> Any ideas?
>>
>> Best regards
>> ________________________________________
>> De : meta-freescale-bounces at yoctoproject.org [meta-freescale-bounces at yoctoproject.org] de la part de Philippe BALLEYDIER [PBalleydier at visionsystems.fr]
>> Envoyé : mercredi 5 novembre 2014 09:42
>> À : Eric Nelson
>> Cc : meta-freescale at yoctoproject.org
>> Objet : Re: [meta-freescale] What image should I build on the SabreLite?
>>
>> So i switched to the dizzy branch. I've build fsl-image-multimedia-full so i can have most of the gstreamer plugins i need.
>> How do i include CONFIG_USB_AUDIO to the kernel defconfig? I found multiple defconfig files, which one is the good one?
>>
>> In attachment you can see the boot log, and it clearly appears that the OV5642 is not detected.
>> Any ideas why it doesn't show up?
>>
>
> No idea except perhaps cable connections. The log appears exactly
> as it would if you had no camera connected.
>
> This should **just work**.
>
> I don't have a current dizzy/mm-full build handy, so I haven't had a
> chance to reproduce.
>
> I'll try to get that done later today.
>

While building from dizzy, I grabbed the latest 'fsl-machine-test'
from O.S.Systems CI server (master branch):

        http://ci.ossystems.com.br/public/fsl-community-bsp/master/389/x11/nitrogen6x/fsl-image-machine-test-nitrogen6x-20141102-389.rootfs.sdcard

This image has the same kernel version (g9f710da) as the head of
dizzy, and it came right up.

        root at nitrogen6x:~# cat /proc/version
        Linux version 3.10.17-1.0.1_ga+yocto+g9f710da (jenkins at builder) (gcc
version 4.9.1 (GCC) ) #1 SMP Sun Nov 2 13:37:00 UTC 2014
        root at nitrogen6x:~# dmesg | grep ov5642
        mxc_v4l2_master_attach: ipu0:/csi0 parallel attached ov5642:mxc_v4l2_cap0
        ov5642 1-003d: created sysfs entry for reading regs
        camera ov5642 is found

I did see some weirdness in the mode setting of /dev/fb0, but the
camera was functional, and I tested with a minimal gst-launch
command-line:

        root at nitrogen6x:~# gst-launch mfw_v4lsrc ! mfw_v4lsink

Regards,


Eric


More information about the meta-freescale mailing list