ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: 30402 blocks

I’m trying to flash the Jetson Xavier AGX and it fails. I’m using the SDK Manager GUI. It detects the board. I’ve tried flashing JetPack 4.5.1 and JetPack 4.5, but neither work.

In the terminal I get this error early in the process, but it continues:

18:20:45 ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: Board ID(2888) version(400) sku(0004) revision(M.0)

At the end, it fails with these log lines:

18:20:48 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: Making recovery ramdisk for recovery image...
18:20:48 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: Re-generating recovery ramdisk for recovery image...
18:20:48 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra
18:20:48 ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: 30402 blocks
18:20:48 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: _BASE_KERNEL_VERSION=4.9.201-tegra
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: command is failed
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: *** ERROR: flashing failed.
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: [ Component Install Finished with Error ]
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: [host] [ 21.81 MB used. Disk Avail: 485.64 GB ]
18:20:49 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: [ NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP Install took 15s ]
18:20:49 ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh; [error]: 30402 blocks
18:20:49 ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: command terminated with error
18:20:49 SUMMARY: Flash Jetson AGX Xavier 16GB/32GB - flash: First Error: Installation failed.

I had a look at the script it’s running here ^, /tmp/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh. This contains:

#!/bin/bash
set -e
set -e
if [ -e  ./bootloader/system.img ]; then
    echo sudo ./nvautoflash.sh --no-systemimg
    sudo ./nvautoflash.sh --no-systemimg
else
    echo sudo ./nvautoflash.sh
    sudo ./nvautoflash.sh
fi
sleep 20

Since there is no ./bootloader/system.img file, this ends up running sudo ./nvautoflash.sh. I manually ran that in a terminal and it failed too. In its output is the following:

--- Reading board information succeeded.
--- Parsing board ID succeeded.
--- Parsing board version succeeded.
--- Parsing board SKU succeeded.
--- Parsing board REV succeeded.
*** Finding configuration ... jetson-agx-xavier-devkit found.
*** Finding boot device ... Boot device mmcblk0p1 found.
/home/raff/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/flash.sh  jetson-agx-xavier-devkit mmcblk0p1

I can paste the entire log if it’s helpful. At the end, it fails with this:

Re-generating recovery ramdisk for recovery image...
~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra
command is failed
*** ERROR: flashing failed.

Hi raff,

From the log, the flashing already started but failed in the middle.
Would you please help to change to use another USB cable?

hello raff,

are you using virtual machine?
please check NVIDIA SDK Manager | NVIDIA Developer for the system requirements.
thanks

I’m not using a virtual machine

hello raff,

please check for the system requirements of your host machine.
could you please also check you’re provided correct power supply to the Xavier DevKit. since it looks you’ve initial the flashing process but it crash somewhere.
thanks