I’m trying to use a custom Rootfs for AGX Orin, the idea is I want to have a base image, where I have all the packages and customizations I need and mass flash this image to all the other Orins I have.
So far, I tried the backup/restore and seems to be working ok but that’s not scalable since only have one Orin which can be restored at time :
JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/internal/flash.cfg': No such file or directory
Cleaning up...
From my understanding you can’t use the backup image from l4t_backup_restore.sh and use it in l4t_initrd_flash.sh. So what’s the way of setting up a base Orin with all the customization, get the image and mass flash it? All the guides use mmcblk0p1 and there’s no proper way where this is explained for nvme and yet seems like one of the most basic things someone would want to do after he is ready to ship multiple Jetsons.
This feature is currently not officially supported.
Massflash only supports backup image from eMMC, but not any other external storage devices like NVMe or USB.
We are working on some patches to integrate it.
For now, please refer to this patch as a workaround:
Thanks @DaveYYY the patch seems to be working. I’m gonna share the commands I’ve run just for the reference so maybe someone else will benefit from them :
After applying the patch, flashing single device with nvme