[meta-freescale] [PATCH 3/4] cubox-i: add machine config and new image type

Otavio Salvador otavio at ossystems.com.br
Wed Jan 22 09:12:16 PST 2014


On Wed, Jan 22, 2014 at 2:45 PM, Carlos Rafael Giani
<dv at pseudoterminal.org> wrote:
> The new cubox-i machine config produces images that can be used for
> all CuBox-i and HummingBoard devices (u-boot SPL autodetects the platform)
>
> The new image type is based on image_types_fsl and is necessary because
> the SPL u-boot build is made up of two blobs (SPL and u-boot.img) instead
> of one (u-boot.imx)
>
> Signed-off-by: Carlos Rafael Giani <dv at pseudoterminal.org>
...
> +UENV_FILENAME = "uEnv-cubox-i.txt"
> +SPL_FILENAME = "SPL-cubox-i"

Please use the SPL_BINARY.

To properly integrate it, please rework the imx generation to check
for the SPL_BINARY content and behave different, so we avoid the
cobux-i specific method.

UENV_FILENAME can be set here but please use "uEnv-${MACHINE}.txt"

It also must be checked in the u-boot recipe so it has a default value.

> +BOOT_SCRIPTS = "${UENV_FILENAME}:uEnv.txt"

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list