From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pieter Smith Date: Wed, 20 Jan 2016 23:47:42 +0100 Subject: [Buildroot] [v2, 0/4] Supporting building a second Barebox config In-Reply-To: References: <1446672031-13866-1-git-send-email-pieter@boesman.nl> Message-ID: <20160120224742.GA3128@smipidev> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 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