0008-ar71xx-add-user-space-support-for-TL-WDR3500-board.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  2. Date: Fri, 1 Feb 2013 15:50:32 +0000
  3. Subject: ar71xx: add user-space support for TL-WDR3500 board
  4. Based on http://patchwork.openwrt.org/patch/3208/
  5. Thanks-to: Paul Fertser <fercerpav@gmail.com>
  6. Signed-off-by: Gui Iribarren <gui@altermundi.net>
  7. Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  8. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35424 3c298f89-4303-0410-b956-a3cf2f4a3e73
  9. diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  10. index fe7c910..8d71352 100755
  11. --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
  12. +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  13. @@ -123,6 +123,9 @@ tplink_board_detect() {
  14. "342000"*)
  15. model="TP-Link TL-MR3420"
  16. ;;
  17. + "350000"*)
  18. + model="TP-Link TL-WDR3500"
  19. + ;;
  20. "360000"*)
  21. model="TP-Link TL-WDR3600"
  22. ;;
  23. @@ -357,6 +360,9 @@ ar71xx_board_detect() {
  24. *"TL-WA901ND v2")
  25. name="tl-wa901nd-v2"
  26. ;;
  27. + *"TL-WDR3500")
  28. + name="tl-wdr3500"
  29. + ;;
  30. *"TL-WDR3600/4300/4310")
  31. name="tl-wdr4300"
  32. ;;
  33. diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
  34. index 49b1de9..e52ad9e 100755
  35. --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
  36. +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
  37. @@ -155,6 +155,7 @@ platform_check_image() {
  38. tl-wa7510n | \
  39. tl-wa901nd | \
  40. tl-wa901nd-v2 | \
  41. + tl-wdr3500 | \
  42. tl-wdr4300 | \
  43. tl-wr703n | \
  44. tl-wr741nd | \