Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [v2, 0/4] Supporting building a second Barebox config
@ 2015-11-04 21:20 Pieter Smith
  2015-11-04 21:20 ` [Buildroot] [v2, 1/4] barebox: prepare for secondary config build Pieter Smith
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Pieter Smith @ 2015-11-04 21:20 UTC (permalink / raw)
  To: buildroot

This patch-set in 4 parts adds support for building barebox with up to 2
configurations. It can be used to build the barebox x-loader or MLO (also
called Secondary Program Loader) in addition to the standard barebox build
(Tertiary Program Loader). This implements the design proposed in
http://elinux.org/Buildroot#Todo_list:
1. Have boot/barebox/ containing the common stuff.
2. Add two separate packages boot/barebox-1/ and boot/barebox-2/.
3. There is only one version selection, but each package allows to
   define the configuration to be used.
4. Design is a little bit like package/gcc, where we have multiple gcc builds,
   but share a lot of common definitions between the packages.

To demonstrate that it works as advertized, the last patch adds a defconfig for
the beaglebone black that makes use of the added functionality.

Pieter Smith (4):
  barebox: prepare for secondary config build
  barebox: adds option to build secondary config
  barebox: user selection of build output images
  beaglebone: adds barebox bootloader defconfig

 boot/barebox/Config.in                | 155 +++++++++++++++++++++++++++++-----
 boot/barebox/barebox-1/barebox-1.hash |   1 +
 boot/barebox/barebox-1/barebox-1.mk   |  89 +++++++++++++++++++
 boot/barebox/barebox-2/barebox-2.hash |   1 +
 boot/barebox/barebox-2/barebox-2.mk   |  51 +++++++++++
 boot/barebox/barebox.mk               |  60 +------------
 configs/beaglebone_barebox_defconfig  |  39 +++++++++
 7 files changed, 317 insertions(+), 79 deletions(-)
 create mode 120000 boot/barebox/barebox-1/barebox-1.hash
 create mode 100644 boot/barebox/barebox-1/barebox-1.mk
 create mode 120000 boot/barebox/barebox-2/barebox-2.hash
 create mode 100644 boot/barebox/barebox-2/barebox-2.mk
 create mode 100644 configs/beaglebone_barebox_defconfig

-- 
2.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-20 22:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 21:20 [Buildroot] [v2, 0/4] Supporting building a second Barebox config Pieter Smith
2015-11-04 21:20 ` [Buildroot] [v2, 1/4] barebox: prepare for secondary config build Pieter Smith
2015-11-04 21:20 ` [Buildroot] [v2, 2/4] barebox: adds option to build secondary config Pieter Smith
2015-11-04 21:20 ` [Buildroot] [v2, 3/4] barebox: user selection of build output images Pieter Smith
2015-11-04 21:20 ` [Buildroot] [v2, 4/4] beaglebone: adds barebox bootloader defconfig Pieter Smith
2016-01-19 10:11 ` [Buildroot] [v2, 0/4] Supporting building a second Barebox config Yegor Yefremov
2016-01-20 22:47   ` Pieter Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox