[U-Boot] Compiling for ARMv7-a

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Apr 4 18:10:51 CEST 2009


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?

Best Regards,
J.


More information about the U-Boot mailing list