I am using OpenWrt 21.02.0 and able to build the openwrt firmware successfully. Is it allows to build the OTA (stands for "over the air") on 21.02 or on other versions for IPQ40xx in Openwrt to update firmware remotely using OTA server? I want to add OTA functionality in Openwrt so please tell the process for adding OTA functionality in Openwrt firmware.
So I thought, let's try here if someone already done or experiences the same issue.
Can you clarify what you think "OTA" should look like, say, with respect to interface and behavior?
I'm having a hard time understanding your intent, "OTA" to me means updating a device's firmware without having to connect via UART or some other OOB channel. I'd say that all of basic sysupgrade, LuCI Attended Sysupgrade and auc do exactly that, so almost all upgrades are already "OTA"...
yes i want to upgrade my device's firmware without UART (remotely) using GUI. so to do this i want to connect my device with my own OTA sever where my firmware binaries are present.
my question is that instead of LuCI Attended Sysupgrade can we implement the same with my own OTA server ??
If you already have the binaries built on local machine that is accessible when you're runnin LuCI, then the standard upgrade should work just fine. I assume you have all the packages you need in your binary and you just want to flash it and keep configuration? That's just System -> Backup/Flash Firmware...
If you're looking to do something fancier, like LuCI Attended Sysupgrade does, you can either modify that package github: LuCI ASU or run a local ASU server github: ASU server configured to point to your local builds (and then set up LuCI ASU to point to your local server).