A/B rootfs redundancy on Xavier Nx

Hi,

We are trying out A/B rootfs redundancy with SSD on jetson Xavier-NX, there we tried out the below command,

$ sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -S 10GiB --showlogs jetson-xavier nvme0n1p1

when we flashed with the above command, only one partition get created.

So is it possible to do A/B rootfs redundancy with SSD on jetson Xavier-NX.?
@WayneWWW

Thanks,
sushma

Which software release is in use?

Did you create a new partition to flash_l4t_nvme_rootfs_ab.xml?

Hi,

Thank you for reply,

Which software release is in use?
32.6

Did you create a new partition to flash_l4t_nvme_rootfs_ab.xml?
Yes, that file already present with partition.

I have attached that xml file , flash_l4t_nvme_rootfs_ab.xml (9.2 KB)

We are able flash with that above command but its creating 2 partition in emmc and only one partition in SSD, is there anything need to be modified with other files.

@WayneWWW

Thanks,
sushma

Please also try with 32.7.1 to prevent any bug in 32.6.

Also, please set the last parameter to “external” instead of nvme0n1p1.

$ sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -S 10GiB --showlogs jetson-xavier nvme0n1p1

Thank you for your reply,

I’m able to flash SSD with below command
sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -S 110GiB --showlogs nb-turbo-emmc-rev_b nvme0n1p1

in flash_l4t_nvme_rootfs_ab.xml file we need to set the new_sector to make a partition of requried size.

Thanks,
sushma