LILY-W1 series - System integration manual
UBX-15027600 - R09
Software
Page 34 of 64
C1 - Public
This command will build the Wi-Fi kernel modules and all the included user space applications. The
build results will be copied to
../bin_sd8801/
(or
../bin_usb8801
in case of USB driver), relative to the
wlan_src
directory. The following table summarizes the content of the Wi-Fi build results directory:
File
Description
mlan.ko,
sd8801.ko/usb8801.ko
Wi-Fi driver kernel modules
README*
Usage instructions for the provided tools
config/*
Sample configuration files used by various tools
uaputl.exe
Micro-AP configuration tool
mlanutl
Configuration tool for additional driver parameters
mlanevent.exe
Netlink event listener
mlan2040coex
802.11 20/40 MHz coexistence handler
Table 20: Content of the Wi-Fi build results directory
3.5
Deploying the software
The following steps describe how to install the drivers, firmware and provided tools on the target
system:
1.
Copy the application binaries to an appropriate location on the target file system and add it to
the
$PATH
environment variable, if required.
2.
The kernel modules should be copied to somewhere below the modules directory of the kernel,
for example,
/lib/modules/3.1
9.8
/updates/
. Run the
depmod
command afterwards to
update the module dependencies and to have the modules findable by the
modprobe
utility.
3.
Copy the firmware image file
sd8801_uapsta.bin
(or
usb8801_uapsta.bin
) from the driver
package's
FwImage
directory to the directory
/lib/firmware/mrvl/
on the target file system.
An example deployment is shown below:
Listing 2: Example target file system
3.5.1
Blacklisting the mwifiex driver
If the target system includes the open source mwifiex driver, make sure to use the correct firmware
image by replacing the existing one and that the mwifiex driver is blacklisted to prevent it from being
loaded automatically. To blacklist the mwifiex kernel modules, add the following lines to a file under
/etc/modprobe.d/
, for example in
/etc/modprobe.d/blacklist.conf
:
/
├──
lib
│
├──
firmware
│
│
└──
mrvl
│
│
└──
sd8801_uapsta.bin
│
└──
modules
│
└──
3.19.8
│
└──
updates
│
├──
mlan.ko
│
└──
sd8801.ko
└──
opt
└──
lily-w1
└── bin_sd8801