Hi all,

I have setup the toolchain with the settings from my previous email
(-mcpu=cortex-a7 -mfpu=neon-vfpv4)

When I try to build the Linux kernel I get lots of warnings about
conflicting toolchain options:

arch/arm/kernel/elf.c:1:0: warning: switch -mcpu=cortex-a7 conflicts
with -march=armv5t switch

This is with OSELAS.Toolchain-2016.06.1, using arm-v7a-linux-gnueabihf.

I am not sure where the -march=armv5t is coming from, since this is an
arm-v7a toolchain.

Also if I use -mcpu=cortex-a9 instead of cortex-a7, there are no warnings :-?

Can anyone sehd some light ?

Thank you,

Guillermo

El lun., 25 nov. 2019 a las 13:33, Guillermo Rodriguez Garcia
(<guille.rodrig...@gmail.com>) escribió:
>
> Hi all,
>
> I am trying to setup a toolchain for the STM32MP15x. The main CPU is a
> single or dual (depending on p/n) Cortex-A7, supporting NEON and
> VFPv4.
>
> I'm using the OSELAS arm-v7a-linux-gnueabihf toolchain. As for the
> extra flags I believe I should use -mcpu=cortex-a7 -mfpu=neon-vfpv4.
>
> Does this look correct? Any comments / hints?
>
> BR,
>
> Guillermo Rodriguez Garcia
> guille.rodrig...@gmail.com



-- 
Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to