Integration Manual

JODY-W3 series - System integration manual
UBX-19011209 - R07 Software Page 44 of 71
C2-Restricted
The following log example shows the firmware request and loading operation of the PCIe driver.
[ 187.830477] mlan: loading out-of-tree module taints kernel.
[ 187.995594] wlan: Loading MWLAN driver
[ 188.000731] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 188.007113] Attach moal handle ops, card interface type: 0x206
[ 188.012991] No module param cfg file specified
[ 188.017477] rx_work=1 cpu_num=6
[ 188.020672] Attach mlan adapter operations.card_type is 0x206.
[ 188.033816] Request firmware: nxp/jody-w3-pcieuart/pcieuart9098_combo_v1.bin
[ 188.706540] FW download over, size 661328 bytes
[ 190.221805] WLAN FW is active
[ 190.238578] VDLL image: len=138656
[ 190.242184] fw_cap_info=0xc8fcffa3, dev_cap_mask=0xffffffff
[ 190.247849] max_p2p_conn = 8, max_sta_conn = 64
[ 190.290702] wlan: version = PCIE9098-17.68.1.p38-MXM4X17222.P1-GPL-(FP68)
[ 190.302365] wlan_pcie 0000:01:00.1: enabling device (0000 -> 0002)
[ 190.308754] Attach moal handle ops, card interface type: 0x206
[ 190.314760] No module param cfg file specified
[ 190.319228] rx_work=1 cpu_num=6
[ 190.322577] Attach mlan adapter operations.card_type is 0x206.
[ 190.349922] Request firmware: nxp/jody-w3-pcieuart/pcieuart9098_combo_v1.bin
[ 190.358426] WLAN FW already running! Skip FW download
[ 190.363722] WLAN FW is active
[ 190.380792] VDLL image: len=138656
[ 190.384298] fw_cap_info=0x68fcffa3, dev_cap_mask=0xffffffff
[ 190.389942] max_p2p_conn = 8, max_sta_conn = 64
[ 190.401149] wlan: version = PCIE9098-17.68.1.p38-MXM4X17222.P1-GPL-(FP68)
[ 190.409893] wlan: Driver loaded successfully
After downloading the combo firmware using the Wi-Fi driver, it is not necessary to specify the
Bluetooth firmware when loading the Bluetooth driver hci_uart.ko.
The insmod command below inserts the hci_uart.ko Bluetooth driver module into the Linux kernel,
which is then used for Bluetooth communication over the UART host interface:
$ insmod hci_uart.ko
[ 898.714631] HCI UART driver ver 2.2-M2614100
[ 898.714670] HCI H4 protocol initialized
[ 898.722842] HCI BCSP protocol initialized
The hci_uart.ko kernel module is also distributed with the kernel sources, which means that
CONFIG_BT_HCIUART option might already be enabled in the kernel. If this is the case, it is not
possible to load the kernel module provided by NXP. To load the proprietary hci_uart module
provided by NXP, the kernel configuration must set CONFIG_BT_HCIUART=m and not
CONFIG_BT_HCIUART=y.
3.8.2.2 Parallel mode
In parallel mode, two different firmware binary images are used together with the respective driver.
Set the driver parameter fw_serial=0 to configure the download operation in parallel mode, as shown
below for the SDIO Wi-Fi driver.
$ insmod mlan.ko
$ insmod moal.ko fw_name=nxp/sd9098_wlan_v1.bin cfg80211_wext=0xf auto_ds=2 ps_mode=2
fw_serial=0
An example log of a successful SDIO driver loading and firmware download is shown below.
[ 16.396004] wlan: Loading MWLAN driver
[ 16.400727] vendor=0x02DF device=0x914D class=0 function=1
[ 16.406453] Attach moal handle ops, card interface type: 0x106
[ 16.424872] Attach mlan adapter operations.card_type is 0x106.
[ 16.448778] Request firmware: mrvl/sd9098_wlan_v1_jody-w3-sdio.bin
[ 16.750144] Wlan: FW download over, firmwarelen=593348 downloaded 487372