On 03/03/15 14:33, Hans de Goede wrote:
Hi,
On 03-03-15 14:01, [email protected] wrote:
Hello everyone
I try to compile with the newest kernel from the website at
https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-next . and the
kernel can work normally on the BananaPro board.
Meanwhile, I use the brcmfmac to driver the ap6181(wifi module as same
as ap6210) in the linux-3.19, and the WiFi can work normally, but
there is something wrong when i use the scp to copy.
The error message as follows:
[ 108.934478] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD SBE !!
[ 108.940736] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 108.947833] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[ 108.954330] brcmfmac: brcmf_sdio_rxfail: abort command, terminate
frame, send NAK
[ 108.966952] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data
F1@0x0a040, err: -5
[ 108.975499] brcmfmac: brcmf_sdio_hdparse: seq 79: sequence number
error, expect 80
[ 109.336188] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 109.342442] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 109.703557] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 109.709843] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 110.070986] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 110.077273] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 110.083928] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data
F1@0x0a020, err: -110
It seems like there is a problem with the brcmfmac or sdio driver in
the linux-3.19.
Looking forward to you reply.
Yes this is a known problem with broadcom sdio wifi on sunxi devices and
upstream kernels. Arend van Spriel from broadcom is looking into this.
Arend, any luck in reproducing this on your cubietruck?
Whether it be coincidence or devils' play, but today I got the
cubietruck up and running with fc21 3.18.7 kernel. I tried installing a
kernel from our internal tree (3.19-rc?) but did not get it working.
So I got back to 3.18.7 fc21 kernel and build our latest brcmfmac
against it using a backports package. I started a ping when I left the
office and had another look at home seeing the same RD DTO messages. So
yes I have reproduced it, but did not capture a log.
And any luck in
finding a
fix for it ?
We recently did have an issue where the device indicates busy using data
lines and host ignored that and started next cmd53 causing the device to
end in a bad state. Not sure if sunxi-mmc has similar issue. Will need
to investigate that further.
Regards,
Arend
--
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.