3 Replies Latest reply on May 8, 2017 3:34 PM by ghouse

    insmod bcmdhd driver failed with imx6ulevk

    jersey.yang_2296731

      Hi everyone,  when i insmod the bcmdhd.ko driver in imx6ulevk board, it reports this:

       

      dhd_module_init in

      Power-up adapter 'DHD generic adapter'

      wifi_platform_bus_enumerate device present 1

      F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x3

      DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      wifi_platform_get_mac_addr

      CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)

      wl_create_event_handler(): thread:wl_event_handler:27b started

      CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x88da141c

      dhd_attach(): thread:dhd_watchdog_thread:27d started

      dhd_attach(): thread:dhd_dpc:281 started

      dhd_deferred_work_init: work queue initialized

      dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50

      dhd_bus_init: clock state is wrong. state = 1

      dhd_bus_start, dhd_bus_init failed -1

      dhdsdio_probe: dhd_bus_start failed

      dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50

      dhd_wlfc_deinit():3253, Already disabled!

      dhd_detach(): thread:dhd_watchdog_thread:27d terminated OK

      dhd_dpc_thread: Unexpected up_cnt 0

      dhd_detach(): thread:dhd_dpc:281 terminated OK

      CFG80211-ERROR) wl_event_handler : was terminated

      wl_destroy_event_handler(): thread:wl_event_handler:27b terminated OK

      bcmsdh_sdmmc: probe of mmc0:0001:2 failed with error -12

      dhd_wifi_platform_load_sdio: sdio_register_driver timeout or error

      wifi_platform_bus_enumerate device present 0

      bcmdhd_wlan: probe of bcmdhd_wlan.16 failed with error -62

       

      how can i fix it? i am debugging the MuRata 1DX's AP mode,  and  the insmod command:

       

      insmod /home/root/bcmdhd.ko firmware_path=/lib/firmware/bcm/fw_bcmdhd_apsta.bin nvram_path=/lib/firmware/bcm/bcmdhd.cal