Hi everybody,
On a imx6qp custom board with a ov564x-style camera capture application, on csi0 port, 8 bits:
With linux 4.1.15, no trouble, capture works fine.
With linux 5.4.47, no mean to start the capture. Trace as below:
WARNING in file stream/source/stream.c at line 257: 'FD CAPTURE V4L2: VIDIOC_DQBUF FAILED'[ 31.860269] In MVC:mxc_v4l_ioctl
[ 31.863591] In MVC: mxc_v4l_do_ioctl c0445611
[ 31.868005] case VIDIOC_DQBUF
[ 31.871245] --------------------------------------------------------ue
[ 31.871247] In MVC:mxc_v4l_dqueue
[ 39.524186] VGEN2: disabling
[ 39.527755] VGEN3: disabling
[ 42.084136] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
WARNING in file stream/source/stream.c at line 257: 'FD CAPTURE V4L2: VIDIOC_DQBUF FAILED'
[ 42.099377] In MVC:mxc_v4l_ioctl
[ 42.102838] In MVC: mxc_v4l_do_ioctl c0445611
[ 42.107239] case VIDIOC_DQBUF
......
Between both versions, camera driver, dts and user software are the same. Moreover, camera driver directly pokes value into imx registers (CSI_SENS_CONF, CSI_SENS_FRM_SIZE, CSI_FRM_SIZE, CSI_CONF). Normally, it is enough to capure with csi port. As linux version is only the difference, i guess it is related with. But where ? What variation can induce capture port failure ?
Brgds,
Christophe