How to compile the kernel separately for T2080

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

How to compile the kernel separately for T2080

ソリューションへジャンプ
450件の閲覧回数
hongyuanzhao
Contributor I

How to download the cross-compilation tool ..?

0 件の賞賛
返信
1 解決策
436件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please download the ISO Image: QorIQ Linux SDK v2.0 PPC64E6500 IMAGE(QorIQ-SDK-V2.0-PPC64E6500-IMAGE-20160527-yocto.iso).

from https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-t...

You will find fsl-toolchain folder in this ISO, please run the following command to install the toolchain in /opt/fsl-qoriq/2.0.

./fsl-toolchain/fsl-qoriq-glibc-x86_64-ppc64e6500-toolchain-2.0.sh

source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux

 

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
431件の閲覧回数
hongyuanzhao
Contributor I

got it ,thanks I will try.

0 件の賞賛
返信
437件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please download the ISO Image: QorIQ Linux SDK v2.0 PPC64E6500 IMAGE(QorIQ-SDK-V2.0-PPC64E6500-IMAGE-20160527-yocto.iso).

from https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-t...

You will find fsl-toolchain folder in this ISO, please run the following command to install the toolchain in /opt/fsl-qoriq/2.0.

./fsl-toolchain/fsl-qoriq-glibc-x86_64-ppc64e6500-toolchain-2.0.sh

source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux

 

0 件の賞賛
返信
414件の閲覧回数
hongyuanzhao
Contributor I

hongyuanzhao_0-1717660662347.png

linux$ powerpc64-fsl-linux-gcc test.c
test.c:1:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.

0 件の賞賛
返信
412件の閲覧回数
hongyuanzhao
Contributor I

Cross compilation tool cannot be used

0 件の賞賛
返信
294件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

$ source /opt/fsl-qoriq/2.0/environment-setup-ppc64e6500-fsl-linux
$ ${CC} test.c -o test

0 件の賞賛
返信
279件の閲覧回数
hongyuanzhao
Contributor I

Thank you very much, Yiping.

How to compile the kernel ..?

 

0 件の賞賛
返信