imx6: convert ventana images to squashfs+ubifs overlay
authorLuka Perkov <luka@openwrt.org>
Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)
commit03401fed5ee06b343114ff9f6d24efa60526e736
tree9702e08ba25632d5ddb6cf3e88dc9c36ec0f7fd1
parentca26bf8932ae3cbf7bbc3e6faf732c02500ea87c
imx6: convert ventana images to squashfs+ubifs overlay

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
target/linux/imx6/image/Makefile
target/linux/imx6/image/bootscript-ventana [new file with mode: 0644]
target/linux/imx6/image/ubinize-ventana.cfg [new file with mode: 0644]