PREEMPT_RT kernel for Xavier NX

I have now manually downloaded and extracted the kernel sources (kernel_src.tbz2), applied RT patches (./kernel-5.10/scripts/rt-patch.sh apply-patches) and built the kernel (./nvbuild.sh -o $PWD/kernel_out). I donot use a host machine.

https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html#to-build-the-real-time-kernel

I am a bit confused about the next step. For example, the instruction below is quite ambigous, as it does not state at which point I should run apply_binaries.sh, or whether this optional also?

Optionally, archive the installed kernel modules:

$ cd <modules_install_path> $ tar --owner root --group root -cjf kernel_supplements.tbz2 lib/modules

You can use the installed modules to provide the contents of /lib/modules/<kernel_version>/ on the target system. Before you run apply_binaries.sh, make a copy of this archive to replace the one at this location on the target device:

Linux_for_Tegra/kernel/kernel_supplements.tbz2

Would there exist a good tutorial for this, so I don’t have to second guess what I should do?

Hi,
A user has shared steps in
JetPack 5.1 RT patch not working - #4 by shir1

Please refer to it.

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