Bug#984489: firmware-brcm80211: newer versions fail to load on raspberry pi 4b with "brcmf_sdio_htclk: HT Avail timeout"
Dear Andres,
>
> [ 12.471809] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000):
> clkctl 0x50
>
>
> You can specifically see that the driver times out after one second
> with that error message, then times out again with the error and gives
> up. No wlan0 is available.
>
> There are some pretty major firmware updates between those two
> versions, and they are generally Good. However, there's also some minor
> updates to the raspi4 board file
> /lib//firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
>
> If we revert the line "boardflags3=0x48200100" in that file back to
> what was in the 20201218-3 version (so it would instead be
> "boardflags3=0x44200100"), and then reboot, the driver now loads:
upstream indeed resets this line too,
boardflags3=0x44200100
seen in 58825f74eb0156822065c449a770644a69044d88 of linux-firmware.git.
> [ 23.961230] br0: port 3(wlan1) entered blocking state
> [ 23.963358] br0: port 3(wlan1) entered disabled state
> [ 23.966488] device wlan1 entered promiscuous mode
> [ 29.417766] br0: port 2(wlan0) entered blocking state
> [ 29.419853] br0: port 2(wlan0) entered forwarding state
>
>
>
> I'm not sure if the driver needs fixing, or if the boardflags need
> fixing, but the boardflags thing seems to be a functional workaround
> for users hitting this issue. Thanks to Steev Klimaszewski for helping
> me figure out the workaround.
I will upload -4 with that fix as soon as -3 finaly hits testing
to push that minor change to upcoming release.
Thank you for your report!
--
maks
Reply to: