summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorStan <stangri@melmac.net>2020-10-03 13:00:43 -0700
committerGitHub <noreply@github.com>2020-10-03 13:00:43 -0700
commit98653bd3dbde093b150e3f13d802c26ee2721919 (patch)
tree6677d53ed7e18085bac651012bc79a7283d7363b /applications
parent011b4dbe58834ad160412b0740f76a4fd0244397 (diff)
parent2d39b9c76ce44469733341b1868b7d00d6f21c25 (diff)
Merge pull request #4483 from arrmo/ea7300-adv-reboot
luci-app-advanced-reboot: Advanced Reboot support for Linksys EA7300 v2
Diffstat (limited to 'applications')
-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
+}