All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: yocto@yoctoproject.org
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: Re: FW: Problem to generate u-boot image
Date: Tue, 31 May 2011 07:31:39 -0700	[thread overview]
Message-ID: <4DE4FBCB.60902@linux.intel.com> (raw)
In-Reply-To: <201105310944.42555.paul.eggleton@linux.intel.com>



On 05/31/2011 01:44 AM, Paul Eggleton wrote:
> On Friday 27 May 2011 09:17:45 Nikhil Kamath wrote:
>> $ bitbake u-boot_git
> 
> When specifying a target for bitbake you can't include the version (the 
> underscore _ and everything after it). Poky will take care of selecting the 
> version for you; in this case there is only one. So you should run the 
> following instead:
> 
> $ bitbake u-boot
> 
> FYI for future reference if you do have multiple version choices and want to 
> force one of them to be selected that is not the default, you need to add this 
> somewhere (initially local.conf, but it may become part of your custom distro 
> if you later create one):
> 
> PREFERRED_VERSION_packagename = "1.0"
> 
> (Assuming packagename is the name of the package and 1.0 is the version you 
> want to select.)
> 
> Cheers,
> Paul
> 

Paul is correct in all the above. However, u-boot is very
machine-specific, and there is no qemuarm u-boot configuration. In order
to build u-boot, you must define:

UBOOT_MACHINE
UBOOT_ENTRYPOINT
UBOOT_LOADADDRESS

In bernard and older releases, the first is usally defined in the
u-boot_git.bb as a machine override:

UBOOT_MACHINE_your-machine = "uboot-machine-config"

Where uboot-machine-config is a named machine config that upstream
u-boot ships with its sources. The second and third variable are usually
defined in the machine configuration file.

For example, for the beagleboard, these values are set as:

UBOOT_MACHINE = "omap3_beagle_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"

If you aren't sure what those values should be, consider starting a
thread on the u-boot mailing list on how to configure u-boot for your
specific machine.

Thanks,

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


      reply	other threads:[~2011-05-31 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87C8C51E47F55D47ABF9BB39687792ED41FA2C@POCITMSEXMB01.LntUniverse.com>
2011-05-27  8:17 ` FW: Problem to generate u-boot image Nikhil Kamath
2011-05-31  8:44   ` Paul Eggleton
2011-05-31 14:31     ` Darren Hart [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=4DE4FBCB.60902@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@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.