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.
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 runapply_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?