[linux-firmware] Raspberry pi 4 wlan0 is missing

Problems with packages? Post here, using [tags] of the package name.

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby dtbarch » Sat Feb 20, 2021 3:21 pm

For what it's worth:

linux-firmware-20210208.b79d239-1

does contain brcmfmac43430a0-sdio.bin but not brcmfmac43430a0-sdio.txt and firmware-raspberrypi-20210218-1 no longer contains these two files. Hiccups during firmware loading on Raspi Zero-W and others occur.

Solution: downgrade firmware-raspberrypi or copy brcmfmac43430a0-sdio.txt from the old package into the filesystem.

Thanks
dtbarch
 
Posts: 3
Joined: Sat Feb 20, 2021 3:10 pm

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Sat Feb 20, 2021 3:24 pm

$this->bbcode_second_pass_quote('dpj', 'R')aspberry Pi 3 Model B
...


So, for RPi3B on an up-to-date system:
linux-raspberrypi4 kernel = WiFi functional
linux-aarch64 kernel = WiFI non-functional
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby dpj » Sat Feb 20, 2021 3:30 pm

$this->bbcode_second_pass_quote('graysky', '')$this->bbcode_second_pass_quote('dpj', 'R')aspberry Pi 3 Model B
...


So, for RPi3B on an up-to-date system:
linux-raspberrypi4 kernel = WiFi functional
linux-aarch64 kernel = WiFI non-functional


confirmed
dpj
 
Posts: 4
Joined: Sat Feb 13, 2021 7:46 pm
Top

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Sat Feb 20, 2021 3:40 pm

$this->bbcode_second_pass_quote('dtbarch', 'F')or what it's worth:

linux-firmware-20210208.b79d239-1

does contain brcmfmac43430a0-sdio.bin but not brcmfmac43430a0-sdio.txt and firmware-raspberrypi-20210218-1 no longer contains these two files. Hiccups during firmware loading on Raspi Zero-W and others occur.

Solution: downgrade firmware-raspberrypi or copy brcmfmac43430a0-sdio.txt from the old package into the filesystem.


So simply providing the older txt file with the latest firmware-raspberrypi AND the latest linux-firmware fixes Wi-Fi for the Zero-W?
If I read that correctly, please:

1. Remove any modifications you made (ie manually installed files)
2. Update your system to current repo provided versions
3. Build this commit for firmware-raspberrypi from my testing git repo, install it, reboot

Does WiFi work on your Zero-W? If so, great. Need someone to confirm that the modification doesn't break WiFi for the RPi3B.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby dtbarch » Sat Feb 20, 2021 4:21 pm

$this->bbcode_second_pass_quote('', '')$this->bbcode_second_pass_quote('dtbarch', 'F')or what it's worth:

linux-firmware-20210208.b79d239-1

does contain brcmfmac43430a0-sdio.bin but not brcmfmac43430a0-sdio.txt and firmware-raspberrypi-20210218-1 no longer contains these two files. Hiccups during firmware loading on Raspi Zero-W and others occur.

Solution: downgrade firmware-raspberrypi or copy brcmfmac43430a0-sdio.txt from the old package into the filesystem.


So simply providing the older txt file with the latest firmware-raspberrypi AND the latest linux-firmware fixes Wi-Fi for the Zero-W?
If I read that correctly, please:

1. Remove any modifications you made (ie manually installed files)
2. Update your system to current repo provided versions
3. Build this commit for firmware-raspberrypi from my testing git repo, install it, reboot

Does WiFi work on your Zero-W? If so, great. Need someone to confirm that the modification doesn't break WiFi for the RPi3B.


confirmed to work with Zero-W

Thanks.
dtbarch
 
Posts: 3
Joined: Sat Feb 20, 2021 3:10 pm
Top

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Sat Feb 20, 2021 4:57 pm

Thanks, can someone with a RPi3B please do the same and verify that WiFi also works?
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby keithspg » Sat Feb 20, 2021 5:40 pm

I can add a bit to this discussion. I have a zero running raspberrypi-armv6, B3 running raspberrypi4-armv7, B3+ running raspberrypi4-aarch64, B4 running raspberrypi4-aarch64 and a B4 running raspberrypi4-armv7
RPi Zero, I already outlined (wlan0 does not work - linux-firmware 1218):
$this->bbcode_second_pass_code('', 'root@runeaudio(rw):~# pacman -Q | grep firmware
firmware-raspberrypi 20210218-1
linux-firmware 20201218.646f159-1
raspberrypi-firmware 20210128-2
root@runeaudio(rw):~# uname -a
Linux runeaudio 5.10.16-3-ARCH #1 SMP Tue Feb 16 18:41:54 UTC 2021 armv6l GNU/Linux
root@runeaudio(rw):~# dmesg | grep brcm
[ 21.334149] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[ 23.252735] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 23.253069] usbcore: registered new interface driver brcmfmac
[ 23.287292] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt failed with error -2
[ 23.287452] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
[ 24.291505] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50')

The Pi3B (Wlan0 works linux-firmware 1218):
$this->bbcode_second_pass_code('', 'root@runeaudio(rw):~# pacman -Q | grep firmware
firmware-brcm43xx 1.1-3
firmware-raspberrypi 20210217-1
linux-firmware 20201218.646f159-1
raspberrypi-firmware 20210128-2
root@runeaudio(rw):~# uname -a
Linux runeaudio 5.10.16-3-ARCH #1 SMP Tue Feb 16 18:41:46 UTC 2021 armv7l GNU/Linux
root@runeaudio(rw):~# dmesg | grep brcm
[ 9.700639] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 9.705205] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 9.705361] usbcore: registered new interface driver brcmfmac
[ 9.782426] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[ 9.964869] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 9.964973] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 9.965620] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 10.792849] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 36.757658] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled')

Pi3B+ (Wlan0 works linux-firmware 1218)
$this->bbcode_second_pass_code('', 'root@rune64(rw):~# pacman -Q | grep firmware
alsa-firmware 1.2.4-2
firmware-raspberrypi 20201225-2
linux-firmware 20210208.b79d239-1
[b]raspberrypi-firmware 20210128-2[/b]
root@rune64(rw):~# uname -a
Linux rune64 5.10.16-3-ARCH #1 SMP PREEMPT Tue Feb 16 11:41:10 MST 2021 aarch64 GNU/Linux
root@rune64(rw):~# dmesg | grep brcm
[ 7.646122] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 7.664947] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.666480] usbcore: registered new interface driver brcmfmac
[ 7.766353] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch
[ 7.905062] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.925134] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 9.617556] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 9.894508] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0x5, action 0x4
[ 24.363122] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled')

PiB4 - armv7 (wlan0 works linux-firmware 1218)
$this->bbcode_second_pass_code('', '[armv7 alarm@Build7h ~]$ pacman -Q | grep firmware
firmware-raspberrypi 20201225-2
linux-firmware 20201218.646f159-1
raspberrypi-firmware 20210128-2
[armv7 alarm@Build7h ~]$ uname -a
Linux Build7h 5.10.16-3-ARCH #1 SMP Tue Feb 16 18:41:46 UTC 2021 armv7l GNU/Linux
[armv7 alarm@Build7h ~]$ dmesg | grep brcm
[ 3.508205] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 3.508222] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 3.508242] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 3.508262] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[ 3.575237] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 3.575325] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 8.603228] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8.607047] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.616210] usbcore: registered new interface driver brcmfmac
[ 8.837781] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.859020] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 10.730194] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled')

Pi4 running pi4-aarch64 (Wlan0 works linux-firmware 0128)
$this->bbcode_second_pass_code('', '[aarch64 alarm@build64 ~]$ pacman -Q | grep firmware
alsa-firmware 1.2.4-2
firmware-raspberrypi 20201225-2
linux-firmware 20201218.646f159-1
raspberrypi-firmware 20210128-2
[aarch64 alarm@build64 ~]$ uname -a
Linux build64 5.10.16-3-ARCH #1 SMP PREEMPT Tue Feb 16 11:41:10 MST 2021 aarch64 GNU/Linux
[aarch64 alarm@build64 ~]$ dmesg | grep brcm
[ 1.765602] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.765620] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.765639] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.765660] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[ 1.829265] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.829357] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 6.687730] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.694997] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.707442] usbcore: registered new interface driver brcmfmac
[ 7.005450] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.042734] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 7.355050] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 7.936322] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 8.146598] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0x5, action 0x4')

edit: subsequent to this test, I updated the aarch64 firmware on the Pi4B to 20210218 and wlan0 still works.
FWIW, I never saw the problem on my aarch64 units running linux-raspberrypi4, but only on the 32 bit variants running on the B3 and Zero using the brcmfmac 43430 driver if that is of any help.

edit2: Just did a full pacman -Syu on the armv7 image on the B3 and the wlan0 is working with firmware-raspberrypi 20210218-1. Did the same thing on the Zero (armv6) which updated to the same firmware and still no wlan0
Last edited by keithspg on Sat Feb 20, 2021 6:23 pm, edited 2 times in total.
keithspg
 
Posts: 221
Joined: Mon Feb 23, 2015 4:14 pm

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Sat Feb 20, 2021 5:47 pm

$this->bbcode_second_pass_quote('graysky', '
')1. Remove any modifications you made (ie manually installed files)
2. Update your system to current repo provided versions
3. Build this commit for firmware-raspberrypi from my testing git repo, install it, reboot

Does WiFi work on your Zero-W? If so, great. Need someone to confirm that the modification doesn't break WiFi for the RPi3B.


For RPi3B, please try and report back.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby dpj » Sat Feb 20, 2021 5:58 pm

have tested putting:
$this->bbcode_second_pass_code('', 'https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.txt
')
into
$this->bbcode_second_pass_code('', '/lib/firmware/brcm')
the fully updated 3B has wlan present in both cases. assume that brcmfmac4340-sdio.raspberrypi,3-model-b.txt is used.

have checked this using both of the following on the 3B:
$this->bbcode_second_pass_code('', '
ArchLinuxARM-rpi-2-latest.tar.gz
ArchLinuxARM-rpi-4-latest.tar.gz
')

the second was not deliberate, downloaded the wrong release
dpj
 
Posts: 4
Joined: Sat Feb 13, 2021 7:46 pm

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Sat Feb 20, 2021 7:10 pm

So consensus is that the modified firmware-raspberrypi package works for both RPi3B and Zero-W if I am understanding the replies.

I pushed an update to the package just now. Again, if you have a Zero-W or 3B, once the package hits your mirror, please remove any manual modifications and update your system/reboot and report back.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests