linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
@ 2015-01-28  7:15 Sébastien Bourdeauducq
  2015-01-29 19:45 ` Arend van Spriel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sébastien Bourdeauducq @ 2015-01-28  7:15 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi,

The Lenovo Thinkpad Tablet 10 is a complete disaster under Linux, and
among many problems the SDIO brcmfmac wifi does not work.

I get the following messages in the kernel log:
brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done
for chip 4324 rev 6 pmurev 17
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[repeated]

and the network interface is never created.

I'm running kernel 3.18.4, my brcmfmac43241b4-sdio.bin is identical to
the one in the linux-firmware repository, and I have attached the
brcmfmac43241b4-sdio.txt that I have extracted from the EFI variables.

Any help would be appreciated.

Sébastien

[-- Attachment #2: brcmfmac43241b4-sdio.txt --]
[-- Type: text/plain, Size: 2550 bytes --]

#---------------------------------------------------------------------------------------------------------------------
# NVRAM file for BCM4324 with 2.4G and 5G external PAs..
# Release Version: fox77h506nvram-Ella-WorldWide-v02
#---------------------------------------------------------------------------------------------------------------------
devid=0x4374
boardtype=0x67e
boardrev=0x1301
boardflags=0x90001200
boardflags2=0
macaddr=00:90:4c:c5:12:38
sromrev=9
xtalfreq=37400
nocrc=1
ag0=0x2
ag1=0x2
ag2=0xff
ag3=0xff
txchain=0x3
rxchain=0x3
aa2g=3
aa5g=3
ccode=XT
regrev=31
ledbh0=0xff
ledbh1=0xff
ledbh2=0xff
ledbh3=0xff
leddc=0xffff
#MP Original board PA parameters:
pa2gw0a0=0xffa7
pa2gw1a0=0x1563
pa2gw2a0=0xfeb9
#MP Original board PA parameters:
pa2gw0a1=0xff9c
pa2gw1a1=0x135e
pa2gw2a1=0xfebf
maxp2ga0=80
maxp2ga1=80
maxp5ga0=76
maxp5ga1=76
maxp5gha0=76
maxp5gha1=76
maxp5gla0=76
maxp5gla1=76
pa0itssit=62
pa1itssit=62
antswctl2g=30
antswctl5g=30
antswitch=0x0
subband5gver=0
pa5gw0a0=0xffa1
pa5gw1a0=0x114d
pa5gw2a0=0xfebf
pa5gw0a1=0xffca
pa5gw1a1=0x11aa
pa5gw2a1=0xfeee
pa5glw0a0=0xffb3
pa5glw1a0=0x1080
pa5glw2a0=0xfed4
pa5glw0a1=0xffd4
pa5glw1a1=0x10aa
pa5glw2a1=0xff01
pa5ghw0a0=0xffaf
pa5ghw1a0=0x116f
pa5ghw2a0=0xfee6
pa5ghw0a1=0xff9c
pa5ghw1a1=0x10f3
pa5ghw2a1=0xfed4
extpagain2g=3
extpagain5g=3
pdetrange2g=2
pdetrange5g=2
triso2g=3
triso5g=1
elna2g=1
elnabypass2g=-8
elna5g=1
elnabypass5g=-8
tssipos2g=1
tssipos5g=1
cckbw202gpo=0x6666
cckbw20ul2gpo=0x6666
legofdmbw202gpo=0x55533333
legofdmbw20ul2gpo=0x55533333
mcsbw202gpo=0x66655555
mcsbw20ul2gpo=0x66655555
mcsbw402gpo=0x66655555
mcs32po=0x5555
leg40dup2gpo=0x2
legofdmbw205glpo=0x22200000
legofdmbw20ul5glpo=0x44442222
legofdmbw205gmpo=0x22200000
legofdmbw20ul5gmpo=0x44442222
legofdmbw205ghpo=0x22200000
legofdmbw20ul5ghpo=0x44442222
mcsbw205glpo=0x99999999
mcsbw20ul5glpo=0x99999999
mcsbw405glpo=0x44422222
mcsbw205gmpo=0x66666666
mcsbw20ul5gmpo=0x66666666
mcsbw405gmpo=0x44422222
mcsbw205ghpo=0x66666666
mcsbw20ul5ghpo=0x66666666
mcsbw405ghpo=0x44422222
itt2ga0=0x20
itt5ga0=0x3e
itt2ga1=0x20
itt5ga1=0x3e
tempthresh=120
otpimagesize=232
usbepnum=0x2
muxenab=0x5
noisecaloffset=12
noisecaloffset5g=12
PwrOffsetcck=0x0006
PwrOffset40mhz5g=0x9
txidxcap2g=0
txidxcap5g=0
TssiAv5g=0x0
TssiVmid5g=0x9C
TssiAv2g=0x0
TssiVmid2g=0xAA
#Out-of-band GPIO Wakeup
sd_gpout=0
sd_gpval=1
sd_gpdc=0
#WiFi/BT co-existence parameter
btc_mode=5
btc_params9=15000

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
  2015-01-28  7:15 "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Sébastien Bourdeauducq
@ 2015-01-29 19:45 ` Arend van Spriel
  2015-01-30  3:23   ` Sebastien Bourdeauducq
  2015-01-30 14:40 ` Arend van Spriel
  2015-02-20  8:49 ` "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Jocky Wilson
  2 siblings, 1 reply; 7+ messages in thread
From: Arend van Spriel @ 2015-01-29 19:45 UTC (permalink / raw)
  To: Sébastien Bourdeauducq; +Cc: linux-wireless

On 01/28/15 08:15, Sébastien Bourdeauducq wrote:
> Hi,
>
> The Lenovo Thinkpad Tablet 10 is a complete disaster under Linux, and
> among many problems the SDIO brcmfmac wifi does not work.
>
> I get the following messages in the kernel log:
> brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done
> for chip 4324 rev 6 pmurev 17
> brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
> [repeated]

This usually means the firmware did not start properly.

> and the network interface is never created.
>
> I'm running kernel 3.18.4, my brcmfmac43241b4-sdio.bin is identical to
> the one in the linux-firmware repository, and I have attached the
> brcmfmac43241b4-sdio.txt that I have extracted from the EFI variables.

At first glance that looks fine to me. However, it is already late here 
so I will have a closer look tomorrow. If you can send a log with 
brcmfmac loaded with parameter 'debug=0x1416' that may give me some more 
clues.

Regards,
Arend

> Any help would be appreciated.
>
> Sébastien


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
  2015-01-29 19:45 ` Arend van Spriel
@ 2015-01-30  3:23   ` Sebastien Bourdeauducq
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Bourdeauducq @ 2015-01-30  3:23 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: linux-wireless

Hi,

On Friday, January 30, 2015 03:45 AM, Arend van Spriel wrote:
> If you can send a log with
> brcmfmac loaded with parameter 'debug=0x1416' that may give me some more
> clues.

Here it is:
[ 2360.049440] brcmfmac: brcmf_sdiod_sgtable_alloc nents=35
[ 2360.049464] brcmfmac: brcmf_sdio_probe Enter
[ 2360.054792] brcmfmac: F1 signature read @0x18000000=0x16864324
[ 2360.056741] brcmfmac: brcmf_bus_change_state 0 -> 2
[ 2360.062095] brcmfmac: brcmf_chip_recognition found AXI chip: BCM4324, 
rev=6
[ 2360.174030] brcmfmac: brcmf_chip_cores_check  [1 ] core 0x800:42 base 
0x18000000 wrap 0x18100000
[ 2360.174054] brcmfmac: brcmf_chip_cores_check  [2 ] core 0x812:36 base 
0x18001000 wrap 0x18101000
[ 2360.174060] brcmfmac: brcmf_chip_cores_check  [3 ] core 0x829:18 base 
0x18002000 wrap 0x18102000
[ 2360.174065] brcmfmac: brcmf_chip_cores_check  [4 ] core 0x82a:7  base 
0x18003000 wrap 0x18103000
[ 2360.174070] brcmfmac: brcmf_chip_cores_check  [5 ] core 0x80e:20 base 
0x18004000 wrap 0x18104000
[ 2360.174075] brcmfmac: brcmf_chip_cores_check  [6 ] core 0x81a:16 base 
0x18005000 wrap 0x18105000
[ 2360.174080] brcmfmac: brcmf_chip_cores_check  [7 ] core 0x135:0  base 
0x1810a000 wrap 0x18107000
[ 2360.179471] brcmfmac: brcmf_chip_setup ccrev=42, pmurev=17, 
pmucaps=0x298c5f11
[ 2360.185890] brcmfmac: brcmf_sdio_kso_init Enter
[ 2360.186677] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive 
strength init done for chip 4324 rev 6 pmurev 17
[ 2360.194797] brcmfmac: brcmf_attach Enter
[ 2360.194839] brcmfmac: brcmf_proto_attach Enter
[ 2360.198000] brcmfmac: brcmf_sdio_probe completed!!
[ 2360.198010] brcmfmac: brcmf_fw_get_firmwares enter: dev=mmc1:0001:1
[ 2360.198132] usbcore: registered new interface driver brcmfmac
[ 2360.198544] brcmfmac: brcmf_fw_request_code_done enter: dev=mmc1:0001:1
[ 2360.198617] brcmfmac: brcmf_fw_request_nvram_done enter: dev=mmc1:0001:1
[ 2360.198680] brcmfmac: brcmf_sdio_firmware_callback Enter: dev=mmc1:0001:1
[ 2360.199953] brcmfmac: brcmf_chip_enter_download Enter
[ 2360.216692] brcmfmac: brcmf_sdio_download_code_file Enter
[ 2362.872129] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl & ul at 
0x00000000; size=403855
[ 2366.982029] brcmfmac: brcmf_sdio_download_nvram Enter
[ 2367.003592] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl & ul at 
0x0008f85c; size=1956
[ 2367.025285] brcmfmac: brcmf_chip_exit_download Enter
[ 2367.043627] brcmfmac: brcmf_bus_change_state 2 -> 3
[ 2368.055540] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): 
clkctl 0x50
[ 2368.055552] brcmfmac: brcmf_sdio_firmware_callback failed: 
dev=mmc1:0001:1, err=0
[ 2368.055571] brcmfmac: brcmf_sdio_remove Enter
[ 2368.058820] brcmfmac: brcmf_detach Enter
[ 2368.058830] brcmfmac: brcmf_bus_change_state 3 -> 2
[ 2368.058834] brcmfmac: brcmf_bus_detach Enter
[ 2368.058838] brcmfmac: brcmf_sdio_bus_stop Enter
[ 2369.066333] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): 
clkctl 0x50
[ 2369.076908] brcmfmac: brcmf_proto_detach Enter
[ 2370.091185] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): 
clkctl 0x50
[ 2370.112802] brcmfmac: brcmf_chip_enter_download Enter
[ 2370.141772] brcmfmac: brcmf_sdio_remove Disconnected

Thanks,
Sebastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
  2015-01-28  7:15 "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Sébastien Bourdeauducq
  2015-01-29 19:45 ` Arend van Spriel
@ 2015-01-30 14:40 ` Arend van Spriel
  2015-01-30 16:28   ` Sebastien Bourdeauducq
  2015-09-09 16:55   ` Oleg Kostyuchenko
  2015-02-20  8:49 ` "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Jocky Wilson
  2 siblings, 2 replies; 7+ messages in thread
From: Arend van Spriel @ 2015-01-30 14:40 UTC (permalink / raw)
  To: Sébastien Bourdeauducq; +Cc: linux-wireless

On 01/28/15 08:15, Sébastien Bourdeauducq wrote:
> Hi,
>
> The Lenovo Thinkpad Tablet 10 is a complete disaster under Linux, and
> among many problems the SDIO brcmfmac wifi does not work.
>
> I get the following messages in the kernel log:
> brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done
> for chip 4324 rev 6 pmurev 17
> brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
> [repeated]
>
> and the network interface is never created.
>
> I'm running kernel 3.18.4, my brcmfmac43241b4-sdio.bin is identical to
> the one in the linux-firmware repository, and I have attached the
> brcmfmac43241b4-sdio.txt that I have extracted from the EFI variables.

When you say your firmware is identical what does that mean. Did you do 
a diff? Can you do 'hexdump -C brcmfmac43241b4-sdio.bin | tail -30'? I 
will be getting a laptop with 43241 integrated soonish (monday?). 
Hopefully it has same chip revision.

Regards,
Arend
> Any help would be appreciated.
>
> Sébastien


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
  2015-01-30 14:40 ` Arend van Spriel
@ 2015-01-30 16:28   ` Sebastien Bourdeauducq
  2015-09-09 16:55   ` Oleg Kostyuchenko
  1 sibling, 0 replies; 7+ messages in thread
From: Sebastien Bourdeauducq @ 2015-01-30 16:28 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: linux-wireless

On Friday, January 30, 2015 10:40 PM, Arend van Spriel wrote:
>> I'm running kernel 3.18.4, my brcmfmac43241b4-sdio.bin is identical to
>> the one in the linux-firmware repository, and I have attached the
>> brcmfmac43241b4-sdio.txt that I have extracted from the EFI variables.
>
> When you say your firmware is identical what does that mean.

It is exactly this file (diff reports same content):

https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43241b4-sdio.bin

Sebastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10
  2015-01-28  7:15 "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Sébastien Bourdeauducq
  2015-01-29 19:45 ` Arend van Spriel
  2015-01-30 14:40 ` Arend van Spriel
@ 2015-02-20  8:49 ` Jocky Wilson
  2 siblings, 0 replies; 7+ messages in thread
From: Jocky Wilson @ 2015-02-20  8:49 UTC (permalink / raw)
  To: linux-wireless

U8OpYmFzdGllbiBCb3VyZGVhdWR1Y3EgPHNiQC4uLj4gd3JpdGVzOgoKPiAKPiBIaSwKPiAKPiBUaGUgTGVub3ZvIFRoaW5rcGFkIFRhYmxldCAxMCBpcyBhIGNvbXBsZXRlIGRpc2FzdGVyIHVuZGVyIExpbnV4LCBhbmQKPiBhbW9uZyBtYW55IHByb2JsZW1zIHRoZSBTRElPIGJyY21mbWFjIHdpZmkgZG9lcyBub3Qgd29yay4KPiAKPiBJIGdldCB0aGUgZm9sbG93aW5nIG1lc3NhZ2VzIGluIHRoZSBrZXJuZWwgbG9nOgo+IGJyY21mbWFjOiBicmNtZl9zZG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ink raw reply	[flat|nested] 7+ messages in thread

* Re:
  2015-01-30 14:40 ` Arend van Spriel
  2015-01-30 16:28   ` Sebastien Bourdeauducq
@ 2015-09-09 16:55   ` Oleg Kostyuchenko
  1 sibling, 0 replies; 7+ messages in thread
From: Oleg Kostyuchenko @ 2015-09-09 16:55 UTC (permalink / raw)
  To: linux-wireless

Hi Arend,
I am still experiencing the issue Sebastien initially described (no wlan0 device,
"SDIO drive strength" warnings etc) on a Thinkpad Tablet 10 for the latest
kernel release, 4.2. Doesn't the 4.2 kernel include the required fix?

Thanks,
Oleg



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-09 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28  7:15 "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Sébastien Bourdeauducq
2015-01-29 19:45 ` Arend van Spriel
2015-01-30  3:23   ` Sebastien Bourdeauducq
2015-01-30 14:40 ` Arend van Spriel
2015-01-30 16:28   ` Sebastien Bourdeauducq
2015-09-09 16:55   ` Oleg Kostyuchenko
2015-02-20  8:49 ` "brcmfmac: brcmf_sdio_htclk: HT Avail timeout" on Thinkpad Tablet 10 Jocky Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).