Hello,
We have a custom board with a TI wl1893Q wifi chip connected through sdio,
and we have difficulities to make it work.
We managed to configure the bsp in order to communicate with the wifi chip
but it is not reliable and most of the time after booting we get timeouts
on the mmc bus.
However sometimes the chip initializes correctly and we are able to launch
a scan, but doing a simple
ifconfig wlan0 down && ifconfig wlan0 up
after that does not work (timeouts on mmc bus), as you can see in the logs below.
Also, when I succeed in assigning an IP adresse to wlan0, ping the local adresse
does not work (all packets lost), this is strange because pinging a local
interface should not involve the wifi driver at all.
Do you have any idea what could possibly be wrong?
Another note: the mac adresse seems to not be configured (00:00:00:00:00:01),
are we missing some configuration there also?
Thanks for your help.
Regards,
= BEGIN ======================================================
/ # modprobe acs3-sdhci
/ # insmod /lib/modules/compat-drivers/wlcore_sdio.ko
/ # insmod /lib/modules/compat-drivers/wlcore.ko
/ # insmod /lib/modules/compat-drivers/wl18xx.ko
[ 11.779354] sdhci: Secure Digital Host Controller Interface driver
[ 11.785451] sdhci: Copyright(c) Pierre Ossman
[ 11.794920] **** acs3_probe
[ 11.797945] **** acs3_init_host
[ 11.804715] mmc0: SDHCI controller on acs3-sdhci [acs3-sdhci.0] using ADMA
[ 11.853672] *** mmc_attach_sdio
[ 11.856653] mmc0: card claims to support voltages below the defined range. These will be ignored.
[ 11.887109] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ 11.902598] mmc0: new SDIO card at address 0001
[ 13.251299] wlcore: wl18xx driver version: fc7100-v0.3-9-ga3ec69c-dirty
[ 13.257864] ***** wl18xx_probe
[ 13.300949] wl12xx_sdio_set_power 1
[ 13.572896] wl12xx_sdio_set_power 0
[ 13.694369] cfg80211: wext will not work because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface, like iwconfig will not work.
[ 13.726089] wlcore: loaded
[ 13.728667] wlcore: driver version: fc7100-v0.3-9-ga3ec69c-dirty
[ 13.735445] wlcore: timestamp: Tue Feb 5 14:06:46 2013
/ # ifconfig wlan0 192.168.13.13
[ 22.380945] wl12xx_sdio_set_power 1
[ 22.800228] wlcore: PHY firmware version: Rev 8.2.0.0.146
[ 22.836005] wlcore: firmware booted (Rev 8.4.0.0.26)
/ # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:01
inet addr:192.168.13.13 Bcast:192.168.13.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
/ # iw wlan0 scan | grep SSID
SSID: NETGEAR-FLORENT
SSID: belkin.32a4
SSID: Henri
SSID: SFR_RD
/ # ifconfig wlan0 down
[ 55.601029] wlcore: down
[ 55.610316] wl12xx_sdio_set_power 0
/ # ifconfig wlan0 up
[ 59.241075] wl12xx_sdio_set_power 1
[ 61.067480] wlcore: ERROR timeout waiting for the hardware to complete initialization
[ 61.075558] wl12xx_sdio_set_power 0
[ 61.100931] wl12xx_sdio_set_power 1
[ 62.926827] wlcore: ERROR timeout waiting for the hardware to complete initialization
[ 62.934977] wl12xx_sdio_set_power 0
[ 62.960931] wl12xx_sdio_set_power 1
[ 64.786765] wlcore: ERROR timeout waiting for the hardware to complete initialization
[ 64.794895] wl12xx_sdio_set_power 0
[ 64.799310] wlcore: ERROR firmware boot failed despite 3 retries
ifconfig: SIOCSIFFLAGS: Invalid argument
/ #
[ 75.291101] mmc0: Timeout waiting for hardware interrupt.
[ 85.310909] mmc0: Timeout waiting for hardware interrupt.
[ 95.330909] mmc0: Timeout waiting for hardware interrupt.
[ 105.350910] mmc0: Timeout waiting for hardware interrupt.
[ 105.550545] mmc0: card 0001 removed
[ 105.601576] *** mmc_attach_sdio
[ 105.604546] mmc0: card claims to support voltages below the defined range. These will be ignored.
[ 105.632713] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ 105.639572] mmc0: new SDIO card at address 0001
[ 105.669912] ***** wl18xx_probe
[ 105.711197] wl12xx_sdio_set_power 1
[ 105.982867] wl12xx_sdio_set_power 0
[ 106.044162] wlcore: loaded
[ 106.046777] wlcore: driver version: fc7100-v0.3-9-ga3ec69c-dirty
[ 106.061605] wlcore: timestamp: Tue Feb 5 14:06:46 2013
[ 117.090906] mmc0: Timeout waiting for hardware interrupt.
[ 127.110903] mmc0: Timeout waiting for hardware interrupt.
[ 137.130902] mmc0: Timeout waiting for hardware interrupt.
[ 147.150901] mmc0: Timeout waiting for hardware interrupt.
[ 147.329946] mmc0: card 0001 removed
= END ======================================================