All of lore.kernel.org
 help / color / mirror / Atom feed
* u-boot failed: do_mkimage with Yocto dizzy
@ 2015-03-19 15:39 Marco Cavallini
  2015-03-19 18:14 ` Eric Nelson
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Cavallini @ 2015-03-19 15:39 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org, ian

Hello,
this commit breaks u-boot creation with Yocto dizzy and MACHINE = imx6qsabrelite

commit 44e1e7f23cd9fa4345d664acfa0a635a80caa3d6
Author: Ian Coolidge <ian@boundarydevices.com>
Date:   Tue Mar 17 10:35:16 2015 -0700

Log data follows:
| DEBUG: Executing shell function do_mkimage
| uboot-mkimage: Can't stat
/home/tux/yocto/poky/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.07+gitAUTOINC+86bfe2c8c6-r0/git/board/boundary/imx6qsabrelite/6x_bootscript-yocto.txt:
No such file or directory
| WARNING: /home/tux/yocto/poky/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.07+gitAUTOINC+86bfe2c8c6-r0/temp/run.do_mkimage.8537:1
exit 1 from
|   uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "boot
script" -d /home/tux/yocto/poky/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.07+gitAUTOINC+86bfe2c8c6-r0/git/board/boundary/imx6qsabrelite/6x_bootscript-yocto.txt
board/boundary/imx6qsabrelite/6x_bootscript
| ERROR: Function failed: do_mkimage (log file is located at
/home/tux/yocto/poky/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/u-boot-script-boundary/v2014.07+gitAUTOINC+86bfe2c8c6-r0/temp/log.do_mkimage.8537)
ERROR: Task 123
(/home/tux/yocto/poky/meta-fsl-arm-extra/recipes-bsp/u-boot/u-boot-script-boundary_git.bb,
do_mkimage) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2489 tasks of which 2482 didn't need to
be rerun and 1 failed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: u-boot failed: do_mkimage with Yocto dizzy
  2015-03-19 15:39 u-boot failed: do_mkimage with Yocto dizzy Marco Cavallini
@ 2015-03-19 18:14 ` Eric Nelson
  2015-03-19 18:17   ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Nelson @ 2015-03-19 18:14 UTC (permalink / raw)
  To: Marco Cavallini, meta-freescale@yoctoproject.org, ian

Hi Marco,

On 03/19/2015 08:39 AM, Marco Cavallini wrote:
> Hello,
> this commit breaks u-boot creation with Yocto dizzy and MACHINE = imx6qsabrelite
> 
> commit 44e1e7f23cd9fa4345d664acfa0a635a80caa3d6
> Author: Ian Coolidge <ian@boundarydevices.com>
> Date:   Tue Mar 17 10:35:16 2015 -0700
> 

Sorry about that. We didn't realize that anyone used
'MACHINE = imx6qsabrelite', since it's mostly an alias
for nitrogen6x (only difference is in image naming).

Patch forthcoming.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: u-boot failed: do_mkimage with Yocto dizzy
  2015-03-19 18:14 ` Eric Nelson
@ 2015-03-19 18:17   ` Otavio Salvador
  2015-03-19 18:32     ` Eric Nelson
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2015-03-19 18:17 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org

On Thu, Mar 19, 2015 at 3:14 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> Hi Marco,
>
> On 03/19/2015 08:39 AM, Marco Cavallini wrote:
>> Hello,
>> this commit breaks u-boot creation with Yocto dizzy and MACHINE = imx6qsabrelite
>>
>> commit 44e1e7f23cd9fa4345d664acfa0a635a80caa3d6
>> Author: Ian Coolidge <ian@boundarydevices.com>
>> Date:   Tue Mar 17 10:35:16 2015 -0700
>>
>
> Sorry about that. We didn't realize that anyone used
> 'MACHINE = imx6qsabrelite', since it's mostly an alias
> for nitrogen6x (only difference is in image naming).
>
> Patch forthcoming.

This makes me think about dropping the alias for 1.8. Do you have any
opinion about it?

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: u-boot failed: do_mkimage with Yocto dizzy
  2015-03-19 18:17   ` Otavio Salvador
@ 2015-03-19 18:32     ` Eric Nelson
  2015-03-19 18:35       ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Nelson @ 2015-03-19 18:32 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Hi Otavio,

On 03/19/2015 11:17 AM, Otavio Salvador wrote:
> On Thu, Mar 19, 2015 at 3:14 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> Hi Marco,
>>
>> On 03/19/2015 08:39 AM, Marco Cavallini wrote:
>>> Hello,
>>> this commit breaks u-boot creation with Yocto dizzy and MACHINE = imx6qsabrelite
>>>
>>> commit 44e1e7f23cd9fa4345d664acfa0a635a80caa3d6
>>> Author: Ian Coolidge <ian@boundarydevices.com>
>>> Date:   Tue Mar 17 10:35:16 2015 -0700
>>>
>>
>> Sorry about that. We didn't realize that anyone used
>> 'MACHINE = imx6qsabrelite', since it's mostly an alias
>> for nitrogen6x (only difference is in image naming).
>>
>> Patch forthcoming.
> 
> This makes me think about dropping the alias for 1.8. Do you have any
> opinion about it?
> 

The alias is nice for those that only work with the SABRE Lite (like
customers of the other folks manufacturing them).

Marco's probably a better person to ask (the consumer).

Fixing this is also easy (as shown below).

I'm testing now, but don't have a clean tree, so my machine is
spinning while building a toolchain...

From ff6488e154fabec07ca37bed7ec86371c92c0a9a Mon Sep 17 00:00:00 2001
From: Eric Nelson <eric.nelson@boundarydevices.com>
Date: Thu, 19 Mar 2015 11:19:19 -0700
Subject: [PATCH] u-boot-script-boundary: use nitrogen6x boot script for
 MACHINE imx6qsabrelite

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 1 +
 1 file changed, 1 insertion(+)

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 fbb5bc2..27d58d3 100644
--- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
+++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
@@ -13,6 +13,7 @@ S = "${WORKDIR}/git"
 inherit deploy

 BOOTSCRIPT ?= "${S}/board/boundary/${MACHINE}/6x_bootscript-yocto.txt"
+BOOTSCRIPT_imx6qsabrelite ?=
"${S}/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"
 BOOTSCRIPT_nitrogen6x-lite ?=
"${S}/board/boundary/nit6xlite/6x_bootscript-yocto.txt"

 UPGRADESCRIPT = "${S}/board/boundary/nitrogen6x/6x_upgrade.txt"
-- 
1.9.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: u-boot failed: do_mkimage with Yocto dizzy
  2015-03-19 18:32     ` Eric Nelson
@ 2015-03-19 18:35       ` Otavio Salvador
  2015-03-19 18:53         ` Eric Nelson
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2015-03-19 18:35 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org

On Thu, Mar 19, 2015 at 3:32 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> On 03/19/2015 11:17 AM, Otavio Salvador wrote:
>> On Thu, Mar 19, 2015 at 3:14 PM, Eric Nelson
>> <eric.nelson@boundarydevices.com> wrote:
>>> Hi Marco,
>>>
>>> On 03/19/2015 08:39 AM, Marco Cavallini wrote:
>>>> Hello,
>>>> this commit breaks u-boot creation with Yocto dizzy and MACHINE = imx6qsabrelite
>>>>
>>>> commit 44e1e7f23cd9fa4345d664acfa0a635a80caa3d6
>>>> Author: Ian Coolidge <ian@boundarydevices.com>
>>>> Date:   Tue Mar 17 10:35:16 2015 -0700
>>>>
>>>
>>> Sorry about that. We didn't realize that anyone used
>>> 'MACHINE = imx6qsabrelite', since it's mostly an alias
>>> for nitrogen6x (only difference is in image naming).
>>>
>>> Patch forthcoming.
>>
>> This makes me think about dropping the alias for 1.8. Do you have any
>> opinion about it?
>>
>
> The alias is nice for those that only work with the SABRE Lite (like
> customers of the other folks manufacturing them).

Ok; agreed.

> Marco's probably a better person to ask (the consumer).
>
> Fixing this is also easy (as shown below).
>
> I'm testing now, but don't have a clean tree, so my machine is
> spinning while building a toolchain...
>
> From ff6488e154fabec07ca37bed7ec86371c92c0a9a Mon Sep 17 00:00:00 2001
> From: Eric Nelson <eric.nelson@boundarydevices.com>
> Date: Thu, 19 Mar 2015 11:19:19 -0700
> Subject: [PATCH] u-boot-script-boundary: use nitrogen6x boot script for
>  MACHINE imx6qsabrelite
>
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>  recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> 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 fbb5bc2..27d58d3 100644
> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> @@ -13,6 +13,7 @@ S = "${WORKDIR}/git"
>  inherit deploy
>
>  BOOTSCRIPT ?= "${S}/board/boundary/${MACHINE}/6x_bootscript-yocto.txt"
> +BOOTSCRIPT_imx6qsabrelite ?=
> "${S}/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"
>  BOOTSCRIPT_nitrogen6x-lite ?=
> "${S}/board/boundary/nit6xlite/6x_bootscript-yocto.txt"
>
>  UPGRADESCRIPT = "${S}/board/boundary/nitrogen6x/6x_upgrade.txt"

Ok.

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: u-boot failed: do_mkimage with Yocto dizzy
  2015-03-19 18:35       ` Otavio Salvador
@ 2015-03-19 18:53         ` Eric Nelson
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Nelson @ 2015-03-19 18:53 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador

Hi Marco,

On 03/19/2015 11:35 AM, Otavio Salvador wrote:
> On Thu, Mar 19, 2015 at 3:32 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>
> <snip>
>
>> Fixing this is also easy (as shown below).
>>
>> I'm testing now, but don't have a clean tree, so my machine is
>> spinning while building a toolchain...
>>

Are you in a position to test this?

>> From ff6488e154fabec07ca37bed7ec86371c92c0a9a Mon Sep 17 00:00:00 2001
>> From: Eric Nelson <eric.nelson@boundarydevices.com>
>> Date: Thu, 19 Mar 2015 11:19:19 -0700
>> Subject: [PATCH] u-boot-script-boundary: use nitrogen6x boot script for
>>  MACHINE imx6qsabrelite
>>
>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>> ---
>>  recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> 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 fbb5bc2..27d58d3 100644
>> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> @@ -13,6 +13,7 @@ S = "${WORKDIR}/git"
>>  inherit deploy
>>
>>  BOOTSCRIPT ?= "${S}/board/boundary/${MACHINE}/6x_bootscript-yocto.txt"

One line needs to be added to u-boot-script-boundary_git.bb:

	BOOTSCRIPT_imx6qsabrelite ?=
"${S}/board/boundary/nitrogen6x/6x_bootscript-yocto.txt"




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-19 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 15:39 u-boot failed: do_mkimage with Yocto dizzy Marco Cavallini
2015-03-19 18:14 ` Eric Nelson
2015-03-19 18:17   ` Otavio Salvador
2015-03-19 18:32     ` Eric Nelson
2015-03-19 18:35       ` Otavio Salvador
2015-03-19 18:53         ` 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.