Erase Xavier NX emmc/QSPI flash?

Hi,

currently, you can try the following method for erasing individual partitions with tegraflash.py.

Put the device into recovery
Run the command
sudo ./flash.sh --no-flash --sign --no-systemimg <board> mmcblk0p1

Extract the command from “bootloader/flashcmd.txt” and replace the “sign” with “erase <partition name>” after –cmd
Put the device into recovery
Change to “bootloader” directory and run the command obtained in step 3 with “sudo”

I just confirmed it’s working by erasing the APP partition on my AGX Orin.

Erasing the whole device should be done with tegradevflash_v2, but the workflow is more complicated and integrated into the flashing process, so we may need sometime to figure out how to run it individually.