I want to recompile the nvidia_kernel_display_driver_source code to support the real-time kernel.
I have executed the ‘./kernel-5.10/scripts/rt-patch.sh apply-patches’ command to apply the rt-patch.
When I recompile the nvidia_kernel_display_driver_source code in orin, the following error is generated
We can’t reproduce your issue on r35.1 public sources.
Share our steps for you reference:
sudo ./scripts/rt-patch.sh apply-patches
./nvbuild.sh -o $kernel_out
scp Image to Orin and replace /boot/Image
After reboot and check:
$ uname -a
Linux tegra-ubuntu 5.10.104-rt63-tegra #1 SMP PREEMPT RT Tue Sep 20 10:28:05 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
I have performed these operations and rt-patch has compiled successfully.
However, after replacing Image with /boot/Image, HDMI is not displayed properly, nvidia.ko related module files are not loaded, so I need to recompile the nvidia_kernel_display_driver_source code，Then an error is generated.
yes,my custom board,
But the display needs to load the nvidia.ko and nvidia-modest.ko files, after using rt-patch, nvidia.ko and nvidia-modest.ko will show loading failure,Need to recompile the nvidia.ko file corresponding to the real-time kernel,
If the nvidia_kernel_display_driver_source code is recompiled successfully, the corresponding nvidia.ko will be generated, but now the error indicates that the real-time kernel is not supported.