JODY-W2 - System integration manual
UBX-18068879 - R14
Software
Page 47 of 84
C1 - Public
3.10
Yocto recipes
Yocto meta layer is provided by u-blox for all the modules. This layer can be used to build the image
for most of the host platforms that run Linux kernels. It contains various files for building the software
components, loading, and configuring the module.
File type
Description
Build recipe
Include all the instructions to extract, compile and install the drivers and firmware in the root file
system of the image built for the host system.
Patch
Used for drivers distributed through u-blox for some bugs locally seen or recommended by the vendor.
Calibration
Provided by u-blox, to be used while loading the driver. These files store the tuning parameters needed
for RF parts present in the module, such as, the crystal etc.
Power
configuration
RF power specific files for the different bands, rates and countries are stored in tx_power.conf provided
by u-blox. These are built as a binary files and can be downloaded when the location changes.
Modprobe
Required for the SDIO-UART, SDIO-SDIO and mfg mode drivers.
Manufacturing
package recipes
Include the different recipes to build the manufacturing driver and firmware. These can be used in
production and RF-related tests.
Labtool recipes
Used by this proprietary tool to run specific tests and configure the hardware and RF parameters. This
test and configuration tool uses different firmware and driver modes.
Further information about Yocto layers is provided in the README file present in the recipe.
3.11
Runtime usage
With focus on operating the module for different use-cases, such as station, access-point, this
section describes how to load specific drivers in different modes and configurations.
In SDIO-UART and SDIO-SDIO configuration, the firmware can be downloaded in either serial or
parallel mode. Even though the download part changes significantly, the Wi-Fi and Bluetooth
operation in different use cases remain the same.
# File : ed_mac_ctrl_V3_8987.conf
#
# ed_mac_ctrl_v3 is used for 88W8987
# ./mlanutl mlan0 hostcmd config/ed_mac_ctrl_V3_8987.conf ed_mac_ctrl_v3
#
## Set Energy Detect Threshold for EU Adaptivity test
ed_mac_ctrl_v3={
CmdCode=0x0130 #Command code, DO NOT change this line
ed_ctrl_2g.enable:2=0x1 # 0 - disable EU adaptivity for 2.4GHz band
# 1 - enable EU adaptivity for 2.4GHz band
ed_ctrl_2g.offset:2=0x6 # 0 - Default Energy Detect threshold
#offset value range: 0x80 to 0x7F
ed_ctrl_5g.enable:2=0x1 # 0 - disable EU adaptivity for 5GHz band
# 1 - enable EU adaptivity for 5GHz band
ed_ctrl_5g.offset:2=0x6 # 0 - Default Energy Detect threshold
#offset value range: 0x80 to 0x7F
ed_ctrl_txq_lock:4=0xFF #DO NOT Change this line
}