From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8C434E0087C; Wed, 28 Jan 2015 08:10:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (samoht.yrag[at]gmail.com) * 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is * CUSTOM_MED * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list X-Greylist: delayed 554 seconds by postgrey-1.32 at yocto-www; Wed, 28 Jan 2015 08:10:12 PST Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5F29CE00858 for ; Wed, 28 Jan 2015 08:10:12 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id CAE27F811E1; Wed, 28 Jan 2015 09:00:57 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id E1CE3F811E0; Wed, 28 Jan 2015 09:00:56 -0700 (MST) Message-ID: <54C907D5.1000001@gmail.com> Date: Wed, 28 Jan 2015 09:01:25 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <54C8EA39.6050508@mlbassoc.com> <54C8F516.5060806@mlbassoc.com> In-Reply-To: Subject: Re: [meta-fsl-arm] Can't build U-Boot for LS1 boards 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, 28 Jan 2015 16:10:24 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-01-28 08:02, zhenhua.luo@freescale.com wrote: > Can you share your reproducible steps? > > The following is my step and ongoing build log: > $ git clone git://git.yoctoproject.org/poky > $ cd poky > $ git clone git://git.yoctoproject.org/meta-fsl-arm > $ . ./oe-init-build-env ls1021atwr > Add 'UBOOT_CONFIG = "sdcard"' in conf/local.conf > Edit conf/bblayers.conf to append absolute path if meta-fsl-arm layer in BBLAYERS > $ MACHINE=ls1021atwr bitbake u-boot-ls1 > Parsing recipes: 100% |#####################################################################################################| Time: 00:00:19 > Parsing of 949 .bb files complete (0 cached, 949 parsed). 1355 targets, 99 skipped, 0 masked, 0 errors. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "1.25.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-14.04" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "ls1021atwr" > DISTRO = "poky" > DISTRO_VERSION = "1.7" > TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7" > TARGET_FPU = "vfp-neon" > meta > meta-yocto > meta-yocto-bsp = "master:07f2eca7e9f9163ec48d3a417d8ba885a84762f3" > meta-fsl-arm = "master:2d9b23e7ca473eaf33b8a96839686a331339e43a" > > NOTE: Preparing RunQueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > WARNING: Failed to fetch URL ftp://ftp.gmplib.org/pub/gmp-6.0.0/gmp-6.0.0a.tar.bz2, attempting MIRRORS if available > Currently 4 running tasks (318 of 379): > 0: glibc-2.20-r0 do_compile (pid 14097) > 1: u-boot-ls1-tools-native-2013.10-r0 do_fetch (pid 21974) > 2: binutils-native-2.24-r0 do_compile (pid 8695) > 3: rpm-native-5.4.14-r0 do_configure (pid 21731) > Duplicating your steps pointed out my problem - I was building with some additional layers, one of which had a stale/old version of u-boot.inc. I've sorted this now and can build as you suggested. Thanks >> -----Original Message----- >> From: Gary Thomas [mailto:gary@mlbassoc.com] >> Sent: Wednesday, January 28, 2015 10:41 PM >> To: Luo Zhenhua-B19537 >> Cc: meta-freescale@yoctoproject.org >> Subject: Re: [meta-freescale] [meta-fsl-arm] Can't build U-Boot for LS1 boards >> >> On 2015-01-28 07:27, zhenhua.luo@freescale.com wrote: >>> Hi , >>> >>> UBOOT_CONFIG is set in machine conf, UBOOT_MACHINE and >> UBOOT_CONFIG can't be set at the same time. >>> >>> Try to add the following line in local.conf to override the default value and >> build again. >>> >>> UBOOT_CONFIG = "sdcard" >> >> I still get the same error. >> >>>> -----Original Message----- >>>> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale- >>>> bounces@yoctoproject.org] On Behalf Of Gary Thomas >>>> Sent: Wednesday, January 28, 2015 9:55 PM >>>> To: meta-freescale@yoctoproject.org >>>> Subject: [meta-freescale] [meta-fsl-arm] Can't build U-Boot for LS1 >>>> boards >>>> >>>> Using meta-fsl-arm master (4d8024331715ff871e730342de16bce4cd985b88) >>>> >>>> When I tried >>>> MACHINE=ls1021atwr bitbake u-boot-ls1 I get this error: >>>> ERROR: Nothing PROVIDES 'u-boot-ls1' >>>> ERROR: u-boot-ls1 was skipped: because UBOOT_MACHINE is not set >>>> >>>> I had to add this line to my local.conf to get it to build: >>>> UBOOT_MACHINE_ls1021atwr = "ls1021atwr_sdcard_config" >>>> >>>> What is the "correct" way to build U-Boot for this board? >>>> >>>> -- >>>> ------------------------------------------------------------ >>>> Gary Thomas | Consulting for the >>>> MLB Associates | Embedded world >>>> ------------------------------------------------------------ >>>> -- >>>> _______________________________________________ >>>> meta-freescale mailing list >>>> meta-freescale@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/meta-freescale >> >> -- >> ------------------------------------------------------------ >> Gary Thomas | Consulting for the >> MLB Associates | Embedded world >> ------------------------------------------------------------