Can not flash by use clone image of orin platform

I clone an image from orin agx devkit and want to flash it to another one. But it failed. following is the step.

  1. sudo ./flash.sh -r -k APP -G system_r3521_APP.img jetson-agx-orin-devkit mmcblk0p1
  2. sudo cp system_r3521_APP.img bootloader/system.img
  3. sudo ./flash.sh -r -k APP jetson-agx-orin-devkit mmcblk0p1
    or
  4. sudo ./flash.sh -r jetson-agx-orin-devkit mmcblk0p1

Error message was
Error: Return value 3
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.

Hi there @wonderkay94, welcome back in our forums!

I refer your post to the correct category of our Orin experts, I hope this will help you resolve your issue!

Thanks!

Duplicated with Can not flash by use clone image of orin agx platform - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums