[U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support

Simon Kagstrom simon.kagstrom at netinsight.net
Mon Sep 7 11:15:00 CEST 2009


On Mon, 7 Sep 2009 01:59:13 -0700
Prafulla Wadaskar <prafulla at marvell.com> 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


More information about the U-Boot mailing list