[meta-freescale] [meta-fsl-arm] Multiple U-Boot configurations

Max Krummenacher max.oss.09 at gmail.com
Mon Jan 25 06:42:55 PST 2016


Hi Gary


2016-01-25 15:10 GMT+01:00 Gary Thomas <gary at mlbassoc.com>:
> I have a board which can be deployed with either i.MX6Q or i.MX6solo
> I have U-Boot configurations for both.
>
> I'm trying to use a single build (bitbake u-boot-fslc) to create
> both U-Boot images, using
>   UBOOT_MACHINE ?= "teton_p8303_config teton_p8303s_config"
>
> Sadly, it's failing:
> | Configuring for teton_p8303 - Board: teton_p8303, Options:
> IMX_CONFIG=board/amltd/teton_p8303/teton_p8303q.cfg,MX6Q,DDR_MB=2048
> | Configuring for teton_p8303s - Board: teton_p8303, Options:
> IMX_CONFIG=board/amltd/teton_p8303/teton_p8303.cfg,MX6S,DDR_MB=1024
> | ln: failed to create symbolic link 'asm/arch': File exists
> | Makefile:468: recipe for target 'teton_p8303_config' failed
>
> Obviously, I don't understand the mechanism and I don't see
> a working example in either meta-fsl-arm or meta-fsl-arm-extra
>
> Any pointers would be great
>

Have you tried something like this:
https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/apalis-imx6.conf#L24

So in your <machine>.conf:

UBOOT_CONFIG ??= "s"
UBOOT_CONFIG[q] = "teton_p8303_config"
UBOOT_CONFIG[s] = "teton_p8303s_config"

Which I expect to build a u-boot.imx, u-boot.imx-s

> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list