[U-Boot] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure.

Ian Campbell ijc at hellion.org.uk
Fri Mar 28 09:26:50 CET 2014


On Thu, 2014-03-27 at 23:37 +0100, Marek Vasut wrote:
> On Thursday, March 27, 2014 at 11:05:21 PM, Ian Campbell wrote:
> > On Mon, 2014-03-24 at 22:01 +0100, Marek Vasut wrote:
> > > > diff --git a/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds
> > > > b/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds new file mode 100644
> > > > index 0000000..cf02300
> > > > --- /dev/null
> > > > +++ b/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds
> > > 
> > > This file is unreadable. Can you not actually merge it into
> > > u-boot-spl.lds with some #ifdef ?
> > 
> > They look pretty much entirely different to me. I should sort out the
> > whitespace and stuff though, it is a mess in that regard. Perhaps that
> > will help.
> 
> Likely, but is it really necessary for those two files to be so different or is 
> this some legacy stuff in the sunxi-specific .lds file?

The standard lds file is pretty standard. This -fel version is for a
special boot mode which sunxi processors have[0] which allows for
booting over USB OTG, so the image needs to be built appropriately.

Ian.

[0] http://linux-sunxi.org/FEL






More information about the U-Boot mailing list