From 3b426d919f8d07c4efdae17a55546130c278a833 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sun, 9 Feb 2025 19:26:35 +0000 Subject: [PATCH] luci-app-advanced-reboot: add support for more Linksys devices * Linksys E7350 (thanks forum/OothecaPickle) * Linksys MX2000 (thanks @georgemoussalem) * Linksys MX550 (thanks @georgemoussalem) Signed-off-by: Stan Grishin --- applications/luci-app-advanced-reboot/Makefile | 2 +- .../advanced-reboot/devices/linksys-e7350.json | 14 ++++++++++++++ .../advanced-reboot/devices/linksys-mx2000.json | 14 ++++++++++++++ .../advanced-reboot/devices/linksys-mx5500.json | 14 ++++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile index d1b2a15bdd..54357b3cb9 100644 --- a/applications/luci-app-advanced-reboot/Makefile +++ b/applications/luci-app-advanced-reboot/Makefile @@ -7,7 +7,7 @@ PKG_NAME:=luci-app-advanced-reboot PKG_LICENSE:=AGPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin PKG_VERSION:=1.0.1 -PKG_RELEASE:=16 +PKG_RELEASE:=18 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-e7350.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json new file mode 100644 index 0000000000..9d320c0ca6 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "E7350", + "boardNames": [ "linksys,e7350" ], + "partition1MTD": "mtd3", + "partition2MTD": "mtd6", + "labelOffset": 192, + "bootEnv1": "bootimage", + "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-mx2000.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json new file mode 100644 index 0000000000..93d5920065 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "MX2000", + "boardNames": [ "linksys,mx2000" ], + "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-mx5500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json new file mode 100644 index 0000000000..f9345b11e0 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "MX5500", + "boardNames": [ "linksys,mx5500" ], + "partition1MTD": "mtd12", + "partition2MTD": "mtd14", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} -- 2.30.2