![Telit Wireless Solutions WE866C3 User Manual Download Page 17](http://html1.mh-extra.com/html/telit-wireless-solutions/we866c3/we866c3_user-manual_1083807017.webp)
WE866C3 Wi-Fi Network Interface Card (NIC) User Guide
1VV0301545 Rev 1.0
Page
17
of
37
2018-07-09
4.
BUILDING AND LOADING THE SOFTWARE
This chapter provides the steps for building WE866C3 Linux drivers, loading and running
them on a reference platform.
Telit WE866C3 Wi-Fi driver software package consists of folders such as apps, build,
drivers etc. It generates the folder rootfste-p233.build after building the driver. WE866C3
driver is supported with the Linux kernel version 4.9.11. The Linux kernel 4.9.11 should
be patched with the kernel patch files given in the driver software package.
X86 PC Host Platform
The X86 host machine is loaded with Linux kernel v4.9.11 and patched with the kernel
patches provided in the software package of WE866C3 driver. Now X86 host platform is
ready to build the driver software. For details refer to
Appendix A: Downloading, Building,
and Installing Linux Kernel on x86
Ubuntu.
ARM Cortex A9 Embedded Platform
i.MX 6SLL-EVK board must be booted with Linux kernel v4.9.11 built and with the required
patches. The driver project should be cross-compiled for the i.MX 6SLL_EVK platform.
For details refer to
Appendix B: Building and Installing Linux Kernel and Driver on NXP
i.MX 6 Embedded Host
WE866C3 Linux Package
This step is common for all Linux host platforms.
1. Create a fol
der called “telit”.
mkdir ~/telit
2. Copy
“WE866C3.tar.gz” package into this directory.
3. Unzip the package using following command.
tar xvf WE866C3.tar.gz
Building WE866C3 Driver
1. To build the driver, go to the build directory in the WE866C3 project.
cd WE866C3/build
2. To clean and build the driver, run the make command with clean option.
make clean
3. Run the make command to build the driver files.
make
When the build to the driver code is successful, the loadable kernel object file (
wlan.ko
) is
generated and placed in the output directory
WE866C3/rootfs-te-p233.build/lib/modules
Loading the Driver Module
The binaries needed for module WLAN functionality will be available in the directory -
WE866C3/rootfs-te-p233.build/lib/firmware/WLAN-firmware/
. These binaries must be
copied to the location
/lib/firmware
in the host platform.
The required driver configuration files will be available in the directory
–
WE866C3/rootfs-
te-p233.build/lib/firmware/wlan/
. These files should be copied to the location
/lib/firmware/wlan
in the host machine.