From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: RFC; Building multiple u-boot images for a single board
Date: Fri, 26 Feb 2010 12:37:39 +0100 [thread overview]
Message-ID: <4B87B283.20009@atmel.com> (raw)
If you want to support multiple boot memories, you have to
have multiple boards in the conf/machine directory
I currently testing a change to at91bootstrap, where a defconfig
is not provided by openembedded.
Instead you provide a list of defconfig's in your machine description:
I.E: in conf/machien/at91sam9g45ek.conf you have:
AT91BOOTSTRAP_BOARD = "at91sam9g45df at91sam9g45ek at91sam9g45nf"
when at91bootstrap is built it will loop through all the boards.
and build three versions.
I think it would make sense to do the same for u-boot,
so that you can build u-boot for several configurations.
This change would happen from u-boot-2009.11 an onwards.
In your machine conf you would supply:
UBOOT_MACHINES = "at91sam9g45ekes_nandflash at91sam9g45ekes_dataflash"
A loop goes through the list
and runs make on each element in the list.
make at91sam9g45ekes_nandflash_config
make
make at91sam9g45ekes_dataflash_config
make
if UBOOT_MACHINES is not set, then a single build is done using
UBOOT_MACHINE as usual.
This will allow u_boot to be built for every boot configuration
without having to add a lot of files.
--
Best Regards
Ulf Samuelsson
next reply other threads:[~2010-02-26 12:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 11:37 Ulf Samuelsson [this message]
2010-02-26 12:16 ` RFC; Building multiple u-boot images for a single board Marcin Juszkiewicz
2010-02-26 12:20 ` Frans Meulenbroeks
2010-02-26 12:57 ` Koen Kooi
2010-02-26 18:45 ` Tom Rini
2010-02-26 18:53 ` Denys Dmytriyenko
2010-02-26 19:27 ` Koen Kooi
2010-02-26 19:45 ` Tom Rini
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=4B87B283.20009@atmel.com \
--to=ulf.samuelsson@atmel.com \
--cc=openembedded-devel@lists.openembedded.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.