I’m trying to compile a kernel with PREEMPT-RT patches for the Jetson Nano. For this, I followed the kernel building instructions in https://docs.nvidia.com/jetson/l4t/ and the only extra step I’m doing is to apply the real-time patches included in the BSP source (in the folder rt-patches) before making the configuration:
for i in rt-patches/*.patch; do patch -p1 < $i; done
Then, I select the following options in menuconfig:
General setup -> Timer subsystem -> Timer tick handling -> Full dynticks system (tickless) Kernel Features -> Preemption Model: Fully Preemptible Kernel (RT) Timer frequency: 1000 HZ
The compilation is successful, however, when I try the kernel in the board it only shows the NVIDIA logo (apparently a boot-loop). First I tried replacing the Image, dtb and modules in a previously installed microSD (with the official Nano image), but then I created my own image using the create-jetson-nano-sd-card-image.sh script:
sudo ./apply_binaries.sh sudo ./create-jetson-nano-sd-card-image.sh -o jetson_nano.img -s 12G -r 100
However, in both cases the result is the same, I’m not able to boot.
Is there any problem with the included real-time patches or am I doing something wrong?