aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorSkirmantas Lauzikas <skirmantas.lauzikas@blackraven.lt>2018-11-14 15:45:41 +0200
committerJo-Philipp Wich <jo@mein.io>2019-01-27 16:41:05 +0100
commit30f48fb107506829975fc18711d41059368e2faa (patch)
tree7ce202c1ae2fabab9815f6f06e1b82aef522c16b /tools/firmware-utils
parent963a83d82b954218ab74cd499ac0635c7b172dbd (diff)
downloadupstream-30f48fb107506829975fc18711d41059368e2faa.tar.gz
upstream-30f48fb107506829975fc18711d41059368e2faa.tar.bz2
upstream-30f48fb107506829975fc18711d41059368e2faa.zip
firmware-utils: tplink-safeloader: Fix for Archer C2 V3 image generation
Fix for factory image generation, so that stock firmware will accept the openwrt image. Ref: https://forum.openwrt.org/t/support-for-tp-link-archer-c2-v3/15617/17 Signed-off-by: Skirmantas Lauzikas <skirmantas.lauzikas@blackraven.lt> [reword commit message, use correct order for conditions, trim trailing whitespace] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index f60fca4489..65034e3804 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -1652,7 +1652,8 @@ static void build_image(const char *output,
parts[4] = read_file("file-system", rootfs_image, add_jffs2_eof, file_system_partition);
/* Some devices need the extra-para partition to accept the firmware */
- if (strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
+ if (strcasecmp(info->id, "ARCHER-C2-V3") == 0 ||
+ strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
strcasecmp(info->id, "ARCHER-C59-V2") == 0 ||
strcasecmp(info->id, "ARCHER-C60-V2") == 0 ||
strcasecmp(info->id, "TLWR1043NV5") == 0) {