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 _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
