AnsweredAssumed Answered

Capturing CSI BT1120 without any sensor driver

Question asked by Isaac Nickaein on May 22, 2015
Latest reply on May 29, 2015 by Isaac Nickaein



I am trying to capture a BT1120 video using parallel CSI on i.MX6 DL/Q running Kernel 3.10. The video is generated by an FPGA which its outputs are connected to the CSI input of i.MX6 based on pin configuration presented here: Support BT1120 progressive mode in Mx6Q .


During boot, the MXC V4L2 capture driver reports this error:


ERROR: v4l2 capture: slave not found!


And trying to capture a frame with the mfw_v4lsrc plugin fails:


root@imx6qsabresd:~# GST_DEBUG=*:1 gst-launch mfw_v4lsrc num-buffers=1 ! jpegenc ! filesink location=sample.jpeg


MFW_GST_V4LSRC_PLUGIN 3.0.11 build on May 11 2015 16:49:57.

Setting pipeline to PAUSED ...

0:00:00.772529334   688  0x1021840 ERROR             mfw_v4lsrc /home/isaac/Desktop/yocto/dizzy/fsl-community-bsp/build/tmp/work/imx6qsabresd-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.773700334   688  0x1021840 ERROR             mfw_v4lsrc /home/isaac/Desktop/yocto/dizzy/fsl-community-bsp/build/tmp/work/imx6qsabresd-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

ERROR: Pipeline doesn't want to pause.

Setting pipeline to NULL ...

Freeing pipeline ...




Is there any way to configure the V4L2 capture on i.MX6 without any need of a "slave" or sensor device? The FPGA that is connected to CSI port is going to send the video data constantly in a fixed format and resolution and it doesn't need any driver.


Besides this, is there any documentation on capture-mode and input parameter of mfw_v4lsrc plugin?

The capture-mode apparently specifies the driver and/or image format for the capturing. The help for the input parameter just says "set input of camera, please check the bsp release". I wonder if there is any configuration of these parameters to make capturing without the driver possible.