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:
VIN_LDO_OUT pin
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