1 DEVICE_VARS += TPLINK_HWID TPLINK_HWREV TPLINK_FLASHLAYOUT TPLINK_HEADER_VERSION TPLINK_BOARD_NAME
3 # combine kernel and rootfs into one image
4 # mktplinkfw <type> <optional extra arguments to mktplinkfw binary>
5 # <type> is "sysupgrade" or "factory"
7 # -a align the rootfs start on an <align> bytes boundary
8 # -j add jffs2 end-of-filesystem markers
9 # -s strip padding from end of the image
10 # -X reserve <size> bytes in the firmware image (hexval prefixed with 0x)
11 define Build/mktplinkfw
12 -$(STAGING_DIR_HOST)/bin/mktplinkfw \
13 -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \
14 -m $(TPLINK_HEADER_VERSION) \
19 -a $(call rootfs_align,$(FILESYSTEM)) \
20 $(wordlist 2,$(words $(1)),$(1)) \
21 $(if $(findstring sysupgrade,$(word 1,$(1))),-s) && mv $@.new $@ || rm -f $@
24 # mktplinkfw-initramfs <optional extra arguments to mktplinkfw binary>
27 define Build/mktplinkfw-initramfs
28 $(STAGING_DIR_HOST)/bin/mktplinkfw \
29 -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) $(1) \
30 -m $(TPLINK_HEADER_VERSION) \
40 TPLINK_HEADER_VERSION := 1
42 KERNEL := kernel-bin | patch-cmdline | lzma
43 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | mktplinkfw-initramfs
44 IMAGES := sysupgrade.bin factory.bin
45 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade
46 IMAGE/factory.bin := append-rootfs | mktplinkfw factory
49 define Device/tplink-nolzma
51 LOADER_FLASH_OFFS := 0x22000
52 COMPILE := loader-$(1).gz
53 COMPILE/loader-$(1).gz := loader-okli-compile
54 KERNEL := copy-file $(KDIR)/vmlinux.bin.lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1)
55 KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux-initramfs.bin.lzma | loader-kernel-cmdline | mktplinkfw-initramfs
58 define Device/tplink-4m
59 $(Device/tplink-nolzma)
60 TPLINK_FLASHLAYOUT := 4M
64 define Device/tplink-8m
65 $(Device/tplink-nolzma)
66 TPLINK_FLASHLAYOUT := 8M
70 define Device/tplink-4mlzma
72 TPLINK_FLASHLAYOUT := 4Mlzma
76 define Device/tplink-8mlzma
78 TPLINK_FLASHLAYOUT := 8Mlzma
82 define Device/tplink-16mlzma
84 TPLINK_FLASHLAYOUT := 16Mlzma
88 define Device/cpe510-520
89 DEVICE_TITLE := TP-LINK CPE510/520
90 DEVICE_PACKAGES := rssileds
91 MTDPARTS := spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
94 TPLINK_BOARD_NAME := CPE510
95 DEVICE_PROFILE := CPE510
97 KERNEL := kernel-bin | patch-cmdline | lzma | loader-kernel
98 IMAGES := sysupgrade.bin factory.bin
99 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
100 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
103 define Device/cpe210-220
105 DEVICE_TITLE := TP-LINK CPE210/220
106 DEVICE_PACKAGES := rssileds
108 TPLINK_BOARD_NAME := CPE210
110 TARGET_DEVICES += cpe210-220 cpe510-520
112 define Device/tl-wdr4300-v1
113 $(Device/tplink-8mlzma)
114 DEVICE_TITLE := TP-LINK TL-WDR4300
115 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
116 BOARDNAME = TL-WDR4300
117 DEVICE_PROFILE = TLWDR4300
118 TPLINK_HWID := 0x43000001
121 define Device/tl-wdr3500-v1
122 $(Device/tl-wdr4300-v1)
123 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
124 BOARDNAME = TL-WDR3500
125 TPLINK_HWID := 0x35000001
128 define Device/tl-wdr3600-v1
129 $(Device/tl-wdr4300-v1)
130 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
131 TPLINK_HWID := 0x36000001
134 define Device/tl-wdr4300-v1-il
135 $(Device/tl-wdr4300-v1)
136 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 IL
137 TPLINK_HWID := 0x43008001
140 define Device/tl-wdr4310-v1
141 $(Device/tl-wdr4300-v1)
142 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
143 TPLINK_HWID := 0x43100001
146 define Device/mw4530r-v1
147 $(Device/tl-wdr4300-v1)
148 DEVICE_TITLE := Mercury MW4530R v1
149 TPLINK_HWID := 0x45300001
151 TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
153 define Device/tl-wdr6500-v2
154 $(Device/tplink-8mlzma)
155 DEVICE_TITLE := TP-LINK TL-WDR6500v2
156 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
157 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
158 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-initramfs
159 BOARDNAME = TL-WDR6500-v2
160 DEVICE_PROFILE = TLWDR6500V2
161 TPLINK_HWID := 0x65000002
162 TPLINK_HEADER_VERSION := 2
164 TARGET_DEVICES += tl-wdr6500-v2
166 define Device/tl-wdr3320-v2
167 $(Device/tplink-4mlzma)
168 DEVICE_TITLE := TP-LINK TL-WDR3320v2
169 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
170 BOARDNAME = TL-WDR3320-v2
171 DEVICE_PROFILE = TLWDR3320V2
172 TPLINK_HWID := 0x33200002
173 TPLINK_HEADER_VERSION := 2
175 TARGET_DEVICES += tl-wdr3320-v2
177 define Device/archer-c5-v1
178 $(Device/tplink-16mlzma)
179 DEVICE_TITLE := TP-LINK Archer C5
180 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
181 BOARDNAME := ARCHER-C5
182 DEVICE_PROFILE := ARCHERC7
183 TPLINK_HWID := 0xc5000001
186 define Device/archer-c7-v1
187 $(Device/tplink-8mlzma)
188 DEVICE_TITLE := TP-LINK Archer C7 v1
189 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
190 BOARDNAME := ARCHER-C7
191 DEVICE_PROFILE := ARCHERC7
192 TPLINK_HWID := 0x75000001
195 define Device/archer-c7-v2
196 $(Device/tplink-16mlzma)
197 DEVICE_TITLE := TP-LINK Archer C7 v2
198 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
199 BOARDNAME := ARCHER-C7-V2
200 DEVICE_PROFILE := ARCHERC7
201 TPLINK_HWID := 0xc7000002
202 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
203 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
204 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
207 define Device/tl-wdr7500-v3
208 $(Device/tplink-8mlzma)
209 DEVICE_TITLE := TP-LINK Archer C7 v3
210 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
211 BOARDNAME := ARCHER-C7
212 DEVICE_PROFILE := ARCHERC7
213 TPLINK_HWID := 0x75000003
215 TARGET_DEVICES += archer-c5-v1 archer-c7-v1 archer-c7-v2 tl-wdr7500-v3
217 define Device/tl-mr10u-v1
218 $(Device/tplink-4mlzma)
219 DEVICE_TITLE := TP-LINK TL-MR10U
220 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
221 BOARDNAME := TL-MR10U
222 DEVICE_PROFILE := TLMR10U
223 TPLINK_HWID := 0x00100101
224 CONSOLE := ttyATH0,115200
227 define Device/tl-mr11u-v1
228 $(Device/tplink-4mlzma)
229 DEVICE_TITLE := TP-LINK TL-MR11U
230 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
231 BOARDNAME := TL-MR11U
232 DEVICE_PROFILE := TLMR11U
233 TPLINK_HWID := 0x00110101
234 CONSOLE := ttyATH0,115200
237 define Device/tl-mr11u-v2
238 $(Device/tplink-4mlzma)
239 DEVICE_TITLE := TP-LINK TL-MR11U v2
240 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
241 BOARDNAME := TL-MR11U
242 DEVICE_PROFILE := TLMR11U
243 TPLINK_HWID := 0x00110102
244 CONSOLE := ttyATH0,115200
247 define Device/tl-mr12u-v1
248 $(Device/tplink-4mlzma)
249 DEVICE_TITLE := TP-LINK TL-MR12U
250 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
251 BOARDNAME := TL-MR13U
252 DEVICE_PROFILE := TLMR12U
253 TPLINK_HWID := 0x00120101
254 CONSOLE := ttyATH0,115200
257 define Device/tl-mr13u-v1
258 $(Device/tplink-4mlzma)
259 DEVICE_TITLE := TP-LINK TL-MR13U
260 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
261 BOARDNAME := TL-MR13U
262 DEVICE_PROFILE := TLMR13U
263 TPLINK_HWID := 0x00130101
264 CONSOLE := ttyATH0,115200
266 TARGET_DEVICES += tl-mr10u-v1 tl-mr11u-v1 tl-mr11u-v2 tl-mr12u-v1 tl-mr13u-v1
268 define Device/tl-mr3020-v1
269 $(Device/tplink-4mlzma)
270 DEVICE_TITLE := TP-LINK TL-MR3020
271 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
272 BOARDNAME := TL-MR3020
273 DEVICE_PROFILE := TLMR3020
274 TPLINK_HWID := 0x30200001
275 CONSOLE := ttyATH0,115200
278 define Device/tl-mr3040-v1
279 $(Device/tplink-4mlzma)
280 DEVICE_TITLE := TP-LINK TL-MR3040
281 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
282 BOARDNAME := TL-MR3040
283 DEVICE_PROFILE := TLMR3040
284 TPLINK_HWID := 0x30400001
285 CONSOLE := ttyATH0,115200
288 define Device/tl-mr3040-v2
289 $(Device/tplink-4mlzma)
290 DEVICE_TITLE := TP-LINK TL-MR3040
291 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
292 BOARDNAME := TL-MR3040-v2
293 DEVICE_PROFILE := TLMR3040
294 TPLINK_HWID := 0x30400002
295 CONSOLE := ttyATH0,115200
298 define Device/tl-mr3220-v1
300 DEVICE_TITLE := TP-LINK TL-MR3220
301 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
302 BOARDNAME := TL-MR3220
303 DEVICE_PROFILE := TLMR3220
304 TPLINK_HWID := 0x32200001
307 define Device/tl-mr3220-v2
308 $(Device/tplink-4mlzma)
309 DEVICE_TITLE := TP-LINK TL-MR3220 v2
310 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
311 BOARDNAME := TL-MR3220-v2
312 DEVICE_PROFILE := TLMR3220
313 TPLINK_HWID := 0x32200002
314 CONSOLE := ttyATH0,115200
317 define Device/tl-mr3420-v1
319 DEVICE_TITLE := TP-LINK TL-MR3420
320 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
321 BOARDNAME := TL-MR3420
322 DEVICE_PROFILE := TLMR3420
323 TPLINK_HWID := 0x34200001
326 define Device/tl-mr3420-v2
327 $(Device/tplink-4mlzma)
328 DEVICE_TITLE := TP-LINK TL-MR3420 v2
329 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
330 BOARDNAME := TL-MR3420-v2
331 DEVICE_PROFILE := TLMR3420
332 TPLINK_HWID := 0x34200002
334 TARGET_DEVICES += tl-mr3020-v1 tl-mr3040-v1 tl-mr3040-v2 tl-mr3220-v1 tl-mr3220-v2 tl-mr3420-v1 tl-mr3420-v2
336 define Device/tl-wr703n-v1
337 $(Device/tplink-4mlzma)
338 DEVICE_TITLE := TP-LINK TL-WR703N
339 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
340 BOARDNAME := TL-WR703N
341 DEVICE_PROFILE := TLWR703
342 TPLINK_HWID := 0x07030101
343 CONSOLE := ttyATH0,115200
346 define Device/tl-wr710n-v1
347 $(Device/tplink-8mlzma)
348 DEVICE_TITLE := TP-LINK TL-WR710N
349 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
350 BOARDNAME := TL-WR710N
351 DEVICE_PROFILE := TLWR710
352 TPLINK_HWID := 0x07100001
353 CONSOLE := ttyATH0,115200
356 define Device/tl-wr710n-v2
357 $(Device/tplink-4mlzma)
358 DEVICE_TITLE := TP-LINK TL-WR710N v2
359 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
360 BOARDNAME := TL-WR710N v2
361 DEVICE_PROFILE := TLWR710
362 TPLINK_HWID := 0x07100002
363 CONSOLE := ttyATH0,115200
366 define Device/tl-wr710n-v2.1
367 $(Device/tplink-8mlzma)
368 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
369 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
370 BOARDNAME := TL-WR710N v2.1
371 DEVICE_PROFILE := TLWR710
372 TPLINK_HWID := 0x07100002
373 TPLINK_HWREV := 0x00000002
374 CONSOLE := ttyATH0,115200
377 define Device/tl-wr720n-v3
378 $(Device/tplink-4mlzma)
379 DEVICE_TITLE := TP-LINK TL-WR720N v3
380 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
381 BOARDNAME := TL-WR720N-v3
382 DEVICE_PROFILE := TLWR720
383 TPLINK_HWID := 0x07200103
384 CONSOLE := ttyATH0,115200
387 define Device/tl-wr720n-v4
388 $(Device/tplink-4mlzma)
389 DEVICE_TITLE := TP-LINK TL-WR720N v4
390 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
391 BOARDNAME := TL-WR720N-v3
392 DEVICE_PROFILE := TLWR720
393 TPLINK_HWID := 0x07200104
394 CONSOLE := ttyATH0,115200
396 TARGET_DEVICES += tl-wr703n-v1 tl-wr710n-v1 tl-wr710n-v2 tl-wr710n-v2.1 tl-wr720n-v3 tl-wr720n-v4
398 define Device/tl-wr740n-v1
400 DEVICE_TITLE := TP-LINK TL-WR740N/ND v1
401 BOARDNAME := TL-WR741ND
402 DEVICE_PROFILE := TLWR740
403 TPLINK_HWID := 0x07400001
406 define Device/tl-wr740n-v3
408 DEVICE_TITLE := TP-LINK TL-WR740N/ND v3
409 BOARDNAME := TL-WR741ND
410 DEVICE_PROFILE := TLWR740
411 TPLINK_HWID := 0x07400003
414 define Device/tl-wr740n-v4
415 $(Device/tplink-4mlzma)
416 DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
417 BOARDNAME := TL-WR741ND-v4
418 DEVICE_PROFILE := TLWR740
419 TPLINK_HWID := 0x07400004
420 CONSOLE := ttyATH0,115200
423 define Device/tl-wr740n-v5
424 $(Device/tplink-4mlzma)
425 DEVICE_TITLE := TP-LINK TL-WR740N/ND v5
426 BOARDNAME := TL-WR741ND-v4
427 DEVICE_PROFILE := TLWR740
428 TPLINK_HWID := 0x07400005
429 CONSOLE := ttyATH0,115200
432 define Device/tl-wr740n-v6
433 $(Device/tplink-4mlzma)
434 DEVICE_TITLE := TP-LINK TL-WR740N/ND v6
435 BOARDNAME := TL-WR841N-v9
436 DEVICE_PROFILE := TLWR740
437 TPLINK_HWID := 0x07400006
440 define Device/tl-wr741nd-v1
442 DEVICE_TITLE := TP-LINK TL-WR741N/ND v1
443 BOARDNAME := TL-WR741ND
444 DEVICE_PROFILE := TLWR741
445 TPLINK_HWID := 0x07410001
448 define Device/tl-wr741nd-v2
450 DEVICE_TITLE := TP-LINK TL-WR741N/ND v2
451 BOARDNAME := TL-WR741ND
452 DEVICE_PROFILE := TLWR741
453 TPLINK_HWID := 0x07410001
456 define Device/tl-wr741nd-v4
457 $(Device/tplink-4mlzma)
458 DEVICE_TITLE := TP-LINK TL-WR741N/ND v4
459 BOARDNAME := TL-WR741ND-v4
460 DEVICE_PROFILE := TLWR741
461 TPLINK_HWID := 0x07410004
462 CONSOLE := ttyATH0,115200
465 define Device/tl-wr741nd-v5
466 $(Device/tplink-4mlzma)
467 DEVICE_TITLE := TP-LINK TL-WR741N/ND v5
468 BOARDNAME := TL-WR741ND-v4
469 DEVICE_PROFILE := TLWR741
470 TPLINK_HWID := 0x07400005
471 CONSOLE := ttyATH0,115200
474 define Device/tl-wr810n
475 $(Device/tplink-8mlzma)
476 DEVICE_TITLE := TP-Link TL-WR810N
477 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
478 BOARDNAME := TL-WR810N
479 DEVICE_PROFILE := TLWR810
480 TPLINK_HWID := 0x08100001
482 TARGET_DEVICES += tl-wr810n
484 define Device/tl-wr743nd-v1
486 DEVICE_TITLE := TP-LINK TL-WR743N/ND v1
487 BOARDNAME := TL-WR741ND
488 DEVICE_PROFILE := TLWR743
489 TPLINK_HWID := 0x07430001
492 define Device/tl-wr743nd-v2
493 $(Device/tplink-4mlzma)
494 DEVICE_TITLE := TP-LINK TL-WR743N/ND v2
495 BOARDNAME := TL-WR741ND-v4
496 DEVICE_PROFILE := TLWR743
497 TPLINK_HWID := 0x07430002
498 CONSOLE := ttyATH0,115200
500 TARGET_DEVICES += tl-wr740n-v1 tl-wr740n-v3 tl-wr740n-v4 tl-wr740n-v5 tl-wr740n-v6 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr741nd-v5 tl-wr743nd-v1 tl-wr743nd-v2
502 define Device/tl-wr841-v1.5
504 DEVICE_TITLE := TP-LINK TL-WR841N/ND v1.5
505 BOARDNAME := TL-WR841N-v1.5
506 DEVICE_PROFILE := TLWR841
507 TPLINK_HWID := 0x08410002
511 define Device/tl-wr841-v3
513 DEVICE_TITLE := TP-LINK TL-WR841N/ND v3
514 BOARDNAME := TL-WR941ND
515 DEVICE_PROFILE := TLWR841
516 TPLINK_HWID := 0x08410003
520 define Device/tl-wr841-v5
522 DEVICE_TITLE := TP-LINK TL-WR841N/ND v5
523 BOARDNAME := TL-WR741ND
524 DEVICE_PROFILE := TLWR841
525 TPLINK_HWID := 0x08410005
528 define Device/tl-wr841-v7
530 DEVICE_TITLE := TP-LINK TL-WR841N/ND v7
531 BOARDNAME := TL-WR841N-v7
532 DEVICE_PROFILE := TLWR841
533 TPLINK_HWID := 0x08410007
536 define Device/tl-wr841-v8
537 $(Device/tplink-4mlzma)
538 DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
539 BOARDNAME := TL-WR841N-v8
540 DEVICE_PROFILE := TLWR841
541 TPLINK_HWID := 0x08410008
544 define Device/tl-wr841-v9
545 $(Device/tplink-4mlzma)
546 DEVICE_TITLE := TP-LINK TL-WR841N/ND v9
547 BOARDNAME := TL-WR841N-v9
548 DEVICE_PROFILE := TLWR841
549 TPLINK_HWID := 0x08410009
552 define Device/tl-wr841-v10
553 $(Device/tplink-4mlzma)
554 DEVICE_TITLE := TP-LINK TL-WR841N/ND v10
555 BOARDNAME := TL-WR841N-v9
556 DEVICE_PROFILE := TLWR841
557 TPLINK_HWID := 0x08410010
560 define Device/tl-wr841-v11
561 $(Device/tplink-4mlzma)
562 DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
563 BOARDNAME := TL-WR841N-v11
564 DEVICE_PROFILE := TLWR841
565 TPLINK_HWID := 0x08410011
568 define Device/tl-wr842n-v1
570 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
571 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
572 BOARDNAME := TL-MR3420
573 DEVICE_PROFILE := TLWR842
574 TPLINK_HWID := 0x08420001
577 define Device/tl-wr842n-v2
578 $(Device/tplink-8mlzma)
579 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
580 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
581 BOARDNAME := TL-WR842N-v2
582 DEVICE_PROFILE := TLWR842
583 TPLINK_HWID := 0x8420002
586 define Device/tl-wr842n-v3
587 $(Device/tplink-16mlzma)
588 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
589 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
590 BOARDNAME := TL-WR842N-v3
591 DEVICE_PROFILE := TLWR842
592 TPLINK_HWID := 0x08420003
595 define Device/tl-wr843nd-v1
596 $(Device/tplink-4mlzma)
597 DEVICE_TITLE := TP-LINK TL-WR843N/ND
598 BOARDNAME := TL-WR841N-v8
599 DEVICE_PROFILE := TLWR843
600 TPLINK_HWID := 0x08430001
603 define Device/tl-wr847n-v8
604 $(Device/tplink-4mlzma)
605 DEVICE_TITLE := TP-LINK TL-WR847N/ND v8
606 BOARDNAME := TL-WR841N-v8
607 DEVICE_PROFILE := TLWR841
608 TPLINK_HWID := 0x08470008
610 TARGET_DEVICES += tl-wr841-v1.5 tl-wr841-v3 tl-wr841-v5 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11 tl-wr842n-v1 tl-wr842n-v2 tl-wr842n-v3 tl-wr843nd-v1 tl-wr847n-v8
612 define Device/tl-wr941nd-v2
614 DEVICE_TITLE := TP-LINK TL-WR941N/ND v2
615 BOARDNAME := TL-WR941ND
616 DEVICE_PROFILE := TLWR941
617 TPLINK_HWID := 0x09410002
621 define Device/tl-wr941nd-v3
623 DEVICE_TITLE := TP-LINK TL-WR941N/ND v3
624 BOARDNAME := TL-WR941ND
625 DEVICE_PROFILE := TLWR941
626 TPLINK_HWID := 0x09410002
630 define Device/tl-wr941nd-v4
632 DEVICE_TITLE := TP-LINK TL-WR941N/ND v4
633 BOARDNAME := TL-WR741ND
634 DEVICE_PROFILE := TLWR941
635 TPLINK_HWID := 0x09410004
638 define Device/tl-wr941nd-v5
639 $(Device/tplink-4mlzma)
640 DEVICE_TITLE := TP-LINK TL-WR941N/ND v5
641 BOARDNAME := TL-WR941ND-v5
642 DEVICE_PROFILE := TLWR941
643 TPLINK_HWID := 0x09410005
646 define Device/tl-wr941nd-v6
647 $(Device/tplink-4mlzma)
648 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6
649 BOARDNAME := TL-WR941ND-v6
650 DEVICE_PROFILE := TLWR941
651 TPLINK_HWID := 0x09410006
654 # Chinese version (unlike European) is similar to the TL-WDR3500
655 define Device/tl-wr941nd-v6-cn
656 $(Device/tplink-4mlzma)
657 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6 (CN)
658 BOARDNAME := TL-WDR3500
659 DEVICE_PROFILE := TLWR941
660 TPLINK_HWID := 0x09410006
662 TARGET_DEVICES += tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr941nd-v5 tl-wr941nd-v6 tl-wr941nd-v6-cn
664 define Device/tl-wr1041n-v2
665 $(Device/tplink-4mlzma)
666 DEVICE_TITLE := TP-LINK TL-WR1041N
667 BOARDNAME := TL-WR1041N-v2
668 DEVICE_PROFILE := TLWR1041
669 TPLINK_HWID := 0x10410002
671 TARGET_DEVICES += tl-wr1041n-v2
673 define Device/tl-wr1043nd-v1
675 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
676 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
677 BOARDNAME := TL-WR1043ND
678 DEVICE_PROFILE := TLWR1043
679 TPLINK_HWID := 0x10430001
682 define Device/tl-wr1043nd-v2
683 $(Device/tplink-8mlzma)
684 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
685 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
686 BOARDNAME := TL-WR1043ND-v2
687 DEVICE_PROFILE := TLWR1043
688 TPLINK_HWID := 0x10430002
691 define Device/tl-wr1043nd-v3
692 $(Device/tplink-8mlzma)
693 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
694 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
695 BOARDNAME := TL-WR1043ND-v2
696 DEVICE_PROFILE := TLWR1043
697 TPLINK_HWID := 0x10430003
699 TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3
701 define Device/tl-wr2543-v1
702 $(Device/tplink-8mlzma)
703 DEVICE_TITLE := TP-LINK TL-WR2543N/ND
704 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
705 BOARDNAME := TL-WR2543N
706 DEVICE_PROFILE := TLWR2543
707 TPLINK_HWID := 0x25430001
708 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
709 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
711 TARGET_DEVICES += tl-wr2543-v1
713 define Device/tl-wdr4900-v2
714 $(Device/tplink-8mlzma)
715 DEVICE_TITLE := TP-LINK TL-WDR4900v2
716 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
717 BOARDNAME := TL-WDR4900-v2
718 DEVICE_PROFILE := TLWDR4900V2
719 TPLINK_HWID := 0x49000002
721 TARGET_DEVICES += tl-wdr4900-v2
723 define Device/tl-wa701nd-v1
725 DEVICE_TITLE := TP-LINK TL-WA701N/ND v1
726 BOARDNAME := TL-WA901ND
727 DEVICE_PROFILE := TLWA701
728 TPLINK_HWID := 0x07010001
731 define Device/tl-wa701nd-v2
732 $(Device/tplink-4mlzma)
733 DEVICE_TITLE := TP-LINK TL-WA701N/ND v2
734 BOARDNAME := TL-WA701ND-v2
735 DEVICE_PROFILE := TLWA701
736 TPLINK_HWID := 0x07010002
737 CONSOLE := ttyATH0,115200
740 define Device/tl-wa730re-v1
742 DEVICE_TITLE := TP-LINK TL-WA730RE
743 BOARDNAME := TL-WA901ND
744 DEVICE_PROFILE := TLWA730RE
745 TPLINK_HWID := 0x07300001
748 define Device/tl-wa750re-v1
749 $(Device/tplink-4mlzma)
750 DEVICE_TITLE := TP-LINK TL-WA750RE
751 DEVICE_PACKAGES := rssileds
752 BOARDNAME := TL-WA750RE
753 DEVICE_PROFILE := TLWA750
754 TPLINK_HWID := 0x07500001
757 define Device/tl-wa7510n
759 DEVICE_TITLE := TP-LINK TL-WA7510N
760 BOARDNAME := TL-WA7510N
761 DEVICE_PROFILE := TLWA7510
762 TPLINK_HWID := 0x75100001
764 TARGET_DEVICES += tl-wa701nd-v1 tl-wa701nd-v2 tl-wa730re-v1 tl-wa750re-v1 tl-wa7510n
766 define Device/tl-wa801nd-v1
768 DEVICE_TITLE := TP-LINK TL-WA801N/ND v1
769 BOARDNAME := TL-WA901ND
770 DEVICE_PROFILE := TLWA801
771 TPLINK_HWID := 0x08010001
774 define Device/tl-wa801nd-v2
775 $(Device/tplink-4mlzma)
776 DEVICE_TITLE := TP-LINK TL-WA801N/ND v2
777 BOARDNAME := TL-WA801ND-v2
778 DEVICE_PROFILE := TLWA801
779 TPLINK_HWID := 0x08010002
782 define Device/tl-wa801nd-v3
783 $(Device/tplink-4mlzma)
784 DEVICE_TITLE := TP-LINK TL-WA801N/ND v3
785 BOARDNAME := TL-WA801ND-v3
786 DEVICE_PROFILE := TLWA801
787 TPLINK_HWID := 0x08010003
790 define Device/tl-wa830re-v1
792 DEVICE_TITLE := TP-LINK TL-WA830RE
793 BOARDNAME := TL-WA901ND
794 DEVICE_PROFILE := TLWA830
795 TPLINK_HWID := 0x08300010
798 define Device/tl-wa830re-v2
799 $(Device/tplink-4mlzma)
800 DEVICE_TITLE := TP-LINK TL-WA830RE
801 BOARDNAME := TL-WA830RE-v2
802 DEVICE_PROFILE := TLWA830
803 TPLINK_HWID := 0x08300002
806 define Device/tl-wa850re-v1
807 $(Device/tplink-4mlzma)
808 DEVICE_TITLE := TP-LINK TL-WA850RE
809 BOARDNAME := TL-WA850RE
810 DEVICE_PROFILE := TLWA850
811 TPLINK_HWID := 0x08500001
814 define Device/tl-wa860re-v1
815 $(Device/tplink-4mlzma)
816 DEVICE_TITLE := TP-LINK TL-WA860RE
817 BOARDNAME := TL-WA860RE
818 DEVICE_PROFILE := TLWA860
819 TPLINK_HWID := 0x08600001
821 TARGET_DEVICES += tl-wa801nd-v1 tl-wa801nd-v2 tl-wa801nd-v3 tl-wa830re-v1 tl-wa830re-v2 tl-wa850re-v1 tl-wa860re-v1
823 define Device/tl-wa901nd-v1
825 DEVICE_TITLE := TP-LINK TL-WA901N/ND v1
826 BOARDNAME := TL-WA901ND
827 DEVICE_PROFILE := TLWA901
828 TPLINK_HWID := 0x09010001
831 define Device/tl-wa901nd-v2
833 DEVICE_TITLE := TP-LINK TL-WA901N/ND v2
834 BOARDNAME := TL-WA901ND-v2
835 DEVICE_PROFILE := TLWA901
836 TPLINK_HWID := 0x09010002
839 define Device/tl-wa901nd-v3
840 $(Device/tplink-4mlzma)
841 DEVICE_TITLE := TP-LINK TL-WA901N/ND v3
842 BOARDNAME := TL-WA901ND-v3
843 DEVICE_PROFILE := TLWA901
844 TPLINK_HWID := 0x09010003
847 define Device/tl-wa901nd-v4
848 $(Device/tplink-4mlzma)
849 DEVICE_TITLE := TP-LINK TL-WA901N/ND v4
850 BOARDNAME := TL-WA901ND-v4
851 DEVICE_PROFILE := TLWA901
852 TPLINK_HWID := 0x09010004
855 TARGET_DEVICES += tl-wa901nd-v1 tl-wa901nd-v2 tl-wa901nd-v3 tl-wa901nd-v4
857 define Device/tl-wa7210n-v2
858 $(Device/tplink-4mlzma)
859 DEVICE_TITLE := TP-LINK TL-WA7210N
860 DEVICE_PACKAGES := rssileds kmod-ledtrig-netdev
861 BOARDNAME := TL-WA7210N-v2
862 DEVICE_PROFILE := TLWA7210
863 TPLINK_HWID := 0x72100002
864 CONSOLE := ttyATH0,115200
866 TARGET_DEVICES += tl-wa7210n-v2