I’ve been working with nVME booting from a Jetson Xavier NX lately using the initrd flash script on JetPack 4.6 and so far it has been working great.
I’ve got a couple of questions now regarding the process of backing up the nVME APP image from the flashed board and reusing it, as one would do when backing up the one from eMMC:
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-devkit-emmc mmcblk0p1
But for the nVME, using the following
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-devkit-emmc nvme0n1p1
I can’t get the nVME APP image, but I keep getting the eMMC one, I even tried adding more flags to the script but the same happens:
BOOTDEV=nvme0n1p1 sudo ./flash.sh -r -k APP -G backup.img --no-flash --sign --external-device jetson-xavier-nx-devkit-emmc nvme0n1p1
When using the configuration file used for the partition table of the nVME in the initrd flash script with the -c switch,
It just fails with this message:
[ 4.7342 ] Updating mb1-bct with storage information [ 4.7368 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin [ 4.7383 ] MB1-BCT version: 0x1 [ 4.7387 ] There is no MB1-BCT device type corresponding to pt type: 9 [ 4.7530 ] Error: Return value 2 Command tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
Does this mean the support for cloning the system.img from the nVME is not available yet? Or is there any other method that I should follow in order to clone an image from the nVME APP partition?
Embedded Software Engineer,