imx6: convert ventana images to squashfs+ubifs overlay
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)
commite103cf118791e3d227ba597ec02a8d8685bc3b52
treec96d42c553d7cec3f7544ce7d5ed23fe2b8cf07f
parent4c07ae367853e7837774a4535e2ab2d703c791c8
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47508 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]