EVK-ELLA-W1 - User Guide
UBX-15012877 - R04
Early Production Information
Software
Page 14 of 24
For older kernels (<3.2), use compat-wireless (now named backports) to provide recent versions
of the kernel's 802.11 APIs to support all the driver features. In this case, cfg80211 has to be
compiled as a module (CONFIG_CFG80211=m).
4.3.2
Extracting package content
The Marvell driver package contains the firmware image, the Wi-Fi/Bluetooth driver sources and also a release
notes that describes the tested hardware platform, supported features, bug fixes and known limitations of the
release. The package comes as several archives that are packed into each other. Follow the steps mentioned
below to extract the Marvell driver package:
Once you remove the archives, you should find something similar to the following in your working directory:
4.3.3
Compile-time configuration
The Wi-Fi driver has several compile-time configuration options that can be set in the driver's Makefile. Change
to the
wlan_src
subdirectory and ensure that the following are enabled:
Listing 2: Makefile
The manufacturing firmware support is required, if the driver is used with the "
Manufacturing and Labtools
"
packages, which can be used for setting up test modes for certification
[4]
.
4.3.4
Building
4.3.4.1
Prepare kernel sources
Primarily, ensure that your kernel is prepared for compiling external kernel modules. For this, change to the
kernel's source directory and run the following:
make modules_prepare
# Enable STA mode support
CONFIG_STA_SUPPORT=y
# Enable uAP mode support
CONFIG_UAP_SUPPORT=y
# Manufacturing firmware support
CONFIG_MFG_CMD_SUPPORT=y
├── FwImage/
│ └── sd8787_uapsta.bin # binary firmware image
└── SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL/
├── mbtc_src/ # character device driver for 3rd party user space Bluetooth stacks
├── mbt_src/ # driver for the Linux Bluetooth stack bluez
└── wlan_src/ # Wi-Fi driver and tools sources
├── Makefile
├── mapp/ # user space tools for configuration, sample config files
├── mlan/ # OS independent driver sources
├── mlinux/ # Linux specific driver sources
└── [...]
unzip SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL.zip
tar xf SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL.tar
for i in *.tgz; do tar xzf $i; done