From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from va3outboundpool.messaging.microsoft.com (va3ehsobe003.messaging.microsoft.com [216.32.180.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1CC68E00510 for ; Wed, 29 Jan 2014 03:31:45 -0800 (PST) Received: from mail162-va3-R.bigfish.com (10.7.14.230) by VA3EHSOBE007.bigfish.com (10.7.40.11) with Microsoft SMTP Server id 14.1.225.22; Wed, 29 Jan 2014 11:31:44 +0000 Received: from mail162-va3 (localhost [127.0.0.1]) by mail162-va3-R.bigfish.com (Postfix) with ESMTP id 351CD3A0134 for ; Wed, 29 Jan 2014 11:31:44 +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(z579ehz98dI936eIe0eah1432I1453Izz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275bh1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh22d0h2336h2438h2461h2487h24d7h1155h) Received: from mail162-va3 (localhost.localdomain [127.0.0.1]) by mail162-va3 (MessageSwitch) id 1390995101769794_32397; Wed, 29 Jan 2014 11:31:41 +0000 (UTC) Received: from VA3EHSMHS039.bigfish.com (unknown [10.7.14.243]) by mail162-va3.bigfish.com (Postfix) with ESMTP id ACFDC12006F for ; Wed, 29 Jan 2014 11:31:41 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS039.bigfish.com (10.7.99.49) with Microsoft SMTP Server (TLS) id 14.16.227.3; Wed, 29 Jan 2014 11:31:36 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.3.158.2; Wed, 29 Jan 2014 11:31:35 +0000 Received: from [10.29.244.106] ([10.29.244.106]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s0TBVXM0032151 for ; Wed, 29 Jan 2014 04:31:34 -0700 Message-ID: <52E8E553.1020608@freescale.com> Date: Wed, 29 Jan 2014 09:26:11 -0200 From: Daiane Angolini Organization: Freescale Semiconductor User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: References: <1390951221-32023-1-git-send-email-sven.ebenfeld@gmail.com> <1390951221-32023-3-git-send-email-sven.ebenfeld@gmail.com> In-Reply-To: <1390951221-32023-3-git-send-email-sven.ebenfeld@gmail.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: Re: [meta-fsl-arm-extra][PATCH 2/3] Add U-Boot Recipe for MarS Board by Embest-Tech Using Git Repository git://github.com/embest-tech/uboot-imx.git 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: Wed, 29 Jan 2014 11:31:47 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 28-01-2014 21:20, Sven Ebenfeld wrote: > > Signed-off-by: Sven Ebenfeld > --- > recipes-bsp/u-boot/u-boot-mars_2009.08.bb | 40 +++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 recipes-bsp/u-boot/u-boot-mars_2009.08.bb > > diff --git a/recipes-bsp/u-boot/u-boot-mars_2009.08.bb b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb > new file mode 100644 > index 0000000..72e4655 > --- /dev/null > +++ b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb > @@ -0,0 +1,40 @@ > +# Copyright (C) 2011 Freescale Semiconductor > +# Released under the MIT license (see COPYING.MIT for the terms) > + > +DESCRIPTION = "Bootloader for MarS-Board from embest-tech" > +require recipes-bsp/u-boot/u-boot.inc > + > +PROVIDES += "u-boot" > + > +LICENSE = "GPLv2+" > +LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b" > + > +DEPENDS_mxs += "elftosb-native" I don't understand this DEPENDS_mxs > + > +PR = "r0" Please, drop PR > +SRCREV = "fd0898ed076415a2378b8ba85da8c11a0bc07126" > + > +SRC_URI = "git://github.com/embest-tech/uboot-imx.git" > + > +UBOOT_MACHINE_marsboard = "mx6q_marsboard_config" > + > +UBOOT_MAKE_TARGET = "u-boot.bin" > + > +# Please, add the following variables to conf/local.conf > +# in order to use this u-boot version > +# UBOOT_SUFFIX = "bin" > +# UBOOT_PADDING = "2" > +# PREFERRED_PROVIDER_u-boot = "u-boot-mars" I don't like this. You must configure this uboot to be the default one for your board. By the way, are you sure you really need 2009.08 u-boot? Would be better to create a .bbppend instead of recreate the recipe here? > + > +S = "${WORKDIR}/git" > +EXTRA_OEMAKE += 'HOSTSTRIP=true' > + > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +do_compile_prepend() { > + if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then > + sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk > + fi > +} > + > +COMPATIBLE_MACHINE = "(marsboard)" > -- Daiane