[meta-freescale] [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite

Gary Thomas gary at mlbassoc.com
Fri Jul 25 05:14:36 PDT 2014


On 2014-07-25 02:36, Christoph Settgast wrote:
> When MACHINE was set to imx6qsabrelite no bootscript.txt was found.
> Fix the same for the 6x_upgrade script while at it. There is only
> one upgrade script shared by all boards, so use it independent of
> the MACHINE.

How does this patch fix the problem mentioned above?  It seems to only
affect the BOOTSCRIPT value when building for nitrogen6x, not imx6qsabrelite.

>
> Signed-off-by: Christoph Settgast <christoph.settgast at methodpark.de>
> ---
>   recipes-bsp/u-boot/u-boot-script-boundary_git.bb |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> index df4b76f..53b9c9a 100644
> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> @@ -13,10 +13,10 @@ S = "${WORKDIR}/git"
>   inherit deploy
>
>   BOOTSCRIPT = "${S}/board/boundary/${MACHINE}/6x_bootscript-yocto.txt"
> +BOOTSCRIPT_nitrogen6x = "${S}/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"
>   BOOTSCRIPT_nitrogen6x-lite = "${S}/board/boundary/nit6xlite/6x_bootscript-yocto.txt"
>
> -UPGRADESCRIPT = "${S}/board/boundary/${MACHINE}/6x_upgrade.txt"
> -UPGRADESCRIPT_nitrogen6x-lite = "${S}/board/boundary/nitrogen6x/6x_upgrade.txt"
> +UPGRADESCRIPT = "${S}/board/boundary/nitrogen6x/6x_upgrade.txt"
>
>   do_mkimage () {
>       # allow deploy to use the ${MACHINE} name to simplify things
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list