EVK-LILY-W1 - User Guide
UBX-15030290 - R04
Software
Page 17 of 25
Listing 3: Example target file system
4.4.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
:
Listing 4: Blacklisting mwifiex
⚠
Blacklisting will not work for drivers that are built into the kernel image rather than as a kernel
module.
4.4.2
Additional software requirements
Some additional packages that are recommended for installation on the target system are mentioned
in the following table:
Package
Comment
wpa_supplicant
WPA supplicant. Handles key negotiation and roaming etc., on the client side
iw
CLI configuration utility for wireless devices
wireless-tools
CLI tools for configuring wireless device drivers using Wireless Extensions
crda
User space udev helper to handle the regulatory domain
Table 14: Recommended additional software packages
4.5
Loading the drivers
4.5.1
SDIO driver
If the SDIO kernel modules were installed correctly, you can load them by simply issuing the following
command
Else, you have to load them separately using the
insmod command.
This will automatically load the
sd8801 kernel module and all its dependencies, such as mlan or
cfg80211. The
cfg80211_wext=0xf
module parameter in the above-mentioned example informs the
driver to enable support for the wireless extensions interface and for the cfg80211 configuration API.
A full description of the available module parameters is given in the README files and also in the
/
├──
lib
│
├──
firmware
│
│
└──
mrvl
│
│
└──
sd8801_uapsta.bin
│
└──
modules
│
└──
3.19.8
│
└──
updates
│
├──
mlan.ko
│
└──
sd8801.ko
└──
opt
└──
lily-w1
└── bin_sd8801
blacklist mwifiex
blacklist mwifiex_sdio
modprobe sd8801
cfg80211_wext=0xf