[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 # Autoresize volume at first mount # vol_flags=autoresize vol_size=40MiB [rootfs_data] # Volume mode (other option is static) mode=ubi # Source image image=jffs2.eof # 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=100MiB #vol_flags=autoresize