AGX Xavier error during flashing

Hi,
I am currently trying to flash my AGX Xavier board. Unfortunately the script is not executed successfully. This is the command I am running:
sudo ./flash.sh jetson-xavier mmcblk0p1

This is what I have found in the logs:
[ 8.5118 ] Sending bootloader and pre-requisite binaries
[ 8.5126 ] tegrarcm_v2 --download blob blob.bin
[ 8.5132 ] Applet version 01.00.0000
[ 8.5304 ] Sending blob
[ 8.5306 ] […] 100%
[ 9.4222 ]
[ 9.4244 ] tegrarcm_v2 --boot recovery
[ 9.4263 ] Applet version 01.00.0000
[ 9.4460 ]
[ 10.4494 ] tegrarcm_v2 --isapplet
[ 10.7194 ]
[ 10.7216 ] tegrarcm_v2 --ismb2
[ 10.7416 ]
[ 10.7847 ] tegradevflash_v2 --iscpubl
[ 10.7867 ] Bootloader version 01.00.0000
[ 10.9528 ] Bootloader version 01.00.0000
[ 10.9535 ]
[ 10.9536 ] Retrieving storage infomation
[ 10.9556 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[ 10.9576 ] Applet is not running on device. Continue with Bootloader
[ 10.9790 ]
[ 10.9811 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[ 10.9830 ] Bootloader version 01.00.0000
[ 10.9984 ] Saved platform info in storage_info.bin
[ 10.9996 ]
[ 10.9998 ] Flashing the device
[ 11.0016 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[ 11.0045 ]
[ 11.0067 ] tegradevflash_v2 --pt flash.xml.bin --create
[ 11.0084 ] Bootloader version 01.00.0000
[ 11.0104 ] Erasing sdmmc_boot: 3 … [Done]
[ 12.1115 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin
[ 12.1121 ] […] 100%

[ 12.1942 ] Erasing sdmmc_user: 3 … [Done]
[ 12.2158 ] Writing partition master_boot_record with mbr_1_3.bin
[ 12.2164 ] […] 100%
[ 12.2175 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[ 12.2182 ] […] 100%
[ 12.2198 ] 000000000d0d0001: o initialize partition table from GPT.
[ 12.2213 ]
[ 12.2213 ]
Error: Return value 1
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.

I don’t know what Return value 1 means. Has anyone any hints?
By the way: I am not using an SD card!
Thanks

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi,

  1. Please read this page and dump the log from serial console during flash.
    https://elinux.org/Jetson/General_debug

  2. Why do you mention sdcard? Only NX and Nano has sdcard image. Other platforms don’t have it.

  3. Are you sure this is not a 8gb Xavier?