mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
alarm/firmware-raspberrypi to 20220328-1
Switch to a format similar to manjaro ARM[1]. This update also fixes BT on RPi400. 1. https://gitlab.manjaro.org/manjaro-arm/packages/community/firmware-raspberrypi/-/blob/master/PKGBUILD
This commit is contained in:
parent
38b6ad594f
commit
1de4cfb58c
1 changed files with 19 additions and 29 deletions
|
@ -1,17 +1,20 @@
|
||||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# Maintainer: graysky <graysky@archlnux.us>
|
# Maintainer: graysky <graysky@archlnux.us>
|
||||||
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# Contributor: Ray Sherwin <sliick517d@gmail.com>
|
||||||
|
|
||||||
pkgname=firmware-raspberrypi
|
pkgname=firmware-raspberrypi
|
||||||
_firmcommit=bda9207acee945633464e89614f3717b856579b5
|
_firmcommit=99d5c588e95ec9c9b86d7e88d3cf85b4f729d2bc
|
||||||
_bluezcommit=8445a53ce2c51a77472b908a0c8f6f8e1fa5c37a
|
_bluezcommit=e7fd166981ab4bb9a36c2d1500205a078a35714d
|
||||||
pkgver=20211222
|
pkgver=20220328
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Additional firmware for Raspberry Pi"
|
pkgdesc="Additional firmware for Raspberry Pi"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/RPi-Distro/firmware-nonfree/commits/master/brcm"
|
url="https://github.com/RPi-Distro/firmware-nonfree"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=(
|
source=("git+https://github.com/RPi-Distro/firmware-nonfree.git#commit=$_firmcommit"
|
||||||
|
# support for which device?
|
||||||
|
"BCM4345C5.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM4345C5.hcd"
|
||||||
# bluetooth for RPi3+
|
# bluetooth for RPi3+
|
||||||
"BCM43430A1.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM43430A1.hcd"
|
"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"
|
"BCM4345C0.hcd::https://github.com/RPi-Distro/bluez-firmware/raw/$_bluezcommit/broadcom/BCM4345C0.hcd"
|
||||||
|
@ -21,42 +24,29 @@ source=(
|
||||||
'brcmfmac43455-sdio.raspberrypi,4-model-b.txt'
|
'brcmfmac43455-sdio.raspberrypi,4-model-b.txt'
|
||||||
# fixes buggy linux-firmware for Zero-W
|
# fixes buggy linux-firmware for Zero-W
|
||||||
'https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.txt'
|
'https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.txt'
|
||||||
# Zero 2 W support
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43436-sdio.bin"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43436-sdio.clm_blob"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43436-sdio.txt"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43436s-sdio.bin"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43436s-sdio.txt"
|
|
||||||
# BCM43456 on RPi-400
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.bin"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.clm_blob"
|
|
||||||
"https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.txt"
|
|
||||||
'RPi-WM8804.conf')
|
'RPi-WM8804.conf')
|
||||||
|
|
||||||
sha256sums=('c096ad4a5c3f06ed7d69eba246bf89ada9acba64a5b6f51b1e9c12f99bb1e1a7'
|
sha256sums=('SKIP'
|
||||||
|
'dde785c4fa1351b52bda9c74554ae55bc74ecbe44935b9c3d83c7fe282cf17cf'
|
||||||
|
'c096ad4a5c3f06ed7d69eba246bf89ada9acba64a5b6f51b1e9c12f99bb1e1a7'
|
||||||
'c723c903655086c9f3a1de94a291f495a0f087f1ee6d3ee7bc4c558497aae7bc'
|
'c723c903655086c9f3a1de94a291f495a0f087f1ee6d3ee7bc4c558497aae7bc'
|
||||||
'338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25'
|
'338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25'
|
||||||
'edb6f4e4fb19e18940004124feb4ffe160d72fc607243a07a4480338a28b2748'
|
'edb6f4e4fb19e18940004124feb4ffe160d72fc607243a07a4480338a28b2748'
|
||||||
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
|
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
|
||||||
'6dc7b3b53a1b69637a9e10e675e73ef56ca689d5bd279b78bd2f2719970cb80b'
|
|
||||||
'fce7cbb62ffa6a5a65ca97b13f6fbf28d06c02d986c2072d65bf72164755fc34'
|
|
||||||
'67b0e325bf76d096ce06044d2a442b95626f274096ce5724daaa8bcdd179b599'
|
|
||||||
'bdc4fc14ca428130f474bb2f8bcb34c0684b0f9a0f31b05b4da39d64a2e1a333'
|
|
||||||
'0441797884bbbd40a86e4579ff0e1c84ce69bb41f7bcf902a5c867ebb79b6ac3'
|
|
||||||
'ddf83f2100885b166be52d21c8966db164fdd4e1d816aca2acc67ee9cc28d726'
|
|
||||||
'2dbd7d22fc9af0eb560ceab45b19646d211bc7b34a1dd00c6bfac5dd6ba25e8a'
|
|
||||||
'44e0bb322dc1f39a4b0a89f30ffdd28bc93f7d7aaf534d06d229fe56f6198194'
|
|
||||||
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
|
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/lib/firmware/updates/brcm" "$pkgdir/usr/share/alsa/cards/"
|
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 *.hcd "$pkgdir"/usr/lib/firmware/updates/brcm
|
||||||
install -m 0644 RPi-WM8804.conf "$pkgdir/usr/share/alsa/cards/"
|
install -m 0644 RPi-WM8804.conf "$pkgdir"/usr/share/alsa/cards/
|
||||||
|
install -m 0644 "$srcdir"/firmware-nonfree/debian/config/brcm80211/brcm/* "$pkgdir"/usr/lib/firmware/updates/brcm
|
||||||
|
rm "$pkgdir"/usr/lib/firmware/updates/brcm/{brcmfmac43430-sdio.bin,brcmfmac43430-sdio.txt}
|
||||||
|
|
||||||
# make some symbolic links
|
# make some symbolic links
|
||||||
cd "$pkgdir/usr/lib/firmware/updates/brcm"
|
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,400.txt
|
||||||
ln -s ./brcmfmac43456-sdio.txt ./brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
|
ln -s ./brcmfmac43456-sdio.txt ./brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
|
||||||
|
ln -s ./brcmfmac43456-sdio.txt ./brcmfmac43456-sdio.pine64-pinephone-pro.txt
|
||||||
ln -s ./brcmfmac43455-sdio.raspberrypi,4-model-b.txt ./brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
|
ln -s ./brcmfmac43455-sdio.raspberrypi,4-model-b.txt ./brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
|
||||||
ln -s ./BCM43430B0.hcd ./BCM.hcd
|
ln -s ./BCM43430B0.hcd ./BCM.hcd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue