AnsweredAssumed Answered

Bring up sd8787 wifi device issue

Question asked by Stephane Bourgeois on Nov 14, 2013
Latest reply on Mar 15, 2016 by aravinthkumar jayaprakasam

We have a problem bringing up our SDIO WIFI module driver (sd8787 based) on our i.MX6Q HW (PHYflex module).

The device is a WIFI module from Taiyo Yuden and it is based on Marvell sd8787 chipset.

 

When we insert the WIFI module in the SDCard socket, we get this.

 

root@phyFLEX-i:~ mmc0: new high speed SDIO card at address 0001

mwifiex_sdio mmc0:0001:1: poll card status failed, tries = 100

mwifiex_sdio mmc0:0001:1: FW download with helper: poll status timeout @ 0

mwifiex_sdio mmc0:0001:1: prog_fw failed ret=0xffffffff

mwifiex: mwifiex_add_card: firmware init failed

mwifiex_sdio: mwifiex_sdio_probe: add card failed

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

 

We step a bit in the mwifiex sdio.c code and found that the problem occurs

when it starts to transfer the firmware in the sd8787 chipset; the DN_LD_CARD_RDY

status flag returned from the device is never asserted.

The firmware image (sd8787_uapsta.bin) is built-in the kernel and it is identified

correctly by the mwifiex driver.

 

Any help would be welcomed.

Outcomes