rpi-firmware: update to 20180328 (#12984)

- Update RPI 3 firmware to 7.45.98.38
- Add RPI 3 B+ firmware (7.45.154)

Closes: #13013 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Peter Bui 2018-03-29 08:44:17 -04:00 committed by Jürgen Buchmüller
parent 299105652f
commit b94b03e941
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 14 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'rpi-firmware' # Template file for 'rpi-firmware'
_githash="75de5d7a5ccaeb2dc499c38bcd95593ca76a6269" _githash="ce8652e2c743f02f04cb29f23611cbf13765483b"
_gitshort="${_githash:0:7}" _gitshort="${_githash:0:7}"
pkgname=rpi-firmware pkgname=rpi-firmware
version=20180326 version=20180328
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="firmware-${_githash}" wrksrc="firmware-${_githash}"
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD" license="3-clause-BSD"
homepage="https://github.com/raspberrypi/firmware" homepage="https://github.com/raspberrypi/firmware"
distfiles="https://github.com/raspberrypi/firmware/archive/${_githash}.tar.gz" distfiles="https://github.com/raspberrypi/firmware/archive/${_githash}.tar.gz"
checksum=b9a0d9b385ca03c4ec9d41f4e9073ac8e35d5993cd6bfa2bfb0b4d2e7edb732f checksum=e6dfad437e64f2925361a8927061d05764436faf2c0b412a5ae4a48995d6e8e4
conf_files="/boot/cmdline.txt /boot/config.txt" conf_files="/boot/cmdline.txt /boot/config.txt"
@ -22,19 +22,25 @@ do_install() {
rm -f boot/*.dtb rm -f boot/*.dtb
rm -f boot/COPYING.linux rm -f boot/COPYING.linux
vlicense boot/LICENCE.broadcom
rm -f boot/LICENCE.broadcom
vmkdir boot vmkdir boot
cp -R boot/* ${DESTDIR}/boot cp -R boot/* ${DESTDIR}/boot
vmkdir usr/share/licenses/${pkgname}
mv ${DESTDIR}/boot/LICENCE.broadcom ${DESTDIR}/usr/share/licenses/${pkgname}
# Install configuration files. # Install configuration files.
vinstall ${FILESDIR}/cmdline.txt 644 boot vinstall ${FILESDIR}/cmdline.txt 644 boot
vinstall ${FILESDIR}/config.txt 644 boot vinstall ${FILESDIR}/config.txt 644 boot
# Firmware for rpi3 wifi chip # Firmware for rpi3 b and zero wifi chip
for f in bin txt; do for f in bin txt; do
$XBPS_FETCH_CMD https://archlinuxarm.org/builder/src/brcmfmac43430-sdio.${f} $XBPS_FETCH_CMD https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.${f}
vinstall brcmfmac43430-sdio.${f} 0644 usr/lib/firmware/brcm vinstall brcmfmac43430-sdio.${f} 0644 usr/lib/firmware/brcm
done done
# Firmware for rpi3 b+ wifi chip
for f in bin txt clm_blob; do
$XBPS_FETCH_CMD https://archlinuxarm.org/builder/src/bcm43455/7.45.154/brcmfmac43455-sdio.${f}
vinstall brcmfmac43455-sdio.${f} 0644 usr/lib/firmware/brcm
done
} }