bcmdhd driver on iMX6Q (kernel 3.10.53)

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

bcmdhd driver on iMX6Q (kernel 3.10.53)

跳至解决方案
3,777 次查看
petertseng
Contributor IV

Hello Guys,

I am trying to use the bcmdhd wifi driver 43241 module on iMX6Q processor using kernel Freescale GA (3.10.53).

I am having an issue with the sdio registration. I would like to know if anyone here had the same issue and how did you solve it?.

cfg80211: Calling CRDA to update world regulatory domain

BCMDHD-WIFI-RFKILL set block on

IMX_RFKILL: Power-ON

mmc0: queuing unknown CIS tuple 0x80 (2 bytes)

mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

mmc0: queuing unknown CIS tuple 0x80 (7 bytes)

mmc0: queuing unknown CIS tuple 0x80 (14 bytes)

mmc0: new high speed SDIO card at address 0001

Dongle Host Driver, version 1.88.57 (r436554)

Compiled in drivers/net/wireless/bcmdhd on May 28 2015 at 18:34:00

dhd_module_init: sdio_register_driver timeout or error

标签 (4)
标记 (4)
0 项奖励
1 解答
1,964 次查看
haoranwang
NXP Employee
NXP Employee

Hi,

     Bcmdhd seems need to config the Makefile to support DTS.

     You also need to modify the DTS file to enable it.

     Suggestion provide more info like detail logs.

     Thanks.

BRs,

Haoran

在原帖中查看解决方案

0 项奖励
6 回复数
1,965 次查看
haoranwang
NXP Employee
NXP Employee

Hi,

     Bcmdhd seems need to config the Makefile to support DTS.

     You also need to modify the DTS file to enable it.

     Suggestion provide more info like detail logs.

     Thanks.

BRs,

Haoran

0 项奖励
1,964 次查看
CodeWarrior4_2M
Contributor II

Hi Haoran,

Could you please confirm if the -DCONFIG_WIFI_CONTROL_FUNC is required? I am looking at the code (see link below) and I do not see this defined enabled.

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/net/wireless/bcmdhd/Makefil...

Thanks for confirmation,

0 项奖励
1,964 次查看
karltsou
Contributor I
0 项奖励
1,964 次查看
mickaeltoumi
Contributor III

I do see CONFIG_WIFI_CONTROL_FUNC in bcmdhd code, but the .config does not show me the option (similar to Nexus 5). So it is still unclear if this is required or not.

I will add a define in the bcmdhd code to see if it makes a difference.

0 项奖励
1,964 次查看
karltsou
Contributor I

Set CONFIG_WIFI_CONTROL_FUNC is NOT must to have, however it will be used for register platform driver that work as an low level interface hook up bcmdhd low level control (power, irq) on Google MSM kernel.

Check out below,

arch/arm/mach-msm/lge/Makefile - kernel/msm - Git at Google

arch/arm/mach-msm/lge/board-wifi-bcm.c - kernel/msm - Git at Google

Meanwhile platform driver device tree for iMX6q must be there.

Hope this help,

0 项奖励
1,964 次查看
karltsou
Contributor I

Hi,

It looks like bcmdhd missing control interface that define in Makefile

-DCONFIG_WIFI_CONTROL_FUNC

Moreover you have to register platform device (bcmdhd platform driver will loop-up if this device exists) in subsys_initialcall.

BR,

-Karl

0 项奖励