Integration Manual

JODY-W3 series - System integration manual
UBX-19011209 - R07 Software Page 40 of 71
C2-Restricted
The architecture of the Bluetooth driver and protocol stack is shown in Figure: 14.
Figure: 14: Bluetooth driver and protocol stack
3.5 Compiling the drivers
The README files included in the driver package contain basic steps of the compilation procedure.
The recipes in the Yocto/OpenEmbedded meta layer provided by u-blox are used to integrate
the software package into Yocto projects. These also make useful references with which to
better understand the process of compiling and deploying the software package more fully.
See also Yocto meta layer.
3.5.1 Prerequisites
The appropriate Wi-Fi driver for use with JODY-W3 series modules depends on the PCI or MMC/SDIO
subsystem of the Linux kernel. Consequently, support for the respective subsystem and the correct
host controller driver must be enabled in the target kernel configuration of the system.
The driver supports the cfg80211 wireless configuration API for configuration management and it
must be selected in the kernel configuration using the CONFIG_CFG80211 option.
In order to use Bluetooth implementation in the Linux BlueZ stack, the 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:
$ make modules_prepare
3.6 Deploying the drivers
The drivers, firmware and additional software tools can be deployed at reasonable locations in the
target root file system.
Commented [CT76]: Update schematic:
- change BT to Bluetooth (spell out)
- capitalize "Firmware"
- Use corporate colors and include clearer
functional boundaries to more clearly differentiate
between the logical components
Commented [CT77R76]: ROLLOVER to next release
Commented [CT78R76]: Fixed