mirror of
https://gitlab.com/alemaire/image-specs.git
synced 2025-01-10 23:03:29 +00:00
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.
This commit is contained in:
parent
6aed835e6c
commit
3995159864
1
Makefile
1
Makefile
@ -43,6 +43,7 @@ raspi_4.yaml: raspi_master.yaml
|
|||||||
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
||||||
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\
|
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/__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/" > $@
|
sed "s/__HOST__/rpi4/" > $@
|
||||||
|
|
||||||
%.sha256: %.img.xz
|
%.sha256: %.img.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user