0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch 1.0 KB

1234567891011121314151617181920212223242526
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Fri, 11 Nov 2016 03:29:59 +0100
  3. Subject: ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
  4. The latest stock firmwares for US and EU regions have started checking the
  5. region code.
  6. Tested-by: Andreas Ziegler <ml@andreas-ziegler.de>
  7. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  8. Backport of LEDE 9cac5e8be014b89326880ae5d7b885013614e0ca
  9. diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
  10. index 9ac1d60078cf108276d6f29c42bdb738fab6ad9d..6346eb9ffa6c9bbeb1eaa5de229cf69ce12c1f83 100644
  11. --- a/target/linux/ar71xx/image/Makefile
  12. +++ b/target/linux/ar71xx/image/Makefile
  13. @@ -602,6 +602,9 @@ define Device/tl-wr841n-v11
  14. BOARDNAME := TL-WR841N-v11
  15. DEVICE_PROFILE := TLWR841
  16. TPLINK_HWID := 0x08410011
  17. + IMAGES += factory-us.bin factory-eu.bin
  18. + IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
  19. + IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  20. endef
  21. define Device/tl-wr842n-v2