This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
wiki:keros_custo:toolchain [2019/09/25 15:40] ghi created |
wiki:keros_custo:toolchain [2020/09/07 15:49] (current) ghi [Install] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Toolchain ====== | ====== Toolchain ====== | ||
| Kerlink provides the cross-toolchain, libraries and headers necessary to the compilation of an application. \\ | 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 (64 bits). There is no embedded compiler in the Wirnet™ Productline gateways. | + | The provided toolchain and development procedure are dedicated to Linux x86 computer (64 bits). There is no embedded compiler in the Wirnet™ i-series gateways. |
| ===== Install ===== | ===== Install ===== | ||
| - | Retrieve the toolchain installation package corresponding to your firmware version [[wiki:resources#keros_firmware_and_toolchain|from the resources page]]. | + | Retrieve the toolchain installation package corresponding to your firmware version [[wiki:resources:resources#keros_firmware_and_toolchain|from the resources page]]. |
| Execute the script: | Execute the script: | ||
| - | * The path for 4.0.X firmwares for Wirnet iBTS is ''<fc #ff0000>/opt/toolchains/lpbs</fc>''. | + | * The path for 4.0.x firmwares for Wirnet iBTS is ''<fc #ff0000>/opt/toolchains/lpbs</fc>''. |
| - | * The path for 4.0.X firmwares for Wirnet iFemtoCell is ''<fc #ff0000>/opt/toolchains/wifc</fc>''. | + | * The path for 4.0.x firmwares for Wirnet iFemtoCell is ''<fc #ff0000>/opt/toolchains/wifc</fc>''. |
| - | * The path for 4.1.X firmwares for all Wirnet™ Productline gateways is ''<fc #ff0000>/opt/toolchains/klkgw</fc>''. | + | * The path for 4.1.x firmwares and upper, for all Wirnet™ i-series gateways is ''<fc #ff0000>/opt/toolchains/klkgw</fc>''. |
| <code bash> | <code bash> | ||
| - | ./poky-glibc-x86_64-keros-toolchain-klkgw-4.1.2.sh | + | ./poky-glibc-x86_64-keros-toolchain-klkgw-4.2.2.sh |
| Poky (Yocto Project Reference Distro) SDK installer version 2.4.2 | Poky (Yocto Project Reference Distro) SDK installer version 2.4.2 | ||
| ================================================================= | ================================================================= | ||
| Line 24: | Line 24: | ||
| </code> | </code> | ||
| - | In order to avoid issues with Makefile using "CFLAGS" or "LDFLAGS", please modify the toolchain environment file (**using the corresponding toolchain directory ''/opt/toolchains/lpbs/...'' or ''/opt/toolchains/wifc/...''**): | + | In order to avoid issues with Makefile using "CFLAGS" or "LDFLAGS", please modify the toolchain environment file **using the corresponding toolchain directory ''/opt/toolchains/klkgw...''** (''/opt/toolchains/lpbs/...'' or ''/opt/toolchains/wifc/...'' for v4.0.x firmwares): |
| <code bash> | <code bash> | ||
| cat << EOF >> /opt/toolchains/klkgw/environment-setup-armv7ahf-neon-poky-linux-gnueabi | cat << EOF >> /opt/toolchains/klkgw/environment-setup-armv7ahf-neon-poky-linux-gnueabi | ||
| Line 34: | Line 34: | ||
| - | Source the toolchain environment (**using the corresponding toolchain directory ''/opt/toolchains/lpbs/...'' or ''/opt/toolchains/wifc/...''**): | + | Source the toolchain environment **using the corresponding toolchain directory ''/opt/toolchains/klkgw...''** (''/opt/toolchains/lpbs/...'' or ''/opt/toolchains/wifc/...'' for v4.0.x firmwares): |
| <code bash> | <code bash> | ||
| source /opt/toolchains/klkgw/environment-setup-armv7ahf-neon-poky-linux-gnueabi | source /opt/toolchains/klkgw/environment-setup-armv7ahf-neon-poky-linux-gnueabi | ||