Camera streams fine in 2 lanes, but fails to stream in 4 lanes

I am 98% sure the issue is not on the camera (deserializer + serializer + camera) side.

Here are the logs.

Deserializer is connected on CAM1, as CAM0 only supports 2 lanes.

The only changes (besides deserializer configuration) is that bus-width is set to 4 on nvcsi endpoints and on camera endpoints. port-index is kept as 2. I’ve examined existing 4 lane dts configurations but didn’t find anything that would fix it.

[  137.639021] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[  137.672331] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[  137.705628] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[  137.738941] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072

Any suggestions?

Also, is there any way to get rtcpu logs inside the dmesg? It would make debugging easier.

nvidia2.log (117.5 KB)

Get the trace log to check.

https://elinux.org/Jetson/l4t/Camera_BringUp

See the attached file in my first post. Is that not the trace file?

Looks like not.

echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace
cat /sys/kernel/debug/tracing/trace

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.