diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-04-30 11:38:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 11:38:53 -0600 |
commit | 9628bd504ceaaa598d2f3becddbbc804e6a08aae (patch) | |
tree | d44ab3b7f74ad16e9a9af72c0b2cc1a1604d4e3f /applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot | |
parent | 2a9c3a3173e0cec686fb8d9fafb8c063f80958e4 (diff) | |
parent | 134975793191673bbe6ea8cfb0392eadec96aa9e (diff) |
Merge pull request #6362 from stangri/master-luci-app-advanced-reboot
luci-app-advanced-reboot: add support for Linksys and Xiaomi devices …
Diffstat (limited to 'applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot')
5 files changed, 56 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json index 03a18be684..b061c65865 100644 --- a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v2.json @@ -12,4 +12,3 @@ "bootEnv2Partition1Value": "run nandboot", "bootEnv2Partition2Value": "run altnandboot" } - diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json new file mode 100644 index 0000000000..d62843cc1b --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "EA8100v2", + "boardNames": [ "linksys,ea8100-v2" ], + "partition1MTD": "mtd5", + "partition2MTD": "mtd7", + "labelOffset": 32, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json new file mode 100644 index 0000000000..82238f3548 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "WHW01 V1 (Velop)", + "boardNames": [ "linksys,whw01" ], + "partition1MTD": "mtd9", + "partition2MTD": "mtd11", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json new file mode 100644 index 0000000000..618911326a --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Xiaomi", + "deviceName": "AX3600", + "boardNames": [ "xiaomi,ax3600" ], + "partition1MTD": "mtd12", + "partition2MTD": "mtd13", + "labelOffset": 266432, + "bootEnv1": "flag_boot_rootfs", + "bootEnv1Partition1Value": 0, + "bootEnv1Partition2Value": 1, + "bootEnv2": "flag_last_success", + "bootEnv2Partition1Value": 0, + "bootEnv2Partition2Value": 1 +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json new file mode 100644 index 0000000000..09435b84f2 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Xiaomi", + "deviceName": "AX9000", + "boardNames": [ "xiaomi,ax9000" ], + "partition1MTD": "mtd20", + "partition2MTD": "mtd21", + "labelOffset": 266432, + "bootEnv1": "flag_boot_rootfs", + "bootEnv1Partition1Value": 0, + "bootEnv1Partition2Value": 1, + "bootEnv2": "flag_last_success", + "bootEnv2Partition1Value": 0, + "bootEnv2Partition2Value": 1 +} |