[PATCH] Make barebox flashable image link for "multi-image" targets

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 20 23:01:23 PDT 2015


On Tue, Oct 20, 2015 at 09:47:30PM +0000, Trent Piepho wrote:
> For a target with multi-image support, no barebox-flash-image link is
> made pointing to the finished flashable image.  This makes it hard for
> buildroot to figure out which file is the barebox image.  And one has
> to assume this link is generally useful and convenient to users of
> barebox, or why would it have been created in the first place?

Creating the barebox-flash-image link predates the multiimage support,
so by the time it was introduced it was not clear to me that there will
be no single image later anymore.

> 
> This patch to the multi-image build will create that link.
> 
> It only works when a single image is made.  If one is making multiple
> images, then the concept of a single finished image no longer applies,
> and no link is made.

Can't you make the image a config option in buildroot? Depending on only
having a single image selected in barebox doesn't sound like a good
idea.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list