Hi everybody,
We have somee trouble to make csi capture work: Imx6qp board, parallel CSI0 capture 8 bits.
We have moved from Linux 4.1.15 to Linux 5.x (5.4 and 5.10). The capture works fine with L4.1.15 and not with L5.x.
We wonder why because the board is the same, the driver is the same (ov5640 style in spi), the user application is the same (compiled with L5.x sdk), the dts is the same. We use V4L2 interface.
As we directly monitor imx registers, we can see programmation is correct (the same), but with L5.x, no csi callback occurs:
[ 31.646319] In MVC: mxc_v4l_do_ioctl c0445611
[ 31.650693] case VIDIOC_DQBUF
[ 31.653939] In MVC:mxc_v4l_dqueue - wait_event_interruptible_timeout= 0
[ 32.404107] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
MACHINE=imx6qpstarlitex DISTRO=fsl-imx-fb source imx-setup-release.sh -b build
So, our question: is the simple CSI0 capture still working for imx6qp, under L5.x ?
Rgds,
Christophe
Solved! Go to Solution.
>you assert there's no CSI capture issue with imx6 in L5.x versions.
I checked internally, no issues were reported from other customers.
Best regards
igor
Hi Igor,
We already use Aurora code and we rebuild everything.
So, you assert there's no CSI capture issue with imx6 in L5.x versions. This is the meaning of my question.
Rgds,
Christophe
>you assert there's no CSI capture issue with imx6 in L5.x versions.
I checked internally, no issues were reported from other customers.
Best regards
igor
Hi Christophe
>We wonder why because the board is the same, the driver is the same (ov5640 style in spi),
>the user application is the same (compiled with L5.x sdk), the dts is the same.
it may be different (drivers, dts, uboot and other software components) in new kernels,
so recommended to rebuild all image from scratch, not use old binaries.
Also may be recommended to try nxp linux from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y
Documentation:
Best regards
igor