Yocto DEMO images are used to evaluate peripherals and testing only.
This is the camera log running fsl-image-gui-imx6-tinyrexultra-2.3.sdcard image. Some images were displayed but it was very slow and choppy.
Code:
[email protected]:~# echo 2 > /sys/bus/i2c/devices/1-0036/ov5647_mode [email protected]:~# gst-launch-1.0 v4l2src device="/dev/video1" ! video/x-bayer,width=1920,height=1080,framerate=30/1 ! queue ! bayer2rgb ! videoconvert ! fbdevsink [INFO] Product Info: i.MX6Q/D/S ERROR: unrecognized std! 0 (PAL=ff, NTSC=b000 display(/dev/fb0) resolution is (1920x1080). power_down_callback: ipu0/csi0 power_down_callback: ipu0/csi1 Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: v4l2 capture: unsupported ioctrl! ERROR: v4l2 capture: unsupported ioctrl! WARNING: from element /GstPipelinePipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped. Additional debug info: ../../../../gstreamer-1.8.1/libs/gst/base/gstbasesink.c(2854): gst_base_sink_is_too_late (): /GstPipelinePipeline0/GstFBDEVSink:fbdevsink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipelinePipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped. ... Additional debug info: ../../../../gstreamer-1.8.1/libs/gst/base/gstbasesink.c(2854): gst_base_sink_is_too_late (): /GstPipelinePipeline0/GstFBDEVSink:fbdevsink0: There may be a timestamping problem, or this computer is too slow. ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:15.719039002 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
In the case the camera is working under yocto and not working under ubuntu then the difference is most likely in gstreamer. The kernel driver might be missing proper callbacks to satisfy gstreamer startup calls to setup camera. I can't help to investigate what is missing because i know nothing about it.
Leave a comment: