Hi,
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 ...
root@imx6qsabresd:~#
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.
refer to the error message, you haven't searched your camera yet.
for the capture mode, depends on what camera you use, in the current bsp,
Capture-mode is a configuration for your sensor:
drivers/media/video/mxc/capture/ov5642.c
enum ov5642_mode {
ov5642_mode_MIN = 0,
ov5642_mode_VGA_640_480 = 0,
ov5642_mode_QVGA_320_240 = 1,
ov5642_mode_NTSC_720_480 = 2,
ov5642_mode_PAL_720_576 = 3,
ov5642_mode_720P_1280_720 = 4,
ov5642_mode_1080P_1920_1080 = 5,
ov5642_mode_QSXGA_2592_1944 = 6,
ov5642_mode_QCIF_176_144 = 7,
ov5642_mode_MAX = 7
};
What is the input parameter of mfw_v4lsrc? I just says "set input of camera, please check the bsp release". Where is the documentation (BSP release?) on this parameter?