nano emmc backup & restore

Installed as SDK Manager.

I don’t have flash.sh

How can I back up and restore EMMC?

Please guide.

hello shyoon,

could you please edit the issue title to have proper descriptions.

BTW, if you install via SDKManager.
it’ll also store the OS image to your local host machine, the default path as shown as below.
for example,
/home/user/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra

you’ll found the flash.sh included, you could also flashing the board through flash script without SDKManager.
please also check Flashing and Booting the Target Device for reference.
thanks

Is it correct to do the following?

backup
sudo ./flash.sh -r -k APP -G backup.img nano mmcblk0p1

cp
sudo cp backup.img.raw bootloader/system.img

restore
sudo ./flash.sh -r -k APP nano mmcblk0p1

thanks you

hello shyoon,

these were correct commands, however, it’s an known issue that performing image back-up failed.
you may refer to similar discussion thread, such as Topic 1064479, and Topic 1066989 for reference.
you might have an alternative way, please using dd commands to back-up APP partition.
thanks

backup
sudo dd if=/dev/mmcblk0p1 of=/media/usb/system.img

cp system.img ./bootloader/system.img

restore
sudo ./flash.sh -r jetson-nano-emmc mmcblk0p1

booting…

EX4-fs (mmcblk0p1): error loading journal
mount: wrong fs type, bad option, bad supperblock on /dev/mmcblk0p1,

bash-4.3#

hello shyoon,

assume you’re backing-up SD-A OS image, and restore the same to SD-B.
may I know what’s the difference between A and B.
for example,
Etcher tool would allocate partitions for sdcard.
had you follow Write Image to the microSD Card to write the SD card image using Etcher for both SD-A and SD-B?
thanks

It was related to UEFI secure boot.

Close the issue.