I followed the following steps to build the real-time kernel, but the test results were not satisfactory.
# build
mkdir -p ~/source && cd ~/source
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v4.0/sources/public_sources.tbz2
tar -xf public_sources.tbz2
mv Linux_for_Tegra/source/kernel_src.tbz2 .
mv Linux_for_Tegra/source/kernel_oot_modules_src.tbz2 .
mv Linux_for_Tegra/source/nvidia_kernel_display_driver_source.tbz2 .
mkdir workspace && cd workspace
tar -xf ../kernel_src.tbz2
tar -xf ../kernel_oot_modules_src.tbz2
tar -xf ../nvidia_kernel_display_driver_source.tbz2
# compile
export CROSS_COMPILE=/home/plink/kernel/nvtools/aarch64--glibc--stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
export INSTALL_MOD_PATH=/home/plink/flash/36.4/Linux_for_Tegra/rootfs/
export IGNORE_PREEMPT_RT_PRESENCE=1
./generic_rt_build.sh "enable"
make -C kernel
make modules
sudo -E make install -C kernel
sudo -E make modules_install
sudo cp kernel/kernel-jammy-src/arch/arm64/boot/Image /home/plink/flash/36.4/Linux_for_Tegra/kernel/Image
#flash
cd /home/plink/flash/36.4/Linux_for_Tegra/
sudo ./tools/l4t_update_initrd.sh
sudo ./flash.sh jetson-agx-orin-devkit internal
Then the rt-test was used for testing, and the results are shown in the following screenshot.
The delay is far from achieving the effect of the previous Jetpack 5.* version.
The following screenshot shows the test results of the previous Jetpack 5.* version, which took less than 2 microseconds.
Analysis of the code reveals that the rt-patch section was not executed.
Where should I obtain the rt-patch section of the information?


