Hi,
We (Yakov Shaulov and I) created custom board based on imx6slevk bsp and we connected parallel camera (gc0309 640x480 sensor) - created driver based on ov5640 located at subdev folder)
when we are trying to capture an image (using "gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! jpegenc ! filesink location=capture.jpeg") most of the time we get "mx6s_csi_irq_handler Rx fifo overflow" and the image we get is corrupt
Original Attachment has been moved to: imx6sl_kernel_log.txt.zip
i have same error , mx6s_csi_irq_handler Rx fifo overflow , imx6ul + ov9655, but imx6ul + ov5640 ok
Hi Nadav
before using gstreamer please try some basic camera unit tests in
imx-test-..test/pxp_v4l2_test
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz
if it works then try gstreamer using sect.7.3.3 Video encoding
attached Linux Guide.
Please use nxp gstreamer plugins (fsl-gst-plugin) and official bsp releases described on
i.MX 6 / i.MX 7 Series Software and Development Tool|NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor
in section 7.3.3 (Video Encoding) it says that Video encoding requires VPU
we only need pictures captures and we don't have VPU (nor GPU on the board)
as I mentioned we are using "gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! jpegenc ! filesink location=capture.jpeg" or using "gst-launch-1.0 imxv4l2src device=/dev/video0 num-buffers=1 ! jpegenc ! filesink location=capture.jpeg"
the error ("mx6s_csi_irq_handler Rx fifo overflow") appears often
(we are using a custom board based on i.MX6SL with GalaxyCore gc0309 VGA CMOS Image Sensor [the sensor driver is placed in /drivers/media/platform/mxc/subdev] and we enabled CONFG_VIDEO_MXC_CSI_CAMERA, CONFIG_VIDEO_MXC_PXP_V4L2 & CONFIG_VIDEO_V4L2_SUBDEV_API)
Hi Nadav
please look
as there is no any specific for i.MX jpeg gstreamer implementation one can post
it on gstreamer mail list
Best regards
igor