Hi all,
while I was cross compiling the kernel to my ORIN NX, I found some small errors into the documentation I’d like to share:
-
You suggest to define CROSS_COMPILE_AARCH64_PATH but this is never used.
-
When you refer to rootfs modules, you suggest
$(uname -r)
to locate the correct kernel folder. This is wrong in case of cross-compiling. The jetson has its own kernel version that is different from system’s one. -
In ’ To Build the Real-Time Kernel’ - step 4 you suggest to copy
nvidia-drm.ko
,nvidia.ko
, andnvidia-modeset.ko
into<top>/Linux_for_Tegra/usr/lib/modules/$(uname -r)/extra/opensrc-disp/
I see two problems here: there’s no /rootfs/ and also it’s important to mention that the KO files must go into the RT folder (e.g.rootfs/usr/lib/modules/5.10.104-rt63-tegra/extra/opensrc-disp/
) to be effective. -
In ’ To Build Display Kernel Modules’ step 6, you can’t use $(CROSS_COMPILE_AARCH64) as command here. You shall use ${ } for replacing.
Finally I’d also to invite you to address the ‘typos’ I mentioned here (RT Latency Tuning) that are still in the documentation. (lack of separator and lack of mention that those values are NOT for Orin).
Thank you!!