I have a Jetson Orin Nano system that is booting normally from NVMe.
I would like to fully remove the netboot options (ie: HTTPv4, HTTPv6, PXEv4 & PXEv6) so that they don’t even appear in the UEFI “Boot Order” menu.
I have tried doing this in several ways, but they keep re-appearing…. I have tried:
Building UEFI with -D “NETWORK_ENABLE=FALSE” options
Removing them from the mBootPriorityTemplate table in PlatformBootOrderLib.c
Removing them manually from the UEFI dialog, and at userspace using the efibootmgr tool. In both these cases, they appear to be removed but will re-appear on a reboot.
*** Please note that this reply is generated by LLM automatically ***
To fully remove the netboot options (HTTPv4, HTTPv6, PXEv4, and PXEv6) from the UEFI Boot Order menu on your Jetson Orin Nano system, you need to modify the UEFI configuration and ensure that the changes persist across reboots.
Method 1: Modifying the L4TConfiguration.dts file
Change the default boot order variable DefaultBootPriority in the L4TConfiguration.dts file located in the Silicon/NVIDIA/Tegra/DeviceTree/ UEFI source directory.
Remove the netboot options from the DefaultBootPriority variable. For example, you can set it to DefaultBootPriority = 0x00000001; to only include the NVMe boot option.
Build the UEFI from source and copy the generated L4TConfiguration.dtbo file to the <top>/kernel/dtb/ BSP directory.
Flash the Jetson device.
Method 2: Using the efibootmgr tool
Boot into the UEFI shell and use the efibootmgr tool to remove the netboot options.
List the current boot entries using efibootmgr -v.
Identify the boot entries corresponding to the netboot options (HTTPv4, HTTPv6, PXEv4, and PXEv6).
Remove each netboot option using efibootmgr -b <boot_number> -B, where <boot_number> is the number of the boot entry to be removed.
Verify that the netboot options are removed by listing the boot entries again using efibootmgr -v.
Comparison of methods
Both methods should achieve the desired result of removing the netboot options from the UEFI Boot Order menu. However, modifying the L4TConfiguration.dts file (Method 1) is a more permanent solution, as it changes the default boot order configuration at the source level. Using the efibootmgr tool (Method 2) is a more temporary solution, as the changes may not persist across reboots or firmware updates.
Troubleshooting
If the netboot options reappear after trying the above methods, ensure that:
You have saved the changes to the L4TConfiguration.dts file and rebuilt the UEFI.
You have flashed the Jetson device with the updated UEFI configuration.
You have removed all instances of the netboot options from the UEFI configuration.
You have verified that the changes persist across reboots.
If you continue to experience issues, you may want to consult the NVIDIA Jetson Linux Developer Guide or seek further assistance from NVIDIA support or the Jetson community forums.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
The HTTP boot options were a little more troublesome, but I was able to permanently remove these by stubbing out the …DriverEntryPoint function in HttpBootDxe.c by placing a:
return EFI_UNSUPPORTED;
… as the first line of the function, thus bypassing the driver setup.