How Third party soft run on Tlx2160a board

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

How Third party soft run on Tlx2160a board

1,014 Views
156614400
Contributor III

How Third party soft  run on lx2160a board ??

Now our Third party soft  is running on x86  centos server,   but we want to run  Third party soft  on lx2160a board.

so, 

1.  Third party soft must be rebuilted  with    aarch64-linux-gnu-gcc ??   

2. Third party soft can be rebuilted  at  CentOS   environment ??  not at ubuntu18.04

3. if  Third party soft need to be rebuilted  with    aarch64-linux-gnu-gcc,     which version ???     is   gcc version 7.5.0 ??

4  if we need to provide aarch64-linux-gnu-gcc   source,   LSDK   have the GCC source ???  or where get the GCC source ??? 

5 if Third party soft is rebuilted at  CentOS,   the kenel of  lx2160a board  need to be centos ???   can use LSDK's default ubuntu18.04 kenel ???

 

10 Replies

816 Views
156614400
Contributor III

Hi Yiping:

1   https://drive.google.com/open?id=1DKSXd775Beijes9eMguPfOroAxSWrF6G  

this web address can not be open,  I use 2 method,  use foxconn's proxy,  or  use nomal net. 

is this web address  true ??

0 Kudos

816 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try to access google first.

0 Kudos

816 Views
156614400
Contributor III

I am sorry, 

1  in ubuntu18.04 and flexbuild_lsdk1909_update_311219.tgz  envirment, I get that 

zwb@ubuntu:~/lx2160a/flexbuild_lsdk1909_update_311219$ aarch64-linux-gnu-gcc-7 -v
Using built-in specs.
COLLECT_GCC=aarch64-linux-gnu-gcc-7
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/7/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include
Thread model: posix
gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)

2  so ,   I use source to build  and install aarch64-linux-gnu-gcc

https://releases.linaro.org/components/toolchain/gcc-linaro/latest-7/gcc-linaro-7.5-2019.12.tar.xz 

but  this code is accord with flexbuild_lsdk1909_update_311219.tgz 's aarch64-linux-gnu-gcc, ??

0 Kudos

816 Views
156614400
Contributor III

Dear Yiping:

when I use foxconn's proxy, I can access google, but the 3 website  also can not be open, 

use mobile's internet, without proxy, also can not access.

1 so, I  go to Builds & Downloads - Linaro   ,  and download aarch64-linux-gnu,     https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.... 

   is this cross-build tool   true ??   is accord with my LSDK ??   I use this flexbuild_lsdk1909_update_311219.tgz

 

thanks

0 Kudos

816 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Third party software must be built with the ARM64 cross compiler  aarch64-linux-gnu-gcc.

2. Third party soft can be rebuilt  in CentOS   environment.

3. Third party soft need to be rebuilt with any version cross compiler. LSDK 19.09 provides aarch64-linux-gnu-gcc version 7.5.

4. LSDK provides ARM64 cross compiler binary, LSDK installs aarch64-linux-gnu-gcc in /usr/bin/. However LSDK needs to be run in Ubuntu 18.04 or docker environment.

5. You can use LSDK default ubuntu18.04 rootfs.

Thanks,

Yiping

816 Views
156614400
Contributor III

Dear Yiping:

1  if  Third party soft will be rebuilt  in CentOS,      aarch64-linux-gnu-gcc   compiler binary  of LSDK  can not be used。   I must supply the   aarch64-linux-gnu-gcc  source,  third party soft can be rebuilt  in CentOS   environment.

2 where is  aarch64-linux-gnu-gcc  source  ????      gcc  v7.5.0 source  of  GCC web???

 

Thanks

0 Kudos

816 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could download Yocto SDK from the following link.

readme - qoriq-components/yocto-sdk - Repo manifest for QorIQ Yocto SDK 

Then build Toolchian with the following command.

$ source setup-env -m lx2160ardb

$ bitbake fsl-toolchain

Thanks,

Yiping

816 Views
156614400
Contributor III

Dear Yiping:

for lx2160ardb board,   we use the SDK is  flexbuild_lsdk1909_update_311219.tgz  ,  is  not  QorIQ Linux SDK v2.0, 

so I find that toolchain of building is  aarch64-linux-gnu-gcc .   

 

1   do  as  below,  can I built out  aarch64-linux-gnu-gcc ??

You could download Yocto SDK from the following link.

readme - qoriq-components/yocto-sdk - Repo manifest for QorIQ Yocto SDK 

Then build Toolchian with the following command.

$ source setup-env -m lx2160ardb

$ bitbake fsl-toolchain

2  or ,  get  gcc  v7.5.0 source  of  GCC web,   can built out aarch64-linux-gnu-gcc ??

Thanks!

0 Kudos

816 Views
yipingwang
NXP TechSupport
NXP TechSupport

I uploaded GCC 9.2 Toolchain installation file for ARCH arm64 platforms, which is built from Yocto 3.0 release.

https://drive.google.com/open?id=1DKSXd775Beijes9eMguPfOroAxSWrF6G 

Please install this Toolchain with the following procedure.

$ chmod 777 fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh

$./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh

$ source environment-setup-aarch64-fsl-linux

$ aarch64-fsl-linux-gcc --version

0 Kudos

816 Views
156614400
Contributor III

Dear Yiping:

https://drive.google.com/open?id=1DKSXd775Beijes9eMguPfOroAxSWrF6G 

fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh

$./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh

the 3 web address all can not be open,    I use 2 method,  use foxconn's proxy,  or  use nomal net. 

is web address  true ??

0 Kudos