WIFI module AP6335(bcm4339) start failed

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

WIFI module AP6335(bcm4339) start failed

8,394 次查看
俊宝胡
Contributor I

Hi All

our custom product is refer to i.MX6QP SABRE and the modifications are the wifi module, ddr, emmc, ours is AMPAK's AP6335 ,1GB ddr,16GB emmc.

we are porting this module to Linux which use 4.1.15 kernel.

my kernel log :

root@imx6qpsabresd:~# insmod bcmdhd-.ko 
dhd_module_init: in
======== bcm_wlan_set_plat_data ========
dhd_wifi_platform_load: Enter
Power-up adapter 'DHD generic adapter'
wifi_platform_set_power = 1
======== PULL WL_REG_ON HIGH! ========
wifi_platform_bus_enumerate device present 1
======== Card detection to detect SDIO card! ========
mmc_safe_detect
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
mmc1: new high speed SDIO card at address 0001
brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 4339 rev 2 pmurev 23
brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jul 25 2013 00:04:02 version 6.37.32.5 (r414538)
brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
brcmfmac: brcmf_add_if: ignore IF event
failed to power up DHD generic adapter, 3 retry left
wifi_platform_set_power = 0
======== PULL WL_REG_ON LOW! ========
wifi_platform_bus_enumerate device present 0
======== Card detection to remove SDIO card! ========
mmc_safe_detect
wifi_platform_set_power = 1
======== PULL WL_REG_ON HIGH! ========
wifi_platform_bus_enumerate device present 1
======== Card detection to detect SDIO card! ========
mmc_safe_detect

brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x1 err=-123
brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -123
brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
mmc1: card 0001 removed
failed to power up DHD generic adapter, max retry reached**
unregister wifi platform drivers
wifi_platform_bus_enumerate device present 0
======== Card detection to remove SDIO card! ========
mmc_safe_detect
dhd_module_init: Failed to load the driver, try cnt 0
dhd_module_init: Failed to load driver max retry reached**
dhd_module_init: Exit err=-19
insmod: ERROR: could not insert module bcmdhd-.ko: No such device
i check my PCB board,VIN_LDO pin vlotage measure  is1.44V, VIN_LDO_OUT pin  below:
pastedImage_1.png
                                                                                     VIN_LDO_OUT  pin
i download BCMDHD-L4.1.15_1.1.0 and extract the new firmware, replace the old firmwares.
kernel log similar:
brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 17 2016 12:06:31 version 6.37.39.36 (r614533)
brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
brcmfmac: brcmf_add_if: ignore IF event
failed to power up DHD generic adapter, 3 retry left
wifi_platform_set_power = 0
 
Whether to support Linux?

I don't know whether this issues caused by wifi driver, could anyone tell me how to get rid of this issues ?

Every help is very appreciated

标签 (3)
0 项奖励
回复
3 回复数

6,001 次查看
kak-dela007
Contributor I

Tell me, please, how can I install the driver for the AP6335 module in android (Nibiru)? I do not know how to program, are there ready-made files to unpack them and everything worked?

P.S .: before that, there was a module AP6212 in my device

0 项奖励
回复

6,001 次查看
chrisfeyerchak
Contributor I

There are at least two alternative drivers that support the bcm4339 chip: bcmdhd and brcmfmac.  Only one or the other should be loaded.  It appears that both drivers are loaded in this case, which will cause problems.

0 项奖励
回复

6,001 次查看
jimmychan
NXP TechSupport
NXP TechSupport

is the firmware and nvram correctly loaded?

0 项奖励
回复