Просмотр исходного кода

ar71xx: build TP-LINK Archer C7 images with US region code

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 <[email protected]>

SVN-Revision: 49217
John Crispin 9 лет назад
Родитель
Сommit
5099a0d386
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      target/linux/ar71xx/image/Makefile

+ 1 - 0
target/linux/ar71xx/image/Makefile

@@ -414,6 +414,7 @@ define Device/archer-c7-v2
     BOARDNAME := ARCHER-C7
     DEVICE_PROFILE := ARCHERC7
     TPLINK_HWID := 0xc7000002
+    IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
 endef
 
 define Device/tl-wdr7500-v3