How can I make extlinux.conf files the same as JP5.1.2 when compiling in JP6.1?

Hi All:
How can I make extlinux.conf files the same as JP5.1.2 when compiling in JP6.1?

JP6.1

obot@tegra:~$ more /boot/extlinux/extlinux.conf
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      APPEND ${cbootargs} root=PARTUUID=e845b2c1-d950-49ef-b422-d22cf908d4c7 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 nos
pectre_bhb video=efifb:off console=tty0

JP5.1.2

robot@tegra:~$ more /boot/extlinux/extlinux.conf
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      FDT /boot/dtb/kernel_tegra234-p3767-0000-p3768-0000-a0.dtb
      INITRD /boot/initrd
      APPEND ${cbootargs} root=PARTUUID=9a44790b-2766-452d-a1d9-bfddb1d8e9ba rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/f
irmware fbcon=map:0 net.ifnames=0 nospectre_bhb

Do you want to add FDT for device tree?
Suppose you can just modify it to the same.

Hi,

Yes, I want to add both of the following.
FDT /boot/dtb/kernel_tegra234-p3767-0000-p3768-0000-a0.dtb
APPEND net.ifnames=0 nospectre_bhb

You can add it manually.

Why can’t I do it like 5.1.2? This is already configured before flashing.
Is there a way to do it like 5.1.2?

Do you mean modify the extlinux.conf in the flash package and flash the device to apply the modification?

Yes, this file, how can I keep it the same as JP5.1.2.

How do you flash the system?

This way flash:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal

Could you use sdkmanager to flash to verify.

We can only flash the firmware using commands, and the same command works fine for JP5.1.2 but not for JP6.1.

Try below command.

sudo ./flash.sh --no-flash jetson-orin-nano-devkit external

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.