Camera problem with how I can trace the log when use R36.3.0

Hello , I encountered a problem. When I try to light up IMX490 on Orin R36.3.0,something wrong with opening video0.Then I want to get some logs by tracing .However,when I exec the next script,I found I cant find the path " /sys/kernel/debug/camrtc/log-level"

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/debb
ug/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/bpmpp
/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/dd
ebug/clk/emc/rate
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

v4l2-ctl --set-fmt-video=width=2880,height=1860,pixelformat=YUYV --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=F8.raw -d /dev/video0


cat /sys/kernel/debug/tracing/trace

How to use tracing function on R36.3.0

Thanks for anyone can reply !

hello QOP,

VI tracing logs. /sys/kernel/debug/camrtc/log-level is disabled (on rel-36) by default.
please probe the debug module to enable it. for instance, $ modprobe rtcpu_debug

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