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 ?
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.
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 ?