From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from db8outboundpool.messaging.microsoft.com (mail-db8lp0186.outbound.messaging.microsoft.com [213.199.154.186]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7039DE002FB for ; Tue, 27 Aug 2013 11:39:00 -0700 (PDT) Received: from mail80-db8-R.bigfish.com (10.174.8.245) by DB8EHSOBE041.bigfish.com (10.174.4.104) with Microsoft SMTP Server id 14.1.225.22; Tue, 27 Aug 2013 18:38:59 +0000 Received: from mail80-db8 (localhost [127.0.0.1]) by mail80-db8-R.bigfish.com (Postfix) with ESMTP id 3AE1CD6036E; Tue, 27 Aug 2013 18:38:59 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(zzbb2dI98dI9371I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h177df4h17326ah186068h8275bh1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h1155h) Received: from mail80-db8 (localhost.localdomain [127.0.0.1]) by mail80-db8 (MessageSwitch) id 1377628679514594_17291; Tue, 27 Aug 2013 18:37:59 +0000 (UTC) Received: from DB8EHSMHS025.bigfish.com (unknown [10.174.8.233]) by mail80-db8.bigfish.com (Postfix) with ESMTP id 81986DA01AC; Tue, 27 Aug 2013 18:37:38 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB8EHSMHS025.bigfish.com (10.174.4.35) with Microsoft SMTP Server (TLS) id 14.16.227.3; Tue, 27 Aug 2013 18:37:38 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.3.146.2; Tue, 27 Aug 2013 18:37:36 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r7RIbY8U005024; Tue, 27 Aug 2013 11:37:35 -0700 Message-ID: <521CF116.40802@freescale.com> Date: Tue, 27 Aug 2013 15:33:58 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: , "eric.nelson@boundarydevices.com >> Eric Nelson" References: <1377624464-20043-1-git-send-email-eric.nelson@boundarydevices.com> In-Reply-To: <1377624464-20043-1-git-send-email-eric.nelson@boundarydevices.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: Re: [meta-fsl-arm-extra][PATCH] u-boot-boundary: update to 2013-07 release X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 18:39:06 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 08/27/2013 02:27 PM, Eric Nelson wrote: > This patch updates U-Boot and the boot script to the latest production > version as described in this post: > http://boundarydevices.com/u-boot-2013-07-release/ > > For Yocto users, it also adds support for processor and memory > configutations other than the standard Quad-core/1GB option. *configurations > > To build U-Boot for other CPU or memory combinations, you can set > the UBOOT_MACHINE variable in your local.conf according to the > following table: > > Processor Memory Configuration > -------------- ------ -------------------- > i.MX6Quad/Dual 1GB nitrogen6q_config > i.MX6Quad/Dual 2GB nitrogen6q2g_config > i.MX6Dual-Lite 1GB nitrogen6dl_config > i.MX6Dual-Lite 2GB nitrogen6dl2g_config > i.MX6Solo 512MB nitrogen6s_config > i.MX6Solo 1GB nitrogen6s1g_config > > This patch also updates the boot script to allow support > for device-tree-enabled kernels in preparation for a 3.5.7 > alpha release. OK, Do you mean today it does not have support for device-tree? > > If a device-tree binary (imx6q_sabrelite.dtb or imx6q_nitrogen6x.dtb) > is found in the root directory of the boot (p1) partition, it > will be passed to the kernel. > > Signed-off-by: Eric Nelson > --- > conf/machine/nitrogen6x.conf | 26 +++++++++++++++++++++++- > recipes-bsp/u-boot/u-boot-boundary_git.bb | 2 +- > recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 7 +++---- > 3 files changed, 29 insertions(+), 6 deletions(-) > > diff --git a/conf/machine/nitrogen6x.conf b/conf/machine/nitrogen6x.conf > index 9a2e440..dbf31c5 100644 > --- a/conf/machine/nitrogen6x.conf > +++ b/conf/machine/nitrogen6x.conf > @@ -2,6 +2,30 @@ > #@NAME: Boundary Devices Nitrogen6X > #@SOC: i.MX6Q > #@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6X > +# > +# Note that this machine configuration also supports the SABRE Lite > +# reference design and the Nitrogen6X-SOM. > +# > +# By default, this machine will build for the standard Quad-Core, 1GB > +# option. > +# > +# To build U-Boot for other CPU or memory combinations, you can set > +# the UBOOT_MACHINE variable in your local.conf according to the > +# following table: > +# > +# Processor Memory Configuration > +# -------------- ------ -------------------- > +# i.MX6Quad/Dual 1GB nitrogen6q_config > +# i.MX6Quad/Dual 2GB nitrogen6q2g_config > +# i.MX6Dual-Lite 1GB nitrogen6dl_config > +# i.MX6Dual-Lite 2GB nitrogen6dl2g_config > +# i.MX6Solo 512MB nitrogen6s_config > +# i.MX6Solo 1GB nitrogen6s1g_config > +# > +# See this blog post for details: > +# http://boundarydevices.com/u-boot-updates-for-i-mx6-single > +# > +# Great, I like it. > > include conf/machine/include/imx-base.inc > include conf/machine/include/tune-cortexa9.inc > @@ -20,7 +44,7 @@ do_rootfs[depends] += "u-boot-script-boundary:do_deploy" > # Boot scripts to install > BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript" > > -UBOOT_MACHINE = "nitrogen6X_config" > +UBOOT_MACHINE ?= "nitrogen6q_config" Nice > > SERIAL_CONSOLE = "115200 ttymxc1" > > diff --git a/recipes-bsp/u-boot/u-boot-boundary_git.bb b/recipes-bsp/u-boot/u-boot-boundary_git.bb > index 02c8d2b..be542a6 100644 > --- a/recipes-bsp/u-boot/u-boot-boundary_git.bb > +++ b/recipes-bsp/u-boot/u-boot-boundary_git.bb > @@ -8,7 +8,7 @@ PROVIDES = "u-boot" > > PV = "v2013.01+git${SRCPV}" > > -SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276" > +SRCREV = "f89bc066db0569008418fac1a0408a9a57f2232f" > SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git" > > S = "${WORKDIR}/git" > 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 2088a4f..06ad438 100644 > --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb > +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb > @@ -5,9 +5,8 @@ DEPENDS = "u-boot-mkimage-native" > > PV = "v2013.01+git${SRCPV}" > > -SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276" > -SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git \ > - file://nitrogen6x-bootscript-modify-for-use-with-the-Yocto.patch" > +SRCREV = "f89bc066db0569008418fac1a0408a9a57f2232f" > +SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git" > > S = "${WORKDIR}/git" > > @@ -19,7 +18,7 @@ do_mkimage () { > mkdir board/boundary/${MACHINE} > fi > uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ > - -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.txt \ > + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript-yocto.txt \ > board/boundary/${MACHINE}/6x_bootscript > > uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ > -- Daiane