From: Christoph Settgast <christoph.settgast@methodpark.de>
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: Fix build for imx6qsabrelite
Date: Fri, 25 Jul 2014 14:26:19 +0200 [thread overview]
Message-ID: <53D24CEB.9080506@methodpark.de> (raw)
In-Reply-To: <53D24A2C.6030305@mlbassoc.com>
[-- 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 --]
next prev parent reply other threads:[~2014-07-25 12:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2014-07-25 14:46 ` Eric Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D24CEB.9080506@methodpark.de \
--to=christoph.settgast@methodpark.de \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.