2017-09-10 16:06:48 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2020-12-25 21:35:13 +00:00
|
|
|
# Maintainer: graysky <graysky@archlnux.us>
|
2017-09-10 16:06:48 +00:00
|
|
|
|
2018-02-08 00:29:33 +00:00
|
|
|
buildarch=28
|
2017-09-10 16:06:48 +00:00
|
|
|
|
|
|
|
pkgname=firmware-raspberrypi
|
2021-02-18 01:02:42 +00:00
|
|
|
_firmcommit=f713a6054746bc61ece1c8696dce91a7b7e22dd9
|
2021-02-20 19:08:17 +00:00
|
|
|
pkgver=20210220
|
2021-02-18 01:02:42 +00:00
|
|
|
pkgrel=1
|
2017-09-10 16:06:48 +00:00
|
|
|
pkgdesc="Additional firmware for Raspberry Pi"
|
2018-02-08 00:29:33 +00:00
|
|
|
arch=('any')
|
2020-12-24 14:32:03 +00:00
|
|
|
url="https://github.com/RPi-Distro/firmware-nonfree/commits/master/brcm"
|
2017-09-10 16:06:48 +00:00
|
|
|
license=('custom')
|
|
|
|
options=('!strip')
|
2021-02-18 11:27:36 +00:00
|
|
|
source=(
|
|
|
|
# bluetooth for RPi3+
|
2020-12-25 21:35:13 +00:00
|
|
|
'https://archlinuxarm.org/builder/src/bcm43430/BCM43430A1.hcd'
|
|
|
|
'https://archlinuxarm.org/builder/src/bcm43455/BCM4345C0.hcd'
|
2021-02-18 11:27:36 +00:00
|
|
|
# BCM43455 on RPi-3A+/3B+/4B/CM4
|
|
|
|
'brcmfmac43455-sdio.raspberrypi,4-model-b.txt'
|
2021-02-20 19:08:17 +00:00
|
|
|
# dropin to fix WiFi on Zero-W
|
|
|
|
'https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.txt'
|
2021-02-18 11:27:36 +00:00
|
|
|
# BCM43456 on RPi-400
|
2021-02-18 01:02:42 +00:00
|
|
|
"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"
|
2019-03-21 23:32:31 +00:00
|
|
|
'RPi-WM8804.conf')
|
2020-12-25 21:35:13 +00:00
|
|
|
|
2021-02-18 11:27:36 +00:00
|
|
|
sha256sums=('8dd70b9003d39cb6175b4f3cd509666dad66ad23d3be1a68385817fb814c8930'
|
2020-12-25 21:35:13 +00:00
|
|
|
'1788c58ecedd61b380e0dd120844ed61e5fbbea0a58e84e6293685eb3384fddc'
|
2021-02-18 11:27:36 +00:00
|
|
|
'edb6f4e4fb19e18940004124feb4ffe160d72fc607243a07a4480338a28b2748'
|
2021-02-20 19:08:17 +00:00
|
|
|
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
|
2020-12-25 21:35:13 +00:00
|
|
|
'ddf83f2100885b166be52d21c8966db164fdd4e1d816aca2acc67ee9cc28d726'
|
|
|
|
'2dbd7d22fc9af0eb560ceab45b19646d211bc7b34a1dd00c6bfac5dd6ba25e8a'
|
|
|
|
'44e0bb322dc1f39a4b0a89f30ffdd28bc93f7d7aaf534d06d229fe56f6198194'
|
2019-03-21 23:32:31 +00:00
|
|
|
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
|
2017-09-10 16:06:48 +00:00
|
|
|
|
|
|
|
package() {
|
2020-12-24 14:32:03 +00:00
|
|
|
install -d "$pkgdir/usr/lib/firmware/updates/brcm" "$pkgdir/usr/share/alsa/cards/"
|
2020-12-25 21:35:13 +00:00
|
|
|
install -m 0644 -- *.bin *.txt *.clm_blob *.hcd "${pkgdir}/usr/lib/firmware/updates/brcm"
|
2020-12-24 14:32:03 +00:00
|
|
|
install -m 0644 RPi-WM8804.conf "$pkgdir/usr/share/alsa/cards/"
|
2017-09-10 16:06:48 +00:00
|
|
|
}
|