0009-ar71xx-add-support-for-tp-link-wr740n-v5.0-EU.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sun, 21 Jun 2015 22:50:48 +0200
  3. Subject: ar71xx: add support for tp-link wr740n v5.0 (EU)
  4. TP-Link ships wr740n v5.0 to Romania (so probably everywhere except
  5. China) with 4 MB flash and 32 MB memory (confirmed by their local
  6. support). This patch adds support for the v5.0 clone of v4, i just
  7. tested it on my own v5.0 router and it works.
  8. Signed-off-by: Daniel Petre <daniel.petre@posteo.net>
  9. diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
  10. index a2a66b8..3cab3bd 100644
  11. --- a/target/linux/ar71xx/image/Makefile
  12. +++ b/target/linux/ar71xx/image/Makefile
  13. @@ -459,6 +459,14 @@ define Device/tl-wr740n-v4
  14. CONSOLE := ttyATH0,115200
  15. endef
  16. +define Device/tl-wr740n-v5
  17. + $(Device/tplink-4mlzma)
  18. + BOARDNAME := TL-WR741ND-v4
  19. + DEVICE_PROFILE := TLWR740
  20. + TPLINK_HWID := 0x07400005
  21. + CONSOLE := ttyATH0,115200
  22. +endef
  23. +
  24. define Device/tl-wr741nd-v1
  25. $(Device/tplink-4m)
  26. BOARDNAME := TL-WR741ND
  27. @@ -488,7 +496,7 @@ define Device/tl-wr743nd-v2
  28. TPLINK_HWID := 0x07430002
  29. CONSOLE := ttyATH0,115200
  30. endef
  31. -TARGET_DEVICES += tl-wr740n-v4 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr743nd-v2
  32. +TARGET_DEVICES += tl-wr740n-v4 tl-wr740n-v5 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr743nd-v2
  33. define Device/tl-wr841n-v8
  34. $(Device/tplink-4mlzma)