How to compile the kernel separately for T2080

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

How to compile the kernel separately for T2080

Jump to solution
330 Views
hongyuanzhao
Contributor I

How to download the cross-compilation tool ..?

0 Kudos
1 Solution
316 Views
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

 

View solution in original post

0 Kudos
6 Replies
311 Views
hongyuanzhao
Contributor I

got it ,thanks I will try.

0 Kudos
317 Views
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 Kudos
294 Views
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 Kudos
292 Views
hongyuanzhao
Contributor I

Cross compilation tool cannot be used

0 Kudos
174 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
159 Views
hongyuanzhao
Contributor I

Thank you very much, Yiping.

How to compile the kernel ..?

 

0 Kudos