0073-ar71xx-set-EU-region-code-for-TP-Link-TL-WA901ND-v4.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sat, 15 Oct 2016 19:10:33 +0200
  3. Subject: ar71xx: set EU region code for TP-Link TL-WA901ND v4
  4. There is no US firmware for the TL-WA901ND v4 yet, so we'll just
  5. unconditionally set the EU region for now.
  6. This makes LEDE flashable on these devices again. The format of the region
  7. string is slightly different from the one used on the Archer C7 that is
  8. generated by mktplinkfw (the second half of the region string is missing),
  9. but it's similar enough to make it work.
  10. Tested-by: Jannis Pinter <jannis@pinterjann.is>
  11. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  12. Backport of LEDE 83f7ec31f8f9641ef842212c45db61b72682debf
  13. diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
  14. index 95f6d46d15b43faabb0bbf9301476d3ea5bee470..9ac1d60078cf108276d6f29c42bdb738fab6ad9d 100644
  15. --- a/target/linux/ar71xx/image/Makefile
  16. +++ b/target/linux/ar71xx/image/Makefile
  17. @@ -736,6 +736,7 @@ define Device/tl-wa901nd-v4
  18. BOARDNAME := TL-WA901ND-v4
  19. DEVICE_PROFILE := TLWA901
  20. TPLINK_HWID := 0x09010004
  21. + IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C EU
  22. endef
  23. TARGET_DEVICES += tl-wa901nd-v3 tl-wa901nd-v4