Ran the script and it cannot find paths or create symbolic links.
fred@eng-ai1:~/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source$ ./generic_rt_build.sh enable
Enable RT kernel
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/defconfig': No such file or directory
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/tegra_prod_defconfig': No such file or directory
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/defconfig': No such file or directory
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/tegra_prod_defconfig': No such file or directory
./generic_rt_build.sh: line 61: /home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/scripts/config: No such file or directory
./generic_rt_build.sh: line 71: /home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/scripts/config: No such file or directory
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/.updated.defconfig': No such file or directory
ln: failed to create symbolic link '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/tegra_defconfig': No such file or directory
cp: cannot stat '/home/fred/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/.updated.tegra_prod_defconfig': No such file or directory
PREEMPT RT config is set successfully!
fred@eng-ai1:~/yocto/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB_DEVKIT/Linux_for_Tegra/source$
sdkmanager does not rebuild the kernel, it just keeps uploading the original one that was build initially.