I am developing a product that utilises the Orin NX module. One of the camera inputs in to the SOM is a 2160p30 input that connects to the Orin NX using an LT6911UXC. It is then connected to CSI#2 as 4 lanes. The CSI clock from the LT6911UXC has been been measured at 648MHz. The firmware in the LT6911 was supplied by Lontium.
The camera stream is captured using the gstreamer plugin nvv4l2camerasrc. The product does not use argus.
The product was working fine with Jetpack 5.1, but having upgraded to Jetpack 6.1, I found that the camera capture would start Ok but then intermittently fail after approx 10 seconds, although sometimes it can run approx 30 seconds before failing. When the pipeline stops there is often a visible break up in the camera image just before it fails. There is some variation between our hardware, with some products being less reliable than others. All hardware worked with Jetpack 5.1.
I have subsequently upgraded to Jetpack 6.2, but the same issue persists.
The kernel log shows the following error message repeatedly
[ 4242.911182] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
Sometimes I also get the following messages
[ 3645.556476] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 3645.762939] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 1, flags: 0, err_data 64
In an attempt to track down the source of the problem, I have been trying different RTCPU firmware images. I have tried the debug build for Jetpack 6.1 that was posted by @ShaneCCC. This still shows the problem, so I have attached the log files for it failing.
kernel_trace.log (5.7 MB)
kernel_dmesg.log (8.1 KB)
As a more radical experiment, I took the RTCPU firmware from Jetpack 5.1.4 (L4T 35.6.0) and loaded it onto my Jetpack 6.2 build. In this scenario, the camera works, and so far I have not seen it fail, which seems to indicate the issue relates to the RTCPU firmware in Jetpack 6.
Do the log files indicate any source of the problem, or do you need any more info?