]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
linux-firmware: add Raspberry Pi 5 CM NVRAM
authorDave Marquard <dave-atx@users.noreply.github.com>
Tue, 6 May 2025 02:33:59 +0000 (02:33 +0000)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 7 May 2025 06:33:02 +0000 (08:33 +0200)
The RPi 5 Compute Module expects the same NVRAM as the one from RPi 4
on a different file.

Signed-off-by: Dave Marquard <dave-atx@users.noreply.github.com>
Link: https://github.com/openwrt/openwrt/pull/18722
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 8774dd7761d3701affe8f3b06c84cf4b9bce1120)

package/firmware/linux-firmware/Makefile
package/firmware/linux-firmware/broadcom.mk

index 433ff03a21b032e4d8dbb4cf0d1980093f0405a4..a2b78967f7a6768efce17c89def60b986e8f0a4b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=linux-firmware
 PKG_VERSION:=20241110
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
index c4e5885f77c232b883c343fd349abb5582728f33..c37edf211c0b7a91c2a1d4ad33bb685785d45e41 100644 (file)
@@ -128,12 +128,18 @@ define Package/brcmfmac-nvram-43455-sdio/install
        $(LN) \
                brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
                $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt
+       $(LN) \
+               brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
+               $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-compute-module.txt
        $(LN) \
                brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
                $(1)/lib/firmware/brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ Module\ 4.txt
        $(LN) \
                brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
                $(1)/lib/firmware/brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ 5\ Model\ B.txt
+       $(LN) \
+               brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
+               $(1)/lib/firmware/brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ Module\ 5.txt
        $(INSTALL_DATA) \
                $(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.MINIX-NEO\ Z83-4.txt \
                $(1)/lib/firmware/brcm/