[source] ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 10 18:34:17 PST 2016


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/9cac5e8be014b89326880ae5d7b885013614e0ca

commit 9cac5e8be014b89326880ae5d7b885013614e0ca
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Fri Nov 11 03:29:59 2016 +0100

    ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
    
    The latest stock firmwares for US and EU regions have started checking the
    region code.
    
    Tested-by: Andreas Ziegler <ml at andreas-ziegler.de>
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/image/tp-link.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index f69424d..d04bac1 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -623,6 +623,9 @@ define Device/tl-wr841-v11
    BOARDNAME := TL-WR841N-v11
    DEVICE_PROFILE := TLWR841
    TPLINK_HWID := 0x08410011
+   IMAGES += factory-us.bin factory-eu.bin
+   IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
+   IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
 endef
 
 define Device/tl-wr842n-v1



More information about the lede-commits mailing list