EVK-VERA-P174 - User Guide
UBX-17048707 - R06
Software
Page 27 of 30
The IPv6 address can then be used to send an IPv6 ping request from another VERA-P1 module over
the
llc-cch-ipv6 interface:
$ ping6 -I llc-cch-ipv6 fe80::8a8c:22ae:976d:cdde
The throughput over IPv6 between two VERA-P1 modules can be tested using the iperf3 tool for
example. To do this, start the iperf3 server on one side:
$ iperf3 -s -D
Then start the throughput test on the client side and connect to the IPv6 address of the server:
$ iperf3 -6 -c fe80::8a8c:22ae:976d:cdde%llc-cch-ipv6
4.4
Building the software for a different target platform
Building the LLC Remote package for a different target system requires a toolchain and configured
kernel sources for the target platform. The following example shows how to manually cross-compile
the LLC driver and tools for an Arm
®
architecture using the
gcc-arm-linux-gnueabi toolchain. The
configured kernel sources should be available in the
/home/duser/work/linux-3.10.107/ directory.
☞
Recipes for integrating the software package into Yocto-based projects can be provided by u-blox
on request.
To cross-compile the LLC driver:
$ cd cohda/kernel/drivers/cohda/llc
$ make BOARD=mk5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
KERNELDIR=/home/duser/work/linux-3.10.107/
To cross-compile the LLC tool, library, and plugins
6
:
$ cd cohda/app/llc
$ make BOARD=mk5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- CC=arm-linux-gnueabi-gcc
LD=arm-linux-gnueabi-ld
After successful compilation, the following files must be deployed on the target system:
cohda/app/llc/llc – LLC tool
cohda/app/llc/lib/libLLC.so* – LLC library
cohda/app/llc/plugin/*.so – LLC plugins (to plugin subdirectory)
cohda/kernel/drivers/cohda/llc/cw-llc.ko – LLC kernel module
cohda/kernel/drivers/cohda/llc/SDRMK5*.bin – SDR firmware images
The
dfu-util tool is required on the target system to download the SDR firmware to the VERA-P1
module.
6
Not all plugins are provided as source code. The Binary plugins are available only for i686, x86-64 and mk5 (Arm) architectures.