Error cloning and restoring Jetson Orin

I modified nvresizefs.sh with the changes described in the link below:

Also modified flash_t234_qspi_sdmmc.xml with the changes described below:

My files: flash_t234_qspi_sdmmc.xml (35.6 KB)
nvresizefs.sh (6.4 KB)

I get the same result when creating the clone. The size of the image is 0 bytes

Solution:
Use the clone.img.raw to flash the target device.
sudo cp clone.img.raw bootloader/system.img
sudo ./flash.sh -r jetson-agx-orin-devkit mmcblk0p1

After modifying the files mentioned above and using clone.img.raw, I was able to succesfully clone and flash Jetson Orin AGX

Orin AGX, my bad. I made a mistake when creating the topic.