luci-app-advanced-reboot: add linksys-mr8300 support 4410/head
authorHans Geiblinger <cybrnook2002@yahoo.com>
Wed, 2 Sep 2020 17:50:10 +0000 (13:50 -0400)
committerHans <cybrnook2002@yahoo.com>
Thu, 3 Sep 2020 20:52:35 +0000 (16:52 -0400)
Signed-off-by: Hans Geiblinger <cybrnook2002@yahoo.com>
Tested and confirmed working against master branch and mr8300

applications/luci-app-advanced-reboot/README.md
applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua [new file with mode: 0644]

index 35b2d32d7be331880435d18fe4c11e0f1895fc8f..da26ef26b5bfe83700793c33fad46aea324fd6f4 100644 (file)
@@ -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 (file)
index 0000000..49b3086
--- /dev/null
@@ -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
+}