JODY-W2 - System integration manual
UBX-18068879 - R14
Software
Page 49 of 84
C1 - Public
3.11.3.1
Serial mode
In the default serial mode, combo firmware is used. This firmware operates on the Wi-Fi and Bluetooth
parts of the chip.
By default, kernel module
sd8987
downloads the firmware
mrvl/sduart8987_combo.bin
. The driver
expects the firmware to be relative to the path
12
/lib/firmware
. The log of a successful firmware
download is shown below.
⚠
To avoid collisions between the SDIO-SDIO and SDIO-UART drivers, we advise against loading
more than one NXP reference driver of the same kind simultaneously.
The kernel modules can be unloaded using the below command:
☞
While using the dual Wi-Fi interfaces on JODY-W2 module, such as access point and station
at the same time, different MAC addresses for each logical network interface should be used.
See also
12
In the latest driver packages released by NXP, the default path is changed to /lib/firmware/nxp/. Use the path variable based
on the driver package. Refer to the README file in the driver for instructions.
# insmod mlan.ko
# insmod sd8987.ko fw_name=mrvl/sduart8987_combo_jody-w2-sdiouart.bin cfg80211_wext=0xf
cal_data_cfg=none
root@:/# lsmod
Module Size Used by
sd8xxx 449099 3
mlan 369709 1 sd8xxx
cfg80211 355367 1 sd8xxx
[ 72.034179] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ 333.390065] mlan: loading out-of-tree module taints kernel.
[ 333.431751] wlan: Loading MWLAN driver
[ 333.436334] vendor=0x02DF device=0x9149 class=0 function=1
[ 333.443326] SDIO: max_segs=128 max_seg_size=65535
[ 333.448263] rx_work=1 cpu_num=4
[ 333.453058] wlan: Enable TX SG mode
[ 333.456558] wlan: Enable RX SG mode
[ 333.468777] Request firmware: mrvl/sduart8987_combo_jody-w2-sdiouart.bin
[ 333.988129] Wlan: FW download over, firmwarelen=629824 downloaded 629824
[ 334.897778] WLAN FW is active
[ 334.922457] fw_cap_info=0x187cff03, dev_cap_mask=0xffffffff
[ 334.928073] max_p2p_conn = 8, max_sta_conn = 8
[ 334.940920] creating custom regulatory domain failed
[ 334.981289] wlan: version = SD8987-16.68.10.p33-C4X15C651-GPL-(FP68)
[ 334.990293] wlan: Driver loaded successfully
# rmmod sd8xxx mlan
[415240.024054] wlan: Unloading MWLAN driver
[415240.032803] wlan: Driver unloaded