[L4T 32.3.1] Cannot capture from video0 with v4l2-ctl

Hello,

We are integrating an IMX296 and IMX296C sensor in our product and in the latest prototype hardware, we have this issue where we cannot stream from video0 (we can stream from video1, though).

When we run “ls /dev | grep video” I can see both video0 and video1.

When we run a v4l2 capture:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1440,height=1080,pixelformat=Y10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

It hangs and we can see this error in dmesg:
TEGRA_CSI_PIXEL_PARSER_STATUS 0x00000000
TEGRA_CSI_CIL_STATUS 0x00000012
TEGRA_CSI_CILX_STATUS 0x00000060

I was just wondering what those error codes represent and how we can fix it.
Please let me know whenever you can.

I’ve also gotten error codes TEGRA_CSI_CIL_STATUS 0x00000012 and TEGRA_CSI_CILX_STATUS 0x00000040.

hello kevin.choi,

please access Tegra X1 SoC Technical Reference Manual via download center,
you may check Chapter 29: MIPI-CSI (CAMERA SERIAL INTERFACE) for reference;
you should refer to [29.16 MIPI-CSI Registers] session to have more details of register reports.

for example,
according to the register description. it indicated there’re start of transmission multi-bit error, and also control errors.
thanks