* [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite
@ 2014-07-25 8:36 Christoph Settgast
2014-07-25 12:14 ` Gary Thomas
2014-07-25 14:46 ` Eric Nelson
0 siblings, 2 replies; 4+ messages in thread
From: Christoph Settgast @ 2014-07-25 8:36 UTC (permalink / raw)
To: meta-freescale
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.
Signed-off-by: Christoph Settgast <christoph.settgast@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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite
2014-07-25 8:36 [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite Christoph Settgast
@ 2014-07-25 12:14 ` Gary Thomas
2014-07-25 12:26 ` Christoph Settgast
2014-07-25 14:46 ` Eric Nelson
1 sibling, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2014-07-25 12:14 UTC (permalink / raw)
To: meta-freescale
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@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite
2014-07-25 12:14 ` Gary Thomas
@ 2014-07-25 12:26 ` Christoph Settgast
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Settgast @ 2014-07-25 12:26 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2372 bytes --]
On 25.07.2014 14:14, Gary Thomas wrote:
>
> How does this patch fix the problem mentioned above? It seems to only
> affect the BOOTSCRIPT value when building for nitrogen6x, not
> imx6qsabrelite.
The imx6qsabrelite machine definition is the same as nitrogen6x. It uses
machineoverrides to do that. So for the BOOTSCRIPT bitbake will pick up
the _nitrogen6x definition when building with machine imx6qsabrelite.
See conf/machine/imx6qsabrelite.conf for the overrides.
To verify, simply run
MACHINE=imx6qsabrelite bitbake u-boot-script-boundary -e | grep ^BOOTSCRIPT
with and without the patch. It shows the correct BOOTSCRIPT path when
the path is applied:
before:
BOOTSCRIPT=".../build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.01+gitAUTOINC+aed9475361-r0/git/board/boundary/imx6qsabrelite/6x_bootscript-yocto.txt"
after:
BOOTSCRIPT=".../build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.01+gitAUTOINC+aed9475361-r0/git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"
On a side note: as imx6qsabrelite and nitrogen6x use the same code, you
can also build your images for imx6qsabrelite with MACHINE=nitrogen6x
>
>>
>> Signed-off-by: Christoph Settgast <christoph.settgast@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
>>
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4288 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite
2014-07-25 8:36 [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite Christoph Settgast
2014-07-25 12:14 ` Gary Thomas
@ 2014-07-25 14:46 ` Eric Nelson
1 sibling, 0 replies; 4+ messages in thread
From: Eric Nelson @ 2014-07-25 14:46 UTC (permalink / raw)
To: Christoph Settgast, meta-freescale
Thanks Christoph,
On 07/25/2014 01:36 AM, 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.
>
> Signed-off-by: Christoph Settgast <christoph.settgast@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
>
I thought I had done this before, but just re-tested, so:
Tested-By: Eric Nelson <eric.nelson@boundarydevices.com>
and
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-25 14:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25 8:36 [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite Christoph Settgast
2014-07-25 12:14 ` Gary Thomas
2014-07-25 12:26 ` Christoph Settgast
2014-07-25 14:46 ` Eric Nelson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.