How to create massflash blob with my backuped rootfs

In order to transfer our product from development to production we need to create a massflash blob.
Currently we are flashing customized rootfs which was backup from customized Xavier module by using the following command sudo ./ -r -k APP mmcblk0p1., while the image itself is system.img file.
How can I generate a massflash blob which will consists my customized rootfs?

hello yehonatans68sw4,

you may enable -G <file_name> options to read the boot partition and saves the image to the specified file. after that, keep the backup system.img at your host machine for running, it’ll create the Massflash blob with your customize rootfs.

please see-also developer guide, To clone a Jetson device and flash for sample commands to backup filesystem partition,

Thank’s for the answer I would like to know what is the location should be for my rootfs that it will be used by

hello yehonatans68sw4,

it’ll take the images under bootloader/ of your JetPack install path.
for example, ~/nvidia/nvidia_sdk/JetPack_<version>_Linux_<platform>/Linux_for_Tegra/bootloader/

once you’ve backup your rootfs, you must include -r options to the nvmassflashgen commands, it’ll reuse the existing system.img for creating mfi package.
here’s an example to create mass Flashing tarball by reuse system.img for a non-fuse Xavier-NX platform,
$ sudo BOARDID=3668 BOARDSKU=0001 FAB=100 BOARDREV=H.0 FUSELEVEL=fuselevel_none ./ -x 0x19 -r jetson-xavier-nx-devkit-emmc mmcblk0p1
you’ll see below messages…

Reusing existing system.img...

when the mass flashing tarball mfi_jetson-xavier-nx-devkit-emmc.tbz2 is ready
that’s mfi_jetson-xavier-nx-devkit-emmc/system.img, be your customize rootfs.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.