Hi
I am using BSP r35.1 and flashed an image having APP partition on /dev/nvme01p1 as external device using below command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme.xml -S 40GiB --showlogs jetson-xavier-nx-devkit-emmc nvme0n1p1
Now I want to clone this APP partition:
I tried using this documentation: https://docs.nvidia.com/jetson/archives/r35.1/DeveloperGuide/text/SD/FlashingSupport.html#to-clone-a-jetson-device-and-flash
sudo ./flash.sh -r -k APP -G clone.img jetson-xavier-nx-devkit-emmc nvme0n1p1
I got 2 images clone.img and clone.img.raw generated successfully. However when I try to mount this img, I dont see full content of the /dev/nvme0n1p1 partition inside my /mnt/clone folder.
sudo mount -o loop clone.img.raw /mnt/clone/
I checked the space required where the .raw image is stored(it has no lack of space)
My question is what I am doing wrong ? does the flash.sh script work to clone /dev/nvme0n1p1 APP partition ?
Thanks