Answer
The Sona-NX611 supports two different configurations to use the Bluetooth radio. Each of these methods require that the Wi-Fi firmware loads a specific Bluetooth firmware. The methods are as follows:
btattach
This method uses the traditional btattach implementation for the Bluetooth serial interface. For this method the Wi-Fi firmware must load the sduart_nx61x firmware. modprobe moal fw_name=sduart_nx61x_v1.bin.se
After the Wi-Fi firmware has loaded the Bluetooth firmware, the btattach command may be issued.
Example: /bin/nohup /usr/bin/btattach -B /dev/ttymxc0 -P h4 -S 3000000 2>&1 > /dev/null&
serdev
An alternative to btattach is serdev (available in kernel 4.2 or higher). This mechanism is configured in the device tree. Below is a sample device tree snippet that configures the serial port for use with the Sona-NX611 radio on an NXP i.mx 8M+ EVK.
Sample:
&uart1 {
bluetooth {
compatible = "nxp,88w8987-bt";
fw-init-baudrate = <3000000>;
};
};
For this method the Wi-Fi firmware must load the sd_w61x firmware
modprobe moal fw_name=sd_w61x_v1.bin.se
Note: The version numbers of the firmware files will change over time, please use the version that is loaded in your /lib/firmware/nxp directory on your device.