UEFI cannot boot from USB drive first

Hi Everyone,
When I use the following command to burn UEFI, I find that I cannot boot from the USB drive as the first priority.
ROOTFS_AB=1 ROOTFS_RETRY_COUNT_MAX=1 ./flash.sh --no-systemimg -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit nvme0n1p1
But when I remove ROOTFS_AB=1 ROOTFS_RETRY_COUNT_MAX=1, I can boot from the USB drive first.
So if I want to enable the AB partition and also want to set the image to boot from the USB drive first, how can I do this?

Hi,

What do you mean about boot from the USB drive?

Do you mean use USB drive as a rootfs?

Thanks

Yes, you are right. my USB(/dev/sda) partition table is as follows:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          133119   64.0 MiB    EF00  esp
   2          133120        59725790   28.4 GiB    0700  APP

My SSD(/dev/nvme0n1) partition table looks like this:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          133119   64.0 MiB    EF00  esp
   2          133120         8521727   4.0 GiB     8300  APP
   3        10094592        18483199   4.0 GiB     8300  APP_b

But if I enable ROOTFS_AB=1 ROOTFS_RETRY_COUNT_MAX=1, I can not get the USB drive as my first boot device, it will automatic boot from SSD at first.

Also.
Some question to confirm:

  • Are you using a Jetson Nano or Jetson Orin Nano?
  • What is your JP version?

Seems like you are using UEFI, which not support Jetson Nano

Thanks

Hi,

Please refer to doc to override the default order.

Thanks

The answers to the questions are as follows:

  1. We have two types of Jetson, one is nano4g, the other is nx8g, But I am testing nano4g
  2. I use the Jetson Linux 36.4.3

After I burned UEFI, the UEFI settings page looked like this:

I added ADDITIONAL_DTB_OVERLAY="BootOrderUsb.dtbo" in the command to execute flash.sh, and then I can boot from the USB drive first. Thank you for your answer.

1 Like

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

Hi,

Could you describe more in detail?
How do you enter in SSD system?
In general, add OVERLAY will take effect unless you manually modify in bios setting.

Thanks

1 Like