tiny-tp-link.mk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. include ./common-tp-link.mk
  2. define Device/tl-mr10u-v1
  3. $(Device/tplink-4mlzma)
  4. DEVICE_TITLE := TP-LINK TL-MR10U v1
  5. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  6. BOARDNAME := TL-MR10U
  7. DEVICE_PROFILE := TLMR10U
  8. TPLINK_HWID := 0x00100101
  9. CONSOLE := ttyATH0,115200
  10. endef
  11. TARGET_DEVICES += tl-mr10u-v1
  12. define Device/tl-mr11u-v1
  13. $(Device/tplink-4mlzma)
  14. DEVICE_TITLE := TP-LINK TL-MR11U v1
  15. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  16. BOARDNAME := TL-MR11U
  17. DEVICE_PROFILE := TLMR11U
  18. TPLINK_HWID := 0x00110101
  19. CONSOLE := ttyATH0,115200
  20. endef
  21. TARGET_DEVICES += tl-mr11u-v1
  22. define Device/tl-mr11u-v2
  23. $(Device/tl-mr11u-v1)
  24. DEVICE_TITLE := TP-LINK TL-MR11U v2
  25. TPLINK_HWID := 0x00110102
  26. endef
  27. TARGET_DEVICES += tl-mr11u-v2
  28. define Device/tl-mr12u-v1
  29. $(Device/tplink-4mlzma)
  30. DEVICE_TITLE := TP-LINK TL-MR12U v1
  31. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  32. BOARDNAME := TL-MR13U
  33. DEVICE_PROFILE := TLMR12U
  34. TPLINK_HWID := 0x00120101
  35. CONSOLE := ttyATH0,115200
  36. endef
  37. TARGET_DEVICES += tl-mr12u-v1
  38. define Device/tl-mr13u-v1
  39. $(Device/tl-mr12u-v1)
  40. DEVICE_TITLE := TP-LINK TL-MR13U v1
  41. DEVICE_PROFILE := TLMR13U
  42. TPLINK_HWID := 0x00130101
  43. endef
  44. TARGET_DEVICES += tl-mr13u-v1
  45. define Device/tl-mr3020-v1
  46. $(Device/tplink-4mlzma)
  47. DEVICE_TITLE := TP-LINK TL-MR3020 v1
  48. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  49. BOARDNAME := TL-MR3020
  50. DEVICE_PROFILE := TLMR3020
  51. TPLINK_HWID := 0x30200001
  52. CONSOLE := ttyATH0,115200
  53. endef
  54. TARGET_DEVICES += tl-mr3020-v1
  55. define Device/tl-mr3040-v1
  56. $(Device/tl-mr3020-v1)
  57. DEVICE_TITLE := TP-LINK TL-MR3040 v1
  58. BOARDNAME := TL-MR3040
  59. DEVICE_PROFILE := TLMR3040
  60. TPLINK_HWID := 0x30400001
  61. endef
  62. TARGET_DEVICES += tl-mr3040-v1
  63. define Device/tl-mr3040-v2
  64. $(Device/tl-mr3040-v1)
  65. DEVICE_TITLE := TP-LINK TL-MR3040 v2
  66. BOARDNAME := TL-MR3040-v2
  67. TPLINK_HWID := 0x30400002
  68. endef
  69. TARGET_DEVICES += tl-mr3040-v2
  70. define Device/tl-mr3220-v1
  71. $(Device/tplink-4m)
  72. DEVICE_TITLE := TP-LINK TL-MR3220 v1
  73. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  74. BOARDNAME := TL-MR3220
  75. DEVICE_PROFILE := TLMR3220
  76. TPLINK_HWID := 0x32200001
  77. endef
  78. TARGET_DEVICES += tl-mr3220-v1
  79. define Device/tl-mr3220-v2
  80. $(Device/tplink-4mlzma)
  81. DEVICE_TITLE := TP-LINK TL-MR3220 v2
  82. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  83. BOARDNAME := TL-MR3220-v2
  84. DEVICE_PROFILE := TLMR3220
  85. TPLINK_HWID := 0x32200002
  86. CONSOLE := ttyATH0,115200
  87. endef
  88. TARGET_DEVICES += tl-mr3220-v2
  89. define Device/tl-mr3420-v1
  90. $(Device/tplink-4m)
  91. DEVICE_TITLE := TP-LINK TL-MR3420 v1
  92. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  93. BOARDNAME := TL-MR3420
  94. DEVICE_PROFILE := TLMR3420
  95. TPLINK_HWID := 0x34200001
  96. endef
  97. TARGET_DEVICES += tl-mr3420-v1
  98. define Device/tl-mr3420-v2
  99. $(Device/tplink-4mlzma)
  100. DEVICE_TITLE := TP-LINK TL-MR3420 v2
  101. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  102. BOARDNAME := TL-MR3420-v2
  103. DEVICE_PROFILE := TLMR3420
  104. TPLINK_HWID := 0x34200002
  105. endef
  106. TARGET_DEVICES += tl-mr3420-v2
  107. define Device/tl-wa701nd-v1
  108. $(Device/tplink-4m)
  109. DEVICE_TITLE := TP-LINK TL-WA701N/ND v1
  110. BOARDNAME := TL-WA901ND
  111. DEVICE_PROFILE := TLWA701
  112. TPLINK_HWID := 0x07010001
  113. endef
  114. TARGET_DEVICES += tl-wa701nd-v1
  115. define Device/tl-wa701nd-v2
  116. $(Device/tplink-4mlzma)
  117. DEVICE_TITLE := TP-LINK TL-WA701N/ND v2
  118. BOARDNAME := TL-WA701ND-v2
  119. DEVICE_PROFILE := TLWA701
  120. TPLINK_HWID := 0x07010002
  121. CONSOLE := ttyATH0,115200
  122. endef
  123. TARGET_DEVICES += tl-wa701nd-v2
  124. define Device/tl-wa7210n-v2
  125. $(Device/tplink-4mlzma)
  126. DEVICE_TITLE := TP-LINK TL-WA7210N v2
  127. DEVICE_PACKAGES := rssileds kmod-ledtrig-netdev
  128. BOARDNAME := TL-WA7210N-v2
  129. DEVICE_PROFILE := TLWA7210
  130. TPLINK_HWID := 0x72100002
  131. CONSOLE := ttyATH0,115200
  132. endef
  133. TARGET_DEVICES += tl-wa7210n-v2
  134. define Device/tl-wa730re-v1
  135. $(Device/tplink-4m)
  136. DEVICE_TITLE := TP-LINK TL-WA730RE v1
  137. BOARDNAME := TL-WA901ND
  138. DEVICE_PROFILE := TLWA730RE
  139. TPLINK_HWID := 0x07300001
  140. endef
  141. TARGET_DEVICES += tl-wa730re-v1
  142. define Device/tl-wa750re-v1
  143. $(Device/tplink-4mlzma)
  144. DEVICE_TITLE := TP-LINK TL-WA750RE v1
  145. DEVICE_PACKAGES := rssileds
  146. BOARDNAME := TL-WA750RE
  147. DEVICE_PROFILE := TLWA750
  148. TPLINK_HWID := 0x07500001
  149. endef
  150. TARGET_DEVICES += tl-wa750re-v1
  151. define Device/tl-wa7510n-v1
  152. $(Device/tplink-4m)
  153. DEVICE_TITLE := TP-LINK TL-WA7510N v1
  154. BOARDNAME := TL-WA7510N
  155. DEVICE_PROFILE := TLWA7510
  156. TPLINK_HWID := 0x75100001
  157. endef
  158. TARGET_DEVICES += tl-wa7510n-v1
  159. define Device/tl-wa801nd-v1
  160. $(Device/tplink-4m)
  161. DEVICE_TITLE := TP-LINK TL-WA801N/ND v1
  162. BOARDNAME := TL-WA901ND
  163. DEVICE_PROFILE := TLWA801
  164. TPLINK_HWID := 0x08010001
  165. endef
  166. TARGET_DEVICES += tl-wa801nd-v1
  167. define Device/tl-wa801nd-v2
  168. $(Device/tplink-4mlzma)
  169. DEVICE_TITLE := TP-LINK TL-WA801N/ND v2
  170. BOARDNAME := TL-WA801ND-v2
  171. DEVICE_PROFILE := TLWA801
  172. TPLINK_HWID := 0x08010002
  173. endef
  174. TARGET_DEVICES += tl-wa801nd-v2
  175. define Device/tl-wa801nd-v3
  176. $(Device/tplink-4mlzma)
  177. DEVICE_TITLE := TP-LINK TL-WA801N/ND v3
  178. BOARDNAME := TL-WA801ND-v3
  179. DEVICE_PROFILE := TLWA801
  180. TPLINK_HWID := 0x08010003
  181. endef
  182. TARGET_DEVICES += tl-wa801nd-v3
  183. define Device/tl-wa801nd-v4
  184. $(Device/tl-wa801nd-v3)
  185. DEVICE_TITLE := TP-LINK TL-WA801N/ND v4
  186. TPLINK_HWID := 0x08010004
  187. endef
  188. TARGET_DEVICES += tl-wa801nd-v4
  189. define Device/tl-wa830re-v1
  190. $(Device/tplink-4m)
  191. DEVICE_TITLE := TP-LINK TL-WA830RE v1
  192. BOARDNAME := TL-WA901ND
  193. DEVICE_PROFILE := TLWA830
  194. TPLINK_HWID := 0x08300010
  195. endef
  196. TARGET_DEVICES += tl-wa830re-v1
  197. define Device/tl-wa830re-v2
  198. $(Device/tplink-4mlzma)
  199. DEVICE_TITLE := TP-LINK TL-WA830RE v2
  200. BOARDNAME := TL-WA830RE-v2
  201. DEVICE_PROFILE := TLWA830
  202. TPLINK_HWID := 0x08300002
  203. endef
  204. TARGET_DEVICES += tl-wa830re-v2
  205. define Device/tl-wa850re-v1
  206. $(Device/tplink-4mlzma)
  207. DEVICE_TITLE := TP-LINK TL-WA850RE v1
  208. DEVICE_PACKAGES := rssileds
  209. BOARDNAME := TL-WA850RE
  210. DEVICE_PROFILE := TLWA850
  211. TPLINK_HWID := 0x08500001
  212. endef
  213. TARGET_DEVICES += tl-wa850re-v1
  214. define Device/tl-wa850re-v2
  215. $(Device/tplink-safeloader)
  216. DEVICE_TITLE := TP-LINK TL-WA850RE v2
  217. DEVICE_PACKAGES := rssileds
  218. BOARDNAME := TL-WA850RE-V2
  219. DEVICE_PROFILE := TLWA850
  220. TPLINK_BOARD_ID := TLWA850REV2
  221. TPLINK_HWID := 0x08500002
  222. TPLINK_HWREV := 0
  223. IMAGE_SIZE := 3648k
  224. MTDPARTS := spi0.0:128k(u-boot)ro,1344k(kernel),2304k(rootfs),256k(config)ro,64k(art)ro,3648k@0x20000(firmware)
  225. endef
  226. TARGET_DEVICES += tl-wa850re-v2
  227. define Device/tl-wa855re-v1
  228. $(Device/tplink-safeloader)
  229. DEVICE_TITLE := TP-LINK TL-WA855RE v1
  230. BOARDNAME := TL-WA855RE-v1
  231. DEVICE_PROFILE := TLWA855RE
  232. TPLINK_HWID := 0x08550001
  233. TPLINK_BOARD_ID := TLWA855REV1
  234. TPLINK_HWREV := 0
  235. IMAGE_SIZE := 3648k
  236. MTDPARTS := spi0.0:128k(u-boot)ro,1344k(kernel),2304k(rootfs),256k(config)ro,64k(art)ro,3648k@0x20000(firmware)
  237. endef
  238. TARGET_DEVICES += tl-wa855re-v1
  239. define Device/tl-wa860re-v1
  240. $(Device/tplink-4mlzma)
  241. DEVICE_TITLE := TP-LINK TL-WA860RE v1
  242. BOARDNAME := TL-WA860RE
  243. DEVICE_PROFILE := TLWA860
  244. TPLINK_HWID := 0x08600001
  245. endef
  246. TARGET_DEVICES += tl-wa860re-v1
  247. define Device/tl-wa901nd-v1
  248. $(Device/tplink-4m)
  249. DEVICE_TITLE := TP-LINK TL-WA901N/ND v1
  250. BOARDNAME := TL-WA901ND
  251. DEVICE_PROFILE := TLWA901
  252. TPLINK_HWID := 0x09010001
  253. endef
  254. TARGET_DEVICES += tl-wa901nd-v1
  255. define Device/tl-wa901nd-v2
  256. $(Device/tplink-4m)
  257. DEVICE_TITLE := TP-LINK TL-WA901N/ND v2
  258. BOARDNAME := TL-WA901ND-v2
  259. DEVICE_PROFILE := TLWA901
  260. TPLINK_HWID := 0x09010002
  261. endef
  262. TARGET_DEVICES += tl-wa901nd-v2
  263. define Device/tl-wa901nd-v3
  264. $(Device/tplink-4mlzma)
  265. DEVICE_TITLE := TP-LINK TL-WA901N/ND v3
  266. BOARDNAME := TL-WA901ND-v3
  267. DEVICE_PROFILE := TLWA901
  268. TPLINK_HWID := 0x09010003
  269. endef
  270. TARGET_DEVICES += tl-wa901nd-v3
  271. define Device/tl-wa901nd-v4
  272. $(Device/tplink-4mlzma)
  273. DEVICE_TITLE := TP-LINK TL-WA901N/ND v4
  274. BOARDNAME := TL-WA901ND-v4
  275. DEVICE_PROFILE := TLWA901
  276. TPLINK_HWID := 0x09010004
  277. IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C EU
  278. endef
  279. TARGET_DEVICES += tl-wa901nd-v4
  280. define Device/tl-wa901nd-v5
  281. $(Device/tl-wa901nd-v4)
  282. DEVICE_TITLE := TP-LINK TL-WA901N/ND v5
  283. BOARDNAME := TL-WA901ND-v5
  284. TPLINK_HWID := 0x09010005
  285. endef
  286. TARGET_DEVICES += tl-wa901nd-v5
  287. define Device/tl-wdr3320-v2
  288. $(Device/tplink-4mlzma)
  289. DEVICE_TITLE := TP-LINK TL-WDR3320 v2
  290. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  291. BOARDNAME := TL-WDR3320-v2
  292. DEVICE_PROFILE := TLWDR3320V2
  293. TPLINK_HWID := 0x33200002
  294. TPLINK_HEADER_VERSION := 2
  295. endef
  296. TARGET_DEVICES += tl-wdr3320-v2
  297. define Device/tl-wr1041n-v2
  298. $(Device/tplink-4mlzma)
  299. DEVICE_TITLE := TP-LINK TL-WR1041N v2
  300. BOARDNAME := TL-WR1041N-v2
  301. DEVICE_PROFILE := TLWR1041
  302. TPLINK_HWID := 0x10410002
  303. endef
  304. TARGET_DEVICES += tl-wr1041n-v2
  305. define Device/tl-wr703n-v1
  306. $(Device/tplink-4mlzma)
  307. DEVICE_TITLE := TP-LINK TL-WR703N v1
  308. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  309. BOARDNAME := TL-WR703N
  310. DEVICE_PROFILE := TLWR703
  311. TPLINK_HWID := 0x07030101
  312. CONSOLE := ttyATH0,115200
  313. endef
  314. TARGET_DEVICES += tl-wr703n-v1
  315. define Device/tl-wr710n-v2
  316. $(Device/tplink-4mlzma)
  317. DEVICE_TITLE := TP-LINK TL-WR710N v2
  318. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  319. BOARDNAME := TL-WR710N
  320. DEVICE_PROFILE := TLWR710
  321. TPLINK_HWID := 0x07100002
  322. CONSOLE := ttyATH0,115200
  323. endef
  324. TARGET_DEVICES += tl-wr710n-v2
  325. define Device/tl-wr720n-v3
  326. $(Device/tplink-4mlzma)
  327. DEVICE_TITLE := TP-LINK TL-WR720N v3
  328. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  329. BOARDNAME := TL-WR720N-v3
  330. DEVICE_PROFILE := TLWR720
  331. TPLINK_HWID := 0x07200103
  332. CONSOLE := ttyATH0,115200
  333. endef
  334. TARGET_DEVICES += tl-wr720n-v3
  335. define Device/tl-wr720n-v4
  336. $(Device/tl-wr720n-v3)
  337. DEVICE_TITLE := TP-LINK TL-WR720N v4
  338. TPLINK_HWID := 0x07200104
  339. endef
  340. TARGET_DEVICES += tl-wr720n-v4
  341. define Device/tl-wr740n-v1
  342. $(Device/tplink-4m)
  343. DEVICE_TITLE := TP-LINK TL-WR740N/ND v1
  344. BOARDNAME := TL-WR741ND
  345. DEVICE_PROFILE := TLWR740
  346. TPLINK_HWID := 0x07400001
  347. endef
  348. TARGET_DEVICES += tl-wr740n-v1
  349. define Device/tl-wr740n-v3
  350. $(Device/tl-wr740n-v1)
  351. DEVICE_TITLE := TP-LINK TL-WR740N/ND v3
  352. TPLINK_HWID := 0x07400003
  353. endef
  354. TARGET_DEVICES += tl-wr740n-v3
  355. define Device/tl-wr740n-v4
  356. $(Device/tplink-4mlzma)
  357. DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
  358. BOARDNAME := TL-WR741ND-v4
  359. DEVICE_PROFILE := TLWR740
  360. TPLINK_HWID := 0x07400004
  361. CONSOLE := ttyATH0,115200
  362. endef
  363. TARGET_DEVICES += tl-wr740n-v4
  364. define Device/tl-wr740n-v5
  365. $(Device/tl-wr740n-v4)
  366. DEVICE_TITLE := TP-LINK TL-WR740N/ND v5
  367. TPLINK_HWID := 0x07400005
  368. endef
  369. TARGET_DEVICES += tl-wr740n-v5
  370. define Device/tl-wr740n-v6
  371. $(Device/tplink-4mlzma)
  372. DEVICE_TITLE := TP-LINK TL-WR740N/ND v6
  373. BOARDNAME := TL-WR740N-v6
  374. DEVICE_PROFILE := TLWR740
  375. TPLINK_HWID := 0x07400006
  376. endef
  377. TARGET_DEVICES += tl-wr740n-v6
  378. define Device/tl-wr741nd-v1
  379. $(Device/tplink-4m)
  380. DEVICE_TITLE := TP-LINK TL-WR741N/ND v1
  381. BOARDNAME := TL-WR741ND
  382. DEVICE_PROFILE := TLWR741
  383. TPLINK_HWID := 0x07410001
  384. endef
  385. TARGET_DEVICES += tl-wr741nd-v1
  386. define Device/tl-wr741nd-v2
  387. $(Device/tl-wr741nd-v1)
  388. DEVICE_TITLE := TP-LINK TL-WR741N/ND v2
  389. endef
  390. TARGET_DEVICES += tl-wr741nd-v2
  391. define Device/tl-wr741nd-v4
  392. $(Device/tplink-4mlzma)
  393. DEVICE_TITLE := TP-LINK TL-WR741N/ND v4
  394. BOARDNAME := TL-WR741ND-v4
  395. DEVICE_PROFILE := TLWR741
  396. TPLINK_HWID := 0x07410004
  397. CONSOLE := ttyATH0,115200
  398. endef
  399. TARGET_DEVICES += tl-wr741nd-v4
  400. define Device/tl-wr741nd-v5
  401. $(Device/tl-wr741nd-v4)
  402. DEVICE_TITLE := TP-LINK TL-WR741N/ND v5
  403. TPLINK_HWID := 0x07400005
  404. endef
  405. TARGET_DEVICES += tl-wr741nd-v5
  406. define Device/tl-wr743nd-v1
  407. $(Device/tplink-4m)
  408. DEVICE_TITLE := TP-LINK TL-WR743N/ND v1
  409. BOARDNAME := TL-WR741ND
  410. DEVICE_PROFILE := TLWR743
  411. TPLINK_HWID := 0x07430001
  412. endef
  413. TARGET_DEVICES += tl-wr743nd-v1
  414. define Device/tl-wr743nd-v2
  415. $(Device/tl-wr741nd-v4)
  416. DEVICE_TITLE := TP-LINK TL-WR743N/ND v2
  417. DEVICE_PROFILE := TLWR743
  418. TPLINK_HWID := 0x07430002
  419. endef
  420. TARGET_DEVICES += tl-wr743nd-v2
  421. define Device/tl-wr802n-v1
  422. $(Device/tplink-4mlzma)
  423. DEVICE_TITLE := TP-LINK TL-WR802N v1
  424. BOARDNAME := TL-WR802N-v1
  425. DEVICE_PROFILE := TLWR802
  426. TPLINK_HWID := 0x08020001
  427. TPLINK_HWREV := 1
  428. endef
  429. TARGET_DEVICES += tl-wr802n-v1
  430. define Device/tl-wr802n-v2
  431. $(Device/tplink-4mlzma)
  432. DEVICE_TITLE := TP-LINK TL-WR802N v2
  433. BOARDNAME := TL-WR802N-v2
  434. DEVICE_PROFILE := TLWR802
  435. TPLINK_HWID := 0x08020002
  436. TPLINK_HWREV := 2
  437. IMAGES += factory-us.bin factory-eu.bin
  438. IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
  439. IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  440. endef
  441. TARGET_DEVICES += tl-wr802n-v2
  442. define Device/tl-wr840n-v2
  443. $(Device/tplink-4mlzma)
  444. DEVICE_TITLE := TP-LINK TL-WR840N v2
  445. BOARDNAME := TL-WR840N-v2
  446. DEVICE_PROFILE := TLWR840
  447. TPLINK_HWID := 0x08400002
  448. IMAGES += factory-eu.bin
  449. IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  450. endef
  451. TARGET_DEVICES += tl-wr840n-v2
  452. define Device/tl-wr840n-v3
  453. $(Device/tl-wr840n-v2)
  454. DEVICE_TITLE := TP-LINK TL-WR840N v3
  455. BOARDNAME := TL-WR840N-v3
  456. TPLINK_HWID := 0x08400003
  457. endef
  458. TARGET_DEVICES += tl-wr840n-v3
  459. define Device/tl-wr841-v1.5
  460. $(Device/tplink-4m)
  461. DEVICE_TITLE := TP-LINK TL-WR841N/ND v1.5
  462. BOARDNAME := TL-WR841N-v1.5
  463. DEVICE_PROFILE := TLWR841
  464. TPLINK_HWID := 0x08410002
  465. TPLINK_HWREV := 2
  466. endef
  467. TARGET_DEVICES += tl-wr841-v1.5
  468. define Device/tl-wr841-v3
  469. $(Device/tplink-4m)
  470. DEVICE_TITLE := TP-LINK TL-WR841N/ND v3
  471. BOARDNAME := TL-WR941ND
  472. DEVICE_PROFILE := TLWR841
  473. TPLINK_HWID := 0x08410003
  474. TPLINK_HWREV := 3
  475. endef
  476. TARGET_DEVICES += tl-wr841-v3
  477. define Device/tl-wr841-v5
  478. $(Device/tplink-4m)
  479. DEVICE_TITLE := TP-LINK TL-WR841N/ND v5
  480. BOARDNAME := TL-WR741ND
  481. DEVICE_PROFILE := TLWR841
  482. TPLINK_HWID := 0x08410005
  483. endef
  484. TARGET_DEVICES += tl-wr841-v5
  485. define Device/tl-wr841-v7
  486. $(Device/tplink-4m)
  487. DEVICE_TITLE := TP-LINK TL-WR841N/ND v7
  488. BOARDNAME := TL-WR841N-v7
  489. DEVICE_PROFILE := TLWR841
  490. TPLINK_HWID := 0x08410007
  491. endef
  492. TARGET_DEVICES += tl-wr841-v7
  493. define Device/tl-wr841-v8
  494. $(Device/tplink-4mlzma)
  495. DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
  496. BOARDNAME := TL-WR841N-v8
  497. DEVICE_PROFILE := TLWR841
  498. TPLINK_HWID := 0x08410008
  499. endef
  500. TARGET_DEVICES += tl-wr841-v8
  501. define Device/tl-wr841-v9
  502. $(Device/tplink-4mlzma)
  503. DEVICE_TITLE := TP-LINK TL-WR841N/ND v9
  504. BOARDNAME := TL-WR841N-v9
  505. DEVICE_PROFILE := TLWR841
  506. TPLINK_HWID := 0x08410009
  507. endef
  508. TARGET_DEVICES += tl-wr841-v9
  509. define Device/tl-wr841-v10
  510. $(Device/tl-wr841-v9)
  511. DEVICE_TITLE := TP-LINK TL-WR841N/ND v10
  512. TPLINK_HWID := 0x08410010
  513. endef
  514. TARGET_DEVICES += tl-wr841-v10
  515. define Device/tl-wr841-v11
  516. $(Device/tplink-4mlzma)
  517. DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
  518. BOARDNAME := TL-WR841N-v11
  519. DEVICE_PROFILE := TLWR841
  520. TPLINK_HWID := 0x08410011
  521. IMAGES += factory-us.bin factory-eu.bin
  522. IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
  523. IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  524. endef
  525. TARGET_DEVICES += tl-wr841-v11
  526. define Device/tl-wr841-v12
  527. $(Device/tl-wr841-v11)
  528. DEVICE_TITLE := TP-LINK TL-WR841N/ND v12
  529. TPLINK_HWID := 0x08410012
  530. endef
  531. TARGET_DEVICES += tl-wr841-v12
  532. define Device/tl-wr843nd-v1
  533. $(Device/tplink-4mlzma)
  534. DEVICE_TITLE := TP-LINK TL-WR843N/ND v1
  535. BOARDNAME := TL-WR841N-v8
  536. DEVICE_PROFILE := TLWR843
  537. TPLINK_HWID := 0x08430001
  538. endef
  539. TARGET_DEVICES += tl-wr843nd-v1
  540. define Device/tl-wr847n-v8
  541. $(Device/tplink-4mlzma)
  542. DEVICE_TITLE := TP-LINK TL-WR847N/ND v8
  543. BOARDNAME := TL-WR841N-v8
  544. DEVICE_PROFILE := TLWR841
  545. TPLINK_HWID := 0x08470008
  546. endef
  547. TARGET_DEVICES += tl-wr847n-v8
  548. define Device/tl-wr940n-v4
  549. $(Device/tplink-4mlzma)
  550. DEVICE_TITLE := TP-LINK TL-WR940N v4
  551. BOARDNAME := TL-WR940N-v4
  552. DEVICE_PROFILE := TLWR941
  553. TPLINK_HWID := 0x09400004
  554. IMAGES += factory-us.bin factory-eu.bin factory-br.bin
  555. IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
  556. IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
  557. IMAGE/factory-br.bin := append-rootfs | mktplinkfw factory -C BR
  558. endef
  559. TARGET_DEVICES += tl-wr940n-v4
  560. define Device/tl-wr940n-v6
  561. $(Device/tl-wr940n-v4)
  562. DEVICE_TITLE := TP-LINK TL-WR940N v6
  563. BOARDNAME := TL-WR940N-v6
  564. TPLINK_HWID := 0x09400006
  565. endef
  566. TARGET_DEVICES += tl-wr940n-v6
  567. define Device/tl-wr941nd-v2
  568. $(Device/tplink-4m)
  569. DEVICE_TITLE := TP-LINK TL-WR941N/ND v2
  570. BOARDNAME := TL-WR941ND
  571. DEVICE_PROFILE := TLWR941
  572. TPLINK_HWID := 0x09410002
  573. TPLINK_HWREV := 2
  574. endef
  575. TARGET_DEVICES += tl-wr941nd-v2
  576. define Device/tl-wr941nd-v3
  577. $(Device/tl-wr941nd-v2)
  578. DEVICE_TITLE := TP-LINK TL-WR941N/ND v3
  579. endef
  580. TARGET_DEVICES += tl-wr941nd-v3
  581. define Device/rnx-n360rt
  582. $(Device/tl-wr941nd-v2)
  583. DEVICE_TITLE := Rosewill RNX-N360RT
  584. DEVICE_PROFILE := RNXN360RT
  585. TPLINK_HWREV := 0x00420001
  586. endef
  587. TARGET_DEVICES += rnx-n360rt
  588. define Device/tl-wr941nd-v4
  589. $(Device/tplink-4m)
  590. DEVICE_TITLE := TP-LINK TL-WR941N/ND v4
  591. BOARDNAME := TL-WR741ND
  592. DEVICE_PROFILE := TLWR941
  593. TPLINK_HWID := 0x09410004
  594. endef
  595. TARGET_DEVICES += tl-wr941nd-v4
  596. define Device/tl-wr941nd-v5
  597. $(Device/tplink-4mlzma)
  598. DEVICE_TITLE := TP-LINK TL-WR941N/ND v5
  599. BOARDNAME := TL-WR941ND-v5
  600. DEVICE_PROFILE := TLWR941
  601. TPLINK_HWID := 0x09410005
  602. endef
  603. TARGET_DEVICES += tl-wr941nd-v5
  604. define Device/tl-wr941nd-v6
  605. $(Device/tplink-4mlzma)
  606. DEVICE_TITLE := TP-LINK TL-WR941N/ND v6
  607. BOARDNAME := TL-WR941ND-v6
  608. DEVICE_PROFILE := TLWR941
  609. TPLINK_HWID := 0x09410006
  610. endef
  611. TARGET_DEVICES += tl-wr941nd-v6
  612. # Chinese version (unlike European) is similar to the TL-WDR3500
  613. define Device/tl-wr941nd-v6-cn
  614. $(Device/tplink-4mlzma)
  615. DEVICE_TITLE := TP-LINK TL-WR941N/ND v6 (CN)
  616. BOARDNAME := TL-WDR3500
  617. DEVICE_PROFILE := TLWR941
  618. TPLINK_HWID := 0x09410006
  619. endef
  620. TARGET_DEVICES += tl-wr941nd-v6-cn