Update Pi2 and Pi3 kernels and install local firmware from our repo.

This commit is contained in:
parazyd 2018-05-04 14:06:23 +02:00
parent 9daf6afe18
commit f66b4cc0a6
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 2 additions and 16 deletions

View File

@ -38,7 +38,7 @@ extra_packages+=()
custmodules=(snd_bcm2835) custmodules=(snd_bcm2835)
gitkernel="https://github.com/raspberrypi/linux.git" gitkernel="https://github.com/raspberrypi/linux.git"
gitbranch="rpi-4.15.y" gitbranch="rpi-4.16.y"
rpifirmware="https://github.com/raspberrypi/firmware.git" rpifirmware="https://github.com/raspberrypi/firmware.git"
@ -58,13 +58,6 @@ postbuild() {
notice "executing $device_name postbuild" notice "executing $device_name postbuild"
copy-root-overlay copy-root-overlay
notice "downloading broadcom firmware for bt/wifi"
sudo mkdir -p $strapdir/lib/firmware/brcm
# https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/brcm
sudo wget -q -O "$strapdir/lib/firmware/brcm/brcmfmac43430-sdio.bin" \
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43430-sdio.bin
postbuild-clean postbuild-clean
} }

View File

@ -38,7 +38,7 @@ extra_packages+=()
custmodules=(snd_bcm2835) custmodules=(snd_bcm2835)
gitkernel="https://github.com/raspberrypi/linux" gitkernel="https://github.com/raspberrypi/linux"
gitbranch="rpi-4.14.y" gitbranch="rpi-4.16.y"
rpifirmware="https://github.com/raspberrypi/firmware.git" rpifirmware="https://github.com/raspberrypi/firmware.git"
@ -58,13 +58,6 @@ postbuild() {
notice "executing $device_name postbuild" notice "executing $device_name postbuild"
copy-root-overlay copy-root-overlay
notice "downloading broadcom firmware for bt/wifi"
sudo mkdir -p $strapdir/lib/firmware/brcm
# https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/brcm
sudo wget -q -O "$strapdir/lib/firmware/brcm/brcmfmac43430-sdio.bin" \
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43430-sdio.bin
postbuild-clean postbuild-clean
} }