Disable L4T: Attempting Direct Boot msg from uefi

Hi,

I have flashed agx orin jp6.2.1 , devkit.

I have disabled all the boot messages and nvidia logo successfully as per nvidia documentation - UEFI Source build .

However as the above im facing the same issue.
I am still getting L4T: Attempting Direct Boot message .
I have commented this line out in L4TLauncher.c and also replaced the Boot64.efi and flashed the esp partition but for some reason that boot message still does not go.

Kindly assist

*** Please note that this reply is generated by LLM automatically ***

To remove the L4TLauncher “Attempting Direct Boot” message on a Jetson AGX Orin or Jetson Orin Nano device, you need to update the ESP partition. Here’s a step-by-step guide:

Jetson AGX Orin:

  1. First, you need to identify the ESP partition. You can do this by running the following command:

ls -al /dev/disk/by-partlabel | grep esp

   This should output something like:
   ```bash
lrwxrwxrwx 1 root root 16 Sep  3 03:26 esp -> ../../nvme0n1p10
  1. Mount the ESP partition:

sudo mount /dev/nvme0n1p10 /mnt

3. Navigate to the mounted ESP partition:
   ```bash
cd /mnt/EFI/BOOT
  1. Replace the BOOTAA64.EFI file with a new one that does not contain the L4TLauncher message. You can do this by copying a new BOOTAA64.EFI file to the /mnt/EFI/BOOT directory.

Jetson Orin Nano:

The process is similar to the Jetson AGX Orin, but you need to make sure that the L4TLauncher is not included in the nvme0n1p1 partition by default.

  1. Identify the ESP partition:

ls -al /dev/disk/by-partlabel | grep esp

   This should output something like:
   ```bash
lrwxrwxrwx 1 root root 16 Sep  3 03:26 esp -> ../../nvme0n1p10
  1. Mount the ESP partition:

sudo mount /dev/nvme0n1p10 /mnt

3. Navigate to the mounted ESP partition:
   ```bash
cd /mnt/EFI/BOOT
  1. Replace the BOOTAA64.EFI file with a new one that does not contain the L4TLauncher message.

Common steps:

  1. After replacing the BOOTAA64.EFI file, unmount the ESP partition:

sudo umount /mnt

2. Flash the updated ESP partition:
   ```bash
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1

Replace jetson-agx-orin-devkit with jetson-orin-nano-devkit if you are using a Jetson Orin Nano device.

Troubleshooting:

If you are still seeing the L4TLauncher “Attempting Direct Boot” message after updating the ESP partition, make sure that you have commented out the relevant line in the L4TLauncher.c file and rebuilt the BOOTAA64.EFI file.

Additionally, ensure that you have flashed the updated ESP partition correctly and that the changes have taken effect.

Comparison:

The process of removing the L4TLauncher “Attempting Direct Boot” message is similar for both Jetson AGX Orin and Jetson Orin Nano devices. However, the Jetson Orin Nano device requires an additional step to ensure that the L4TLauncher is not included in the nvme0n1p1 partition by default.

In summary, to remove the L4TLauncher “Attempting Direct Boot” message, you need to update the ESP partition by replacing the BOOTAA64.EFI file with a new one that does not contain the message, and then flash the updated ESP partition.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Hi @carolyuu

Whats the flash command to flash the esp partition for AGX Orin after unmounting?

I dont want to reflash the entire board right now

To update the esp partition on AGX Orin, please simply refer to the following commands.

$ ll /dev/disk/by-partlabel/esp
(if esp is on */dev/mmcblk0p10*)
$ sudo mount /dev/mmcblk0p10 /mnt
$ cd /mnt/EFI/BOOT/
(BOOTAA64.efi should be here)
1 Like

thanks all, it worked.

@carolyuu @KevinFFF

How do i disable the login screen

Do you mean that you don’t need the display in your case?
If so, please try to disable the display controller from kernel device tree.

It seems another topic, please create another thread to discuss in details.