[solved] rpi3b+ aarch64 WLAN missing in 4.20 and > 4.19.11

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

[solved] rpi3b+ aarch64 WLAN missing in 4.20 and > 4.19.11

Postby 2c982m9 » Mon Dec 17, 2018 6:18 pm

Issue with 4.20.0-rc-7 or a packaging issue?

4.20.0-rc6-1-ARCH

$this->bbcode_second_pass_code('', '
Nov 28 00:20:26 alarm systemd[1]: Found device /dev/mmcblk0p1.
Nov 28 00:20:26 alarm kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Nov 28 00:20:26 alarm kernel: usbcore: registered new interface driver brcmfmac
Nov 28 00:20:26 alarm kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Nov 28 00:20:26 alarm kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
')

4.20.0-rc7-1-ARCH

$this->bbcode_second_pass_code('', '
Nov 28 00:20:26 alarm systemd[1]: Found device /dev/mmcblk0p1.
Nov 28 00:20:26 alarm kernel: brcmfmac: probe of mmc1:0001:1 failed with error -110
Nov 28 00:20:26 alarm kernel: brcmfmac: probe of mmc1:0001:2 failed with error -110
Nov 28 00:20:26 alarm kernel: brcmfmac: probe of mmc1:0001:3 failed with error -110
Nov 28 00:20:26 alarm kernel: usbcore: registered new interface driver brcmfmac
Nov 28 00:20:26 alarm kernel: btsdio: probe of mmc1:0001:3 failed with error -110
')

[edit: renamed thread to reflect issue is also now with 4.19 stable.]
Last edited by 2c982m9 on Sat Dec 29, 2018 12:43 am, edited 4 times in total.
2c982m9
 
Posts: 12
Joined: Mon Dec 17, 2018 5:57 pm

Re: rpi3b+ aarch64 4.20.0-rc7-1 BCM4345/6 issue

Postby 2c982m9 » Sun Dec 23, 2018 7:27 am

Looks like right now the easiest fix might be to use:

$this->bbcode_second_pass_code('', 'CONFIG_MMC_SDHCI_IPROC=m')

given commit e25b6783c7b1 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs is now in 4.20.rc7 and 4.19.11.

$this->bbcode_second_pass_quote('', 'T')he commit b1b8f45b3130 ("ARM: dts: bcm2837: Add missing GPIOs of Expander") introduced a wifi power sequence. Unfortunately the polarity of the reset GPIOs were wrong and broke the wifi support on Raspberry Pi 3 B and later in 3 B+. This wasn't discovered before since the power sequence takes only effect in case the relevant MMC driver is compiled as a module.


Right now CONFIG_MMC_SDHCI_IPROC=y results in no wifi with e25b6783c7b1 in >= 4.20.rc7 and 4.19.11.
2c982m9
 
Posts: 12
Joined: Mon Dec 17, 2018 5:57 pm

Re: rpi3b+ aarch64 WLAN missing since 4.20.0-rc7-1 and 4.19.

Postby 2c982m9 » Sat Dec 29, 2018 12:41 am

linux-aarch64/files/0005-Revert-ARM-dts-bcm2837-Fix-polarity-of-wifi-reset-GP.patch

Reverting the commit b1b8f45b3130 with ^ results in a wlan0.
2c982m9
 
Posts: 12
Joined: Mon Dec 17, 2018 5:57 pm

Re: [solved] rpi3b+ aarch64 WLAN missing in 4.20 and > 4.19.

Postby 2c982m9 » Mon Dec 31, 2018 6:20 pm

linux-aarch64/files/0005-mmc-sdhci-iproc-handle-mmc_of_parse-errors-during-pr.patch

And ^ works instead. Is that indeed the long term fix that should go upstream?

Thanks
2c982m9
 
Posts: 12
Joined: Mon Dec 17, 2018 5:57 pm

Re: [solved] rpi3b+ aarch64 WLAN missing in 4.20 and > 4.19.

Postby lategoodbye » Tue Jan 01, 2019 4:13 pm

I pointed kmihelich to this upstream patch. It hasn't applied yet due the holidays.
lategoodbye
 
Posts: 116
Joined: Sat Dec 29, 2018 1:24 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 12 guests