We’re trying to clone the rootfs (ideally also the kernel image and kernel modules) of one reference Thor Devkit to multiple other devkits.
What I’ve tried:
l4t_backup_restore.sh
I’ve tried using the l4t_backup_restore.sh method - while it works great within the single unit, I can’t get it to restore the backup images to another unit due to board revision differences (G.5 vs H.1).
As the boards are the same part number, I’ve tried disabling the board revision check as recommended by
Model changes cause l4t_backup_restore.sh error - Jetson Systems / Jetson Orin Nano - NVIDIA Developer Forums
and
Understanding board rev - Jetson Systems / Jetson Orin NX - NVIDIA Developer Forums
but that caused Checksum does not match the checksum in the index file type errors and left us with a bricked unit.
flash.sh -r -k APP method
I’ve attempted the older flash.sh method of restoring the APP partition, but got a missing cfgfile error as this guy did:
How do I backup and clone Thor system - Jetson Systems / Jetson Thor - NVIDIA Developer Forums
Any suggestions on how to approach this?
Hi,
Please follow the eMMC size differ makes backup and restore fail - #3 by DavidDDD to replace original rootfs with your custom build image.
Thanks
Hi @mar1553,
Did the NVIDIA suggestion of replacing the rootfs and reflashing work for you?
If you’re dealing with multiple devkits with different board revisions, one approach could be to group devices by matching revision and flash them in batches. On Thor, you can use the initrd flash workflow (which replaces the old massflash), as documented here: NVIDIA Jetson AGX Thor - Flashing the Board from Command Line
For example, you can use:
l4t_initrd_flash.sh --massflash <num_devices> jetson-agx-thor-devkit internal
This lets you flash multiple units more reliably while avoiding cross-revision issues, since the BSP rebuilds the image per device instead of cloning raw partitions.
Curious to hear how you ended up solving it.
Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com
Hello @jose.morera ,
I wasn’t able to get the NVIDIA suggested method working at the time - their documentation suggests to dd out the rootfs partition to a USB drive, but they also set the rootfs partition size to 980GB in the reference jetpack, which makes this impractical. I tried to resize the partition to get a more manageable image, but after flashing it always failed to boot (got only EFI console) and I abandoned that experiment due to time constraints.
I ended up batching the boards by revision as you mentioned.
When I get some time, I’ll take a look at the RidgeRun docs, perhaps they are better quality than NVIDIA.
Appreciate your response.