From 3995159864f50e1288b9a43f7d513ad0d0d93918 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Fri, 26 Jun 2020 02:30:05 -0400 Subject: [PATCH] pi4: add a hack to make wifi work on the pi4 The broadcom wifi driver needs NVRAM data in order to work. Manually grab upstream's board-specific NVRAM file for now, until we can get it added to the firmware-brcm80211 package. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7759f17..7dd13fc 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ raspi_4.yaml: raspi_master.yaml sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\ sed "s/__OTHER_APT_ENABLE__/deb http:\/\/deb.debian.org\/debian\/ unstable main contrib non-free # raspi 4 needs the latest kernel (5.5 or higher) and raspi-firmware newer than buster's/" |\ + sed "s#hostname\"#hostname\"\n wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt -P \"\\\$${ROOT?}/lib/firmware/brcm\"#" |\ sed "s/__HOST__/rpi4/" > $@ %.sha256: %.img.xz