From: Simon Kagstrom Date: Mon, 7 Sep 2009 11:15:00 +0200 Subject: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202ED2FE413@SC-VEXCH1.marvell.com> References: <20090907082351.52924327@marrow.netinsight.se> <73173D32E9439E4ABB5151606C3E19E202ED2FE413@SC-VEXCH1.marvell.com> Message-ID: <20090907111500.4b01e632@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 7 Sep 2009 01:59:13 -0700 Prafulla Wadaskar wrote: > > Well, I sent a patch "[PATCH, RFC] Make arm926ejs use -march=armv5t to > > avoid problems with EABI", which corrects this for me, although I'd > > like some input on if it really makes any sense. > > I have tested this with Sheevaplug, this patch even works well for me too. > The Kirkwood specification says that the core is armv5te compliant > But this change is global, applicable for all arm926ejs based SoC which isn't relevant too. > Do anybody have similar test results with other processors? > > Since this is very specific NAND > How about looking into NAND code? I did look at it, and indeed some of the ldrd/strd's are in the NAND code. I can't really see anything obviously wrong with the generated code. However, it's not NAND-specific. Depending on GCC version, I get issues with vsprintf or complete lockups as well. // Simon