generic-tp-link.mk 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. include ./common-tp-link.mk
  2. define Device/tplink_archer-c5-v1
  3. $(Device/tplink-16mlzma)
  4. ATH_SOC := qca9558
  5. DEVICE_TITLE := TP-Link Archer C5 v1
  6. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  7. TPLINK_HWID := 0xc5000001
  8. SUPPORTED_DEVICES += archer-c5
  9. endef
  10. TARGET_DEVICES += tplink_archer-c5-v1
  11. define Device/tplink_archer-c7-v1
  12. $(Device/tplink-8mlzma)
  13. ATH_SOC := qca9558
  14. DEVICE_TITLE := TP-Link Archer C7 v1
  15. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  16. TPLINK_HWID := 0x75000001
  17. SUPPORTED_DEVICES += archer-c7
  18. endef
  19. TARGET_DEVICES += tplink_archer-c7-v1
  20. define Device/tplink_archer-c7-v2
  21. $(Device/tplink-16mlzma)
  22. ATH_SOC := qca9558
  23. DEVICE_TITLE := TP-Link Archer C7 v2
  24. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  25. TPLINK_HWID := 0xc7000002
  26. SUPPORTED_DEVICES += archer-c7
  27. IMAGES += factory-us.bin factory-eu.bin
  28. IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
  29. IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  30. endef
  31. TARGET_DEVICES += tplink_archer-c7-v2
  32. define Device/tplink_cpe210-v2
  33. $(Device/tplink-safeloader)
  34. ATH_SOC := qca9533
  35. IMAGE_SIZE := 7680k
  36. DEVICE_TITLE := TP-Link CPE210 v2
  37. TPLINK_BOARD_ID := CPE210V2
  38. DEVICE_PACKAGES := rssileds
  39. LOADER_TYPE := elf
  40. SUPPORTED_DEVICES += cpe210-v2
  41. endef
  42. TARGET_DEVICES += tplink_cpe210-v2
  43. define Device/tplink_cpe210-v3
  44. $(Device/tplink-safeloader)
  45. ATH_SOC := qca9533
  46. IMAGE_SIZE := 7680k
  47. DEVICE_TITLE := TP-Link CPE210 v3
  48. DEVICE_PACKAGES := rssileds
  49. TPLINK_BOARD_ID := CPE210V3
  50. LOADER_TYPE := elf
  51. SUPPORTED_DEVICES += cpe210-v3
  52. endef
  53. TARGET_DEVICES += tplink_cpe210-v3
  54. define Device/tplink_tl-wdr3600-v1
  55. $(Device/tplink-8mlzma)
  56. ATH_SOC := ar9344
  57. DEVICE_TITLE := TP-Link TL-WDR3600 v1
  58. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  59. TPLINK_HWID := 0x36000001
  60. SUPPORTED_DEVICES += tl-wdr4300
  61. endef
  62. TARGET_DEVICES += tplink_tl-wdr3600-v1
  63. define Device/tplink_tl-wdr4300-v1
  64. $(Device/tplink-8mlzma)
  65. ATH_SOC := ar9344
  66. DEVICE_TITLE := TP-Link TL-WDR4300 v1
  67. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  68. TPLINK_HWID := 0x43000001
  69. SUPPORTED_DEVICES += tl-wdr4300
  70. endef
  71. TARGET_DEVICES += tplink_tl-wdr4300-v1
  72. define Device/tplink_tl-wdr4300-v1-il
  73. $(Device/tplink-8mlzma)
  74. ATH_SOC := ar9344
  75. DEVICE_TITLE := TP-Link TL-WDR4300 v1 (IL)
  76. DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
  77. TPLINK_HWID := 0x43008001
  78. SUPPORTED_DEVICES += tl-wdr4300
  79. endef
  80. TARGET_DEVICES += tplink_tl-wdr4300-v1-il
  81. define Device/tplink_tl-wdr4900-v2
  82. $(Device/tplink-8mlzma)
  83. ATH_SOC := qca9558
  84. DEVICE_TITLE := TP-Link TL-WDR4900 v2
  85. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  86. TPLINK_HWID := 0x49000002
  87. endef
  88. TARGET_DEVICES += tplink_tl-wdr4900-v2
  89. define Device/tplink_tl-wr810n-v1
  90. $(Device/tplink-8mlzma)
  91. ATH_SOC := qca9531
  92. DEVICE_TITLE := TP-Link TL-WR810N v1
  93. TPLINK_HWID := 0x8100001
  94. DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
  95. endef
  96. TARGET_DEVICES += tplink_tl-wr810n-v1
  97. define Device/tplink_tl-wr810n-v2
  98. $(Device/tplink-8mlzma)
  99. ATH_SOC := qca9533
  100. DEVICE_TITLE := TP-Link TL-WR810N v2
  101. TPLINK_HWID := 0x8100002
  102. endef
  103. TARGET_DEVICES += tplink_tl-wr810n-v2
  104. define Device/tplink_tl-wr710n-v1
  105. $(Device/tplink-8mlzma)
  106. ATH_SOC := ar9331
  107. DEVICE_TITLE := TP-Link TL-WR710N v1
  108. DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
  109. TPLINK_HWID := 0x07100001
  110. SUPPORTED_DEVICES += tl-wr710n
  111. endef
  112. TARGET_DEVICES += tplink_tl-wr710n-v1
  113. define Device/tplink_tl-wr842n-v1
  114. $(Device/tplink-8m)
  115. ATH_SOC := ar7241
  116. DEVICE_TITLE := TP-Link TL-WR842N/ND v1
  117. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  118. TPLINK_HWID := 0x8420001
  119. endef
  120. TARGET_DEVICES += tplink_tl-wr842n-v1
  121. define Device/tplink_tl-wr842n-v2
  122. $(Device/tplink-8mlzma)
  123. ATH_SOC := ar9341
  124. DEVICE_TITLE := TP-Link TL-WR842N/ND v2
  125. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  126. TPLINK_HWID := 0x8420002
  127. SUPPORTED_DEVICES += tl-wr842n-v2
  128. endef
  129. TARGET_DEVICES += tplink_tl-wr842n-v2
  130. define Device/tplink_tl-wr842n-v3
  131. $(Device/tplink-16mlzma)
  132. ATH_SOC := qca9533
  133. DEVICE_TITLE := TP-Link TL-WR842N v3
  134. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  135. TPLINK_HWID := 0x8420003
  136. SUPPORTED_DEVICES += tl-wr842n-v3
  137. endef
  138. TARGET_DEVICES += tplink_tl-wr842n-v3
  139. define Device/tplink_tl-wr1043nd-v1
  140. $(Device/tplink-8m)
  141. ATH_SOC := ar9132
  142. DEVICE_TITLE := TP-Link TL-WR1043N/ND v1
  143. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  144. TPLINK_HWID := 0x10430001
  145. SUPPORTED_DEVICES += tl-wr1043nd
  146. endef
  147. TARGET_DEVICES += tplink_tl-wr1043nd-v1
  148. define Device/tplink_tl-wr1043nd-v2
  149. $(Device/tplink-8mlzma)
  150. ATH_SOC := qca9558
  151. DEVICE_TITLE := TP-Link TL-WR1043N/ND v2
  152. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  153. TPLINK_HWID := 0x10430002
  154. SUPPORTED_DEVICES += tl-wr1043nd-v2
  155. endef
  156. TARGET_DEVICES += tplink_tl-wr1043nd-v2
  157. define Device/tplink_tl-wr1043nd-v3
  158. $(Device/tplink-8mlzma)
  159. ATH_SOC := qca9558
  160. DEVICE_TITLE := TP-Link TL-WR1043N/ND v3
  161. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  162. TPLINK_HWID := 0x10430003
  163. SUPPORTED_DEVICES += tl-wr1043nd-v2
  164. endef
  165. TARGET_DEVICES += tplink_tl-wr1043nd-v3
  166. define Device/tplink_tl-wr1043nd-v4
  167. $(Device/tplink-safeloader)
  168. ATH_SOC := qca9563
  169. IMAGE_SIZE := 15552k
  170. DEVICE_TITLE := TP-Link TL-WR1043N/ND v4
  171. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  172. TPLINK_HWID := 0x10430004
  173. TPLINK_BOARD_ID := TLWR1043NDV4
  174. SUPPORTED_DEVICES += tl-wr1043nd-v4
  175. endef
  176. TARGET_DEVICES += tplink_tl-wr1043nd-v4
  177. define Device/tplink_tl-wr1043n-v5
  178. $(Device/tplink-safeloader-uimage)
  179. ATH_SOC := qca9563
  180. IMAGE_SIZE := 15104k
  181. DEVICE_TITLE := TP-Link TL-WR1043N v5
  182. TPLINK_BOARD_ID := TLWR1043NV5
  183. SUPPORTED_DEVICES += tl-wr1043n-v5
  184. endef
  185. TARGET_DEVICES += tplink_tl-wr1043n-v5
  186. define Device/tplink_tl-wr2543-v1
  187. $(Device/tplink-8mlzma)
  188. ATH_SOC := ar7242
  189. DEVICE_TITLE := TP-Link TL-WR2543N/ND v1
  190. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  191. TPLINK_HWID := 0x25430001
  192. IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
  193. append-metadata | check-size $$$$(IMAGE_SIZE)
  194. IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
  195. SUPPORTED_DEVICES += tl-wr2543-v1
  196. endef
  197. TARGET_DEVICES += tplink_tl-wr2543-v1