imx6q_sabresd开发板ap6335 wifi移植,安装驱动时打印如下信息:
dhd_module_init: in
======== bcm_wlan_set_plat_data ========
GPIO(WL_HOST_WAKE) = GPIO_4_28
host_oob_irq: 380
host_oob_irq_flags=4
dhd_wifi_platform_load: Enter
usb 2-1: USB disconnect, device number 3
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! ========
mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
mmc2: new high speed SDIO card at address 0001
mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
bcmsdh_register: register client driver
mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
bus num (host idx)=2, slot num (rca)=1
found adapter info 'DHD generic adapter'
F1 signature read @0x18000000=0x16224335
F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
wl_create_event_handler(): thread:wl_event_handler:c58 started
tsk Enter, tsk = 0xd0e613f0
p2p0: P2P Interface Registered
dhd_attach(): thread:dhd_watchdog_thread:c5f started
dhd_attach(): thread:dhd_dpc:c60 started
dhd_attach(): thread:dhd_rxf:c61 started
dhd_deferred_work_init: work queue initialized
Dongle Host Driver, version 1.201.34.2 (r491657)
Compiled in drivers/net/wireless/bcmdhd on Jun 2 2016 at 17:56:32
Register interface [wlan0] MAC: 6c:fa:a7:26:2c:da
dhd_prot_ioctl : bus is down. we have nothing to do
bcmsdh_oob_intr_unregister: Enter
bcmsdh_oob_intr_unregister: irq is not registered
dhd_txglom_enable: enable 0
dhd_bus_devreset: WLAN OFF DONE
配置wifi的ip时失败
dhd_open: Enter d6e08000
Dongle Host Driver, version 1.201.34.2 (r491657)
Compiled in drivers/net/wireless/bcmdhd on Jun 2 2016 at 17:56:32
wl_android_wifi_on in 1
wl_android_wifi_on in 2: g_wifi_on=0
wifi_platform_set_power = 1
======== PULL WL_REG_ON HIGH! ========
sdio_reset_comm():
dhd_bus_devreset: == WLAN ON ==
F1 signature read @0x18000000=0x16224335
F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
Final fw_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
Final nv_path=/system/etc/firmware/nvram.txt
Final conf_path=/system/etc/firmware/config.txt
NVRAM version: AP6335_NVRAM_V1.7_04102014
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
bcmsdh_oob_intr_register: Enter
bcmsdh_oob_intr_register OOB irq=380 flags=4
bcmsdh_oob_intr_register: enable_irq_wake
add wake up source irq 105
dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
dhd_prot_ioctl : bus is down. we have nothing to do
bcmsdh_oob_intr_unregister: Enter
remove wake up source irq 105
dhd_txglom_enable: enable 0
dhd_bus_devreset: WLAN OFF DONE
wifi_platform_set_power = 0
======== PULL WL_REG_ON LOW! ========
wl_android_wifi_on: Failed
dhd_open : wl_android_wifi_on failed (-14)
dhd_stop: Enter d6e08000
wl_android_wifi_off in 1
wl_android_wifi_off in 2: g_wifi_on=0
wl_android_wifi_off out
dhd_stop: Exit
dhd_open: Exit ret=-1
CFG80211-ERROR) wl_cfg80211_hang : error: SIOCSIFFLAGS (Operation noIn : chip crash eventing
t permitted)
cfg80211: Calling CRDA to update world regulatory domain
请问是哪里出了问题? |