Just tested on 
Linux Cubian 3.14.0-rc8+ #118 SMP Fri Apr 18 16:10:07 YEKT 2014 armv7l 
GNU/Linux

and with other microcd-card, all is the same.

Best,
Alexander Bersenev

суббота, 14 июня 2014 г., 18:47:33 UTC+6 пользователь Александр Берсенев 
написал:
>
> Hi,
>
> I have wifi working on cubietruck, but after several minutes of operation 
> it stops work. The kernel was compiled from the latest sunxi-devel branch 
> of linux-sunxi repo.
>
> Ifconfig says that wlan1 is running, but all operation fails by timeout.
>
> # iwlist wlan1 scan
> wlan1     Interface doesn't support scanning : Connection timed out
>
> # time iwconfig wlan1
> wlan1     IEEE 802.11bgn  ESSID:off/any  
>           Mode:Managed  Access Point: Not-Associated   
>           Retry short limit:7   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           
> real    0m4.999s
> user    0m0.000s
> sys     0m0.010s
>
>
> Each second two messages appears in dmesg:
> brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a020, err: 
> -110
> brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting 
> operation 
>
> More related messages:
> brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
> brcmfmac: brcmf_cfg80211_get_tx_power: error (-110)
> brcmfmac: brcmf_do_escan: error (-110)
> brcmfmac: brcmf_cfg80211_scan: scan error (-110)
>
> The command rmmod brcmfmac never finishes.
>
> Also, when wifi stops work, mmc error messages repeat in dmesg:
> [  245.780430] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD SBE !!
> [  245.780489] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  245.780550] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
> [  245.780561] brcmfmac: brcmf_sdio_rxfail: abort command, terminate 
> frame, send NAK
> [  245.784798] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data 
> F1@0x0a040, err: -5
> [  245.784912] brcmfmac: brcmf_sdio_hdparse: seq 4: sequence number error, 
> expect 5
> [  246.122616] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  246.122672] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  246.460309] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  246.460354] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  246.797996] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  246.798043] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  246.798085] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data 
> F1@0x0a020, err: -110
> [  246.798115] brcmfmac: brcmf_sdio_dpc: failed backplane access over 
> SDIO, halting operation
> [  247.133900] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  247.133947] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  247.471573] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  247.471613] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  247.809240] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
> [  247.809283] sunxi-mmc 1c12000.mmc: data error, sending stop command
> [  247.809323] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data 
> F1@0x0a020, err: -110
> [  247.809354] brcmfmac: brcmf_sdio_dpc: failed backplane access over 
> SDIO, halting operation
>
> When wifi module is unloaded there are not any mmc errors.
>
> I use dd if=/dev/zero bs=64k command via ssh to test wifi.
>
> I can also check other versions of kernel.
>
> Best,
> Alexander Bersenev
>
> пятница, 13 июня 2014 г., 2:26:56 UTC+6 пользователь Hans de Goede написал:
>>
>> Hi, 
>>
>> On 06/12/2014 03:21 PM, [email protected] wrote: 
>> > I added the ap6210.txt file. Now I get... 
>> > 
>> > root@linaro-developer:~# dmesg | grep brcm 
>> > [   14.656712] brcmfmac: F1 signature read @0x18000000=0x1591a962 
>> > [   15.123388] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = 
>> > wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d 
>> > [   15.208407] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.259285] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.290611] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.330720] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.345610] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.396557] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 
>> > [   15.440398] usbcore: registered new interface driver brcmfmac 
>>
>> Those are "normal" this is the brcmfmac driver trying to enable some 
>> features which are not supported on this model wifi chip. 
>>
>> Regards, 
>>
>> Hans 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to