From: Tom Rini Date: Thu, 17 May 2012 11:53:12 -0700 Subject: [U-Boot] [PATCH] Add gc-section support for ARM In-Reply-To: <201205161045.33983.manningc2@actrix.gen.nz> References: <1336009071-23704-1-git-send-email-cdhmanning@gmail.com> <201205161007.59560.manningc2@actrix.gen.nz> <20120515222526.B26B520436D@gemini.denx.de> <201205161045.33983.manningc2@actrix.gen.nz> Message-ID: <20120517185312.GC23562@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 16, 2012 at 10:45:33AM +1200, Charles Manning wrote: > On Wednesday 16 May 2012 10:25:26 Wolfgang Denk wrote: > > Dear Charles, > > > > In message <201205161007.59560.manningc2@actrix.gen.nz> you wrote: > > > On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: > > > > ... > > > > > > current u-boot policy is to not introduce changes that knowingly break > > > > other platforms. so if you want to update the common arm config.mk, > > > > you need to at least compile test all arm boards. > > > > ---------------------^^^^^^^^^^^^ > > > > > Doesn't that makes it an impossible task? Not having all the boards makes > > > it pretty hard to test them all. > > > > A compile test does not require any actual hardware. > > Does the patch fail I submitted fail any compile tests? > > AFAIK, it compiles but the resulting binary might just be rubbish on some > boards. > > It worked fine on my overo board without any changes to the overo lds. > > I have just verified that it builds on > overo > mx51evk > davinci_sonata > > If there is an expectation to build every possible config is there a script > that will do that? Yes, MAKEALL in the top level. Assuming you've installed ELDK5.1 or 4.2 to their default locations: $ source /opt/eldk-5.1/armv7a/environment-setup-armv7a-vfp-neon-linux-gnueabi $ CROSS_COMPILE=arm-linux-gnueabi- BUILD_DIR=eldk51 ./MAKEALL -a arm $ CROSS_COMPILE=/opt/eldk-4.2/arm/usr/bin/arm-linux-gnueabi- BUILD_DIR=eldk42 ./MAKEALL -a arm (I've got the above in a script with a few tweaks to build all TI stuff, for example). -- Tom