Ubiquiti EdgeRouter 4 OpenWrt Firmware

CPU
Cavium CN7130
RAM
1024 MB
Flash
8, eMMC MB

The Ubiquiti EdgeRouter 4 is supported by OpenWrt on the octeon/generic target. 2 firmware images are available from the official OpenWrt 25.12.5 stable release — download one below, or build a custom OpenWrt image for this device with your own package selection.

Specs

Specifications

CPUCavium CN7130
CPU cores4
CPU frequency1000 MHz
RAM1024 MB
Flash8, eMMC MB
1 Gbit Ethernet ports3
SwitchQualcomm Atheros QCA8337N

Hardware data from the OpenWrt Table of Hardware; verify against your unit before flashing.

Build matrix

Supported firmware versions

DistributionVersionTargetProfile
OpenWrt25.12.5octeon/genericubnt_edgerouter-4

Downloads

Download images

OpenWrt 25.12.5 · octeon/generic

ImageTypesha256
openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin

Minimal kernel image, useful for first install or recovery.

kernelbc85494ab796
openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-squashfs-sysupgrade.tar

Not sure? Pick this if upgrading from OpenWrt.

sysupgradec04a50f88de9

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

Packages & install

Default packages & installation

Default packages

Every image for the Ubiquiti EdgeRouter 4 ships these packages by default. The customize option below lets you add or remove packages before the image is assembled.

Device packages (7)

kmod-gpio-button-hotplug kmod-leds-gpio kmod-of-mdio kmod-sfp kmod-usb3 kmod-usb-dwc3 kmod-usb-storage-uas

Target default packages (27)

apk-mbedtls base-files ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-nft-offload kmod-usb-dwc3-octeon libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd-ujail uci uclient-fetch urandom-seed urngd

Installation notes

  • Already running OpenWrt or ImmortalWrt: flash the sysupgrade image from LuCI (System → Backup / Flash Firmware) or with the sysupgrade command.
  • The kernel / initramfs image boots from RAM without writing to flash — useful for a first install or for recovering from a failed flash.
  • Verify your download against the published checksum before flashing:
    $ sha256sum openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin
    bc85494ab7963b1018cb52060873cdd301f4b7c9fe0dd4675048a4ca0974e6d9  openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin

Build custom firmware

Need more than the default image for the Ubiquiti EdgeRouter 4? 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