Error hciattach QCA9377 Bluetooth

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error hciattach QCA9377 Bluetooth

1,214件の閲覧回数
lecureux
Contributor I

I use a pico-imx7(qca9377 wifi/bt) on a pico-nymph baseboard with a Yocto image (Dunfell 3.1, Kernel 5.4).
The wifi work's but I have a error when I attach a UART to the bluetooth stack as HCI interface.

root@imx7d-pico:~# hciattach -t 30 /dev/ttymxc6 any 115200 flow
Device setup complete
root@imx7d-pico:~# [ 976.554963] Bluetooth: hci0: command 0x1003 tx timeout
[ 978.634975] Bluetooth: hci0: command 0x1001 tx timeout
[ 980.714945] Bluetooth: hci0: command 0x1009 tx timeout

And when I read the Kernel's messages (dmesg or during boot), I found this error :

[ 5.756177] ar6k_wlan mmc1:0001:1: Direct firmware load for wlan/qca9377/wlan_mac.bin failed with error -2
[ 5.765929] ar6k_wlan mmc1:0001:1: Falling back to sysfs fallback for: wlan/qca9377/wlan_mac.bin

I don't have the file firmware wlan_mac.bin.

If I print informations of bluetooth device, my MAC address is null.

root@imx7d-pico:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:12 acl:0 sco:0 commands:3 errors:0

Can you help me ? Thank you in advance.

0 件の賞賛
返信
1 返信

1,207件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello lecurex,

 

You need to check the wlan_mac.bin with pico manufacturer, in this case yocto don´t have the proper driver for it.

 

Regards

 

0 件の賞賛
返信