summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorStan <stangri@melmac.net>2020-09-07 18:50:07 -0700
committerGitHub <noreply@github.com>2020-09-07 18:50:07 -0700
commit8b1294fc8d428b92d52b662f80f0339f2698bf4b (patch)
tree010ed6e1d4bc084c0dad9061917cd7352229c515 /applications
parentec309287b0e9c192b206a97c652a2a7dcc589e5b (diff)
parentcc140782f39e30ee209fd746c60ef742dda08c61 (diff)
Merge pull request #4410 from cybrnook/master
luci-app-advanced-reboot: add linksys-mr8300 support
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-mr8300.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 35b2d32d7..da26ef26b 100644
--- a/applications/luci-app-advanced-reboot/README.md
+++ b/applications/luci-app-advanced-reboot/README.md
@@ -15,6 +15,7 @@ Currently supported dual-partition devices include:
- Linksys EA4500
- Linksys EA6350v3
- Linksys EA8300
+- Linksys MR8300
- Linksys EA8500
- Linksys WRT1200AC
- Linksys WRT1900AC
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua
new file mode 100644
index 000000000..49b3086db
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "MR8300",
+ boardNames = { "linksys-mr8300", "linksys,mr8300" },
+ partition1MTD = "mtd10",
+ partition2MTD = "mtd12",
+ labelOffset = 192,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = nil,
+ bootEnv2Partition1Value = nil,
+ bootEnv2Partition2Value = nil
+}