[U-Boot] Compiling for ARMv7-a

Premi, Sanjeev premi at ti.com
Mon Apr 6 09:16:15 CEST 2009


> -----Original Message-----
> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com] 
> Sent: Saturday, April 04, 2009 9:41 PM
> To: Premi, Sanjeev
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Compiling for ARMv7-a
> 
> On 21:27 Thu 02 Apr     , Premi, Sanjeev wrote:
> > Hi,
> > 
> > I am trying to build the u-boot for ARM Cortex-A8 (OMAP3).
> > 
> > By default the code is built for ARMv5. So, I made this
> > change in cpu/arm_cortexa8/config.mk:
> > 
> >  # Make ARMv5 to allow more compilers to work, even though its v7a.
> > -PLATFORM_CPPFLAGS += -march=armv5
> > +PLATFORM_CPPFLAGS += -march=armv7-a
> you do not need to modify any thing the current tree support omap3
> 
> we just not use the armv7-a optimization to be compatible 
> with the maximum
> of toolchains
> 
> maybe you could explain us why you need it?

[sp] Only as an exercise to see if compiling for ARM v7 provides any
     better performance - speed and/or power-consumption.

> 
> Best Regards,
> J.
> 
> 


More information about the U-Boot mailing list