Error reflashing JetPack 5.1.2 on Orin AGX Devkt 32GB

I am trying to reflash my Orin AGX Devkit 32GB with JetPack 5.1.2. The device had previously been updated to JetPack 5.1.2 successfully.

When I use the the SDK manager, flashing proceeds to over 98% and then shows an error whilst writing recovery.img. Using the command line script shows the same problem. Afterwards the device does not boot at all (I see no messages on the debug serial port). I can only start in Recovery mode and restart the flashing process which always stops with an error as described above.

The last message in the terminal looks like this:

[ 406.7468 ] […] 100%
[ 408.7888 ] Writing partition B_kernel-dtb with kernel_tegra234-p3701-0000-p3737-0000.dtb [ 439809 bytes ]
[ 408.7934 ] […] 100%
[ 408.8139 ] Writing partition recovery with recovery.img [ 47151104 bytes ]
Error: Return value 1… ] 060%
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.

I have attached the full output from the command-line tool as a file here.

Thanks in advance for any help you can give.



Does rel-35.3.1 (jp5.1.1) still work there?

Just want to clarify if this is specific jp5.1.2.

No. I also tried downgrading to JP5.1.1 (using the SDK manager) but had the same problem - it almost gets to the end but doesn’t manage recovery.img either.


Please also dump your UART log during flash failure. Need to use the micro usb port. Please do not use type C port.

OK. I ran the command line script again and this time it actually worked.

I had previously used the SDK manager twice with JP 5.1.2, once with JP 5.1.1, once again with JP5.1.2 followed by the command line script once with JP5.1.2. Every time I had the same problem until I ran the command line script a second time to check the debug output via UART.

Very strange! But now it works, at least. As Albert Einstein apparently said: “Insanity is doing the same thing over and over again and expecting different results” :-)

Thanks for the quick response.

1 Like

please help dump the uart log if you hit this again in future. Thanks.

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