ROOTFS_AB=1 l4t_initrd_flash.sh fails

hello whitesscott,

it looks expected per default configuration, $OUT/Linux_for_Tegra/t264.conf.common

# Minimum size of the rootfs partition
ROOTFSSIZE=55GiB;
...
# Rootfs A/B:
# shellcheck disable=SC2153
if [ "${ROOTFS_AB}" == 1 ]; then
        rootfs_ab=1;
        val=${ROOTFSSIZE//GiB/}
        val=$((val/2))
        ROOTFSSIZE="${val}GiB";
fi;

please try revise the board configuration file for your actual use-case accordingly.
or.. you may add -S <size> option to the l4t_initrd_flash.sh for the APP size. please note that, the -S xxxGiB is the total root file system size for A and B. if you’ve -S option set to 50GB, the “EXT_NUM_SECTORS” size need set A+B=50+50=100, which need to be larger then 100GiB.