From 13b6de9613652f1dd20456bb9dbd61652f750f2d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Oct 16 2022 12:55:04 +0000 Subject: fix wifi on Raspberry Pi Zero 2W --- diff --git a/0001-brcm-add-symlink-for-Pi-Zero-2-W-NVRAM-file.patch b/0001-brcm-add-symlink-for-Pi-Zero-2-W-NVRAM-file.patch new file mode 100644 index 0000000..2f38b16 --- /dev/null +++ b/0001-brcm-add-symlink-for-Pi-Zero-2-W-NVRAM-file.patch @@ -0,0 +1,30 @@ +From c52ba8f88ddd5c88db2597437a9dd18bcfcc8527 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Sun, 16 Oct 2022 13:48:35 +0100 +Subject: [PATCH] brcm: add symlink for Pi Zero 2 W NVRAM file + +The Raspberry Pi Zero 2 W comes with two possible WiFi modules. +One of them is the same module as shipped in the original +Raspberry Pi 3B and Zero W so lets link them so the devices +with that module will work out of the box. + +Signed-off-by: Peter Robinson +--- + WHENCE | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/WHENCE b/WHENCE +index 816cf7c..0c6dd8e 100644 +--- a/WHENCE ++++ b/WHENCE +@@ -2857,6 +2857,7 @@ File: "brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt" + File: "brcm/brcmfmac43430-sdio.MUR1DX.txt" + File: "brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt" + Link: brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt -> brcmfmac43430-sdio.raspberrypi,3-model-b.txt ++Link: brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt -> brcmfmac43430-sdio.raspberrypi,3-model-b.txt + File: "brcm/brcmfmac43455-sdio.acepc-t8.txt" + File: "brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt" + Link: brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt +-- +2.37.3 + diff --git a/linux-firmware.spec b/linux-firmware.spec index 1a04442..aa3b556 100644 --- a/linux-firmware.spec +++ b/linux-firmware.spec @@ -1,5 +1,5 @@ %global debug_package %{nil} -%global firmware_release 141 +%global firmware_release 142 %global _firmwarepath /usr/lib/firmware %define _binaries_in_noarch_packages_terminate_build 0 @@ -14,6 +14,7 @@ BuildArch: noarch Source0: https://www.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.xz Patch1: 0001-Add-support-for-compressing-firmware-in-copy-firmwar.patch +Patch2: 0001-brcm-add-symlink-for-Pi-Zero-2-W-NVRAM-file.patch BuildRequires: make Requires: linux-firmware-whence @@ -528,6 +529,9 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files %{_firmwarepath}/netronome/* %changelog +* Sun Oct 16 2022 Peter Robinson - 20221012-142 +- Add link for one variant of Raspberry Pi Zero 2W WiFi module + * Thu Oct 13 2022 Peter Robinson - 20221012-141 - Update to upstream 20221012 release - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A