From 134975793191673bbe6ea8cfb0392eadec96aa9e Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 27 Apr 2023 23:08:22 +0000 Subject: luci-app-advanced-reboot: add support for Linksys and Xiaomi devices and misc fixes Fixes: * change maintainer's email address * add rpcd reload to uci-defaults script * add better messaging with link to README when device isn't detected as dual-firmware Add support for: * linksys-ea8100v2 * linksys-whw01v1 * xiaomi-ax3600 * xiaomi-ax9000 Signed-off-by: Stan Grishin --- .../share/advanced-reboot/devices/linksys-ea7500v2.json | 1 - .../share/advanced-reboot/devices/linksys-ea8100v2.json | 14 ++++++++++++++ .../usr/share/advanced-reboot/devices/linksys-whw01v1.json | 14 ++++++++++++++ .../usr/share/advanced-reboot/devices/xiaomi-ax3600.json | 14 ++++++++++++++ .../usr/share/advanced-reboot/devices/xiaomi-ax9000.json | 14 ++++++++++++++ 5 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v2.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw01v1.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax3600.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/xiaomi-ax9000.json (limited to 'applications/luci-app-advanced-reboot/root/usr/share') 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 +} -- cgit v1.2.3