Disable booting from USB devices

Hi Forum,

In our system, there’s an M2 PCIe NVMe for system/OS and a USB NVMe for data. The USB NVMe is not bootable but we observe that UEFI always promotes the USB NVMe to highest boot priority and the booting usually stuck due to that reason.

I would like to know if it is possible to put the USB NVMe boot option to lower priority or even disable it but still able to use the USB NVMe for data storage, please ?

FYI, we are using Jetpack-5.0.2.

Thanks in advance and best regards,
Khang

This is possible on later version, but we did not verify it on 5.0.2.
Please give the following methods a try:

  • Go intn UEFI menu → Device Manager → NVIDIA Configuration → Boot Configuration → Add new devices to top or bottom of boot order → Bottom
  • Either de-compile L4TConfiguration.dtbo in Linux_for_Tegra/kernel/dtb/, or directly finds L4TConfiguration.dts in UEFI source code (uefi/edk2-nvidia/Silicon/NVIDIA/Tegra/DeviceTree/L4TConfiguration.dts)
    • The default value of NewDeviceHierarchy should be 01, which means new devices will be put on top.
    • Change it to 00 and compile the file back into dtbo.

Hi @DaveYYY,

Thanks for your prompt reply, about the second option, how to update the L4TConfiguration.dtbo into the running board that boots from the PCIe NVMe, please ?

Thanks and regards,
Khang

For a running device, please adjust UEFI setting.
DTBO is only for scenarios where you want to flash a new device.

For a running device, please adjust UEFI setting.

Thanks @DaveYYY, I was afraid that the setting would not retain after certain power-cycle.

1 Like

Of course it will.

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