alarm/firmware-raspberrypi to 20211117-1

Add pi zero 2 bluetooth support
This commit is contained in:
graysky 2021-11-17 06:28:54 -05:00
parent 4cd265058e
commit 846ccf6560

View file

@ -6,7 +6,7 @@ buildarch=28
pkgname=firmware-raspberrypi
_firmcommit=bda9207acee945633464e89614f3717b856579b5
_bluezcommit=8445a53ce2c51a77472b908a0c8f6f8e1fa5c37a
pkgver=20211104
pkgver=20211117
pkgrel=1
pkgdesc="Additional firmware for Raspberry Pi"
arch=('any')
@ -17,6 +17,8 @@ source=(
# bluetooth for RPi3+
"BCM43430A1.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM43430A1.hcd"
"BCM4345C0.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM4345C0.hcd"
# bluetooth for Zero 2 W
"BCM43430B0.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM43430B0.hcd"
# fixes buggy linux-firmware for RPi4B
'brcmfmac43455-sdio.raspberrypi,4-model-b.txt'
# fixes buggy linux-firmware for Zero-W
@ -35,6 +37,7 @@ source=(
sha256sums=('c096ad4a5c3f06ed7d69eba246bf89ada9acba64a5b6f51b1e9c12f99bb1e1a7'
'c723c903655086c9f3a1de94a291f495a0f087f1ee6d3ee7bc4c558497aae7bc'
'338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25'
'edb6f4e4fb19e18940004124feb4ffe160d72fc607243a07a4480338a28b2748'
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
'6dc7b3b53a1b69637a9e10e675e73ef56ca689d5bd279b78bd2f2719970cb80b'
@ -51,4 +54,10 @@ package() {
install -d "$pkgdir/usr/lib/firmware/updates/brcm" "$pkgdir/usr/share/alsa/cards/"
install -m 0644 -- *.bin *.txt *.clm_blob *.hcd "${pkgdir}/usr/lib/firmware/updates/brcm"
install -m 0644 RPi-WM8804.conf "$pkgdir/usr/share/alsa/cards/"
# make some symbolic links
cd "$pkgdir/usr/lib/firmware/updates/brcm"
ln -s ./brcmfmac43456-sdio.txt ./brcmfmac43456-sdio.raspberrypi,400.txt
ln -s ./brcmfmac43456-sdio.txt ./brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
ln -s ./BCM43430B0.hcd ./BCM.hcd
}