How to compile the kernel separately for T2080

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to compile the kernel separately for T2080

跳至解决方案
914 次查看
hongyuanzhao
Contributor I

How to download the cross-compilation tool ..?

0 项奖励
回复
1 解答
900 次查看
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 回复数
895 次查看
hongyuanzhao
Contributor I

got it ,thanks I will try.

0 项奖励
回复
901 次查看
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 项奖励
回复
878 次查看
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 项奖励
回复
876 次查看
hongyuanzhao
Contributor I

Cross compilation tool cannot be used

0 项奖励
回复
758 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
743 次查看
hongyuanzhao
Contributor I

Thank you very much, Yiping.

How to compile the kernel ..?

 

0 项奖励
回复