[OpenWrt-Devel] [PATCH 4/4] ar71xx: build TP-LINK Archer C7 images with US region code

Matthias Schiffer mschiffer at universe-factory.net
Thu Apr 21 02:33:26 EDT 2016

Since December 2015, the Archer C7 comes with an US-specific firmware. This
firmware will only allow upgrades with images that contain the US region
code in the firmware header.

The "universal" firmware distributed in the rest of the world doesn't care
about the region code, so we can just unconditionally set the region to US
for now. When other region-specific firmwares appear, we'll need to create
a factory image for each of them.

Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
 target/linux/ar71xx/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 2699b64..2b2e868 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -414,6 +414,7 @@ define Device/archer-c7-v2
     TPLINK_HWID := 0xc7000002
+    IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
 define Device/tl-wdr7500-v3
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list