Increase UDA Partition size with ROOTFS_AB=1 ROOTFS_ENC=1

Hi team. I’m using jetson orin nano devkit 8Gb and ssd 64Gb and L4t R35.4.1
, and want to configure dual rootfs with 20Gb as per. I changed ROOTFSSIZE=40GiB; in p3767.conf.common

but after flash, the UDA size is 400Mb, it’s not take all available space of SSD (my SSD is 64Gb). Do you know why and did I miss something?

here is my command

Generate images for QSPI

$ sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --no-flash --network usb0 jetson-orin-nano-devkit internal

echo “f0e0d0c0b0a001020304050607080900” > ekb.key

sudo ROOTFS_AB=1 ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash --external-device nvme0n1p1 -i ./ekb.key -c ./tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab_enc.xml --external-only -S 20GiB --append --network usb0 jetson-orin-nano-devkit external

Flash images into the both storage devices

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --network usb0 --flash-only

Hi,

Of course it doesn’t get enlarged becasue it’s in the middle of a disk.
Try moving it to the end of the partitoin layout before secondary_gpt, and change it’s allocation_attribute as 0x808.