Build OpenWRT and flash/upgrade devices

bryan 847fd59e7c Fix bin dirs 4 days ago
.vscode bd8a102b4d Refactor 11 months ago
.gitignore a3323c6d53 Update env 1 year ago 0fe80c0a1c Add examples to --help 1 week ago
openwrtbuilder 847fd59e7c Fix bin dirs 4 days ago
openwrtbuilder.code-workspace 57f48e89e0 Update workspace settings 1 year ago
profiles 0b05defeaf Fix sha256 check 4 days ago


Sanely build and deploy OpenWRT images using the Image Builder (or git source)


openwrtbuilder [--option [VALUE]]... -p PROFILE [-p PROFILE]...


--profile,-p PROFILE
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3")
--buildroot,-b PATH
    Default: location of openwrtbuilder script
    Build image from source, not from Image Builder
    Allows make config options to be passed
--ssh-upgrade HOST
    Example: root@
--ssh-backup SSH_PATH
    Enabled by default for --ssh-upgrade
--flash,-f DEVICE
    Example: /dev/sdX
    Cleanup all source and output files
    Can be combined with -p to reset a specific profile


See ./profiles for example device profile definitions.


  • ./openwrtbuilder -p r4s -r snapshot --debug
  • ./openwrtbuilder -p ax6000_stock -r 23.03.3 --source --debug
  • ./openwrtbuilder -p rpi4 -r 23.03.3 --flash /dev/sdX
  • ./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@

Additional Info

Did you find openwrtbuilder useful? Buy me a coffee!