Add Advanced Reboot support for Linksys EA7300 v2 4483/head
authorRussell Morris <rmorris@rkmorris.us>
Thu, 1 Oct 2020 00:49:53 +0000 (19:49 -0500)
committerRussell Morris <rmorris@rkmorris.us>
Sat, 3 Oct 2020 14:44:40 +0000 (09:44 -0500)
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
applications/luci-app-advanced-reboot/README.md
applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua [new file with mode: 0644]

index da26ef26b5bfe83700793c33fad46aea324fd6f4..48ff558c1a3cc189adf9f3c65e02324ead4593c3 100644 (file)
@@ -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 (file)
index 0000000..6de9641
--- /dev/null
@@ -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
+}