All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <samoht.yrag@gmail.com>
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-fsl-arm] Can't build U-Boot for LS1 boards
Date: Wed, 28 Jan 2015 09:01:25 -0700	[thread overview]
Message-ID: <54C907D5.1000001@gmail.com> (raw)
In-Reply-To: <CY1PR0301MB071518DCD46E185DB14350C1E4330@CY1PR0301MB0715.namprd03.prod.outlook.com>

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


      reply	other threads:[~2015-01-28 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 13:55 [meta-fsl-arm] Can't build U-Boot for LS1 boards Gary Thomas
2015-01-28 14:27 ` zhenhua.luo
2015-01-28 14:41   ` Gary Thomas
2015-01-28 15:02     ` zhenhua.luo
2015-01-28 16:01       ` Gary Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C907D5.1000001@gmail.com \
    --to=samoht.yrag@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.