forked from sig_altarch/RockyRpi
Re-adding the fix-wifi script. It may be necessary if linux-firmware gets updated, and the firmware txt file gets over-written again.
-Skip G.
This commit is contained in:
parent
8c0652f11c
commit
7821ece9b2
@ -103,6 +103,21 @@ It should fill your main rootfs partition to the end of the disk.
|
||||
|
||||
EOF
|
||||
|
||||
|
||||
# Next, script to fix the wifi firmware setting:
|
||||
cat >/home/rocky/fix-wifi-rpi4.sh << 'EOF'
|
||||
#!/bin/bash
|
||||
|
||||
# Simple hacky fix to correct wifi settings on the Rpi4 so it loads properly:
|
||||
|
||||
sed -i 's/boardflags3=0x48200100/boardflags3=0x44200100/g' /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
|
||||
|
||||
echo "Patched /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt . You can reboot and wifi should work, or do: rmmod brcmfmac; modprobe brcmfmac; "
|
||||
|
||||
EOF
|
||||
|
||||
chmod 755 /home/rocky/fix-wifi-rpi4.sh
|
||||
|
||||
chown -R rocky:rocky /home/rocky
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user