Integration Manual

JODY-W3 series - System integration manual
UBX-19011209 - R07 Software Page 45 of 71
C2-Restricted
[ 17.257260] WLAN FW is active
[ 17.330706] wlan: version = SD9098---17.68.0.p159-MXM4X17153-GPL-(FP68)
[ 17.337810] vendor=0x02DF device=0x914E class=0 function=2
[ 17.358325] Attach moal handle ops, card interface type: 0x106
[ 17.376908] Attach mlan adapter operations.card_type is 0x106.
[ 17.426684] Request firmware: mrvl/sd9098_wlan_v1_jody-w3-sdio.bin
[ 17.434397] WLAN FW already running! Skip FW download
[ 17.440017] WLAN FW is active
[ 17.482183] wlan: version = SD9098---17.68.0.p159-MXM4X17153-GPL-(FP68)
[ 17.490179] wlan: Driver loaded successfully
To download the Bluetooth firmware over UART, we need the fw_loader application, built from the
uartfwloader_src directory in the respective driver packages.
An example of a firmware download, showing all the parameters associated with the operation, is
shown below. The initial baud rate is 115200 baud, which is switched to 3000000 baud for the actual
firmware download.
$ ./fw_loader /dev/ttyUSB0 115200 0 /lib/firmware/nxp/uart9098_bt_v1.bin 3000000
FW Loader Version: M317
ComPort : /dev/ttyUSB0
BaudRate: 115200
FlowControl: 0
Filename: /lib/firmware/nxp/uart9098_bt_v1.bin
Second BaudRate: 3000000
ChipID is : 5c01, Version is : 0
File downloaded: 150768: 150768
Download Complete
time:3018
CTS is low
$ insmod hci_uart.ko
[ 208.037130] HCI UART driver ver 2.2-M2614100
[ 208.037173] HCI H4 protocol initialized
[ 208.045354] HCI BCSP protocol initialized
Note the sequence. Firmware is downloaded first followed by the hci_uart driver.
The example uses /dev/ttyUSB0 as the serial device port. Replace it with the port to which the
JODY-W3 series UART interface is connected on the host system.
3.8.3 Verification
3.8.3.1 Firmware version
The version of the loaded Wi-Fi driver and firmware can be verified using the following command:
$ mlanutl mlan0 version
Version string received: PCIE9098-17.68.1.p38-MXM4X17222.P1-GPL-(FP68)
3.8.3.2 Network interfaces
Use command iw dev to display the available Wi-Fi interfaces (excerpt):
phy#1
Interface mwfd0
addr 02:50:43:02:fe:02
type managed
Interface muap0
addr 00:50:43:02:00:02
type AP
Interface mmlan0
addr 00:50:43:02:fe:02