Marvell bluetooth driver module(bt8787.ko) insertion throws error.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Marvell bluetooth driver module(bt8787.ko) insertion throws error.

4,629 次查看
pt
Senior Contributor I

Hi Qiang Li - Mpu Se, igorpadykov Yixing Kong raymond wang alejandrolozano imxcommunityscout Xinyu (eric) Chen

Development Board     : MCIMX28EVK

Linux version              : Linux 2.6.35

 

I am using a wifi+bt module(w2cbw0015) of WI2WI. The vendor's site provides driver source((linux2.6.35) for this module, but it doesn't contains bluetooth support driver source(bt8787).So I have downloaded bt8787 souce of linux2.6.34 version.


I have changed the kernel folder to imx linux 2.6.35 and build wifi,bt source. Thus built mlan.ko,sd8xxx.ko,bt8xxx.ko files.

 

Since I have downloaded bt8787 source(supports linux2.6.34) and wifi source(supports linux2.6.35), I am confused to select firmware image(sd8787_uapsta.bin).

But I used the firmware image which I have got with wifi source.

 

Firmware Image (sd8787_uapsta.bin) copied to lib/firmware/mrvl location.

Then I have used the following commands

insmod  mlan.ko

insmod sd8xxx.ko drv_mode=3 fw_name=mrvl/sd8787_uapsta.bin

insmod bt8xxx.ko

 

The insmod  bt8xxx.ko throws the following error:

 

root@freescale /home/user$ insmod bt8xxx.ko

bt8xxx: Unknown symbol hci_suspend_dev (err 0)

bt8xxx: Unknown symbol hci_free_dev (err 0)

bt8xxx: Unknown symbol hci_resume_dev (err 0)

bt8xxx: Unknown symbol hci_alloc_dev (err 0)

bt8xxx: Unknown symbol hci_unregister_dev (err 0)

bt8xxx: Unknown symbol hci_recv_frame (err 0)

bt8xxx: Unknown symbol hci_register_dev (err 0)

insmod: can't insert 'bt8xxx.ko': unknown symbol in module, or unknown parameter

 

The config file is attached here. Please help me to solve this issue.

Original Attachment has been moved to: linux2.6.35config.zip

标签 (2)
5 回复数

2,104 次查看
raymondwang
Senior Contributor I

Your config define kernel hci as module, you have to insert manually or using modprobe to insert dependency modules automatically.

This is out of my scope.

#

# Bluetooth device drivers

#

CONFIG_BT_HCIBTUSB=m

CONFIG_BT_HCIBTSDIO=m

CONFIG_BT_HCIUART=m

CONFIG_BT_HCIUART_H4=y

CONFIG_BT_HCIUART_BCSP=y

CONFIG_BT_HCIUART_LL=y

CONFIG_BT_HCIBCM203X=m

CONFIG_BT_HCIBPA10X=m

CONFIG_BT_HCIBFUSB=m

CONFIG_BT_HCIVHCI=m

CONFIG_BT_MRVL=m

CONFIG_BT_MRVL_SDIO=m

CONFIG_BT_ATH3K=m

0 项奖励
回复

2,104 次查看
pt
Senior Contributor I

Hi raymondwang

     Can you share your linux config file here?

Regards

pt

0 项奖励
回复

2,104 次查看
YixingKong
Senior Contributor IV

Pt A R

How is your status on this issue? We will close it if you are fine. If you still need further help please reply this email with your question.

Thanks,

Yixing

0 项奖励
回复

2,104 次查看
pt
Senior Contributor I

module inserted successfully. it works fine.

0 项奖励
回复

2,104 次查看
raymondwang
Senior Contributor I

Attached file is my kernel config file based on 2.6.35 and it can work with bt8787.ko. Good luck!