Hi folks,
I am doing a project which involves two IMX519 connected directly to a Jetson Orin Nano Super.
- JP 6.2.1 - L4T 36.4.4.
- CAM0 is ok (attached CAM0_trace.txt)
- CAM1 (attached CAM1_trace.txt) → no valid stream of data coming from the camera.
- Both CAM tested individually on CAM0 and worked.
- Attempted to modify
pix_clk_hz, andcil_settletime(attached IMX519 DTS). None worked.
I have turned on clock_boost and VI tracing. Obtained the opcode 0x00000088, which is an LP sequence error. I have no way to probe this, so I do not know what to fix in terms of timing.
Any help is extremely appreciated !
- Command used:
++ CAM0:v4l2-ctl -d /dev/video1 --set-fmt-video=width=1920,height=1080,pixelformat=‘RG10’ --stream-mmap --stream-count=60 --set-ctrl=sensor_mode=2
++ CAM1: v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=‘RG10’ --stream-mmap --stream-count=60 --set-ctrl=sensor_mode=2
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrg_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate
modprobe rtcpu_debug
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 > /sys/kernel/debug/tracing/trace
[ 797.853856] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 797.853879] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 797.854487] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
rtcpu_nvcsi_intr: tstamp:19536355146 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000088
rtcpu_nvcsi_intr: tstamp:19536355146 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000188
rtcpu_vinotify_event: tstamp:19536555362 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:625164788192 data:0x799e300010000000
rtcpu_vinotify_event: tstamp:19536555593 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:625164845120 data:0x0000000031000001
rtcpu_vinotify_event: tstamp:19536555840 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:625164863296 data:0x799e2d0010000000
rtcpu_vinotify_event: tstamp:19536556056 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:625164883648 data:0x0000000007020001
rtcpu_vinotify_event: tstamp:19536556297 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:625164926016 data:0x0000000031000002
rtcpu_vinotify_event: tstamp:19615223543 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:627672097856 data:0x799e300010000000
rtcpu_vinotify_event: tstamp:19615223797 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:627672154816 data:0x0000000031000001
rtcpu_vinotify_event: tstamp:19615224016 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:627672172960 data:0x799e2d0010000000
rtcpu_vinotify_event: tstamp:19615224256 cch:0 vi:1 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:627672193344 data:0x0000000007020001
rtcpu_vinotify_event: tstamp:19615224470 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:627672238784 data:0x0000000031000002
log.txt (2.4 KB)
cam1_trace.txt (2.9 KB)
cam0_trace.txt (207.7 KB)
IMX519.txt (17.3 KB)