Xs Evolution Automatic Firmware Updating Direct
# Simulate old version echo "1.0.0" > /etc/xs_version /usr/local/bin/xs_auto_update.sh Verify new version after reboot cat /etc/xs_version # should show 2.1.0 11. Vendor-Specific Notes (Common XS Evolution Platforms) | Vendor | Update Tool | Auto-update Method | |--------|-------------|--------------------| | Falcom | fwnasup | FTP + cron | | Westermo | weupdate | weupdate -auto config | | Advantech | advfwup | Edge365 cloud agent | | Generic OpenWrt | sysupgrade | sysupgrade -n -v http://... | | RAUC (common) | rauc | rauc install http://... |
(on your build server):
Enable cron if not already:
#!/bin/sh # XS Evolution Automatic Firmware Updater MANIFEST_URL="https://updates.yourdomain.com/xs-evolution/prod/manifest.json" CURRENT_VER=$(cat /etc/xs_version 2>/dev/null || echo "0.0.0") LOG_FILE="/var/log/xs_updater.log" WORK_DIR="/tmp/fw_update" SIGN_PUBKEY="/etc/update_pubkey.pem" XS Evolution Automatic Firmware updating