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

Marek Vasut marex at denx.de
Fri Mar 28 09:37:11 CET 2014


On Friday, March 28, 2014 at 09:26:50 AM, Ian Campbell wrote:
> 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.

OK, I will need to fix up my mk802 rev. 1 (the old and crappy one ! ) and check 
this FEL stuff. I would really want to avoid one more linker script if possible, 
since it adds to maintainance overhead and technological debt ... but if you say 
it's necessary, I will not block it.

btw. try popping up at #u-boot @ irc.freenode.net , it'd be nice to have you 
around!

Best regards,
Marek Vasut


More information about the U-Boot mailing list