Build OpenWRT and flash/upgrade devices
bryan fd3cef6915 Try re-enabling multicore build | 5 months ago | |
---|---|---|
.vscode | 2 years ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
openwrtbuilder | 5 months ago | |
openwrtbuilder.code-workspace | 2 years ago | |
profiles | 1 year ago |
Sanely build and deploy OpenWRT images using the Image Builder or from source code
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
--source
Build image from source, not from Image Builder
Allows make config options to be passed
--ssh-upgrade HOST
Example: root@192.168.1.1
--ssh-backup SSH_PATH
Enabled by default for --ssh-upgrade
--flash,-f DEVICE
Example: /dev/sdX
--reset
Cleanup all source and output files
Can be combined with -p to reset a specific profile
--debug,-d
--help,-h
See ./profiles
for example device profile definitions.
./openwrtbuilder -p r4s -r snapshot --debug
./openwrtbuilder -p ax6000 -r 22.03.3 --source --debug
./openwrtbuilder -p rpi4 -r 22.03.3 --flash /dev/sdX
./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@192.168.1.1
Did you find openwrtbuilder
useful? Buy me a coffee!