Boot menu - exclude from boot process

 Hello.

I use Jetson Linux 36.4.3 as part of JetPack 6.2 on Orin NX CPU.

While booting, I see such message:

Jetson System firmware version 36.4.3-gcid-38968081 date 2025-01-08T01:18:20+00:
00
ESC   to enter Setup.
F11   to enter Boot Manager Menu.
Enter to continue boot.

And system waits for a few seconds.

Is it possible to exclude this menu from booting process?

I saw similar situation on Xavier NX platform, but you provided cboot sources, and I managed to exclude it by myself.
BTW, is it possible to get sources for cboot for ORIN platform?

Thank you.

Hi dimaz,

There would be 5s timeout by default to wait user’s input to enter into UEFI menu.
If you don’t have this requirement, you can just refer to Close or hide UEFI menu - #3 by KevinFFF to customize them.

Hi KevinFFF

In that post you mentioned Jetpack 5.1.1.
Could you please give the link for cloning for JP6.2?

There should be the similar functions for JP6.2.
Please comment out the following lines in the UEFI source of JP6.2(L4T r36.4.3).
https://github.com/NVIDIA/edk2-nvidia/blob/r36.4.3/Silicon/NVIDIA/Library/PlatformBootManagerLib/PlatformBm.c#L1894
https://github.com/NVIDIA/edk2-nvidia/blob/r36.4.3/Silicon/NVIDIA/Library/PlatformBootManagerLib/PlatformBm.c#L2361

Hi.

After compilation, I got uefi_t23x_general_RELEASE.bin file.

What is the next step?

Replace bootloader/uefi_jetson.bin file by uefi_t23x_general_RELEASE.bin?

Am I right?

I would expect you built uefi_Jetson_RELEASE.bin rather than uefi_t23x_general_RELEASE.bin

Please replace <Linux_for_Tegra>/bootloader/uefi_jetson.bin with uefi_Jetson_RELEASE.bin you built.

How can I get it?

I scanned directory with config files:

mobulusnet@work:~/work/nvidia_uefi/nvidia-uefi$ ll ./edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/
total 40
drwxrwxr-x 2 mobulusnet mobulusnet 4096 Jun 23 15:36 ./
drwxrwxr-x 3 mobulusnet mobulusnet 4096 Jun 23 15:36 ../
-rw-rw-r-- 1 mobulusnet mobulusnet  332 Jun 23 15:36 t23x_android.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  261 Jun 23 15:36 t23x_embedded.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  332 Jun 23 15:36 t23x_general.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  471 Jun 23 15:36 t23x_general_igx.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  335 Jun 23 15:36 t24x_datacenter.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  271 Jun 23 15:36 t26x_android.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  305 Jun 23 15:36 t26x_embedded.defconfig
-rw-rw-r-- 1 mobulusnet mobulusnet  351 Jun 23 15:36 t26x_general.defconfig

There is no jetson config, only general.

I’ve found my mistake, but something else I do wrong.

My steps.

I want to compile without docker according your manual:

Before building, I go to the edk2-nvidia directory and checkout to the actual branch:

git checkout r36.4.3

And I modify final build command according to Jetson platform.

Before:

edk2-nvidia/Platform/NVIDIA/Tegra/build.sh --init-defconfig edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/t23x_general.defconfig

After:

edk2-nvidia/Platform/NVIDIA/Jetson/build.sh --init-defconfig edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/Jetson.defconfig

But I got such error:

dima@emb:~/work/mobulus/nvidia/nvidia-uefi$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh --init-defconfig edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/Jetson.defconfig
nvidia: building from workspace rooted at: /home/dima/work/mobulus/nvidia/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: found Python 3.10 or later.
nvidia: Activating Python virtual environment.
nvidia: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
/home/dima/work/mobulus/nvidia/nvidia-uefi/venv/lib/python3.12/site-packages/edk2toolext/edk2_invocable.py:30: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
SECTION - Init Self Describing Environment
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Initial update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Second pass update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
nvidia: Building basetools.
SECTION - Init Self Describing Environment
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Summary
PROGRESS - Success
nvidia: building from workspace rooted at: /home/dima/work/mobulus/nvidia/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: found Python 3.10 or later.
nvidia: Activating Python virtual environment.
nvidia: Building DEBUG (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
/home/dima/work/mobulus/nvidia/nvidia-uefi/venv/lib/python3.12/site-packages/edk2toolext/edk2_invocable.py:30: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
error: unexpected argument: [--init-defconfig]. Pass --help for command information.

Could you please advise me what to do with this issue?

Finally I got it after applying right edkrepo clone command:

edkrepo clone nvidia-uefi-r36.4.3 NVIDIA-Platforms r36.4.3

Yes, it is the correct command to download UEFI source for Jetpack6.2 (L4T r36.4.3).