From 065a6ac354ac704736c0d890b1e8acd1ab813307 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 20 Jul 2020 14:26:35 +0200 Subject: [PATCH] build_patches: add support for TP-Link CPE210 v3.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Fabian Bläse --- ...r-expand-support-list-for-TP-Link-CP.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 build_patches/openwrt/0005-tplink-safeloader-expand-support-list-for-TP-Link-CP.patch diff --git a/build_patches/openwrt/0005-tplink-safeloader-expand-support-list-for-TP-Link-CP.patch b/build_patches/openwrt/0005-tplink-safeloader-expand-support-list-for-TP-Link-CP.patch new file mode 100644 index 0000000..b6c14b1 --- /dev/null +++ b/build_patches/openwrt/0005-tplink-safeloader-expand-support-list-for-TP-Link-CP.patch @@ -0,0 +1,37 @@ +From: Adrian Schmutzler +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 + +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, +