I am integrating an AW-CM276MA-PUR module into a board based on the i.MX 8M Plus, running Linux kernel version 5.5. Could you please provide guidance on how to add the btnxpuart driver to my Yocto image to enable Bluetooth connectivity?
By the way, I can use this module on the same board with demo yocto image of imx-image-multimedia. However this demo image is linux 6.6.3
Hi,
I strongly recommend you update your kernel version to the latest release, since it includes several bug fixes and improvements.
To use btnxpuart, it is recommended to use Linux 6.1.x or later.
You should be able to bring up the bleutooth using hciattach.
Kernel versions 5.x and older are having compatibility issues when using btnxpuart due to some APIs not being present
Regards,
Daniel.
Hi,
I just tested this on my side using NXP i.MX Linux BSP 5.4.70.
Please let me know if you notice any difference in my logs.
root@imx8mpevk:~# uname -r
5.4.70-2.3.0+g4f2631b022d8
root@imx8mpevk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 29.275496] wlan: Loading MWLAN driver
[ 29.279808] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 29.286118] Attach moal handle ops, card interface type: 0x204
[ 29.292474] PCIE8997: init module param from usr cfg
[ 29.297488] card_type: PCIE8997, config block: 0
[ 29.302137] cfg80211_wext=0xf
[ 29.305105] wfd_name=p2p
[ 29.307659] max_vir_bss=1
[ 29.310294] cal_data_cfg=none
[ 29.313260] drv_mode = 7
[ 29.315807] ps_mode = 2
[ 29.318267] auto_ds = 2
[ 29.320713] fw_name=nxp/pcieuart8997_combo_v4.bin
[ 29.325451] rx_work=1 cpu_num=4
[ 29.328623] Attach mlan adapter operations.card_type is 0x204.
[ 29.338096] Request firmware: nxp/pcieuart8997_combo_v4.bin
[ 30.181883] FW download over, size 551108 bytes
[ 31.050098] WLAN FW is active
[ 31.053073] on_time is 31051009375
[ 31.085072] fw_cap_info=0x181c3fa3, dev_cap_mask=0xffffffff
[ 31.090680] max_p2p_conn = 8, max_sta_conn = 8
[ 31.108982] wlan: version = PCIE8997-16.92.10.p118-MXM5X16210-GPL-(FP92)
[ 31.116074] wlan: Driver loaded successfully
root@imx8mpevk:~# [ 33.758106] can1-stby: disabling
[ 33.761343] can2-stby: disabling
[ 33.764597] VSD_3V3: disabling
root@imx8mpevk:~# hciattach /dev/ttymxc0 any 115200 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mpevk:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: CC:47:40:33:61:76 ACL MTU: 1016:5 SCO MTU: 120:6
DOWN
RX bytes:691 acl:0 sco:0 events:38 errors:0
TX bytes:438 acl:0 sco:0 commands:38 errors:0
root@imx8mpevk:~# hciconfig hci0 up
root@imx8mpevk:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: CC:47:40:33:61:76 ACL MTU: 1016:5 SCO MTU: 120:6
UP RUNNING
RX bytes:1424 acl:0 sco:0 events:82 errors:0
TX bytes:1218 acl:0 sco:0 commands:82 errors:0
root@imx8mpevk:~#
Regards,
Daniel.
Is any idea for this?
Thanks a lot!
Hi,
Please share with me the commands you use to bring up the driver.
By any chance, are you able to test this with a NXP Linux BSP?
Regards.
Daniel.