JODY-W2 - System integration manual
UBX-18068879 - R14
Software
Page 40 of 84
C1 - Public
Prerequisites
The SDIO driver for JODY-W2 series modules depend on the MMC/SDIO stack supplied with the Linux
kernel distribution. Consequently, the correct driver must be enabled in the target kernel
configuration of the system.
For configuration management, the driver that supports the cfg80211 wireless configuration API
must be selected using the
CONFIG_CFG80211
option.
In order to use Bluetooth implementation in the Linux BlueZ stack, kernel options
CONFIG_BT_HCIUART
,
CONFIG_BT_HCIUART_H4
must be enabled along with other Bluetooth protocols.
Prior to building the driver, the kernel needs to be prepared for the compilation of external kernel
modules. To do this, change to the source directory of the kernel and run the following command:
⚠
The
make modules_prepare
command does not build
module.symvers
even if
CONFIG_MODVERSIONS
is set. A full kernel build must be executed to make module versioning work.
3.6
Deploying the drivers
The drivers can be deployed at reasonable locations in the target root file system. Using the Yocto
recipes provided by u-blox, the utilities and modules typically install as shown below:
All firmware binaries and kernel modules include a package name suffix, which is shown in the
example above as
“jody
-w2-
sdiouart”.
The utilities and module files shown in this structure are for the
SDIO-UART variant of the driver package. The structure for SDIO-SDIO interface can be similarly
extrapolated. Refer to the Yocto recipes to learn more about the install path and names of the files.
$ make modules_prepare
\
├── etc
│ └── modprobe.d
│ └── jody
-w2-driver-sdiouart.conf
├── lib
│ ├── firmware
│ │ └── mrvl
│ │ ├── sd8987_wlan_jody
-w2-sdiouart.bin
│ │ ├── sduart8987_combo_jody
-w2-sdiouart.bin
│ │ ├── uart8987_ble_jody
-w2-sdiouart.bin
│ │ └── uart8987_bt_jody
-w2-sdiouart.bin
│ └──
modules
│ └── 3.10.40
│ └── updates
│
└── mrvl
│
└── sd8987
│ ├── hci_uart_jody
-w2-sdiouart.ko
│ ├── mlan_jody
-w2-sdiouart.ko
│ └──
sd8987_jody-w2-sdiouart.ko
└── opt
└── jody
-w2
└── sdiouart
├── mlanutl
└──
uaputl