Jetson_clocks --show failed if secureBoot + disk encryption is enabled

Hello,

I have an issue when I execute jetson_clocks on a board with secureBoot+disk encryption enabled

root@obs0004:~# jetson_clocks --show
SOC family:tegra194 Machine:NVIDIA Jetson Xavier NX Developer Kit
Online CPUs: 0-3
cpu0: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
cpu1: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
cpu2: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
cpu3: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
cpu4: Online=0 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
cpu5: Online=0 Governor=schedutil MinFreq=1190400 MaxFreq=1190400 CurrentFreq=1190400 IdleStates: C1=0 c6=0
GPU MinFreq=803250000 MaxFreq=803250000 CurrentFreq=803250000
cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory
/usr/bin/jetson_clocks: line 384: [: : integer expression expected
cat: /sys/kernel/debug/bpmp/debug/clk/emc/min_rate: No such file or directory
cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory
cat: /sys/kernel/debug/bpmp/debug/clk/emc/rate: No such file or directory
cat: /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked: No such file or directory
EMC MinFreq= MaxFreq= CurrentFreq= FreqOverride=
Fan: PWM=0
NV Power Mode: MODE_10W_4CORE

Do you have idea how to fix that ?
This issue kill jtop service and I need it

Thank you so much.

hello JulienMoinard,

may I know which JetPack release you’re working with?
could you please list the node $ ll /sys/kernel/debug/bpmp/ for confirmation,
thanks

Hello JerryChang,

I use Jetpack4.5 and I don’t have the folder /sys/kernel/debug/bpmp/debug/ like you can see .

root@obs0004:~# ll /sys/kernel/debug/bpmp/
total 0
drwxr-xr-x   3 root root 0 janv.  1  1970 ./
drwx------ 100 root root 0 janv.  1  1970 ../
--w-------   1 root root 0 janv.  1  1970 clk_init
drwxr-xr-x   2 root root 0 janv.  1  1970 module/
-r--r--r--   1 root root 0 janv.  1  1970 mount
-rw-r--r--   1 root root 0 janv.  1  1970 mrq
-r--r--r--   1 root root 0 janv.  1  1970 ping
-r--r--r--   1 root root 0 janv.  1  1970 tag
-rw-r--r--   1 root root 0 janv.  1  1970 trace
--w-------   1 root root 0 janv.  1  1970 trace_disable
-rw-r--r--   1 root root 0 janv.  1  1970 trace_enable
-r--r--r--   1 root root 0 janv.  1  1970 unmount

I can read on the forum for the TX2 with secureBoot bpmp debugfs will no more be available

Do you remember, on empty board with the standard rootfs from Nvidia I have an issue with the first time Nvidia installer

Maybe is related ? On fresh install I have an issue but if I restart the board I have a black screen without graphical interface but even if without graphical interface I can use my board in console mode but bpmp debugfs will no more be available and probably break the first time Nvidia installer too ?

Best regards,
Julien

hello JulienMoinard,

the debug access is disabled when the SecurityMode is burned.

Hello,

Thank you so you confirm me that I can’t use JTOP ?

Thank you.

hello JulienMoinard,

it’s jetson_clocks --show to query all available frequencies, but it failed at EMC only.
so, please use nvpmodel to select power modes as an alternative approach.
thanks

Hello,

Yes I confirm only EMC failed so I can find an alternative approach.
Thank you so much for your help.

Warm regards,
Julien.