• 0.2.1 7fceedc237

    brian released this 2026-06-24 12:20:35 +00:00 | 38 commits to main since this release

    Highlights

    First packaged release of the GlassWRT agent. Tested on TP-Link ER605v2 (mipsel_24kc) and confirmed working — agent appears in the controller UI with model, firmware version, and serial number populated.

    Changes since v0.2.0

    • MIPS compatibility: replaced sync/atomic.AddUint64 with sync.Mutex to fix unaligned 64-bit atomic panic on MIPS32r2 cores (MediaTek MT7621 / RTL8380)
    • CLI probe fallback: added os/exec-based ubus call fallback for platforms where the ubus daemon uses a binary framing protocol incompatible with the JSON-RPC socket client
    • probeHost rewrite: calls ubus.CLICall directly for system board and system info, bypassing the socket-based FetchBoardInfo/FetchSystemInfo — fixes model/firmware detection on ER605v2 and similar
    • Packaging fixes:
    • Removed stale /etc/config/firewall/glasswrt.conf from package (conflicted with UCI config file at same path)
    • Fixed conffiles to only list /etc/glasswrt/agent.yaml
    • Fixed build_apks.sh PKGINFO version template (was hardcoded to 0.2.0-r1)
    • Switch to ar-format .ipk for proper OpenWRT opkg compatibility
    • All 7 architectures — .ipk and .apk packages for all supported targets

    ##Architecture matrix

    Package arch GOARCH Devices
    x86_64 amd64 x86 routers, VMs
    mips_24kc mips (BE) MediaTek MT7620/MT7628
    mipsel_24kc mipsle (LE) MediaTek MT7621 (ER605v2)
    aarch64_cortex-a53 arm64 Raspberry Pi, Rockchip
    aarch64_cortex-a72 arm64 Raspberry Pi 4/5, high-end
    aarch64_generic arm64 Generic ARM64
    arm_cortex-a7 arm/v7 Qualcomm IPQ40xx

    Installation

    opkg (OpenWRT 24.10):
    opkg install glassagent_0.2.1-1_<arch>.ipk

    apk (OpenWRT 25.12+):
    echo "https://controller.lan:8080/repo/glasswrt" >> /etc/apk/repositories
    apk update && apk add glassagent

    Downloads