rpi-firmware: update to 20231221, adopt.
add rpi5-specific firmware
This commit is contained in:
parent
f7bef1aa89
commit
9ef6da6c01
|
@ -1,45 +1,29 @@
|
|||
# Template file for 'rpi-firmware'
|
||||
pkgname=rpi-firmware
|
||||
version=20230925
|
||||
version=20231221
|
||||
revision=1
|
||||
_rpi_fw=6b37a457122714aa14b2c7df0926455173fd04f1
|
||||
_rpi_bt=9556b08ace2a1735127894642cc8ea6529c04c90
|
||||
_rpi_brcm=2c3a8701193ba23d0ef85cdf0d0c9e47baf03dfc
|
||||
_rpi_fw=0da53ed7928f20b5f4e9e36a3a63fb80b700d908
|
||||
_rpi_brcm=88aa085bfa1a4650e1ccd88896f8343c22a24055
|
||||
_rpi_bt=d9d4741caba7314d6500f588b1eaa5ab387a4ff5
|
||||
create_wrksrc=yes
|
||||
archs="armv6l* armv7l* aarch64*"
|
||||
archs="aarch64* armv6l* armv7l*"
|
||||
short_desc="Firmware files for the Raspberry Pi"
|
||||
maintainer="Piraty <mail@piraty.dev>"
|
||||
maintainer="classabbyamp <void@placeviolette.net>"
|
||||
license="BSD-3-Clause, custom:Cypress"
|
||||
homepage="https://github.com/raspberrypi/firmware"
|
||||
distfiles="
|
||||
https://github.com/raspberrypi/firmware/archive/${_rpi_fw}.tar.gz
|
||||
https://github.com/RPi-Distro/firmware-nonfree/archive/${_rpi_brcm}.tar.gz
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/broadcom/BCM43430A1.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/broadcom/BCM4345C0.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/broadcom/BCM43430B0.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/broadcom/BCM4345C5.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/synaptics/SYN43430A1.hcd>BCM43430A1.raspberrypi,model-zero-2-w.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/raw/${_rpi_bt}/synaptics/SYN43430B0.hcd>BCM43430B0.raspberrypi,model-zero-2-w.hcd
|
||||
https://github.com/RPi-Distro/bluez-firmware/archive/${_rpi_bt}.tar.gz
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/LICENCE.cypress>LICENCE.cypress"
|
||||
checksum="913986b1be22b8dc30a3e6a9b5a28316b1bbee7bec90040ddefff0d7512560f4
|
||||
9156d90116b921d2e7938b52fad84fbe1d96df622a66c5db09569c735832387a
|
||||
c096ad4a5c3f06ed7d69eba246bf89ada9acba64a5b6f51b1e9c12f99bb1e1a7
|
||||
51c45e77ddad91a19e96dc8fb75295b2087c279940df2634b23baf71b6dea42c
|
||||
338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25
|
||||
fb9f4ec2df5301bd35f416384e103c012c5983024c49aa72fbbaf90177512caa
|
||||
55071227c94d86369d04f9aff3bbfd4197a78a53dc350295123e1a8b048bba8f
|
||||
338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25
|
||||
checksum="c9288ecc2d314f12517b05378634d4fd73408245100e0cfae4c11ccaa84fcadd
|
||||
bb3d8fed40546e03e29d9e635745433f8083391e62d6ff151c895b892776964a
|
||||
ae076a08ece89624b0449ea2495b0dfe2ea1223f683f5b57f2b89966e6a093d6
|
||||
ae0db6cc4db33941148df0f67de53e76a77b1b5a46b3165edb7040aa2750015f"
|
||||
|
||||
skip_extraction="BCM43430A1.hcd BCM4345C0.hcd BCM43430B0.hcd BCM4345C5.hcd
|
||||
BCM43430A1.raspberrypi,model-zero-2-w.hcd BCM43430B0.raspberrypi,model-zero-2-w.hcd
|
||||
LICENCE.cypress"
|
||||
|
||||
provides="linux-firmware-broadcom-${version}_${revision}"
|
||||
replaces="linux-firmware-broadcom>=0"
|
||||
|
||||
skip_extraction="LICENCE.cypress"
|
||||
conf_files="/boot/cmdline.txt /boot/config.txt"
|
||||
nostrip=yes
|
||||
replaces="rpi-firmware-network>=0"
|
||||
|
||||
do_install() {
|
||||
# bootloader
|
||||
|
@ -72,7 +56,9 @@ do_install() {
|
|||
vcopy "firmware-nonfree-${_rpi_brcm}/debian/config/brcm80211/brcm/brcmfmac43456"* usr/lib/firmware/brcm
|
||||
vcopy "firmware-nonfree-${_rpi_brcm}/debian/config/brcm80211/brcm/brcmfmac43436"* usr/lib/firmware/brcm
|
||||
|
||||
for file in "${XBPS_SRCDISTDIR}/${pkgname}-${version}/"*.hcd; do
|
||||
vinstall "$file" 0644 usr/lib/firmware/brcm
|
||||
done
|
||||
vcopy "bluez-firmware-${_rpi_bt}/debian/firmware/broadcom/"*.hcd usr/lib/firmware/brcm
|
||||
|
||||
vmkdir usr/lib/firmware/synaptics
|
||||
vcopy "bluez-firmware-${_rpi_bt}/debian/firmware/synaptics/"*.hcd usr/lib/firmware/synaptics
|
||||
vlicense "bluez-firmware-${_rpi_bt}/debian/firmware/synaptics/LICENSE.synaptics"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue