Hi, I want to compile a real-time kernel and install the preempt_rt patch for a Jetson AGX Orin in an Ubuntu 22.04 environment. Currently, I want to modify the boot configuration file located at /boot/extlinux/extlinux.conf
to enable booting into the real-time kernel upon startup.
The content of the extlinux.conf
file is as follows:
TIMEOUT 90
DEFAULT primary
MENU TITLE L4T boot options
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} root=PARTUUID=d889d91e-7b1a-4cd1-9e67-b1fb2d219d11 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 nospectre_bhb video=efifb:off console=tty0 nv-auto-config
LABEL realtime
MENU LABEL realtime kernel
LINUX /boot/vmlinuz-5.15.148-rt74
INITRD /boot/initrd
APPEND ${cbootargs} root=PARTUUID=d889d91e-7b1a-4cd1-9e67-b1fb2d219d11 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 nospectre_bhb video=efifb:off console=tty0 nv-auto-config
I am wondering how the following two lines should be modified:
LINUX /boot/vmlinuz-5.15.148-rt74
INITRD /boot/initrd
Specifically, should the INITRD
path for the real-time kernel be the same as in the LABEL primary
section? I changed it to INITRD /boot/initrd.img-5.15.148-rt74
, but the system freezes at the startup screen and fails to boot.
By a way, when i input “sudo make install” in a terminal.
Is there anything wrong with that?
Thanks!