Clone APP with error

hi, nv team.
I want to clone APP part of the orin. I have read some topics about clone APP part in this forum before clone.
so I follow the below steps

  1. accroding to
    Failed to sparse the raw to img due to the size of system.img.raw is not mulple of 4096 - #24
    to add patch.
  2. use cmd sudo ./ jetson-agx-orin-devkit mmcblk0p1 to flash the w. hole orin
  3. use sudo ./ -r -k APP -G original.img jetson-agx-orin-devkit mmcblk0p1 to generate the original.img
  4. cp original.img bootloader/system.img
  5. use sudo ./ -r jetson-agx-orin-devkit mmcblk0p1 to refalsh the orin, but it stop at 0% when write APP
  6. change APP allocation_attribute in flash_t234_qspi_sdmmc.xml from 0x8 to 0x808. reflash with sudo ./ -r jetson-agx-orin-devkit mmcblk0p1 and it flash success.
  7. after finish step 6. I want to clone APP out again. it show 4096 error when sparse the raw file. (Whether I modify the APP allocation_attribute to 0x808 or 0x8)

So the image generated by the clone cmd can not be cloned again ?

hello mmcly,

please check this see-also discussion thread, Topic 227778.
you may use the script, $OUT/Linux_for_Tegra/tools/backup_restore/ to generate the backup image.

ok, thanks. I will try

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.