[source] ar71xx: set EU region code for TP-Link TL-WA901ND v4

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 15 10:10:18 PDT 2016


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

commit 83f7ec31f8f9641ef842212c45db61b72682debf
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sat Oct 15 19:09:56 2016 +0200

    ar71xx: set EU region code for TP-Link TL-WA901ND v4
    
    There is no US firmware for the TL-WA901ND v4 yet, so we'll just
    unconditionally set the EU region for now.
    
    This makes LEDE flashable on these devices again. The format of the region
    string is slightly different from the one used on the Archer C7 that is
    generated by mktplinkfw (the second half of the region string is missing),
    but it's similar enough to make it work.
    
    Tested-by: Jannis Pinter <jannis at pinterjann.is>
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/image/tp-link.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index fde14b2..c4cd25f 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -873,6 +873,7 @@ define Device/tl-wa901nd-v4
     BOARDNAME := TL-WA901ND-v4
     DEVICE_PROFILE := TLWA901
     TPLINK_HWID := 0x09010004
+    IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C EU
 endef
 
 TARGET_DEVICES += tl-wa901nd-v1 tl-wa901nd-v2 tl-wa901nd-v3 tl-wa901nd-v4



More information about the lede-commits mailing list