Hello!
I want to use my own ASU server with rockchip platform, but own hardware, which is not in official hardware list. I made server with info from here, added separate file server to host *.json files, but now have such issues with owut client:
root@OpenWrt:~# owut check
ERROR: Unsupported profile: tred_wifi_router_v2
Valid profiles are [ "armsom_sige7", "firefly_roc-rk3328-cc", "friendlyarm_nanopc-t4", "friendlyarm_nanopc-t6", "friendlyarm_nanopi-r2c", "friendlyarm_nanopi-r2c-plus", "friendlyarm_nanopi-r2s", "friendlyarm_nanopi-r3s", "friendlyarm_nanopi-r4s", "friendlyarm_nanopi-r4s-enterprise", "friendlyarm_nanopi-r5c", "friendlyarm_nanopi-r5s", "friendlyarm_nanopi-r6c", "friendlyarm_nanopi-r6s", "pine64_rock64", "pine64_rockpro64", "radxa_cm3-io", "radxa_e25", "radxa_rock-3a", "radxa_rock-3b", "radxa_rock-3c", "radxa_rock-5a", "radxa_rock-5b", "radxa_rock-pi-4a", "radxa_rock-pi-e", "radxa_rock-pi-e-v3", "radxa_rock-pi-s", "radxa_zero-3e", "radxa_zero-3w", "sinovoip_bpi-r2-pro", "xunlong_orangepi-r1-plus", "xunlong_orangepi-r1-plus-lts" ]
root@OpenWrt:~# owut list
ERROR: Unsupported profile: tred_wifi_router_v2
Valid profiles are [ "armsom_sige7", "firefly_roc-rk3328-cc", "friendlyarm_nanopc-t4", "friendlyarm_nanopc-t6", "friendlyarm_nanopi-r2c", "friendlyarm_nanopi-r2c-plus", "friendlyarm_nanopi-r2s", "friendlyarm_nanopi-r3s", "friendlyarm_nanopi-r4s", "friendlyarm_nanopi-r4s-enterprise", "friendlyarm_nanopi-r5c", "friendlyarm_nanopi-r5s", "friendlyarm_nanopi-r6c", "friendlyarm_nanopi-r6s", "pine64_rock64", "pine64_rockpro64", "radxa_cm3-io", "radxa_e25", "radxa_rock-3a", "radxa_rock-3b", "radxa_rock-3c", "radxa_rock-5a", "radxa_rock-5b", "radxa_rock-pi-4a", "radxa_rock-pi-e", "radxa_rock-pi-e-v3", "radxa_rock-pi-s", "radxa_zero-3e", "radxa_zero-3w", "sinovoip_bpi-r2-pro", "xunlong_orangepi-r1-plus", "xunlong_orangepi-r1-plus-lts" ]
/etc/os-release:
NAME="OpenWrt"
VERSION="24.10.2"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 24.10.2"
VERSION_ID="24.10.2"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r28739-d9340319c6"
OPENWRT_BOARD="rockchip/armv8"
OPENWRT_ARCH="aarch64_generic"
OPENWRT_TAINTS="no-all"
OPENWRT_DEVICE_MANUFACTURER="TRED"
OPENWRT_DEVICE_MANUFACTURER_URL=""
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="Beta"
OPENWRT_RELEASE="OpenWrt 24.10.2 1.0.3"
OPENWRT_BUILD_DATE="1750711236"
Here are my files, hosted on my own http server:
/json/v1/overview.json:
{
"latest": [
"24.10.2"
],
"branches": {
"24.10": {
"path": "releases/{version}",
"enabled": true,
"snapshot": false,
"path_packages": "DEPRECATED",
"branch_off_rev": 27990,
"package_changes": [
{
"source": "firewall",
"target": "firewall4",
"revision": 18611
},
{
"source": "kmod-nft-nat6",
"revision": 20282,
"mandatory": true
},
{
"source": "libustream-wolfssl",
"target": "libustream-mbedtls",
"revision": 21994
},
{
"source": "px5g-wolfssl",
"target": "px5g-mbedtls",
"revision": 21994
},
{
"source": "wpad-basic-wolfssl",
"target": "wpad-basic-mbedtls",
"revision": 21994
},
{
"source": "luci-app-diag-core",
"revision": 25984,
"mandatory": true
},
{
"source": "auc",
"target": "owut",
"revision": 26792
},
{
"source": "luci-app-opkg",
"target": "luci-app-package-manager",
"revision": 27897
}
],
"versions": [
"24.10.2",
"24.10.1",
"24.10.0",
"24.10.0-rc7",
"24.10.0-rc6",
"24.10.0-rc5",
"24.10.0-rc4",
"24.10.0-rc3",
"24.10.0-rc2",
"24.10.0-rc1",
"24.10-SNAPSHOT"
],
"name": "24.10",
"targets": {
"rockchip/armv8": "aarch64_generic"
},
"profiles": {
"radxa_rock-5b": "radxa_rock-5b",
"tred_wifi_router_v2": "radxa_rock-5b",
"tred,wifi_router_v2": "radxa_rock-5b",
"Generic": "radxa_rock-5b"
}
}
}
}
versions.json (I am not sure that my own semantic versioning is right):
{
"stable_version": "1.0.3",
"oldstable_version": "1.0.3",
"upcoming_version": "1.0.4",
"versions_list": ["1.0.2", "1.0.3", "1.0.4"]
}
profiles.json:
{
"arch_packages": "aarch64_generic",
"default_packages": [
"base-files",
"ca-bundle",
"dnsmasq",
"dropbear",
"e2fsprogs",
"firewall4",
"fstools",
"kmod-gpio-button-hotplug",
"kmod-nft-offload",
"libc",
"libgcc",
"libustream-mbedtls",
"logd",
"mkf2fs",
"mtd",
"netifd",
"nftables",
"odhcp6c",
"odhcpd-ipv6only",
"opkg",
"partx-utils",
"ppp",
"ppp-mod-pppoe",
"procd-ujail",
"uboot-envtools",
"uci",
"uclient-fetch",
"urandom-seed",
"urngd"
],
"linux_kernel": {
"release": "1",
"vermagic": "924d48c36ed0884ae5510f2fee716805",
"version": "6.6.93"
},
"metadata_version": 1,
"profiles": {
"radxa_rock-5b": {
"device_packages": [
"kmod-r8169",
"kmod-hwmon-pwmfan"
],
"image_prefix": "openwrt-24.10.2-1.0.3-rockchip-armv8-tred-router-v2",
"images": [
{
"filesystem": "squashfs",
"name": "openwrt-24.10.2-1.0.3-rockchip-armv8-tred-router-v2-squashfs-sysupgrade.img.gz",
"sha256": "754383f17d13eb9c51e2c58d58a3def6da4aa7b5618fe649cfa3b2bc566f7751",
"sha256_unsigned": "e33924601c17022a1bb1ffc4e2f02f90fbf3b67bd8f17de434024bf081870c5f",
"type": "sysupgrade"
}
],
"supported_devices": [
"tred,wifi_router_v2"
],
"titles": [
{
"model": "WI-FI router RK3588 v2",
"vendor": "TRED"
}
]
}
},
"source_date_epoch": 1750711236,
"target": "rockchip/armv8",
"version_code": "1.0.3",
"version_number": "24.10.2"
}
File stucture
ivan@ivan-legion:~/WORK/asu/mirror$ tree -L 6
.
├── json
│ └── v1
│ └── overview.json
└── releases
└── 24.10.2
└── targets
├── packages
│ ├── alsa-lib_1.2.11-r1_aarch64_generic.ipk
...
│ ├── *.ipk
└── rockchip
└── armv8
├── config.buildinfo
├── feeds.buildinfo
├── openwrt-24.10.2-1.0.3-rockchip-armv8-tred-router-v2.manifest
├── openwrt-24.10.2-1.0.3-rockchip-armv8-tred-router-v2-rootfs.tar.gz
├── openwrt-24.10.2-1.0.3-rockchip-armv8-tred-router-v2-squashfs-sysupgrade.img.gz
├── openwrt-imagebuilder-24.10.2-rockchip-armv8.Linux-x86_64.tar.zst
├── profiles.json
├── sha256sums
└── version.buildinfo
9 directories, 436 files
So, the main 2 Questions here are:
- How can I make my own build server without dependency of "official" devices list on client (router device).
- How can I make my own semantic versioning, is it depends also on owut utility code, which checks "official" list?