How to disable UEFI message when the NVIDIA logo showed


I want to disable the uefi message when boot up

I have comment out some messages, but still has one appear

I have comment out the line in L4TLauncher.c, but it seems not work
ErrorPrint (L"%a: Attempting Direct Boot\r\n", FUNCTION);

Coulu you help to tell me where to comment out this message?

The following result is what I modified




How did you build UEFI and re-flash the board?


Yes, the commit version is a5ac12d7

I’m not asking you the commit number…

Yes,I build UEFI and re-flash the board

I am asking you what commands did you run, not YES or NO…
Can you understand?

Sorry, I misunderstand

Just refernce by this git, amd build with docker

Then how you re-flash the board?
Note that L4TLauncher is located in a different partition other than the UEFI binary, and it’s on the storage device itself, not the QSPI bootloader.

One is named BOOTAA64.efi, which will be flashed into the esp partition on the storage device, and the other one is named uefi_jetson.bin, which will be flashed into A/B_cpu-bootloader partiton on the QSPI bootloader.

Flash command reference by document

sudo ./tools/kernel_flash/ --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit internal

Then you need to make sure you replace both BOOTAA64.efi and uefi_jetson.bin under Linux_for_Tegra/bootloader/.

Yes, the files are replaced

-rw-r–r-- 1 gary gary 86016 5月 22 15:11 BOOTAA64.efi
-rw-r–r-- 1 gary gary 2883584 5月 22 15:12 uefi_jetson.bin

Are you sure you really did it the right way?
The file size of the default BOOTAA64.efi is also 86016 bytes.
You should be getting a different file size after commenting out some codes.


I did the following verification

I add 40 lines ErrorPrint (L"%a: Attempting Direct Boot\r\n", FUNCTION); in L4TLauncher.c and build by docker

But the BOOTAA64.efi size is still 86016 bytes

Build process reference by this page

Is there anything miss?

What L4T version and UEFI branch are you using?
I will verify locally later.

L4T l4t 35.5.0
UEFI r35.5.0

download the source code by this line
edkrepo clone nvidia-uefi_r35.5.0 NVIDIA-Platforms r35.5.0


I just tested locally, and that line of message can be sucessfully removed:

File sizes are also changed:

davey@dave-yu-nvidia-pc:/mnt/1T-HDD/BSP/r35.5/Linux_for_Tegra/bootloader$ ls -l | grep BOOTAA64
-rw-rw-r-- 1 davey davey       86016  2月 20 12:38 BOOTAA64_BACKUP.efi
-rw-r--r-- 1 davey davey       81920  5月 24 16:20 BOOTAA64.efi


Thanks for help

Could you offer your full commands?

The same one as shown in documents.

Did you build with or without docker?

With Docker.
Docker is the recommended way.