rpi-firmware: add rpi4* wifi/bt firmware

This commit is contained in:
Andrew Benson 2021-11-11 09:00:34 -06:00
parent dc8c49aa0d
commit 9108bab4b8
1 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
pkgname=rpi-firmware
version=20201123
revision=4
revision=5
archs="armv6l* armv7l* aarch64*"
wrksrc="firmware-${_githash}"
provides="linux-firmware-broadcom-${version}_${revision}"
@ -57,4 +57,17 @@ do_install() {
# Firmware for rpi3 b+ bluetooth chip
$XBPS_FETCH_CMD https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C0.hcd
vinstall BCM4345C0.hcd 0644 usr/lib/firmware/brcm
# Firmware for rpi4/rpi400 wifi chip
for f in bin txt clm_blob; do
$XBPS_FETCH_CMD https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm/brcmfmac43456-sdio.${f}
vinstall brcmfmac43456-sdio.${f} 0644 usr/lib/firmware/brcm
done
# Firmware for rpi4/rpi400 bluetooth chip
$XBPS_FETCH_CMD https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C5.hcd
vinstall BCM4345C5.hcd 0644 usr/lib/firmware/brcm
$XBPS_FETCH_CMD https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM43430B0.hcd
vinstall BCM43430B0.hcd 0644 usr/lib/firmware/brcm
}