I clone an image from orin agx devkit and want to flash it to another one. But it failed. following is the step.
- sudo ./flash.sh -r -k APP -G system_r3521_APP.img jetson-agx-orin-devkit mmcblk0p1
- sudo cp system_r3521_APP.img bootloader/system.img
and then flash the target by step 3 or 4 (flash APP or all partition)
- sudo ./flash.sh -r -k APP jetson-agx-orin-devkit mmcblk0p1
- sudo ./flash.sh -r jetson-agx-orin-devkit mmcblk0p1
attached is the error message
flash_all.txt (85.5 KB)
flash_app.txt (68.1 KB)
Could you help to check the size of
system_r3521_APP.img.raw after Step1?
and use the following command flashing to the target
$ sudo ./flash.sh -r -S <size of xxx.img.raw in bytes> jetson-agx-orin-devkit mmcblk0p1
The size of system_r3521_APP.img is 7014133868.
The size of system_r3521_APP.img.raw is 62090379264.
The size of original bootloader/system.img is 5705757844.
The size of original bootloader/system.img.raw is 59055800320.
which size should I try?
Do I need to replace the file bootloader/system.img.raw?
Please use the 62090379264 for your cloned image.
$ sudo ./flash.sh -r -S 62090379264 jetson-agx-orin-devkit mmcblk0p1
-S parameter for flash.sh is used to declare the size of rootfs.
If you don’t set this parameter, it would just use the default size (ROOTFSSIZE) and that wrong size might cause your issue.
It flash success. Thank you.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.