How can I format my Jetson AGX Xavier, now it doesn’t work and needs to be repainted
you may download NVIDIA SDK Manager to setup development environment to flash the board.
BTW, the error here should related to something wrong in the device tree blob.
you may refer to Flashing a Specific Partition, to flash a specific partition instead of flashing the whole device by using the command line switch
$ sudo ./flash.sh -k kernel-dtb jetson-xavier mmcblk0p1