* [PR PATCH] rpi-firmware: add firmware for zero 2w
@ 2022-09-05 23:42 classabbyamp
2022-09-07 23:27 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-09-05 23:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 864 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages rpi-firmware-02w
https://github.com/void-linux/void-packages/pull/39123
rpi-firmware: add firmware for zero 2w
<!-- Uncomment relevant sections and delete options which are not applicable -->
This took some figuring out, there's no documentation anywhere except a couple commit messages and blog posts.
- https://picockpit.com/raspberry-pi/raspberry-pi-zero-2-w-wifi-chipset-speeds-monitor-mode/
- https://github.com/RPi-Distro/firmware-nonfree/issues/24
- https://github.com/RPi-Distro/firmware-nonfree/commit/bda9207acee945633464e89614f3717b856579b5
#### Testing the changes
- I tested the changes in this PR: **YES**
```
```
A patch file from https://github.com/void-linux/void-packages/pull/39123.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-firmware-02w-39123.patch --]
[-- Type: text/x-diff, Size: 1589 bytes --]
From 5560a366a8dbacd739cdfb7717d906cefb645710 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 5 Sep 2022 19:39:01 -0400
Subject: [PATCH] rpi-firmware: add firmware for zero 2w
---
srcpkgs/rpi-firmware/template | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/rpi-firmware/template b/srcpkgs/rpi-firmware/template
index ed8529716065..62d809b840ce 100644
--- a/srcpkgs/rpi-firmware/template
+++ b/srcpkgs/rpi-firmware/template
@@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
pkgname=rpi-firmware
version=20220823
-revision=1
+revision=2
archs="armv6l* armv7l* aarch64*"
wrksrc="firmware-${_githash}"
provides="linux-firmware-broadcom-${version}_${revision}"
@@ -58,6 +58,16 @@ do_install() {
$XBPS_FETCH_CMD https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/master/broadcom/BCM4345C0.hcd
vinstall BCM4345C0.hcd 0644 usr/lib/firmware/brcm
+ # Firmware for rpi zero 2w wifi chip
+ for f in bin txt clm_blob; do
+ $XBPS_FETCH_CMD https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/buster/brcm/brcmfmac43436-sdio.${f}
+ vinstall brcmfmac43436-sdio.${f} 0644 usr/lib/firmware/brcm
+ done
+ for f in bin txt; do
+ $XBPS_FETCH_CMD https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/buster/brcm/brcmfmac43436s-sdio.${f}
+ vinstall brcmfmac43436s-sdio.${f} 0644 usr/lib/firmware/brcm
+ done
+
# Firmware for rpi4/rpi400 wifi chip
for f in bin txt clm_blob; do
$XBPS_FETCH_CMD https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/buster/brcm/brcmfmac43456-sdio.${f}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: rpi-firmware: add firmware for zero 2w
2022-09-05 23:42 [PR PATCH] rpi-firmware: add firmware for zero 2w classabbyamp
@ 2022-09-07 23:27 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-09-07 23:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
There's a merged pull request on the void-packages repository
rpi-firmware: add firmware for zero 2w
https://github.com/void-linux/void-packages/pull/39123
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
This took some figuring out, there's no documentation anywhere except a couple commit messages and blog posts.
- https://picockpit.com/raspberry-pi/raspberry-pi-zero-2-w-wifi-chipset-speeds-monitor-mode/
- https://github.com/RPi-Distro/firmware-nonfree/issues/24
- https://github.com/RPi-Distro/firmware-nonfree/commit/bda9207acee945633464e89614f3717b856579b5
#### Testing the changes
- I tested the changes in this PR: **YES**
```
# dmesg -H | grep brcmfmac
[ +0.105226] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ +0.001051] usbcore: registered new interface driver brcmfmac
[ +0.003262] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43436-sdio.raspberrypi,model-zero-2-w.bin failed with error -2
[ +0.030631] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ +0.005169] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ +0.025214] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) (f149b32@shgit) (r679549) FWID 01-f40f3270
[ +0.113385] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
```
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-07 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 23:42 [PR PATCH] rpi-firmware: add firmware for zero 2w classabbyamp
2022-09-07 23:27 ` [PR PATCH] [Merged]: " classabbyamp
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).