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
908 Views
hongyuanzhao
Contributor I

How to download the cross-compilation tool ..?

0 Kudos
Reply
1 Solution
894 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
Reply
6 Replies
889 Views
hongyuanzhao
Contributor I

got it ,thanks I will try.

0 Kudos
Reply
895 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
Reply
872 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
Reply
870 Views
hongyuanzhao
Contributor I

Cross compilation tool cannot be used

0 Kudos
Reply
752 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
737 Views
hongyuanzhao
Contributor I

Thank you very much, Yiping.

How to compile the kernel ..?

 

0 Kudos
Reply