Hardware / software
- NVIDIA Jetson AGX Thor T5000 on a custom carrier
- L4T R38 (REVISION 4.0), UEFI firmware in the 38.x line
- Boot device: internal NVMe SSD (Samsung 990 PRO), booting
\EFI\BOOT\BOOTAA64.efi
Problem
When the board loses power abruptly (hard power-off / battery cut — from the board’s point of view an unexpected power loss), the next boot always stops at the UEFI Setup menu (Boot Manager / Boot Maintenance Manager / Device Manager / Continue / Reset). It waits there indefinitely and only proceeds to the OS after a human selects “Continue”. This happens on every hard power-off, not intermittently.
This blocks our use case: the device is battery powered and the battery can be cut at any time. Every such power cut must result in an unattended, automatic boot into the OS. Manual intervention at the UEFI menu is not acceptable.
Works vs. doesn’t
- Normal reboot (
sudo reboot) → boots straight into the OS, no Setup menu. - Hard power-off (abrupt power removal) → always halts at UEFI Setup, requires manual Continue.
Already tried (none solved it)
efibootmgr: the SSD only had an{auto_created_boot_option}entry, so I registered a proper entry pointing to\EFI\BOOT\BOOTAA64.efiand set BootOrder to put the SSD entries first (e.g.0004,0001), removing “Enter Setup” from the front. After a normal reboot BootCurrent correctly used the new entry, but the firmware re-appends the other entries (0000 Enter Setup, etc.) on every reboot, and a hard power-off still lands in Setup.- UEFI menu → Device Manager → NVIDIA Configuration → Boot Configuration: set “Enable UEFI Quick Boot” = Enabled and “Add new devices to” = bottom. No effect.
- Auto boot time-out = 10s. On a normal boot the pre-boot screen auto-continues after the timeout, but once it has dropped into the Setup menu the timeout no longer applies — it waits for manual input.
- Disconnected ALL USB peripherals (cameras, USB audio, everything) and did a hard power-off — still halts at UEFI Setup. So it is not caused by a peripheral sending console/serial data during boot.
UEFI variables checked from the OS (all look normal)
L4TDefaultBootMode= 1 (default/normal)BoardRecoveryBoot= 0 (not recovery)OsIndicationsis not present (onlyOsIndicationsSupportedexists)
So every OS-visible boot variable looks normal, yet a hard power-off still lands in the Setup menu. This suggests the Setup-halt is triggered by firmware-internal unclean-shutdown detection rather than by any boot variable I can control from the OS.
Questions
- Is there a UEFI variable or Boot Configuration setting that stops the board from entering the Setup menu after an unexpected power loss, so it auto-boots the default OS entry?
- Is “Simple UEFI” (single boot device, minimal BDS) the recommended approach for a battery-powered embedded deployment that must survive abrupt power cuts and always auto-boot? Any caveats for AGX Thor T5000 on a custom carrier?
- Is this a known behavior of the R38.x UEFI on Thor when it detects an unclean shutdown, and is there an official, non-destructive way to disable the “halt at Setup” fallback?
Any guidance on guaranteeing unattended auto-boot after a hard power-off would be greatly appreciated. Thanks.