Go to file
Mykhailo Polnyi 0d1381a89b profiles: prpl-core: feed-prplos: provide support for Firmware Upgrade via tr-181
- feed_prplos: update tr181-deviceinfo version
- feed_prplos: update imagegenerator version
- feed_prplos: add mod-fwi-swupdate package
- feed_prplos: include mod-fwi-swupdate module into secure_boot_emmc.yml
- mxl_x86_osp_tb341_v2.yml: define config options for mod-fwi-swupdate
- qca_ipq95xx.yml: define config options for mod-fwi-swupdate

Integrates:
tr181-deviceinfo:
- d16ecbb: ("documentation: include deviceinfo_dm_mngr to doxygen", 2026-06-30)
- 26d52fc: ("tr181-deviceinfo: FirmwareImage: add "Device." prefix for BFI and AFI", 2026-06-25)
- 4656a48: ("acl: allow admin Download() on the inactive FirmwareImage bank", 2026-06-16)
- a25e1ce: ("docs: update README with FirmwareImage Download/Activate RPC lifecycle", 2026-06-16)
- c356e09: ("unit test: expand firmwareimage test coverage and introduce stateful mocks", 2026-06-03)
- af7284d: ("unit tests: implement test for firmwareimage download/activate", 2026-03-27)
- 4bcb17e: ("deviceinfo-manager: renamed FirmwareImage aliases to primary and secondary", 2026-06-02)
- 86417fc: ("deviceinfo-manager: added validation to ensure target firmware is Available before activation", 2026-05-15)
- fb7037b: ("deviceinfo-manager: updated public key path for firmware upgrades", 2026-05-15)
- b711541: ("deviceinfo-manager: handle manual BootFirmwareImage changes and trigger activation", 2026-05-14)
- 43e8711: ("deviceinfo-manager: encapsulated RPC state management into dedicated helpers", 2026-04-30)
- 712ca09: ("deviceinfo-manager: refactored and added validation to Download() RPC flow", 2026-04-30)
- 36ef0d2: ("tr181-deviceinfo: remove odl configuration in the /etc/config directory after the Firmware Update", 2026-01-19)
- 9d5720c: ("tr181-deviceinfo: implemented logic to trigger PCM Backup on Firmware Update", 2026-01-19)
- 0394fa4: ("odl: FirmwareImage: forbid setting Available=0 for Active images", 2026-02-12)
- a7cf625: ("odl: FirmwareImage: update Available parameter on Status changes", 2026-02-10)
- 4024df7: ("odl: FirmwareImage: set Status and Available parameters on startup", 2026-02-10)
- 5be227f: ("deviceinfo-manager: added URL validation for Download RPC", 2026-02-13)
- 783adf8: ("deviceinfo-manager: implemented event-based resolution for deferred Download RPC", 2026-02-13)

tr-069-manager:
- 20f65d3: ("unit tests: implemented and refactored exstisting tests for asynchronous download and schedule download", 2026-04-16)
- c23222b: ("tr069-manager: fixed dynamic resolution of BootFirmwareImage status", 2026-05-20)
- 25b0a5a: ("tr069-manager: improve reliability and error reporting for scheduled firmware downloads", 2026-03-27)
- 1358290: ("tr069-manager: fix: resolved missed TransferComplete events and added download error handling via async callbacks", 2026-03-10)
- 37f3252: ("tr069-manager: extended error reporting for ACS", 2026-01-23)

Imagegenerator:
- 50f6a00: ("docs: update README with upgrade scenario usage description", 2026-06-16)
- 68a28d5: ("swugenerator: introduce flash-only upgrade scenario", 2026-06-08)

tr181-rest-api: route /upload to the amx-fcgi socket

mod-fwi-swupdate:
- 4a3e142: ("ci: baf: update autogenerated files", 2026-06-30)
- d4c4031: ("doc: provide doxygen generation", 2026-06-26)
- 8aff1e0: ("ci: enable support for Cobertura XML report generation", 2026-04-27)
- eebee93: ("ci: introduce the baf.yml file and ci template", 2026-03-18)
- ddfb938: ("deviceinfo: expect ActiveFirmwareImage to use full path", 2026-06-25)
- b3d992d: ("docs: update README", 2026-06-16)
- d525034: ("mod-fwi-swupdate: remove unused scripts", 2026-06-02)
- c4b21bc: ("unit tests: rework test based on new design", 2026-05-20)
- 5b8ed7e: ("mod-fwi-swupdate: rework firmware upgrade logic", 2026-05-13)
- c114211: ("firmware_partition: introduce partition swap logic", 2026-05-13)
- f1ff2c4: ("version_firmware: include fw status to "info" function output", 2026-02-10)
- 726807a: ("mod-fwi-swupdate: separated Firmware Flashing and Activation", 2026-01-20)

firmware upgrade: Added sysupgrade wrapper script over Device.DeviceInfo.FirmwareImage.Download()

prpl-webui:
- fc579ad: ("firmware-upload: fix WebUI firmware upgrade", 2026-06-16)

tr181-deviceinfo:
- a0e3f18: ("documentation: add note on NTP sync during Activate execution", 2026-07-03)
- a35d2f4: ("trigger_restore: replace odl file removal with plugin config folder deletion", 2026-07-03)

References: PCF-2340, PCF-2349, PCF-2343, PCF-2368, PCF-2624, PCF-2625
Tracked-by: FEAT-356, FEAT-357, FEAT-358
Signed-off-by: Mykhailo Polnyi <mykhailo.polnyi@globallogic.com>
signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-07-06 14:03:46 +01:00
.devcontainer/ci-env
.github CI: labeler: Add stm32 target 2024-11-28 18:49:21 +00:00
.gitlab ci: coverity: add lzop and libssl-dev to coverity job dependencies 2026-07-02 06:57:27 +00:00
.testbed ci: testbed: labgrid: bump OSPv2 login_timeout for lcm_data reformat 2026-07-02 07:30:07 +02:00
.vscode meta: VS Code: add "Git: Always Sign Off" setting 2024-10-03 17:18:51 +02:00
config image: add the implementation to support the secure initramfs 2026-06-22 18:24:25 +02:00
include image: add defines for imagegenerator 2026-06-23 10:56:32 +02:00
LICENSES
package airoha: an7581: enable USB support 2026-07-01 15:05:53 +01:00
profiles profiles: prpl-core: feed-prplos: provide support for Firmware Upgrade via tr-181 2026-07-06 14:03:46 +01:00
scripts scripts: gen-secure-initramfs: convert absolute symlinks into relative ones 2026-06-23 10:04:24 +02:00
target kernel: move kernel-6.6 file to linux/generic directory 2025-07-31 15:27:59 +00:00
toolchain toolchain: glibc: Update glibc 2.38 to recent HEAD 2025-07-27 19:47:26 +02:00
tools tools: checksec.sh: fix build breakage caused by wrong PKG_MIRROR_HASH 2025-07-31 15:30:00 +00:00
.gitattributes
.gitignore ci: cram: add DHCPv4 Force option cram tests 2026-06-02 17:59:31 +01:00
.gitlab-ci.yml profiles: add Airoha/Nokia profile 2026-07-01 15:11:24 +01:00
BSDmakefile
Config.in
COPYING
feeds.conf.default feeds.conf.default: pin to latest openwrt-24.10 branch states 2025-07-31 15:29:59 +00:00
Makefile build,base-files: propagate prplOS version into build artifacts 2025-07-31 15:18:10 +00:00
README.md README: replace "MacOSX" with "macOS" 2024-04-01 18:46:30 +02:00
rules.mk build: add comments to makefiles 2024-11-28 18:47:03 +00:00

OpenWrt logo

OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.

Sunshine!

Download

Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.

If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.

An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:

Development

To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.

Requirements

You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.

binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which

Quickstart

  1. Run ./scripts/feeds update -a to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default

  2. Run ./scripts/feeds install -a to install symlinks for all obtained packages into package/feeds/

  3. Run make menuconfig to select your preferred configuration for the toolchain, target system & firmware packages.

  4. Run make to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.

The main repository uses multiple sub-repositories to manage packages of different categories. All packages are installed via the OpenWrt package manager called opkg. If you're looking to develop the web interface or port packages to OpenWrt, please find the fitting repository below.

  • LuCI Web Interface: Modern and modular interface to control the device via a web browser.

  • OpenWrt Packages: Community repository of ported packages.

  • OpenWrt Routing: Packages specifically focused on (mesh) routing.

  • OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).

Support Information

For a list of supported devices see the OpenWrt Hardware Database

Documentation

Support Community

  • Forum: For usage, projects, discussions and hardware advise.
  • Support Chat: Channel #openwrt on oftc.net.

Developer Community

License

OpenWrt is licensed under GPL-2.0