Good afternoon everyone
Config:
- Jetpack 6.2
- Orin Nano NX 8GB @ 20W
- R36.4
- PREEMPT_RT
I have one question further down the post, I’ll send my updates on flashing my board with RT-Kernel and some tests. My question is related to the naming of the debian that we populate our rootfs using ./apply_binaries.sh
.
When doing the OTA you would do:
sudo apt install nvidia-l4t-rt-kernel nvidia-l4t-rt-kernel-headers nvidia-l4t-rt-kernel-oot-modules nvidia-l4t-display-rt-kernel
But since i’m working on a custom kernel build to be able to flash on NVMe i can’t use the OTA.
I folowed the steps for the custom RT Kernel. Both kernel build and board flashing were successful, and my system is running in RT mode as verified by:
$ cat /sys/kernel/realtime
1
$ uname -r
5.15.148-rt-tegra
$ zcat /proc/config.gz | grep PREEMPT_RT
CONFIG_PREEMPT_RT=y
$ zcat /proc/config.gz | grep CONFIG_HZ
# CONFIG_HZ_PERIODIC is not set
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
Yes, I left it on 250 Hz, no 1000Hz ticks for now.
Tests with Cyclictest
Under stress and with jetson_clocks
activated, 20W (@ 6cores).
For those wondering the script to create the image was:
"mklatencyplot.bash "
sudo /usr/bin/jetson_clocks
stress-ng --cpu 4 --io 2 --vm 1 --vm-bytes 1G --timeout 60s
# Then run the script which has this inside:
cyclictest -l60000 -m -Sp90 -i5000 -h1000 -q >output
The Issue
I’m encountering dependency errors when installing a custom Debian package that depends on either nvidia-l4t-kernel
or nvidia-l4t-rt-kernel
. I use this .deb
as a check to confirm if the RT kernel is installed.
Currently, after flashing, the package manager shows:
$ apt list nvidia-l4t-kernel
nvidia-l4t-kernel/stable,now 5.15.148-tegra-36.4.3-20250107174145 arm64 [installed]
$ apt list nvidia-l4t-rt-kernel
Listing... Done
So, only nvidia-l4t-kernel
is installed and recognized, not nvidia-l4t-rt-kernel
, which makes sense since I did not rename it.
My Questions
- What changes are needed in the Debian package names or in the
apply_binaries.sh
process to rename the RT kernel package to (nvidia-l4t-rt-kernel
) - Is it normal that on a 5 minutes test (60k samples over 200Hz) i got a maximum latency of 358 us? I’ll reflash on a normal Jetpack 6.2 and see the difference under the same test.
- Is there any test for me to know that everything went down properly?