driver1998 got a reaction from
drice in Fix Wi-Fi on mainline (dev) kernel on NanoPi M4
I uses my NanoPi M4 as a cheap ARM64 kvm host, and I need a newer kernel since the legacy one is kind of broken in terms of KVM.
But Wi-Fi is not working in dev kernel for quite some time, I found a temporary fix for that:
# cd /lib/firmware/brcm
# mv brcmfmac4356-sdio.bin brcmfmac4356-sdio-orig.bin
# ln -s ../rkwifi/fw_bcm4356a2_ag.bin brcmfmac4356-sdio.bin
# ln -s ../rkwifi/nvram_ap6356s.txt brcmfmac4356-sdio.friendlyelec,nanopi-m4.txt
Then reboot, Wi-Fi will be back.