Hi Team,
We’re working with a custom board based on the Jetson Orin NX module running JetPack 6.0, which includes Jetson Linux 36.3 with Kernel 5.15 and an Ubuntu 22.04 root file system.
Getting the below-shown error when trying to stream data coming through CSI2 in 4lane configuration. Could you please suggest how to debug this? Could it be due to a misconfiguration? Is there any way we could try different configurations on the fly?
tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 12500 ms
[ 787.427713] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 787.428696] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
please note that, since it’s 4-lane configuration, Orin NX developer kit it only works with Cam0 slot (i.e. CSI-C), the other camera slot connected to CSI-B, which only works with 2-lane configuration.
please note that, Orin NX/Nano series CSI0 D1 and CSI1 D0 P/N will always been swizzled for P/N.
please use device tree property, lane_polarity to configure a polarity swap on any lane.
since it’s CSI-C/D, please configure lane_polarity = "0"; in the device tree.
furthermore, please examine Sensor Pixel Clock since it must be set correctly to avoid potential issues.
see-also Debugging Tips sections for troubleshooting.
Hi JerryChang,
We have a camera module that is connected to the MIPI CSI-2 port. As soon as the module gets powered, it outputs data over MIPI. We have created a dummy driver based on imx185 as per the document (by commenting out the i2c read and writes). A /dev/video node gets created by the driver, but when we are trying to take the stream, the error mentioned above comes and we do not get any frames.
We made it serial_c, but the same errors are coming, and we cannot get any frames. Could you please let us know the mapping of CSI ports to tegra_s interface? Also, is there any way we could confirm if this issue is caused by a configuration mismatch or a driver issue?
I’m part of @anakha.s’s team. Thank you for your suggestions. We are able to get the data for a few seconds soon after the device boots up. After that, we get the error “tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072” followed by “tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 12500 ms
[ 192.732215] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 192.733703] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel”.
discarding frame failure reported due to incomplete frame has received by VI engine.
is it possible for sending a reset signal when user-space try to enable camera stream?