UEFI modification takes no effect

Hi ,i’m using jetson orin nx on a project. i need to change the uefi bootlog for our project. i have suceeded change the bootlogo by add new bmp file. But there still remains some annoying charactor print on the display. like below:

Jetson UEFI firmware (version 5.0-35550185 built on 2024-02-20T04:21:22+00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
** WARNING: Test Key is used. **

L4TLauncher: Attempting Direct Boot
EFI stub: Booting Linux Kernel…
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map…

By modify the uefi source code i suceed delete those charactors:

Jetson UEFI firmware (version 5.0-35550185 built on 2024-02-20T04:21:22+00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
** WARNING: Test Key is used. **

But those below still remain :

L4TLauncher: Attempting Direct Boot
EFI stub: Booting Linux Kernel…
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map…

i modify the L4TLauncher.c by change those codes:

    // ErrorPrint (L"%a: Attempting Direct Boot\r\n", __FUNCTION__);
     ErrorPrint (L"%a: test Attempting Direct Boot\r\n", __FUNCTION__);

it takes no effect.

how do i make this work?

FYI: I change the uefi by the uefi_jetson.bin and the BOOTAA64.efi and reflash the jetson module by the cmd below:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh   -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

Hi k.fudong,

Please refer to the following thread to remove the messages showing in UEFI.
How can I remove text printing from the UEFI Logo interface?

You can run the following command to update booloader.

$ sudo ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit nvme0n1p1

i sucessed in removing those lines

EFI stub: Booting Linux Kernel…
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map…

but “L4TLauncher: Attempting Direct Boot” still remain

i modify the L4TLauncher.c by change those codes:

    // ErrorPrint (L"%a: Attempting Direct Boot\r\n", __FUNCTION__);
     ErrorPrint (L"%a: test Attempting Direct Boot\r\n", __FUNCTION__);

but it takes no effect.

i use Jetson™ Linux version 36.3. cmd seems not working

$ sudo ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit nvme0n1p1

what do i miss?

For L4TLauncher.c , you might need to update esp partition to apply the change.

1 Like

You can refer to the following thread to update esp partition.
Arm Trusted Firmware Fork - #9 by KevinFFF

thanks a lot my problem has been solved!