a7bf6646dc
Replace the ventana ubi images from a single rootfs volume containing the rootfs as well as kernel+dtbs in the boot/ subdir to a multi-volume ubi containing kernel+dtbs+bootscript in 'root' ubifs volume, rootfs in 'rootfs' squasfs volume, and rootfs_data an empty ubifs volume. At the same time move ventana image creation over to using the new TARGET_DEVICE syntax as a cleanup. Additionally removed FIT image creation as it is recommended that this be done manually to produce signed FIT images if needed. Note that a bootscript is needed for Ventana to change its default mtdparts to rename the 2nd partition from 'rootfs' to 'ubi'. This is because there are patches in OpenWrt kernels that try to auto-attach and auto-mount and these get in the way if the mtd partition is named 'rootfs'. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 47508
38 lines
655 B
INI
38 lines
655 B
INI
[boot]
|
|
# Volume mode (other option is static)
|
|
mode=ubi
|
|
# Source image
|
|
image=boot.ubifs
|
|
# Volume ID in UBI image
|
|
vol_id=0
|
|
# Allow for dynamic resize
|
|
vol_type=dynamic
|
|
# Volume name
|
|
vol_name=boot
|
|
vol_size=15MiB
|
|
|
|
[rootfs]
|
|
# Volume mode (other option is static)
|
|
mode=ubi
|
|
# Source image
|
|
image=root.squashfs
|
|
# Volume ID in UBI image
|
|
vol_id=1
|
|
# 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=2
|
|
# Allow for dynamic resize
|
|
vol_type=dynamic
|
|
# Volume name
|
|
vol_name=rootfs_data
|
|
# Autoresize volume at first mount
|
|
vol_flags=autoresize
|
|
vol_size=1MiB
|