linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
@ 2017-06-28 19:33 Stefan Wahren
  2017-07-17 13:10 ` Stefan Wahren
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Wahren @ 2017-06-28 19:33 UTC (permalink / raw)
  To: arend.vanspriel; +Cc: brcm80211-dev-list.pdl, linux-wireless, linux-rpi-kernel

Hi,

i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].

Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+

[    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
[   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
[   26.648831] brcmfmac: brcmf_bus_started: failed: -12
[   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding

I already tried the additional patches from Gerd Hofmann's repo [2], but this didn't improve anything.

Any ideas what could be the problem?

Thanks
Stefan

[1] - http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-June/006598.html
[2] - https://www.kraxel.org/cgit/linux/log/?h=bcm2837

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-06-28 19:33 brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W Stefan Wahren
@ 2017-07-17 13:10 ` Stefan Wahren
  2017-07-17 19:50   ` Franky Lin
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Wahren @ 2017-07-17 13:10 UTC (permalink / raw)
  To: arend.vanspriel, hante.meuleman, pieter-paul.giesberts,
	franky.lin, kvalo
  Cc: brcm80211-dev-list.pdl, linux-wireless, linux-rpi-kernel

Hi,

> Stefan Wahren <stefan.wahren@i2se.com> hat am 28. Juni 2017 um 21:33 geschrieben:
> 
> 
> Hi,
> 
> i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].
> 
> Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+
> 
> [    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
> [    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
> [    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
> [   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> [   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> [   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
> [   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
> [   26.648831] brcmfmac: brcmf_bus_started: failed: -12
> [   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding
> 
> I already tried the additional patches from Gerd Hofmann's repo [2], but this didn't improve anything.
> 
> Any ideas what could be the problem?

i found out that 4.12 didn't have the problem and rebased my changes [3].

Now 4.13-rc1 is out and i bisected the regression:

5771a8c08880cdca3bfb4a3fc6d309d6bba20877 bad
6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c good
e5f76a2e0e84ca2a215ecbf6feae88780d055c56 bad
1849f800fba32cd5a0b647f824f11426b85310d8 good
ca7bbc845e0aa2d9d6d252e72f0a2602ebd16361 bad
0c90e9c6b5549825e410b6589ad6c4478f81ebad good
44e179da0e27a1cc1001becefa0931634dbafae3 bad
219569ad0c41df7a7f999a2cad688c6b6ce173e2 bad
fb53905cf2c3db6eb1ce37a37c5002456fa7ee20 bad
37a5be0cfca6487bbdf423a09dfe70e9bfb049db bad
a3b2ba8666b7947eb323368b5c6f751450e61766 bad
21f569af9ab3608382482166ae9aba802b097e3f bad
94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c bad
a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6 good

9fe929aaace6a3019dd64a70063cc7b0bb956a4e bad

brcmfmac: add firmware feature detection for gscan feature
Detect gscan support in firmware by doing pfn_gscan_cfg iovar with
invalid version.

Unfortunately this commit cannot be simply reverted and i wasn't sure about the dependencies. So i need to revert the following commits to get it running with 4.13-rc1:

123fef3fd4ae6052bad5cf1623c49845d16a6c67
2526ff21aa77c205f72e8263335f20b7d7e636fc
b8a64f0e96c2b258321ee03975aeb0f5e88a055b
69897f390b006948ca4cfa37174fa653a0ef7223
42596f761449595e3f0f18ce57c88472ad2d6160
efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3
94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c
9fe929aaace6a3019dd64a70063cc7b0bb956a4e

Would be nice to get this fixed.

Regards
Stefan

[3] - https://github.com/lategoodbye/rpi-zero/commits/rpi-zero-w-v2

> 
> Thanks
> Stefan
> 
> [1] - http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-June/006598.html
> [2] - https://www.kraxel.org/cgit/linux/log/?h=bcm2837

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-17 13:10 ` Stefan Wahren
@ 2017-07-17 19:50   ` Franky Lin
  2017-07-17 20:31     ` Stefan Wahren
  2017-07-18  8:59     ` James Hughes
  0 siblings, 2 replies; 9+ messages in thread
From: Franky Lin @ 2017-07-17 19:50 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Arend Van Spriel, Hante Meuleman, Pieter-Paul Giesberts,
	Kalle Valo,
	open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	linux-rpi-kernel

On Mon, Jul 17, 2017 at 6:10 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> Hi,
>
>> Stefan Wahren <stefan.wahren@i2se.com> hat am 28. Juni 2017 um 21:33 geschrieben:
>>
>>
>> Hi,
>>
>> i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].
>>
>> Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+
>>
>> [    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
>> [    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
>> [    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
>> [   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>> [   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>> [   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
>> [   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
>> [   26.648831] brcmfmac: brcmf_bus_started: failed: -12
>> [   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding
>>
>> I already tried the additional patches from Gerd Hofmann's repo [2], but this didn't improve anything.
>>
>> Any ideas what could be the problem?
>
> i found out that 4.12 didn't have the problem and rebased my changes [3].
>
> Now 4.13-rc1 is out and i bisected the regression:
>
> 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 bad
> 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c good
> e5f76a2e0e84ca2a215ecbf6feae88780d055c56 bad
> 1849f800fba32cd5a0b647f824f11426b85310d8 good
> ca7bbc845e0aa2d9d6d252e72f0a2602ebd16361 bad
> 0c90e9c6b5549825e410b6589ad6c4478f81ebad good
> 44e179da0e27a1cc1001becefa0931634dbafae3 bad
> 219569ad0c41df7a7f999a2cad688c6b6ce173e2 bad
> fb53905cf2c3db6eb1ce37a37c5002456fa7ee20 bad
> 37a5be0cfca6487bbdf423a09dfe70e9bfb049db bad
> a3b2ba8666b7947eb323368b5c6f751450e61766 bad
> 21f569af9ab3608382482166ae9aba802b097e3f bad
> 94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c bad
> a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6 good
>
> 9fe929aaace6a3019dd64a70063cc7b0bb956a4e bad
>
> brcmfmac: add firmware feature detection for gscan feature
> Detect gscan support in firmware by doing pfn_gscan_cfg iovar with
> invalid version.
>
> Unfortunately this commit cannot be simply reverted and i wasn't sure about the dependencies. So i need to revert the following commits to get it running with 4.13-rc1:
>

Can you please try to comment out the following lines in
brcmf_feat_attach? That's the only suspicious line that interact with
firmware in the patch.

+ brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
+                                            &gscan_cfg, sizeof(gscan_cfg));

I don't have a pi zero w but will try to see if I can reproduce it on a pi 3.

Regards,
Franky

> 123fef3fd4ae6052bad5cf1623c49845d16a6c67
> 2526ff21aa77c205f72e8263335f20b7d7e636fc
> b8a64f0e96c2b258321ee03975aeb0f5e88a055b
> 69897f390b006948ca4cfa37174fa653a0ef7223
> 42596f761449595e3f0f18ce57c88472ad2d6160
> efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3
> 94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c
> 9fe929aaace6a3019dd64a70063cc7b0bb956a4e
>
> Would be nice to get this fixed.
>
> Regards
> Stefan
>
> [3] - https://github.com/lategoodbye/rpi-zero/commits/rpi-zero-w-v2
>
>>
>> Thanks
>> Stefan
>>
>> [1] - http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-June/006598.html
>> [2] - https://www.kraxel.org/cgit/linux/log/?h=bcm2837

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-17 19:50   ` Franky Lin
@ 2017-07-17 20:31     ` Stefan Wahren
  2017-07-26  6:19       ` Stefan Wahren
  2017-07-18  8:59     ` James Hughes
  1 sibling, 1 reply; 9+ messages in thread
From: Stefan Wahren @ 2017-07-17 20:31 UTC (permalink / raw)
  To: Franky Lin
  Cc: open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	Pieter-Paul Giesberts, Kalle Valo, Arend Van Spriel,
	linux-rpi-kernel, Hante Meuleman

Hi,

> Franky Lin <franky.lin@broadcom.com> hat am 17. Juli 2017 um 21:50 geschrieben:
> 
> 
> On Mon, Jul 17, 2017 at 6:10 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> > Hi,
> >
> >> Stefan Wahren <stefan.wahren@i2se.com> hat am 28. Juni 2017 um 21:33 geschrieben:
> >>
> >>
> >> Hi,
> >>
> >> i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].
> >>
> >> Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+
> >>
> >> [    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
> >> [    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
> >> [    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
> >> [   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> >> [   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> >> [   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
> >> [   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
> >> [   26.648831] brcmfmac: brcmf_bus_started: failed: -12
> >> [   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding
> >>
> >> I already tried the additional patches from Gerd Hofmann's repo [2], but this didn't improve anything.
> >>
> >> Any ideas what could be the problem?
> >
> > i found out that 4.12 didn't have the problem and rebased my changes [3].
> >
> > Now 4.13-rc1 is out and i bisected the regression:
> >
> > 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 bad
> > 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c good
> > e5f76a2e0e84ca2a215ecbf6feae88780d055c56 bad
> > 1849f800fba32cd5a0b647f824f11426b85310d8 good
> > ca7bbc845e0aa2d9d6d252e72f0a2602ebd16361 bad
> > 0c90e9c6b5549825e410b6589ad6c4478f81ebad good
> > 44e179da0e27a1cc1001becefa0931634dbafae3 bad
> > 219569ad0c41df7a7f999a2cad688c6b6ce173e2 bad
> > fb53905cf2c3db6eb1ce37a37c5002456fa7ee20 bad
> > 37a5be0cfca6487bbdf423a09dfe70e9bfb049db bad
> > a3b2ba8666b7947eb323368b5c6f751450e61766 bad
> > 21f569af9ab3608382482166ae9aba802b097e3f bad
> > 94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c bad
> > a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6 good
> >
> > 9fe929aaace6a3019dd64a70063cc7b0bb956a4e bad
> >
> > brcmfmac: add firmware feature detection for gscan feature
> > Detect gscan support in firmware by doing pfn_gscan_cfg iovar with
> > invalid version.
> >
> > Unfortunately this commit cannot be simply reverted and i wasn't sure about the dependencies. So i need to revert the following commits to get it running with 4.13-rc1:
> >
> 
> Can you please try to comment out the following lines in
> brcmf_feat_attach? That's the only suspicious line that interact with
> firmware in the patch.
> 
> + brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
> +                                            &gscan_cfg, sizeof(gscan_cfg));

after commenting out this line, the issue doesn't appear.

> 
> I don't have a pi zero w but will try to see if I can reproduce it on a pi 3.

Unfortunately the Pi 3 doesn't have out of the box Wifi support in Mainline. Gerd Hoffmann currently maintains some patches for Wifi support [2]. But they aren't against 4.13-rc1. I could prepare a branch against 4.13-rc1.

> 
> Regards,
> Franky
> 
> > 123fef3fd4ae6052bad5cf1623c49845d16a6c67
> > 2526ff21aa77c205f72e8263335f20b7d7e636fc
> > b8a64f0e96c2b258321ee03975aeb0f5e88a055b
> > 69897f390b006948ca4cfa37174fa653a0ef7223
> > 42596f761449595e3f0f18ce57c88472ad2d6160
> > efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3
> > 94ed6ffb7965aa09409a5ff7d17b2f84ed085c3c
> > 9fe929aaace6a3019dd64a70063cc7b0bb956a4e
> >
> > Would be nice to get this fixed.
> >
> > Regards
> > Stefan
> >
> > [3] - https://github.com/lategoodbye/rpi-zero/commits/rpi-zero-w-v2
> >
> >>
> >> Thanks
> >> Stefan
> >>
> >> [1] - http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-June/006598.html
> >> [2] - https://www.kraxel.org/cgit/linux/log/?h=bcm2837

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-17 19:50   ` Franky Lin
  2017-07-17 20:31     ` Stefan Wahren
@ 2017-07-18  8:59     ` James Hughes
  1 sibling, 0 replies; 9+ messages in thread
From: James Hughes @ 2017-07-18  8:59 UTC (permalink / raw)
  To: Franky Lin
  Cc: Stefan Wahren, Arend Van Spriel, Hante Meuleman,
	Pieter-Paul Giesberts, Kalle Valo,
	open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER,
	linux-rpi-kernel

>>
>
> Can you please try to comment out the following lines in
> brcmf_feat_attach? That's the only suspicious line that interact with
> firmware in the patch.
>
> + brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
> +                                            &gscan_cfg, sizeof(gscan_cfg));
>
> I don't have a pi zero w but will try to see if I can reproduce it on a pi 3.

Franky/Arend, if a ZeroW would help now and in future Pi Wifi issues,
I can get one to you. Email me off list.

James

>>> [2] - https://www.kraxel.org/cgit/linux/log/?h=bcm2837

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-17 20:31     ` Stefan Wahren
@ 2017-07-26  6:19       ` Stefan Wahren
  2017-07-26  8:50         ` Arend van Spriel
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Wahren @ 2017-07-26  6:19 UTC (permalink / raw)
  To: Franky Lin, Arend Van Spriel
  Cc: brcm80211-dev-list.pdl, linux-wireless, Pieter-Paul Giesberts,
	Kalle Valo, linux-rpi-kernel, Hante Meuleman, Ian Molton

Hi,

> Stefan Wahren <stefan.wahren@i2se.com> hat am 17. Juli 2017 um 22:31 geschrieben:
> 
> 
> Hi,
> 
> > Franky Lin <franky.lin@broadcom.com> hat am 17. Juli 2017 um 21:50 geschrieben:
> > 
> > 
> > On Mon, Jul 17, 2017 at 6:10 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> > > Hi,
> > >
> > >> Stefan Wahren <stefan.wahren@i2se.com> hat am 28. Juni 2017 um 21:33 geschrieben:
> > >>
> > >>
> > >> Hi,
> > >>
> > >> i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].
> > >>
> > >> Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+
> > >>
> > >> [    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
> > >> [    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
> > >> [    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
> > >> [   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
> > >> [   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
> > >> [   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
> > >> [   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
> > >> [   26.648831] brcmfmac: brcmf_bus_started: failed: -12
> > >> [   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding
> > >>
> > ...
> > Can you please try to comment out the following lines in
> > brcmf_feat_attach? That's the only suspicious line that interact with
> > firmware in the patch.
> > 
> > + brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
> > +                                            &gscan_cfg, sizeof(gscan_cfg));
> 
> after commenting out this line, the issue doesn't appear.
>

what are the plans to fix this regression?

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-26  6:19       ` Stefan Wahren
@ 2017-07-26  8:50         ` Arend van Spriel
  2017-08-11  5:55           ` Stefan Wahren
  0 siblings, 1 reply; 9+ messages in thread
From: Arend van Spriel @ 2017-07-26  8:50 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Franky Lin, brcm80211-dev-list.pdl, linux-wireless,
	Pieter-Paul Giesberts, Kalle Valo, linux-rpi-kernel,
	Hante Meuleman, Ian Molton

On 7/26/2017 8:19 AM, Stefan Wahren wrote:
> Hi,
>
>> Stefan Wahren <stefan.wahren@i2se.com> hat am 17. Juli 2017 um 22:31 geschrieben:
>>
>>
>> Hi,
>>
>>> Franky Lin <franky.lin@broadcom.com> hat am 17. Juli 2017 um 21:50 geschrieben:
>>>
>>>
>>> On Mon, Jul 17, 2017 at 6:10 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
>>>> Hi,
>>>>
>>>>> Stefan Wahren <stefan.wahren@i2se.com> hat am 28. Juni 2017 um 21:33 geschrieben:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> i'm currently working on Raspberry Pi Zero W for Mainline. Here is my first patch series [1].
>>>>>
>>>>> Unfortunately i didn't get brcmfmac (connected via SDIO) probed with this patch series against 4.12.0-rc5-next-20170616+
>>>>>
>>>>> [    8.389167] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
>>>>> [    8.735111] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
>>>>> [    8.786016] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
>>>>> [   11.288798] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   11.292822] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   13.848777] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   13.852974] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   16.408762] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   16.413004] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   18.968769] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   18.972965] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   21.528743] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   21.532924] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   24.088745] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
>>>>> [   24.092948] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
>>>>> [   26.648764] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
>>>>> [   26.648789] brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
>>>>> [   26.648831] brcmfmac: brcmf_bus_started: failed: -12
>>>>> [   26.648842] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding
>>>>>
>>> ...
>>> Can you please try to comment out the following lines in
>>> brcmf_feat_attach? That's the only suspicious line that interact with
>>> firmware in the patch.
>>>
>>> + brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
>>> +                                            &gscan_cfg, sizeof(gscan_cfg));
>>
>> after commenting out this line, the issue doesn't appear.
>>
>
> what are the plans to fix this regression?

I am a bit in doubt about this one. We can avoid the firmware config 
above for bcm4343x devices as a short term fix. However, I would like to 
root cause the issue. Received a Pi Zero over here so gearing it up.

Regards,
Arend

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-07-26  8:50         ` Arend van Spriel
@ 2017-08-11  5:55           ` Stefan Wahren
  2017-08-11  8:24             ` Arend van Spriel
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Wahren @ 2017-08-11  5:55 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Franky Lin, brcm80211-dev-list.pdl, linux-wireless,
	Pieter-Paul Giesberts, Kalle Valo, linux-rpi-kernel,
	Hante Meuleman, Ian Molton

Hi Arend,

Am 26.07.2017 um 10:50 schrieb Arend van Spriel:
> On 7/26/2017 8:19 AM, Stefan Wahren wrote:
>> Hi,
>>
>>
>> what are the plans to fix this regression?
>
> I am a bit in doubt about this one. We can avoid the firmware config
> above for bcm4343x devices as a short term fix. However, I would like
> to root cause the issue. Received a Pi Zero over here so gearing it up.
>
> Regards,
> Arend
>
is there an update about this issue? Should i prepare such a short term fix?

Regards
Stefan

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

* Re: brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W
  2017-08-11  5:55           ` Stefan Wahren
@ 2017-08-11  8:24             ` Arend van Spriel
  0 siblings, 0 replies; 9+ messages in thread
From: Arend van Spriel @ 2017-08-11  8:24 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Franky Lin, brcm80211-dev-list.pdl, linux-wireless,
	Pieter-Paul Giesberts, Kalle Valo, linux-rpi-kernel,
	Hante Meuleman, Ian Molton

On 8/11/2017 7:55 AM, Stefan Wahren wrote:
> Hi Arend,
>
> Am 26.07.2017 um 10:50 schrieb Arend van Spriel:
>> On 7/26/2017 8:19 AM, Stefan Wahren wrote:
>>> Hi,
>>>
>>>
>>> what are the plans to fix this regression?
>>
>> I am a bit in doubt about this one. We can avoid the firmware config
>> above for bcm4343x devices as a short term fix. However, I would like
>> to root cause the issue. Received a Pi Zero over here so gearing it up.
>>
>> Regards,
>> Arend
>>
> is there an update about this issue? Should i prepare such a short term fix?

This got a bit snowed under. Thanks for the reminder. I will prepare the 
short term fix shortly.

Regards,
Arend

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

end of thread, other threads:[~2017-08-11  8:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28 19:33 brcmfmac: BCM43431 won't get probed on Raspberry Pi Zero W Stefan Wahren
2017-07-17 13:10 ` Stefan Wahren
2017-07-17 19:50   ` Franky Lin
2017-07-17 20:31     ` Stefan Wahren
2017-07-26  6:19       ` Stefan Wahren
2017-07-26  8:50         ` Arend van Spriel
2017-08-11  5:55           ` Stefan Wahren
2017-08-11  8:24             ` Arend van Spriel
2017-07-18  8:59     ` James Hughes

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).