[Buildroot] [PATCH v2 1/5] freescale: genimage: Factorize scripts

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 11 21:27:01 UTC 2016


Hello,

On Wed,  7 Sep 2016 15:29:08 -0700, Georges Savoundararadj wrote:
> For the boards imx6ulevk, imx6sabresd, mx25pdk, mx51evk, mx53loco,
> warpboard:
> * Replace genimage.cfg with a common Freescale genimage template named
>   genimage.cfg.template because they all use the same layout.  The only
>   difference comes from the device tree blobs.
> * Replace each post-image.sh script with a generic post-image.sh script
>   which is able to generate the right genimage.cfg depending on:
> ** the image type (zImage or uImage) from BR2_LINUX_KERNEL_UIMAGE
> ** the device tree blobs from BR2_LINUX_KERNEL_INTREE_DTS_NAME
> ** the rootfs type (ext2, ext3 or ext4) from BR2_TARGET_ROOTFS_EXT2

This point was not needed: rootfs.ext2 is always the correct image.
Despite its name, it might be an ext2 image, an ext3 image or an ext4
image depending on the configuration. rootfs.ext3 and rootfs.ext4 are
just symbolic links to rootfs.ext2.

So I've dropped the handling of this aspect, and applied your patch.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list