Small errors in "Kernel Customization" documentation

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:

  1. You suggest to define CROSS_COMPILE_AARCH64_PATH but this is never used.

  2. 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.

  3. In ’ To Build the Real-Time Kernel’ - step 4 you suggest to copy nvidia-drm.ko , nvidia.ko , and nvidia-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.

  4. 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!!


We’ll see if it needs to be removed.

You are right here, but I think users should be aware that $(uname -r) here refers to the device, not the host. We might add a reminder here.

It’s indeed a typo that we forgot to add rootfs here, and thanks for reminding.

That’s right.

We will fix it soon, and sorry for letting you wait…

1 Like

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