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:
export kernel_out=/home/carol/Desktop/JEP/R35.1_Build/out-0920-RTPatch
export CROSS_COMPILE_AARCH64_PATH=~/Desktop/JEP/CROSS_COMPILE/Toolchain_gcc_9.3/
export CROSS_COMPILE_AARCH64=~/Desktop/JEP/CROSS_COMPILE/Toolchain_gcc_9.3/bin/aarch64-buildroot-linux-gnu-
cd ../Linux_for_Tegra/source/public/kernel/kernel-5.10/
sudo ./scripts/rt-patch.sh apply-patches
./nvbuild.sh -o $kernel_out
cd out-0920-RTPatch/arch/arm64/boot
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
Hi,carolyuu,
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.