From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 28 Mar 2014 09:37:11 +0100 Subject: [U-Boot] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure. In-Reply-To: <1395995210.26869.9.camel@dagon.hellion.org.uk> References: <1395438845.2234.95.camel@hastur.hellion.org.uk> <201403272337.03589.marex@denx.de> <1395995210.26869.9.camel@dagon.hellion.org.uk> Message-ID: <201403280937.11738.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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