[Buildroot] [v2, 0/4] Supporting building a second Barebox config

Pieter Smith pieter at boesman.nl
Wed Jan 20 22:47:42 UTC 2016


Hi Yegor,

On Tue, Jan 19, 2016 at 11:11:44AM +0100, Yegor Yefremov wrote:
> Hi Pieter,
> 
> On Wed, Nov 4, 2015 at 10:20 PM, Pieter Smith <pieter at boesman.nl> wrote:
> > 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
> 
> Thanks for the patches. Just wanted to review/test them. They don't
> apply cleanly.
> Could you please rebase your patches on top of the master branch?
> 
> Thanks.
> 
> Yegor

As requested, I rebased the patches onto the latest master and reposted bumping
to v3. I look forward to your feedback.

Regards,
Pieter




More information about the buildroot mailing list