Changing UEFI Boot Order and retries

I want to change the boot order for the UEFI bootloader so that it tries to boot from, for example, usb and then http, and then keep retrying those. I know that I can change the priority by setting DefaultBootPriority in L4TConfiguration.dts but all the other boot options are still appended to the list of options so even though it tries usb and http first, the bootloader then keeps walking down the list, trying PXE etc, instead of retrying usb and http. Is there a way to achieve what I want without patching the UEFI source code?

Hi pek1,

Are you using the devkit or custom board for Orin Nano?
What’s your Jetpack version in use?

Please configure boot-order in UEFI menu as following:
Boot Maintenance Manager → Boot Options → Change Boot Order

It is a custom board and we use Jetpack 6.0
I would like to avoid interactive steps as that complicates board production.

If you want to preconfigure the boot-order, please refer to Customizing the Default Boot Order in the Configuration File for details.

You can also configure new added device to the BOTTOM in boot-order. (New boot device will be added to the TOP in boot order by default, you can also configure this)

Thanks but that is what I am doing - changing the boot order in the DT overlay works. My question is : how I can prevent the bootloader from trying all the (template) options instead of just the ones I specify in the DT overlay?

Maybe you should remove other boot-device.

But, if your expected boot-device at the first priority, why you care about the rest of boot-devices?

I don’t care about boot devices but I do care about boot options. I want to netboot via HTTP IPv4 and if that fails I want the bootloader to keep retrying until it succeeds. Currently the bootloader tries HTTP IPv4 once and then it tries all the other boot options, including HTTP over IPv6 and PXE over IPv4 and IPv6 which takes quite a long time because they all time out (and they always will), before giving up and entering the UEFI boot menu. So there are two problems - one is that I can’t seem to prevent the bootloader from trying network protocols that I know will fail, and the other is that the bootloader doesn’t retry network boot options.

The current behavior is expected.
So, you are not booting from the device like SD card or NVMe SSD?
If you want to customize that to keep trying boot from HTTP IPv4 or remove other options like HTTP over IPv6 and PXE over IPv4 and IPv4, you have to modify them in UEFI source.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.