fix wifi on Raspberry Pi Zero 2W

This commit is contained in:
Peter Robinson 2022-10-16 13:55:04 +01:00
parent 4d8c10b983
commit 13b6de9613
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From c52ba8f88ddd5c88db2597437a9dd18bcfcc8527 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
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 <pbrobinson@gmail.com>
---
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

View File

@ -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 <pbrobinson@fedoraproject.org> - 20221012-142
- Add link for one variant of Raspberry Pi Zero 2W WiFi module
* Thu Oct 13 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20221012-141
- Update to upstream 20221012 release
- rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A