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
| CPU | Cavium CN7130 |
|---|---|
| CPU cores | 4 |
| CPU frequency | 1000 MHz |
| RAM | 1024 MB |
| Flash | 8, eMMC MB |
| 1 Gbit Ethernet ports | 3 |
| Switch | Qualcomm Atheros QCA8337N |
Hardware data from the OpenWrt Table of Hardware; verify against your unit before flashing.
Build matrix
Supported firmware versions
| Distribution | Version | Target | Profile |
|---|---|---|---|
| OpenWrt | 25.12.5 | octeon/generic | ubnt_edgerouter-4 |
Downloads
Download images
OpenWrt 25.12.5 · octeon/generic
| Image | Type | sha256 |
|---|---|---|
| openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin Minimal kernel image, useful for first install or recovery. | kernel | bc85494ab796… |
| openwrt-25.12.5-octeon-generic-ubnt_edgerouter-4-squashfs-sysupgrade.tar Not sure? Pick this if upgrading from OpenWrt. | sysupgrade | c04a50f88de9… |
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 deviceRelated
Related devices
More Ubiquiti devices
- Ubiquiti airCube AC OpenWrt firmware
- Ubiquiti airCube ISP OpenWrt firmware
- Ubiquiti AmpliFi Router HD OpenWrt firmware
- Ubiquiti Bullet AC OpenWrt firmware
- Ubiquiti Bullet M XW OpenWrt firmware
- Ubiquiti EdgeRouter OpenWrt firmware
- Ubiquiti EdgeRouter 6P OpenWrt firmware
- Ubiquiti EdgeRouter Lite OpenWrt firmware
More devices on octeon/generic
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.