Hi,
I just run
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
sudo ./flash.sh -r -k APP -G backup jetson-agx-orin-devkit mmcblk0p1
and got error
size of backup.img.raw is not mulple of 4096.
I know that Jetson 35.1.0 had a patch for nvresizefs.sh, which ensured that APP partition size is a multiple of 4096 and cloning use to work. This patch was already applied in Jetson 35.2.1, but nvresizefs.sh still fails
and APP partition size remains odd:
sudo blockdev --getsize64 /dev/mmcblk0p1
62091116032
I tried to run myself:
sudo /usr/lib/nvidia/resizefs/nvresizefs.sh
but it fails. I found that the following line returns error:
sudo sgdisk --move-second-header /dev/mmcblk0
and then nvresizefs.sh aborts silently.
I tried to run
sudo sgdisk --move-second-header /dev/mmcblk0
and got error:
Warning! Secondary partition table overlaps the last partition by
6 blocks!
Try reducing the partition table size by 24 entries.
(Use the ‘s’ item on the experts’ menu.)
Aborting write of new partition table.
This is the full output from parted:
sudo parted /dev/mmcblk0
unit B
p
Model: MMC G1M15M (sd/mmc)
Disk /dev/mmcblk0: 63652757504B
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
2 20480B 134238207B 134217728B A_kernel msftdata
3 134238208B 135024639B 786432B A_kernel-dtb msftdata
4 135024640B 168185855B 33161216B A_reserved_on_user msftdata
5 168185856B 302403583B 134217728B B_kernel msftdata
6 302403584B 303190015B 786432B B_kernel-dtb msftdata
7 303190016B 336351231B 33161216B B_reserved_on_user msftdata
8 336351232B 420237311B 83886080B recovery msftdata
9 420237312B 420761599B 524288B recovery-dtb msftdata
10 420761600B 487870463B 67108864B fat32 esp boot, esp
11 487870464B 571756543B 83886080B recovery_alt msftdata
12 571756544B 572280831B 524288B recovery-dtb_alt msftdata
13 572280832B 639389695B 67108864B esp_alt msftdata
14 639389696B 1561612287B 922222592B reserved msftdata
1 1561624576B 63652740607B 62091116032B ext4 APP msftdata
What should I do?
Thank you