From cc140782f39e30ee209fd746c60ef742dda08c61 Mon Sep 17 00:00:00 2001 From: Hans Geiblinger Date: Wed, 2 Sep 2020 13:50:10 -0400 Subject: [PATCH] luci-app-advanced-reboot: add linksys-mr8300 support Signed-off-by: Hans Geiblinger Tested and confirmed working against master branch and mr8300 --- applications/luci-app-advanced-reboot/README.md | 1 + .../advanced-reboot/devices/linksys-mr8300.lua | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md index 35b2d32d7b..da26ef26b5 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 0000000000..49b3086db8 --- /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 +} -- 2.30.2