[meta-freescale] u-boot failed: do_mkimage with Yocto dizzy

Eric Nelson eric.nelson at boundarydevices.com
Thu Mar 19 11:32:55 PDT 2015


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




More information about the meta-freescale mailing list