Marvell 88W8787 wifi module on imx6q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Marvell 88W8787 wifi module on imx6q

1,934 Views
desmond_2014
Contributor I

i tried to connect 88W8787 to sd2 of imx6q.

static const struct esdhc_platform_data mx6q_sabresd_sd2_data __initconst = {

        //.cd_gpio = SABRESD_SD2_CD,

        //.wp_gpio = SABRESD_SD2_WP,

        .keep_power_at_suspend = 1,

        .support_8bit = 0,

        .delay_line = 0,

        .cd_type = ESDHC_CD_PERMANENT,

        .runtime_pm = 1,

};

after insmod wifi-sdio,ko:

info: vendor=0x02DF device=0x9119 class="0" function=1

WIFI-SDIO Driver May 16 2014 21:15:12

info: SDIO FUNC1 IO port: 0x10000

adapter->revision_id=40

mwifiex_sdio mmc2:0001:1: info: downloading FW image (455832 bytes)

mwifiex_sdio mmc2:0001:1: info: FW download over, size 455832 bytes

mwifiex_sdio mmc2:0001:1: WLAN FW is active

mwifiex_sdio mmc2:0001:1: info: mwifiex_host_to_card_mp_aggr: tx aggregation disabled

mwifiex_sdio mmc2:0001:1: data: mwifiex_host_to_card_mp_aggr: send current buffer 0

mwifiex_sdio mmc2:0001:1: read mp_regs failed

mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id (1400248656.106367) = 0xa9, act = 0x0

mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0

mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0

mwifiex_sdio mmc2:0001:1: num_cmd_timeout = 1

mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0

mwifiex_sdio mmc2:0001:1: last_cmd_index = 1

last_cmd_id: 00000000: 00 00 a9 00 00                                   .....

last_cmd_act: 00000000: 00 00 00 00 00                                   .....

mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 0

last_cmd_resp_id: 00000000: 00 00 00 00 00                                   .....

mwifiex_sdio mmc2:0001:1: last_event_index = 0

last_event: 00000000: 00 00 00 00 00                                   .....

mwifiex_sdio mmc2:0001:1: data_sent=1 cmd_sent=1

mwifiex_sdio mmc2:0001:1: ps_mode=1 ps_state=0

mwifiex: mwifiex_add_card: firmware init failed

wifisdio: mwifiex_sdio_probe: add card failed

mwifiex_sdio: probe of mmc2:0001:1 failed with error -1

looks like firmware download was succeed after loading my wifi-sdio.ko,

but waht's that meaning  'read mp_regs failed'?

Labels (1)
Tags (3)
0 Kudos
1 Reply

605 Views
desmond_2014
Contributor I

mwifiex_cmd_timeout_func: Timeout cmd id (1400248656.106367) = 0xa9, act = 0x0

0xA9 is HostCmd_CMD_FUNC_INIT,

that's meaning the fw init failed?


any idle in this issue?

0 Kudos