How to add rt kernel in the vesion of 35.2.1?

Hi,
I refered to the Unable to locate package nvidia-l4t-rt-kernel and nvidia-l4t-rt-kernel-headers, and download the file public_sources.tbz2.
I found the source file and found out the script kernel/kernel-5.10/scripts/rt-patch.sh.
My question is If I execute the script,does the rt function is added?
If not ,how can I add the rt function?
Thanks

Hi,
I refered to the web of Kernel Customization — Jetson Linux Developer Guide documentation
and run the step as following.


The result is that there is hdmi output of initial progress bar and I can login in the serial uart,but there is no hdmi output of Linux desktop. The file nohdmi.txt (60.2 KB) is the log of dmesg command.
Can anyone tell me how to enter the Linux desktop with rt kernel?
Thanks.

Hi,
So your device boots into black screen after applying RT patches right?
It’s a known issue in our document, and we have made corresponding update to it internally, but the document on our website may not get refreshed until new L4T release.

Please follow guidance provided by this user to fix it:

A summary of steps required:

  1. Apply the RT patch and build the kernel.
  2. Build external kernel modules from the kernel_out folder, and it should be installed in /usr/lib/modules/$(uname -r)/.
  3. Build display kernel drivers and swap out nvidia-drm.ko, nvidia.ko and nvidia-modeset.ko in /usr/lib/modules/$(uname -r)/extra/opensrc-disp/ (this folder may need to be created manually).
  4. Flash the image, type “sudo depmod -a” upon booting and reboot. (this command seems to be only required on Orin)

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