[rootfs] # Volume mode (other option is static) mode=ubi # Source image image=ubi_root.img # Volume ID in UBI image vol_id=0 # Allow for dynamic resize vol_type=dynamic # Volume name vol_name=rootfs [rootfs_data] # Volume mode (other option is static) mode=ubi # Volume ID in UBI image vol_id=1 # Allow for dynamic resize vol_type=dynamic # Volume name vol_name=rootfs_data # Autoresize volume at first mount vol_size=1MiB vol_flags=autoresize