diff options
author | Russell Morris <rmorris@rkmorris.us> | 2020-10-07 19:46:15 -0500 |
---|---|---|
committer | Russell Morris <rmorris@rkmorris.us> | 2020-10-07 19:48:31 -0500 |
commit | 7528b6e3d52cb24da279f122db1274326130a6e1 (patch) | |
tree | 26e6639e1a8ac732ac03f7221fefaaee5db66f84 | |
parent | 08434255a557a0a49014bda32c9ac6334a6c0c82 (diff) |
Update EA7300, v1 and v2, for new json based approach
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
3 files changed, 30 insertions, 14 deletions
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 deleted file mode 100644 index 6de9641a6..000000000 --- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua +++ /dev/null @@ -1,14 +0,0 @@ -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 -} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json new file mode 100644 index 000000000..22f1a8c01 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json @@ -0,0 +1,15 @@ +{ + "vendorName": "Linksys", + "deviceName": "EA7300v1", + "boardNames": [ "linksys,ea7300-v1" ], + "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/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json new file mode 100644 index 000000000..9f463758c --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json @@ -0,0 +1,15 @@ +{ + "vendorName": "Linksys", + "deviceName": "EA7300v2", + "boardNames": [ "linksys,ea7300-v2" ], + "partition1MTD": "mtd5", + "partition2MTD": "mtd7", + "labelOffset": 32, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": "bootcmd", + "bootEnv2Partition1Value": "run nandboot", + "bootEnv2Partition2Value": "run altnandboot" +} + |