summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/root/usr/share
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-04-27 23:08:22 +0000
committerStan Grishin <stangri@melmac.ca>2023-04-27 23:10:17 +0000
commit134975793191673bbe6ea8cfb0392eadec96aa9e (patch)
tree81fb9a66df948b2115e819a70acbfd0e42ec1c05 /applications/luci-app-advanced-reboot/root/usr/share
parent0944811fbcfa2471946c4fecdac277494000b1a4 (diff)
luci-app-advanced-reboot: add support for Linksys and Xiaomi devices and misc fixes
Fixes: * change maintainer's email address * add rpcd reload to uci-defaults script * add better messaging with link to README when device isn't detected as dual-firmware Add support for: * linksys-ea8100v2 * linksys-whw01v1 * xiaomi-ax3600 * xiaomi-ax9000 Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-advanced-reboot/root/usr/share')
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json1
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json14
5 files changed, 56 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json
index 03a18be684..b061c65865 100644
--- a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json
@@ -12,4 +12,3 @@
"bootEnv2Partition1Value": "run nandboot",
"bootEnv2Partition2Value": "run altnandboot"
}
-
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json
new file mode 100644
index 0000000000..d62843cc1b
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA8100v2",
+ "boardNames": [ "linksys,ea8100-v2" ],
+ "partition1MTD": "mtd5",
+ "partition2MTD": "mtd7",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json
new file mode 100644
index 0000000000..82238f3548
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WHW01 V1 (Velop)",
+ "boardNames": [ "linksys,whw01" ],
+ "partition1MTD": "mtd9",
+ "partition2MTD": "mtd11",
+ "labelOffset": 192,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json
new file mode 100644
index 0000000000..618911326a
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Xiaomi",
+ "deviceName": "AX3600",
+ "boardNames": [ "xiaomi,ax3600" ],
+ "partition1MTD": "mtd12",
+ "partition2MTD": "mtd13",
+ "labelOffset": 266432,
+ "bootEnv1": "flag_boot_rootfs",
+ "bootEnv1Partition1Value": 0,
+ "bootEnv1Partition2Value": 1,
+ "bootEnv2": "flag_last_success",
+ "bootEnv2Partition1Value": 0,
+ "bootEnv2Partition2Value": 1
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json
new file mode 100644
index 0000000000..09435b84f2
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Xiaomi",
+ "deviceName": "AX9000",
+ "boardNames": [ "xiaomi,ax9000" ],
+ "partition1MTD": "mtd20",
+ "partition2MTD": "mtd21",
+ "labelOffset": 266432,
+ "bootEnv1": "flag_boot_rootfs",
+ "bootEnv1Partition1Value": 0,
+ "bootEnv1Partition2Value": 1,
+ "bootEnv2": "flag_last_success",
+ "bootEnv2Partition1Value": 0,
+ "bootEnv2Partition2Value": 1
+}