Skip to contentSkip to conversation

Bulding multiple U-Boot configs for one machine

DISCUSSION Ulf Samuelsson 4 participants 4 messages Jan 17, 2011 – Jan 18, 2011

lore
Share & tools
lore
#0 lore raw

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.

Best Regards
Ulf Samuelsson

#1 lore raw
Quoted 15 lines · Ulf Samuelsson

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

Quoted 8 lines

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.

I can see a number of other use cases for this type of functionality so +1 on the concept from me.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#2 lore raw
Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tom Rini
Sent: Monday, January 17, 2011 4:16 PM
To: [email protected]
Subject: Re: [oe] Bulding multiple U-Boot configs for one machine

Quoted 19 lines · Ulf Samuelsson

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.

Quoted 7 lines
Quoted 4 lines

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.

I can see a number of other use cases for this type of functionality so +1 on the concept from me.

Agreed. Would love to see a patch for this because the concept is good.

Quoted 9 lines

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Ulf Samuelsson

2011/1/17 Ulf Samuelsson <[email protected]>:

Quoted 15 lines

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

Quoted 8 lines

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