rpi-firmware: add firmware for zero 2w

This commit is contained in:
classabbyamp 2022-09-05 19:39:01 -04:00 committed by classabbyamp
parent a37d440547
commit 4b514f4de6
1 changed files with 11 additions and 1 deletions

View File

@ -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}