Imx8qm acceleration problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Imx8qm acceleration problem

1,280件の閲覧回数
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?
                        

ラベル(1)
0 件の賞賛
2 返答(返信)

1,222件の閲覧回数
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 件の賞賛

1,222件の閲覧回数
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 件の賞賛