Imx8qm acceleration problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx8qm acceleration problem

1,126 Views
zhiyuan_song
Contributor II

The chip used is I.M.X8 QM.The operating system is Linux。The cross-compilation tool chain is aarch64-tdx-linux-g++ 。I tried to use accelerated compilation, but got an error。The added parameter is -mfloat-abi= hard-mfpu = vFPv3-mfpu =neon。

Does I.X8QM not support these parameters?
                        

0 Kudos
2 Replies

1,068 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Song,

Apparently, you need to export some flags on your makefile:

export CFLAGS="-mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits"

You can find more information on the below web page:

https://gist.github.com/fm4dd/c663217935dc17f0fc73c9c81b0aa845

Regards

0 Kudos

1,068 Views
zhiyuan_song
Contributor II

Sorry, error again。

Environment variable added export CXXFLAGS=" -mcPU = Cortex-a53-mfloat -abi= hard-MFPU = NEON - FP-ARMV8-mneon -for-64bits"

But when I make, still report an error。

aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mfloat-abi=hard’
aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’
aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mneon-for-64bits’

0 Kudos