summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRussell Morris <rmorris@rkmorris.us>2020-09-30 19:49:53 -0500
committerRussell Morris <rmorris@rkmorris.us>2020-10-03 09:44:40 -0500
commit2d39b9c76ce44469733341b1868b7d00d6f21c25 (patch)
tree4272080e44e7819efe47769b854d0b7b06e13d41
parentb60ea0b8bf5721e908530d376802b84958deef76 (diff)
Add Advanced Reboot support for Linksys EA7300 v2
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
-rw-r--r--applications/luci-app-advanced-reboot/README.md1
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua14
2 files changed, 15 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md
index da26ef26b..48ff558c1 100644
--- a/applications/luci-app-advanced-reboot/README.md
+++ b/applications/luci-app-advanced-reboot/README.md
@@ -14,6 +14,7 @@ Currently supported dual-partition devices include:
- Linksys E4200v2
- Linksys EA4500
- Linksys EA6350v3
+- Linksys EA7300v2
- Linksys EA8300
- Linksys MR8300
- Linksys EA8500
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua
new file mode 100644
index 000000000..6de9641a6
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "EA7300v2",
+ boardNames = { "linksys,ea7300-v2" },
+ partition1MTD = "mtd5",
+ partition2MTD = "mtd7",
+ labelOffset = 32,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = nil,
+ bootEnv2Partition1Value = nil,
+ bootEnv2Partition2Value = nil
+}