Raspberry Pi 4B/400/CM4 (64bit) OpenWrt Firmware

The Raspberry Pi 4B/400/CM4 (64bit) is supported by OpenWrt/ImmortalWrt on the bcm27xx/bcm2711 target. 8 firmware images are available from the official OpenWrt 25.12.5 and ImmortalWrt 25.12.1 stable releases — download one below, or build a custom OpenWrt image for this device with your own package selection.

Build matrix

Supported firmware versions

DistributionVersionTargetProfile
OpenWrt25.12.5bcm27xx/bcm2711rpi-4
ImmortalWrt25.12.1bcm27xx/bcm2711rpi-4

Downloads

Download images

OpenWrt 25.12.5 · bcm27xx/bcm2711

ImageTypesha256
openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz

For first-time flash from stock firmware.

factoryf28268eadef7
openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img.gz

Not sure? Pick this if upgrading from OpenWrt.

sysupgradebe348ce9132c
openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img.gz

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade4f66024d1cac
openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz

For first-time flash from stock firmware.

factory57008946a7f0

ImmortalWrt 25.12.1 · bcm27xx/bcm2711

ImageTypesha256
immortalwrt-25.12.1-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img.gz

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade0abca5bb5c42
immortalwrt-25.12.1-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz

For first-time flash from stock firmware.

factory74fdaa0cdb31
immortalwrt-25.12.1-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img.gz

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade1370a807c8ae
immortalwrt-25.12.1-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz

For first-time flash from stock firmware.

factorya79c135fa47a

Downloads are served by the official OpenWrt/ImmortalWrt mirrors — unchanged upstream stable builds.

Packages & install

Default packages & installation

Default packages

Every image for the Raspberry Pi 4B/400/CM4 (64bit) ships these packages by default. The customize option below lets you add or remove packages before the image is assembled.

OpenWrt 25.12.5 · bcm27xx/bcm2711

Device packages (11)

cypress-firmware-43455-sdio brcmfmac-nvram-43455-sdio kmod-brcmfmac wpad-basic-mbedtls kmod-i2c-bcm2835 kmod-spi-bcm2835 kmod-spi-bcm2835-aux kmod-i2c-brcmstb kmod-usb-net-lan78xx kmod-usb-net-rtl8152 kmod-r8169

Target default packages (34)

apk-mbedtls base-files bcm27xx-gpu-fw bcm27xx-utils ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-fs-vfat kmod-nft-offload kmod-nls-cp437 kmod-nls-iso8859-1 kmod-sound-arm-bcm2835 kmod-sound-core kmod-usb-hid libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only partx-utils ppp ppp-mod-pppoe procd-ujail uci uclient-fetch urandom-seed

ImmortalWrt 25.12.1 · bcm27xx/bcm2711

Device packages (11)

cypress-firmware-43455-sdio brcmfmac-nvram-43455-sdio kmod-brcmfmac wpad-openssl kmod-i2c-bcm2835 kmod-spi-bcm2835 kmod-spi-bcm2835-aux kmod-i2c-brcmstb kmod-usb-net-lan78xx kmod-usb-net-rtl8152 kmod-r8169

Target default packages (40)

apk-openssl autocore automount base-files bcm27xx-gpu-fw bcm27xx-utils block-mount ca-bundle default-settings-chn dnsmasq-full dropbear firewall4 fstools kmod-fs-vfat kmod-nf-nathelper kmod-nft-offload kmod-nls-cp437 kmod-nls-iso8859-1 kmod-sound-arm-bcm2835 kmod-sound-core kmod-usb-hid libc libgcc libustream-openssl logd luci luci-app-cpufreq mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only partx-utils ppp ppp-mod-pppoe procd-ujail uci uclient-fetch urandom-seed

Installation notes

  • First install from stock firmware: flash the factoryimage through the vendor firmware's upgrade page or recovery mode.
  • Already running OpenWrt or ImmortalWrt: flash the sysupgrade image from LuCI (System → Backup / Flash Firmware) or with the sysupgrade command.
  • Verify your download against the published checksum before flashing:
    $ sha256sum openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz
    f28268eadef76ba648a462782714a348f876e338cd728a71c3e6c53271ef0ecc  openwrt-25.12.5-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz

Build custom firmware

Need more than the default image for the Raspberry Pi 4B/400/CM4 (64bit)? Pick your packages — LuCI apps, themes, VPN clients — set the basics, and get a ready-to-flash OpenWrt image assembled from official packages in minutes.

Customize firmware for this device

Related

Related devices

More Raspberry Pi devices

Upstream

Upstream & source

Images are assembled from packages compiled and published by the upstream OpenWrt and ImmortalWrt projects. The complete corresponding source code is available from those projects under the GPL.