I compiled the Ubuntu Mate 16.04 kernel with custom RT patches on raspberry pi 3.

The kernel is 4.1.19-rt22-v7. Everything is working accept for the wifi drivers. They are missing from /lib/firmware.

Do I just copy the wifi modules to /lib/firmware and reboot?

  • 1
    "Do I just copy the wifi modules to /lib/firmware and reboot?" -> Should more often work than not, and in the case of the Pi 3's built-in wifi, yes, but: To split hairs, firmware is distinct from the actual driver, about which the kernel is pretty picky, and the presence of the firmware doesn't mean you have the driver (brcmfmac.ko) built.
    – goldilocks
    Feb 1 '17 at 1:37
  • @goldilocks I loaded brcmfmac.ko and placed the firmware and wifi is not working. Is something wrong with the modules? Feb 1 '17 at 2:00
  • What does ip link show?
    – goldilocks
    Feb 1 '17 at 2:02
  • 1
    Run dmesg right after modprobe brcmfmac. You should get a line saying which firmware was used or (if none could be used) what went wrong. Feb 1 '17 at 8:53
  • 1
    @DmitryGrigoryev I am dumb. I placed the firmware in the wrong place. It works now. Feb 1 '17 at 17:30

I used the following on 15.10, but AFAIK they should already be in 16.04

cd /lib/firmware/brcm/
sudo wget https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.bin
sudo wget https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt


  • 1
    Thanks for the answer. Could you correct the wget statement? It points at the wrong URL. Feb 1 '17 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.