[oe] Bulding multiple U-Boot configs for one machine

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Tue Jan 18 07:45:12 UTC 2011


2011/1/17 Ulf Samuelsson <ulf.samuelsson at atmel.com>:
> Managed to get some time over and checked in a recipe
> for u-boot-2010.12 which builds all u-boot configs
> specified in the UBOOT_MACHINES (note "S" at the end)
>
> The frecipe is available in a private branch:
>  "ulf/linux-2.6.30-2011-01-16"  (or similar).
>
> There is a SAM9M10 machine checked in as well as a test case.
> grep for UBOOT_MACHINES in the conf/machine directory to find out which.
>
> Note that
> UBOOT_MACHINE = "at91sam9m10g45ek_config"
>
> but
>
> UBOOT_MACHINES = "at91sam9m10g45ek_dataflash at91sam9m10g45ek_sd"
>
> I.E: No "_config" in the list.
>
> The goal of the new branch is to test booting from an SD-Card
> without any other flash in the system.
> Have tested this outside openembedded so far, but
> the current branch is still to be tested on a board.


Cool.
Calamari currently does this (in u-boot_git.bb) by having a dedicated
do_compile etc that simply builds all targets, but this seems much
more elegant.
(calamari has a different u-boot for sd and for nand.)

Frans




More information about the Openembedded-devel mailing list