Hello,
I'm trying to enable two MIPI-CSI video streams on iMX6Q. Diagram bellow shows the HW setup.
Since we're using newer BSP version (4.1.15), I've ported changes from patches included here:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX6DQ-MAX9286-MIPI-CSI2-720P-camera-sur....
The stream from VC1 (/dev/video1) is visible with some artifacts appearing on screen, but the stream from VC0 (/dev/video0) is not.
Does anyone have an idea how to debug this issue to determine in which segment of the pipeline is the stream stuck and why? Is it the Camera hub, MIPI-CSI2 receiver, CSI2IPU gasket, IPU1 mux, etc...
Additional info:
Baseboard: Custom
SoM: Toradex Apalis iMX6Q
OS: Yocto based custom Linux
Kernel version: 4.14.117
BR!
Martin Lovrić
I managed to get second stream working by avoiding IPU MUX elements, instead of VC0 I used VC2, the problem remains why VC0 doesn't work.
FYI: In driver I have enabled CSI input for IPU1 mux:
regmap_update_bits(gpr, IOMUXC_GPR1, 3 << 19, 0 << 19);
" instead of VC0 I used VC2"
>is it your typo? do you mean change VC1 to VC2, not VC0, right? pls check the debug document for imx6 mipi camera