Skip to content

Pi Zero 2W wont boot

Problem

The Raspberry Pi Zero 2W wont boot using the standard Rocky LInux Raspberry Pi image.

Solution

Using info gathered from Rocky_Linux_forum_post

Blacklist brcmfmac

  1. Mount root partition
  2. Create a file called "01-rpi-blacklist.conf" in /etc/modprobe.d:
        # echo 'blacklist brcmfmac' > /path/to/mount/etc/modprobe.d/01-rpi-blacklist.conf
    
  3. Get the brcm firmware and create symbolic links:
        # cd /path/to/mount/lib/firmware/brcm/
        # curl --remote-name-all https://github.com/RPi-Distro/firmware-nonfree/raw/refs/heads/buster/brcm/brcmfmac43436s-sdio.{bin,txt}
        # ln -s brcmfmac43436s-sdio.txt brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.txt
        # ln -s brcmfmac43430-sdio.raspberrypi,model-zero-w.txt brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt
    
  4. umount root partition
  5. Boot the sd card in the pi zero 2w. Then:
  6. Run /usr/bin/fix-wifi-rpi.sh This script extracts all firmware files. Feel free to look it over before running it.
  7. Delete the 01-rpi-blacklist.conf file from /etc/modprobe.ed
  8. Reboot
  9. Wifi should now be functional