Before downloading firmware: model, revision, target/profile and recovery
Outcome
Section titled “Outcome”- Know the exact model and hardware revision, not a “looks the same” model.
- Know the OpenWrt target/subtarget/profile and which image to download.
- Choose
sysupgrade,factoryor an x86 combined image correctly. - Verify the file source and checksum.
- Know the recovery path before flashing, and which path to take if it fails.
This is a pre-download checklist, not a flashing guide. Bare-metal flashing, bootloader recovery and cross-major migrations are R2: use independent review and device documentation. Do not treat this page as a universal flashing tutorial.
Start with the label
Section titled “Start with the label”Check the bottom label, box and manual; record:
- vendor + full model (not just the series);
- hardware revision (v1, v2, V2.1, etc.);
- region/operator variant;
- FCC ID and serial prefix if present (do not publish them);
- recovery method (reset button, TFTP, serial, vendor tool).
One model can have multiple revisions with different flash, Wi-Fi chips or partition layouts. The same model name does not mean one universal image.
ExpectedModel, revision, region and label details are written down.
ubus call system boardcat /etc/openwrt_releasecat /tmp/sysinfo/model 2>/dev/nullcat /tmp/sysinfo/board_name 2>/dev/nullKey fields: release.distribution, release.version, release.target, model, board_name. model is not the hardware revision; do not choose an image from that line alone.
Expecteddistribution/target/model/board_name match the device page.
cat /sys/class/dmi/id/sys_vendorcat /sys/class/dmi/id/product_namecat /sys/class/dmi/id/board_namecat /sys/class/dmi/id/board_versioncat /sys/class/dmi/id/bios_versionAlso confirm BIOS/Legacy vs UEFI, disk interface and whether the image is combined/ext4. Those decide whether it boots; “x86/64” alone is not enough.
ExpectedYou know the board/device model and are not mixing PC and VM images.
Check the firmware selector
Section titled “Check the firmware selector”Open the OpenWrt Firmware Selector:
- Select the correct release (e.g. 25.12.6).
- Search the full model and open its device page.
- Verify target/subtarget, profile and hardware revision.
- Read the device page’s “Installation” section for the first-install and upgrade image types.
- Download and verify SHA-256; do not just rename a file.
If the selector and device page disagree, stop and verify the model/revision; do not pick the closest match.
ExpectedYou find the exact device page and image.
Image types
Section titled “Image types”| Image/scenario | Use | Main risk |
|---|---|---|
sysupgrade |
Existing OpenWrt, upgrade with/without config | cross-version and package/kernel module incompatibility |
factory / vendor transition |
First install from vendor firmware | partition/flash method mismatch can brick |
| x86 combined/ext4 | Whole-disk x86 image/VM | BIOS/UEFI, disk layout, write method |
| vendor firmware | Vendor web UI/recovery tool | do not mix with OpenWrt images |
| “universal/no-disassembly” packages | Unknown source | avoid; target/profile/checksum cannot be verified |
A filename containing sysupgrade is not proof; target, profile, revision and checksum must all match.
Download and verify
Section titled “Download and verify”Prefer:
- OpenWrt
downloads.openwrt.orgor the Firmware Selector; - the device vendor’s official download page;
- a project’s official release page (third-party firmware needs extra maintainer/signature checks).
Do not use cloud-drive mirrors, forum attachments or “pre-modified” packages from chat. Repacks may carry scripts, old kernels or mismatched drivers.
ExpectedThe file source is traceable and has a checksum.
Linux:
sha256sum openwrt-*.img.gzmacOS:
shasum -a 256 openwrt-*.img.gzWindows:
certutil -hashfile openwrt-*.img.gz SHA256Compare with the official sha256sums/release page. If it differs, download again; do not “flash it and see”.
ExpectedThe checksum matches the official release page.
Recovery before flashing
Section titled “Recovery before flashing”Confirm at least:
- how to enter failsafe (button timing/serial/IP);
- whether TFTP/serial/vendor recovery is available;
- management LAN address, gateway and root password;
- config backup:
sysupgrade -bon existing OpenWrt, or vendor export; - installed packages/kernel modules to rebuild after upgrade;
- stable power; do not unplug during flashing.
No recovery path, no checksum, no backup: do not start.
ExpectedYou know how to enter failsafe/recovery if flashing fails.
Common mistakes
Section titled “Common mistakes”- Checking only the model, not the revision;
- using
sysupgradeasfactory, or the reverse; - renaming another target’s image and flashing it;
- continuing after a checksum mismatch;
- using unknown “universal/expanded” packages;
- losing power or pulling the cable during flashing;
- assuming success without checking DNS/firewall/packages after upgrade.
Failure branches
Section titled “Failure branches”Wrong model downloaded
Section titled “Wrong model downloaded”Delete it and download from the device page; do not “try it”. If already flashed, use the device recovery docs (failsafe/TFTP/serial); do not keep flashing different images.
Checksum mismatch
Section titled “Checksum mismatch”Download again; check for proxy/mirror truncation; switch to the official source. Do not disable verification.
Your revision is not listed
Section titled “Your revision is not listed”Check the vendor page/label or the OpenWrt forum/device page. Without explicit support, do not assume compatibility.
Vendor firmware is locked
Section titled “Vendor firmware is locked”Use the vendor process; do not bypass signatures/locks just to install OpenWrt. Confirm warranty/vendor-feature tradeoffs first.
E1 status and sources
Section titled “E1 status and sources”- This is E1: fields, image types and recovery are based on public documentation; no device download/flash was performed.
- Model/revision come from the label and vendor page; do not generalize x86 VM experience to routers.
- Recipe:
tests/recipes/firmware-download-check.md; flashing steps are out of scope.
Sources
Independent OpenWrt notes. Every page states the firmware, device, package manager and way back.
Icons: Solar by 480 Design, CC BY 4.0