diff options
author | Stan Grishin <stangri@melmac.net> | 2020-01-10 07:54:11 -0700 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-01-10 07:54:11 -0700 |
commit | 37dd98bde3ec04d540dafa6302cdfcf9e2ea07aa (patch) | |
tree | 3377f0adf6ff75b3dfd14a16246f79412e7c0ea0 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot | |
parent | c8909a6bf8150e1798fe205acbbcfa088f9da5cb (diff) |
luci-app-advanced-reboot: pluggable device files, highlight current partition
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot')
13 files changed, 183 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua new file mode 100644 index 0000000000..82f82ddba4 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "EA9500", + boardName = "linksys-panamera", + partition1MTD = "mtd3", + partition2MTD = "mtd6", + labelOffset = 28, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = nil, + bootEnv2Partition1Value = nil, + bootEnv2Partition2Value = nil +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua new file mode 100644 index 0000000000..710ba3ef3c --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "E4200v2/EA4500", + boardName = "linksys-viper", + partition1MTD = "mtd3", + partition2MTD = "mtd5", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua new file mode 100644 index 0000000000..f0ac1febc2 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua @@ -0,0 +1,15 @@ +return { + vendorName = "Linksys", + deviceName = "EA3500", + boardName = "linksys-audi", + partition1MTD = "mtd3", + partition2MTD = "mtd5", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} + diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua new file mode 100644 index 0000000000..5c7aecd1fb --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "EA6350v3", + boardName = "linksys-ea6350v3", + partition1MTD = "mtd10", + partition2MTD = "mtd12", + labelOffset = 192, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = nil, + bootEnv2Partition1Value = nil, + bootEnv2Partition2Value = nil +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua new file mode 100644 index 0000000000..e0cec8549b --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "EA8300", + boardName = "linksys-ea8300", + partition1MTD = "mtd10", + partition2MTD = "mtd12", + labelOffset = 192, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = nil, + bootEnv2Partition1Value = nil, + bootEnv2Partition2Value = nil +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua new file mode 100644 index 0000000000..d60cf61556 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "EA8500", + boardName = "linksys-ea8500", + partition1MTD = "mtd13", + partition2MTD = "mtd15", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = nil, + bootEnv2Partition1Value = nil, + bootEnv2Partition2Value = nil +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua new file mode 100644 index 0000000000..f14fba2c9b --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT1200AC", + boardName = "linksys-caiman", + partition1MTD = "mtd4", + partition2MTD = "mtd6", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua new file mode 100644 index 0000000000..01bec1bdeb --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT1900AC", + boardName = "linksys-mamba", + partition1MTD = "mtd4", + partition2MTD = "mtd6", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua new file mode 100644 index 0000000000..f90042338e --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT1900ACS", + boardName = "linksys-shelby", + partition1MTD = "mtd4", + partition2MTD = "mtd6", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua new file mode 100644 index 0000000000..f9b8244382 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT1900ACv2", + boardName = "linksys-cobra", + partition1MTD = "mtd4", + partition2MTD = "mtd6", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua new file mode 100644 index 0000000000..3efd1a612a --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT3200ACM", + boardName = "linksys-rango", + partition1MTD = "mtd5", + partition2MTD = "mtd7", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua new file mode 100644 index 0000000000..740426362f --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "WRT32X", + boardName = "linksys-venom", + partition1MTD = "mtd5", + partition2MTD = "mtd7", + labelOffset = nil, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua new file mode 100644 index 0000000000..4b696227b6 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua @@ -0,0 +1,14 @@ +return { + vendorName = "ZyXEL", + deviceName = "NBG6817", + boardName = "nbg6817", + partition1MTD = "mmcblk0p4", + partition2MTD = "mmcblk0p7", + labelOffset = 32, + bootEnv1 = nil, + bootEnv1Partition1Value = 255, + bootEnv1Partition2Value = 1, + bootEnv2 = nil, + bootEnv2Partition1Value = nil, + bootEnv2Partition2Value = nil +} |