I am working on a remotely-located xavier devkit and have just upgraded the platform to use the new UEFI bootloader.
A change I was testing is causing a kernel panic on boot, resulting in infinite loop. I have a serial port attached and have been trying to figure out how to reboot the jetson in forced recovery mode from here.
I tried setting the value of L4TDefaultBootMode to 0x3 by performing the below steps based on the documentation here: VariableList · NVIDIA/edk2-nvidia Wiki (github.com) but it is not behaving as I had expected it to.
I eventually got someone to physically reset the devkit to recovery mode without issue, but it would be very helpful to do this without the need for physical intervention. Is there a way to force recovery mode from UEFI shell?
Shell> dmpstore -all L4TDefaultBootMode Variable NV+RT+BS '781E084C-A330-417C-B678-38E696380CB9:L4TDefaultBootMode' Data Size = 0x04 00000000: FF 00 00 00 Shell> setvar -guid 781E084C-A330-417C-B678-38E696380CB9 L4TDefaultBootMode =0x3 Shell> setvar -guid 781E084C-A330-417C-B678-38E696380CB9 L4TDefaultBootMode 781E084C-A330-417C-B678-38E696380CB9 - L4TDefaultBootMode - 0001 Bytes 03 Shell> reset ... Jetson UEFI firmware (version 1.0-d7fb19b built on 2022-08-10T20:18:13-07:00) Press ESCAPE for boot options ** WARNING: Test Key is used. ** ...... L4TLauncher: Attempting Recovery Boot Header not seen at either offset 0 or offset 0x1000 Failed to boot recovery:0 partition