Orin Devkit stuck in reboot loop after running update steps from 5.0.2 to 5.1.1

Followed the steps on the docs:
sudo apt update
sudo apt dist-upgrade
sudo apt install --fix-broken -o Dpkg::Options::=“–force-overwrite”

got the “ERROR. Procedure for A_kernel-dtb update FAILED.” so I ran the following commands:

sudo parted /dev/mmcblk0 -s rm 4
sudo parted /dev/mmcblk0 -s resizepart 3 67.9MB
sudo parted /dev/mmcblk0 mkpart A_reserved_on_user 67.9MB 101MB

They all gave some error, can’t remember as I did not save the output. I re-ran the first steps and got the same error so I tried to sudo reboot. After I rebooted the device gets stuck in a loop where I see the nvidia logo with the option to hit enter to try to boot, after that the screen turns black and no signal.

I connected to a host pc and run the SDK Manager (1.9.3.10904 x86_64) and try to flash the device after forcing it into recovery mode with 5.1.1 rev 1. The flash is successful, I get the prompt to install the SDK components and I get this error:

“Not exactly one NVIDIA Jetson device is connected with USB. For using default IPv4 address, please connect exactly one Jetson device.
This can be validated by running the ‘lsusb’ command on your host, and look for (NVIDIA Corp).”

When I run lsusb I don’t see the device anymore, and I hear a noise from the Orin AGX sounds like its doing its reboot loop in the background right after the flash is done.

Any ideas?

If I put it into recovery mode it appears again as a device on the SDK Manager. This is what I can see from the logs while it is flashing:


19:39:43 SUMMARY: CUDA on Host - host: Install completed successfully.
19:39:43 SUMMARY: CUDA Cross Compile Package on Host - host: Install completed successfully.
19:39:43 SUMMARY: NvSci - host: Install completed successfully.
19:39:43 SUMMARY: Nsight Systems - host: Install completed successfully.
19:39:43 SUMMARY: CUPTI - host: Install completed successfully.
19:39:43 SUMMARY: Compute Sanitizer - host: Install completed successfully.
19:40:32 SUMMARY: Drivers for Jetson - target_image: Install completed successfully.
19:42:24 SUMMARY: File System and OS - target_image: Install completed successfully.
19:42:46 ERROR: Flash Jetson AGX Orin - flash: [ 0.0160 ] ERROR: failed to read rcm_state
19:42:46 ERROR: VPI on Host - host: |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
19:42:46 ERROR: Flash Jetson AGX Orin - flash: [ 0.1025 ] Error: Skip generating mem_bct because sdram_config is not defined
19:42:46 ERROR: Flash Jetson AGX Orin - flash: [ 0.1025 ] Error: Skip generating mem_bct because sdram_config is not defined
19:42:51 ERROR: Flash Jetson AGX Orin - flash: 36144 blocks
19:42:51 ERROR: Flash Jetson AGX Orin - flash: gzip: /home/john/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/kernel/Image: not in gzip format
19:42:52 SUMMARY: VPI on Host - host: Install completed successfully.
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 53066 blocks
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 20+0 records in
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 20+0 records out
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 20 bytes copied, 6,8427e-05 s, 292 kB/s
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 131072+0 records in
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 131072+0 records out
19:42:54 ERROR: Flash Jetson AGX Orin - flash: 67108864 bytes (67 MB, 64 MiB) copied, 0,0937833 s, 716 MB/s
19:42:59 SUMMARY: Nsight Graphics - host: Install completed successfully.
19:43:00 ERROR: Flash Jetson AGX Orin - flash: [ 0.0049 ] ERROR: failed to read rcm_state
19:43:00 ERROR: Flash Jetson AGX Orin - flash: [ 0.0737 ] Error: Skip generating mem_bct because sdram_config is not defined
19:43:00 ERROR: Flash Jetson AGX Orin - flash: [ 0.0737 ] Error: Skip generating mem_bct because sdram_config is not defined
19:43:05 ERROR: Flash Jetson AGX Orin - flash: 36144 blocks
19:43:05 ERROR: Flash Jetson AGX Orin - flash: gzip: /home/john/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/kernel/Image: not in gzip format
19:43:08 ERROR: Flash Jetson AGX Orin - flash: 53066 blocks
19:43:08 ERROR: Flash Jetson AGX Orin - flash: 20+0 records in
19:43:08 ERROR: Flash Jetson AGX Orin - flash: 20+0 records out
19:43:08 ERROR: Flash Jetson AGX Orin - flash: 20 bytes copied, 8,6871e-05 s, 230 kB/s
19:43:17 SUMMARY: Nsight Compute - host: Install completed successfully.
19:43:42 ERROR: Flash Jetson AGX Orin - flash: 131072+0 records in
19:43:42 ERROR: Flash Jetson AGX Orin - flash: 131072+0 records out
19:43:42 ERROR: Flash Jetson AGX Orin - flash: 67108864 bytes (67 MB, 64 MiB) copied, 0,0980156 s, 685 MB/s

UPDATE: I flashed jetpack 5.0.2 and it rebooted with the usual “high speed fan noise”, suddenly it started working again. I am still curious why I could not upgrade from 35.1 to 35.2.1 following your official guide?

Hi,

so you already got it fixed?

We need the error log to know what was going on, but it’s fine they are gone as your is working now.

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