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
Solved! Go to Solution.
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
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
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.
Thanks for confirmation,
Hi 79,
Please check Nexus 5 kernel config
arch/arm/configs/hammerhead_defconfig - kernel/msm - Git at Google
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.
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,
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