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)
commita7bf6646dc3c7bcb7546cf02389b7c52fa56eb77
treec96d42c553d7cec3f7544ce7d5ed23fe2b8cf07f
parentc46663e9e85eb15c0b2ffcf822959cf5bc8aba5f
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]