From 846ccf65604735a53fff9291bf536f0a40c45993 Mon Sep 17 00:00:00 2001 From: graysky Date: Wed, 17 Nov 2021 06:28:54 -0500 Subject: [PATCH] alarm/firmware-raspberrypi to 20211117-1 Add pi zero 2 bluetooth support --- alarm/firmware-raspberrypi/PKGBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/alarm/firmware-raspberrypi/PKGBUILD b/alarm/firmware-raspberrypi/PKGBUILD index a7464ab4c..39141dbdb 100644 --- a/alarm/firmware-raspberrypi/PKGBUILD +++ b/alarm/firmware-raspberrypi/PKGBUILD @@ -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 }