User Tools

Site Tools


Sidebar

Kerlink Wiki Home Page

Home

Setups

General information

Wirnet™ iBTS information

Wirnet™ iFemtoCell information

Wirnet™ iFemtoCell-evolution information

Wirnet™ iStation information

System management

Network management

LoRa Features

KerOS customization

Support and resources



www.kerlink.com

wiki:toolchain

This is an old revision of the document!


Table of Contents

Toolchain

Kerlink provides the cross-toolchain, libraries and headers necessary to the compilation of an application.
The provided toolchain and development procedure are dedicated to Linux x86 computer (32 bits and 64 bits). There is no embedded compiler in the Wirnet iBTS.

Install

Retrieve the installation package according to the Linux build machine architecture available on the resources page: Wirnet iBTS toolchain or Wirnet iFemtoCell toolchain.

Execute the script:

  • The path for Wirnet iBTS is /opt/toolchain/lpbs.
  • The path for Wirnet iFemtoCell is /opt/toolchains/wifc.
./poky-glibc-x86_64-keros-toolchain-klk-lpbs-4.0.2.sh 
Poky (Yocto Project Reference Distro) SDK installer version 2.4.2
=================================================================
Enter target directory for SDK (default: /opt/poky/2.4.2): /opt/toolchain/lpbs
You are about to install the SDK to "/opt/toolchain/lpbs". Proceed[Y/n]? Y
[sudo] password for ubuntu1404: 
Extracting SDK.............................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . /opt/toolchain/lpbs/environment-setup-armv7ahf-neon-poky-linux-gnueabi
 $ . /opt/toolchain/lpbs/environment-setup-cortexa9hf-neon-poky-linux-gnueabi

In order to avoid issues with Makefile using “CFLAGS” or “LDFLAGS”, please modify the toolchain environment file (using the corresponding toolchain directory /opt/toolchain/lpbs/… or /opt/toolchains/wifc/…):

cat << EOF >> /opt/toolchains/lpbs/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
unset CFLAGS
unset CXXFLAGS
unset LDFLAGS
EOF

Source the toolchain environment (using the corresponding toolchain directory /opt/toolchain/lpbs/… or /opt/toolchains/wifc/…):

source /opt/toolchains/lpbs/environment-setup-cortexa9hf-neon-poky-linux-gnueabi

System is ready to use make, autotools or cmake.

wiki/toolchain.1545212742.txt.gz · Last modified: 2019/01/17 10:01 (external edit)