build_patches: add support for TP-Link CPE210 v3.20

This adds new strings to the support list for the TP-Link CPE210 v3
that are supposed to work with the existing setup.

Without it, the factory image won't be accepted by the vendor UI on
these newer revisions.

This has been merged upstream in commit 4a2380a1e778.

Backport to 19.07 is planned already, so the patch can be removed
again when we move to the next point release.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Adrian Schmutzler 2020-07-20 14:26:35 +02:00
parent 2e3da1556c
commit 065a6ac354
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Wed, 8 Jul 2020 11:08:17 +0200
Subject: tplink-safeloader: expand support list for TP-Link CPE210 v3
This adds new strings to the support list for the TP-Link CPE210 v3
that are supposed to work with the existing setup.
Without it, the factory image won't be accepted by the vendor UI on
these newer revisions.
Tested on a CPE210 v3.20 (EU).
Ref: https://forum.openwrt.org/t/build-for-cpe210-v3-20/68000
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index b6ad5c0869d3ce0f15e456b0a20e9c8f939de3ab..08e21e74e370631d38902d5fb77d52640c68ae2a 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -204,8 +204,15 @@ static struct device_info boards[] = {
"SupportList:\r\n"
"CPE210(TP-LINK|EU|N300-2|45550000):3.0\r\n"
"CPE210(TP-LINK|UN|N300-2|00000000):3.0\r\n"
+ "CPE210(TP-LINK|US|N300-2|55530000):3.0\r\n"
"CPE210(TP-LINK|UN|N300-2):3.0\r\n"
- "CPE210(TP-LINK|EU|N300-2):3.0\r\n",
+ "CPE210(TP-LINK|EU|N300-2):3.0\r\n"
+ "CPE210(TP-LINK|EU|N300-2|45550000):3.1\r\n"
+ "CPE210(TP-LINK|UN|N300-2|00000000):3.1\r\n"
+ "CPE210(TP-LINK|US|N300-2|55530000):3.1\r\n"
+ "CPE210(TP-LINK|EU|N300-2|45550000):3.20\r\n"
+ "CPE210(TP-LINK|UN|N300-2|00000000):3.20\r\n"
+ "CPE210(TP-LINK|US|N300-2|55530000):3.20\r\n",
.support_trail = '\xff',
.soft_ver = NULL,