luci-app-advanced-reboot: add MR5500 and SPNMX56
authorStan Grishin <stangri@melmac.ca>
Sat, 15 Feb 2025 17:56:58 +0000 (17:56 +0000)
committerStan Grishin <stangri@melmac.ca>
Sat, 15 Feb 2025 17:57:46 +0000 (17:57 +0000)
- Linksys MX5500 (thanks @georgemoussalem)
- Linksys SPNMX56 (thanks @georgemoussalem)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
applications/luci-app-advanced-reboot/Makefile
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr5500.json [new file with mode: 0644]
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-spnmx56.json [new file with mode: 0644]

index 54357b3cb91eb50b016bb44a4853a02738a4e797..868c51058e8dfb7d11b7126b11b6eb43933e8a37 100644 (file)
@@ -7,7 +7,7 @@ PKG_NAME:=luci-app-advanced-reboot
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=18
+PKG_RELEASE:=19
 
 LUCI_TITLE:=Advanced Linksys Reboot Web UI
 LUCI_URL:=https://github.com/stangri/luci-app-advanced-reboot/
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr5500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr5500.json
new file mode 100644 (file)
index 0000000..fb13e8e
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MR5500",
+       "boardNames": [ "linksys,mr5500" ],
+       "partition1MTD": "mtd12",
+       "partition2MTD": "mtd14",
+       "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/linksys-spnmx56.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-spnmx56.json
new file mode 100644 (file)
index 0000000..15e9db6
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "SPNMX56",
+       "boardNames": [ "linksys,spnmx56" ],
+       "partition1MTD": "mtd12",
+       "partition2MTD": "mtd14",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}