AM3517 SOM板自带蓝牙功能,我在内核配置时选中了蓝牙相应部分支持,具体如下:

[*] Networking support Networking options --->

[ ] Amateur Radio support --->

< > IrDA (infrared) subsystem support --->

<*> Bluetooth subsystem support ---> < >

Generic IEEE 802.11 Networking Stack ---

Bluetooth subsystem support

<*> L2CAP protocol support

<*> SCO links support

<*> RFCOMM protocol support

[*] RFCOMM TTY support

<*> BNEP protocol support

[*] Multicast filter support

[*] Protocol filter support

<*> HIDP protocol support

Bluetooth device drivers --->

<*> HCI UART driver

[*] UART (H4) protocol support

[*] BCSP protocol support

< > HCI VHCI (Virtual HCI device) driver (NEW)

也移植了蓝牙协议栈(bluez-libs-3.36和bluez-utils-3.36)。

通过TFTP,下载内核,NFS启动系统。

利用安装bluez-utils-3.36生成的工具hciattach -s 115200 /dev/ttyS1 any 115200初始化蓝牙。

利用 ./hciconfig dev查找蓝牙设备,显示错误

hci0:   Type: 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:0 acl:0 sco:0 commands:0 errors:0

后来发现AM35x SOM-M2 Hardware Specification 文档中802.11 Wireless Ethernet + Bluetooth部分说蓝牙部分需要Bluetooth:     Firmware Version: 7.2.31; initialization script TI_P31.91 这个,我没有在TI官网上找到,也不知道找到了,该如何设置,但我觉得问题就是在这里。希望能得到帮助,谢谢!