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 v1
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/tplink-8mlzma)
123 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
124 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
125 BOARDNAME := TL-WDR3500
126 DEVICE_PROFILE := TLWDR4300
127 TPLINK_HWID := 0x35000001
130 define Device/tl-wdr3600-v1
131 $(Device/tplink-8mlzma)
132 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
133 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
134 BOARDNAME := TL-WDR4300
135 DEVICE_PROFILE := TLWDR4300
136 TPLINK_HWID := 0x36000001
139 define Device/tl-wdr4300-v1-il
140 $(Device/tplink-8mlzma)
141 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 IL
142 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
143 BOARDNAME := TL-WDR4300
144 DEVICE_PROFILE := TLWDR4300
145 TPLINK_HWID := 0x43008001
148 define Device/tl-wdr4310-v1
149 $(Device/tplink-8mlzma)
150 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
151 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
152 BOARDNAME := TL-WDR4300
153 DEVICE_PROFILE = TLWDR4300
154 TPLINK_HWID := 0x43100001
157 define Device/mw4530r-v1
158 $(Device/tl-wdr4300-v1)
159 DEVICE_TITLE := Mercury MW4530R v1
160 TPLINK_HWID := 0x45300001
162 TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
164 define Device/tl-wdr6500-v2
165 $(Device/tplink-8mlzma)
166 DEVICE_TITLE := TP-LINK TL-WDR6500v2
167 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
168 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
169 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-initramfs
170 BOARDNAME = TL-WDR6500-v2
171 DEVICE_PROFILE = TLWDR6500V2
172 TPLINK_HWID := 0x65000002
173 TPLINK_HEADER_VERSION := 2
175 TARGET_DEVICES += tl-wdr6500-v2
177 define Device/tl-wdr3320-v2
178 $(Device/tplink-4mlzma)
179 DEVICE_TITLE := TP-LINK TL-WDR3320v2
180 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
181 BOARDNAME = TL-WDR3320-v2
182 DEVICE_PROFILE = TLWDR3320V2
183 TPLINK_HWID := 0x33200002
184 TPLINK_HEADER_VERSION := 2
186 TARGET_DEVICES += tl-wdr3320-v2
188 define Device/archer-c5-v1
189 $(Device/tplink-16mlzma)
190 DEVICE_TITLE := TP-LINK Archer C5
191 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
192 BOARDNAME := ARCHER-C5
193 DEVICE_PROFILE := ARCHERC7
194 TPLINK_HWID := 0xc5000001
197 define Device/archer-c7-v1
198 $(Device/tplink-8mlzma)
199 DEVICE_TITLE := TP-LINK Archer C7 v1
200 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
201 BOARDNAME := ARCHER-C7
202 DEVICE_PROFILE := ARCHERC7
203 TPLINK_HWID := 0x75000001
206 define Device/archer-c7-v2
207 $(Device/tplink-16mlzma)
208 DEVICE_TITLE := TP-LINK Archer C7 v2
209 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
210 BOARDNAME := ARCHER-C7-V2
211 DEVICE_PROFILE := ARCHERC7
212 TPLINK_HWID := 0xc7000002
213 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
214 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
215 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
218 define Device/tl-wdr7500-v3
219 $(Device/tplink-8mlzma)
220 DEVICE_TITLE := TP-LINK Archer C7 v3
221 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
222 BOARDNAME := ARCHER-C7
223 DEVICE_PROFILE := ARCHERC7
224 TPLINK_HWID := 0x75000003
226 TARGET_DEVICES += archer-c5-v1 archer-c7-v1 archer-c7-v2 tl-wdr7500-v3
228 define Device/tl-mr10u-v1
229 $(Device/tplink-4mlzma)
230 DEVICE_TITLE := TP-LINK TL-MR10U
231 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
232 BOARDNAME := TL-MR10U
233 DEVICE_PROFILE := TLMR10U
234 TPLINK_HWID := 0x00100101
235 CONSOLE := ttyATH0,115200
238 define Device/tl-mr11u-v1
239 $(Device/tplink-4mlzma)
240 DEVICE_TITLE := TP-LINK TL-MR11U
241 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
242 BOARDNAME := TL-MR11U
243 DEVICE_PROFILE := TLMR11U
244 TPLINK_HWID := 0x00110101
245 CONSOLE := ttyATH0,115200
248 define Device/tl-mr11u-v2
249 $(Device/tplink-4mlzma)
250 DEVICE_TITLE := TP-LINK TL-MR11U v2
251 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
252 BOARDNAME := TL-MR11U
253 DEVICE_PROFILE := TLMR11U
254 TPLINK_HWID := 0x00110102
255 CONSOLE := ttyATH0,115200
258 define Device/tl-mr12u-v1
259 $(Device/tplink-4mlzma)
260 DEVICE_TITLE := TP-LINK TL-MR12U
261 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
262 BOARDNAME := TL-MR13U
263 DEVICE_PROFILE := TLMR12U
264 TPLINK_HWID := 0x00120101
265 CONSOLE := ttyATH0,115200
268 define Device/tl-mr13u-v1
269 $(Device/tplink-4mlzma)
270 DEVICE_TITLE := TP-LINK TL-MR13U
271 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
272 BOARDNAME := TL-MR13U
273 DEVICE_PROFILE := TLMR13U
274 TPLINK_HWID := 0x00130101
275 CONSOLE := ttyATH0,115200
277 TARGET_DEVICES += tl-mr10u-v1 tl-mr11u-v1 tl-mr11u-v2 tl-mr12u-v1 tl-mr13u-v1
279 define Device/tl-mr3020-v1
280 $(Device/tplink-4mlzma)
281 DEVICE_TITLE := TP-LINK TL-MR3020
282 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
283 BOARDNAME := TL-MR3020
284 DEVICE_PROFILE := TLMR3020
285 TPLINK_HWID := 0x30200001
286 CONSOLE := ttyATH0,115200
289 define Device/tl-mr3040-v1
290 $(Device/tplink-4mlzma)
291 DEVICE_TITLE := TP-LINK TL-MR3040
292 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
293 BOARDNAME := TL-MR3040
294 DEVICE_PROFILE := TLMR3040
295 TPLINK_HWID := 0x30400001
296 CONSOLE := ttyATH0,115200
299 define Device/tl-mr3040-v2
300 $(Device/tplink-4mlzma)
301 DEVICE_TITLE := TP-LINK TL-MR3040
302 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
303 BOARDNAME := TL-MR3040-v2
304 DEVICE_PROFILE := TLMR3040
305 TPLINK_HWID := 0x30400002
306 CONSOLE := ttyATH0,115200
309 define Device/tl-mr3220-v1
311 DEVICE_TITLE := TP-LINK TL-MR3220
312 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
313 BOARDNAME := TL-MR3220
314 DEVICE_PROFILE := TLMR3220
315 TPLINK_HWID := 0x32200001
318 define Device/tl-mr3220-v2
319 $(Device/tplink-4mlzma)
320 DEVICE_TITLE := TP-LINK TL-MR3220 v2
321 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
322 BOARDNAME := TL-MR3220-v2
323 DEVICE_PROFILE := TLMR3220
324 TPLINK_HWID := 0x32200002
325 CONSOLE := ttyATH0,115200
328 define Device/tl-mr3420-v1
330 DEVICE_TITLE := TP-LINK TL-MR3420
331 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
332 BOARDNAME := TL-MR3420
333 DEVICE_PROFILE := TLMR3420
334 TPLINK_HWID := 0x34200001
337 define Device/tl-mr3420-v2
338 $(Device/tplink-4mlzma)
339 DEVICE_TITLE := TP-LINK TL-MR3420 v2
340 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
341 BOARDNAME := TL-MR3420-v2
342 DEVICE_PROFILE := TLMR3420
343 TPLINK_HWID := 0x34200002
345 TARGET_DEVICES += tl-mr3020-v1 tl-mr3040-v1 tl-mr3040-v2 tl-mr3220-v1 tl-mr3220-v2 tl-mr3420-v1 tl-mr3420-v2
347 define Device/tl-wr703n-v1
348 $(Device/tplink-4mlzma)
349 DEVICE_TITLE := TP-LINK TL-WR703N
350 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
351 BOARDNAME := TL-WR703N
352 DEVICE_PROFILE := TLWR703
353 TPLINK_HWID := 0x07030101
354 CONSOLE := ttyATH0,115200
357 define Device/tl-wr710n-v1
358 $(Device/tplink-8mlzma)
359 DEVICE_TITLE := TP-LINK TL-WR710N
360 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
361 BOARDNAME := TL-WR710N
362 DEVICE_PROFILE := TLWR710
363 TPLINK_HWID := 0x07100001
364 CONSOLE := ttyATH0,115200
367 define Device/tl-wr710n-v2
368 $(Device/tplink-4mlzma)
369 DEVICE_TITLE := TP-LINK TL-WR710N v2
370 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
371 BOARDNAME := TL-WR710N v2
372 DEVICE_PROFILE := TLWR710
373 TPLINK_HWID := 0x07100002
374 CONSOLE := ttyATH0,115200
377 define Device/tl-wr710n-v2.1
378 $(Device/tplink-8mlzma)
379 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
380 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
381 BOARDNAME := TL-WR710N v2.1
382 DEVICE_PROFILE := TLWR710
383 TPLINK_HWID := 0x07100002
384 TPLINK_HWREV := 0x00000002
385 CONSOLE := ttyATH0,115200
388 define Device/tl-wr720n-v3
389 $(Device/tplink-4mlzma)
390 DEVICE_TITLE := TP-LINK TL-WR720N v3
391 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
392 BOARDNAME := TL-WR720N-v3
393 DEVICE_PROFILE := TLWR720
394 TPLINK_HWID := 0x07200103
395 CONSOLE := ttyATH0,115200
398 define Device/tl-wr720n-v4
399 $(Device/tplink-4mlzma)
400 DEVICE_TITLE := TP-LINK TL-WR720N v4
401 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
402 BOARDNAME := TL-WR720N-v3
403 DEVICE_PROFILE := TLWR720
404 TPLINK_HWID := 0x07200104
405 CONSOLE := ttyATH0,115200
407 TARGET_DEVICES += tl-wr703n-v1 tl-wr710n-v1 tl-wr710n-v2 tl-wr710n-v2.1 tl-wr720n-v3 tl-wr720n-v4
409 define Device/tl-wr740n-v1
411 DEVICE_TITLE := TP-LINK TL-WR740N/ND v1
412 BOARDNAME := TL-WR741ND
413 DEVICE_PROFILE := TLWR740
414 TPLINK_HWID := 0x07400001
417 define Device/tl-wr740n-v3
419 DEVICE_TITLE := TP-LINK TL-WR740N/ND v3
420 BOARDNAME := TL-WR741ND
421 DEVICE_PROFILE := TLWR740
422 TPLINK_HWID := 0x07400003
425 define Device/tl-wr740n-v4
426 $(Device/tplink-4mlzma)
427 DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
428 BOARDNAME := TL-WR741ND-v4
429 DEVICE_PROFILE := TLWR740
430 TPLINK_HWID := 0x07400004
431 CONSOLE := ttyATH0,115200
434 define Device/tl-wr740n-v5
435 $(Device/tplink-4mlzma)
436 DEVICE_TITLE := TP-LINK TL-WR740N/ND v5
437 BOARDNAME := TL-WR741ND-v4
438 DEVICE_PROFILE := TLWR740
439 TPLINK_HWID := 0x07400005
440 CONSOLE := ttyATH0,115200
443 define Device/tl-wr740n-v6
444 $(Device/tplink-4mlzma)
445 DEVICE_TITLE := TP-LINK TL-WR740N/ND v6
446 BOARDNAME := TL-WR841N-v9
447 DEVICE_PROFILE := TLWR740
448 TPLINK_HWID := 0x07400006
451 define Device/tl-wr741nd-v1
453 DEVICE_TITLE := TP-LINK TL-WR741N/ND v1
454 BOARDNAME := TL-WR741ND
455 DEVICE_PROFILE := TLWR741
456 TPLINK_HWID := 0x07410001
459 define Device/tl-wr741nd-v2
461 DEVICE_TITLE := TP-LINK TL-WR741N/ND v2
462 BOARDNAME := TL-WR741ND
463 DEVICE_PROFILE := TLWR741
464 TPLINK_HWID := 0x07410001
467 define Device/tl-wr741nd-v4
468 $(Device/tplink-4mlzma)
469 DEVICE_TITLE := TP-LINK TL-WR741N/ND v4
470 BOARDNAME := TL-WR741ND-v4
471 DEVICE_PROFILE := TLWR741
472 TPLINK_HWID := 0x07410004
473 CONSOLE := ttyATH0,115200
476 define Device/tl-wr741nd-v5
477 $(Device/tplink-4mlzma)
478 DEVICE_TITLE := TP-LINK TL-WR741N/ND v5
479 BOARDNAME := TL-WR741ND-v4
480 DEVICE_PROFILE := TLWR741
481 TPLINK_HWID := 0x07400005
482 CONSOLE := ttyATH0,115200
485 define Device/tl-wr810n
486 $(Device/tplink-8mlzma)
487 DEVICE_TITLE := TP-Link TL-WR810N
488 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
489 BOARDNAME := TL-WR810N
490 DEVICE_PROFILE := TLWR810
491 TPLINK_HWID := 0x08100001
493 TARGET_DEVICES += tl-wr810n
495 define Device/tl-wr743nd-v1
497 DEVICE_TITLE := TP-LINK TL-WR743N/ND v1
498 BOARDNAME := TL-WR741ND
499 DEVICE_PROFILE := TLWR743
500 TPLINK_HWID := 0x07430001
503 define Device/tl-wr743nd-v2
504 $(Device/tplink-4mlzma)
505 DEVICE_TITLE := TP-LINK TL-WR743N/ND v2
506 BOARDNAME := TL-WR741ND-v4
507 DEVICE_PROFILE := TLWR743
508 TPLINK_HWID := 0x07430002
509 CONSOLE := ttyATH0,115200
511 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
513 define Device/tl-wr841-v1.5
515 DEVICE_TITLE := TP-LINK TL-WR841N/ND v1.5
516 BOARDNAME := TL-WR841N-v1.5
517 DEVICE_PROFILE := TLWR841
518 TPLINK_HWID := 0x08410002
522 define Device/tl-wr841-v3
524 DEVICE_TITLE := TP-LINK TL-WR841N/ND v3
525 BOARDNAME := TL-WR941ND
526 DEVICE_PROFILE := TLWR841
527 TPLINK_HWID := 0x08410003
531 define Device/tl-wr841-v5
533 DEVICE_TITLE := TP-LINK TL-WR841N/ND v5
534 BOARDNAME := TL-WR741ND
535 DEVICE_PROFILE := TLWR841
536 TPLINK_HWID := 0x08410005
539 define Device/tl-wr841-v7
541 DEVICE_TITLE := TP-LINK TL-WR841N/ND v7
542 BOARDNAME := TL-WR841N-v7
543 DEVICE_PROFILE := TLWR841
544 TPLINK_HWID := 0x08410007
547 define Device/tl-wr841-v8
548 $(Device/tplink-4mlzma)
549 DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
550 BOARDNAME := TL-WR841N-v8
551 DEVICE_PROFILE := TLWR841
552 TPLINK_HWID := 0x08410008
555 define Device/tl-wr841-v9
556 $(Device/tplink-4mlzma)
557 DEVICE_TITLE := TP-LINK TL-WR841N/ND v9
558 BOARDNAME := TL-WR841N-v9
559 DEVICE_PROFILE := TLWR841
560 TPLINK_HWID := 0x08410009
563 define Device/tl-wr841-v10
564 $(Device/tplink-4mlzma)
565 DEVICE_TITLE := TP-LINK TL-WR841N/ND v10
566 BOARDNAME := TL-WR841N-v9
567 DEVICE_PROFILE := TLWR841
568 TPLINK_HWID := 0x08410010
571 define Device/tl-wr841-v11
572 $(Device/tplink-4mlzma)
573 DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
574 BOARDNAME := TL-WR841N-v11
575 DEVICE_PROFILE := TLWR841
576 TPLINK_HWID := 0x08410011
579 define Device/tl-wr842n-v1
581 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
582 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
583 BOARDNAME := TL-MR3420
584 DEVICE_PROFILE := TLWR842
585 TPLINK_HWID := 0x08420001
588 define Device/tl-wr842n-v2
589 $(Device/tplink-8mlzma)
590 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
591 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
592 BOARDNAME := TL-WR842N-v2
593 DEVICE_PROFILE := TLWR842
594 TPLINK_HWID := 0x8420002
597 define Device/tl-wr842n-v3
598 $(Device/tplink-16mlzma)
599 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
600 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
601 BOARDNAME := TL-WR842N-v3
602 DEVICE_PROFILE := TLWR842
603 TPLINK_HWID := 0x08420003
606 define Device/tl-wr843nd-v1
607 $(Device/tplink-4mlzma)
608 DEVICE_TITLE := TP-LINK TL-WR843N/ND
609 BOARDNAME := TL-WR841N-v8
610 DEVICE_PROFILE := TLWR843
611 TPLINK_HWID := 0x08430001
614 define Device/tl-wr847n-v8
615 $(Device/tplink-4mlzma)
616 DEVICE_TITLE := TP-LINK TL-WR847N/ND v8
617 BOARDNAME := TL-WR841N-v8
618 DEVICE_PROFILE := TLWR841
619 TPLINK_HWID := 0x08470008
621 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
623 define Device/tl-wr941nd-v2
625 DEVICE_TITLE := TP-LINK TL-WR941N/ND v2
626 BOARDNAME := TL-WR941ND
627 DEVICE_PROFILE := TLWR941
628 TPLINK_HWID := 0x09410002
632 define Device/tl-wr941nd-v3
634 DEVICE_TITLE := TP-LINK TL-WR941N/ND v3
635 BOARDNAME := TL-WR941ND
636 DEVICE_PROFILE := TLWR941
637 TPLINK_HWID := 0x09410002
641 define Device/tl-wr941nd-v4
643 DEVICE_TITLE := TP-LINK TL-WR941N/ND v4
644 BOARDNAME := TL-WR741ND
645 DEVICE_PROFILE := TLWR941
646 TPLINK_HWID := 0x09410004
649 define Device/tl-wr941nd-v5
650 $(Device/tplink-4mlzma)
651 DEVICE_TITLE := TP-LINK TL-WR941N/ND v5
652 BOARDNAME := TL-WR941ND-v5
653 DEVICE_PROFILE := TLWR941
654 TPLINK_HWID := 0x09410005
657 define Device/tl-wr941nd-v6
658 $(Device/tplink-4mlzma)
659 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6
660 BOARDNAME := TL-WR941ND-v6
661 DEVICE_PROFILE := TLWR941
662 TPLINK_HWID := 0x09410006
665 # Chinese version (unlike European) is similar to the TL-WDR3500
666 define Device/tl-wr941nd-v6-cn
667 $(Device/tplink-4mlzma)
668 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6 (CN)
669 BOARDNAME := TL-WDR3500
670 DEVICE_PROFILE := TLWR941
671 TPLINK_HWID := 0x09410006
673 TARGET_DEVICES += tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr941nd-v5 tl-wr941nd-v6 tl-wr941nd-v6-cn
675 define Device/tl-wr1041n-v2
676 $(Device/tplink-4mlzma)
677 DEVICE_TITLE := TP-LINK TL-WR1041N
678 BOARDNAME := TL-WR1041N-v2
679 DEVICE_PROFILE := TLWR1041
680 TPLINK_HWID := 0x10410002
682 TARGET_DEVICES += tl-wr1041n-v2
684 define Device/tl-wr1043nd-v1
686 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
687 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
688 BOARDNAME := TL-WR1043ND
689 DEVICE_PROFILE := TLWR1043
690 TPLINK_HWID := 0x10430001
693 define Device/tl-wr1043nd-v2
694 $(Device/tplink-8mlzma)
695 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
696 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
697 BOARDNAME := TL-WR1043ND-v2
698 DEVICE_PROFILE := TLWR1043
699 TPLINK_HWID := 0x10430002
702 define Device/tl-wr1043nd-v3
703 $(Device/tplink-8mlzma)
704 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
705 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
706 BOARDNAME := TL-WR1043ND-v2
707 DEVICE_PROFILE := TLWR1043
708 TPLINK_HWID := 0x10430003
710 TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3
712 define Device/tl-wr2543-v1
713 $(Device/tplink-8mlzma)
714 DEVICE_TITLE := TP-LINK TL-WR2543N/ND
715 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
716 BOARDNAME := TL-WR2543N
717 DEVICE_PROFILE := TLWR2543
718 TPLINK_HWID := 0x25430001
719 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
720 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
722 TARGET_DEVICES += tl-wr2543-v1
724 define Device/tl-wdr4900-v2
725 $(Device/tplink-8mlzma)
726 DEVICE_TITLE := TP-LINK TL-WDR4900v2
727 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
728 BOARDNAME := TL-WDR4900-v2
729 DEVICE_PROFILE := TLWDR4900V2
730 TPLINK_HWID := 0x49000002
732 TARGET_DEVICES += tl-wdr4900-v2
734 define Device/tl-wa701nd-v1
736 DEVICE_TITLE := TP-LINK TL-WA701N/ND v1
737 BOARDNAME := TL-WA901ND
738 DEVICE_PROFILE := TLWA701
739 TPLINK_HWID := 0x07010001
742 define Device/tl-wa701nd-v2
743 $(Device/tplink-4mlzma)
744 DEVICE_TITLE := TP-LINK TL-WA701N/ND v2
745 BOARDNAME := TL-WA701ND-v2
746 DEVICE_PROFILE := TLWA701
747 TPLINK_HWID := 0x07010002
748 CONSOLE := ttyATH0,115200
751 define Device/tl-wa730re-v1
753 DEVICE_TITLE := TP-LINK TL-WA730RE
754 BOARDNAME := TL-WA901ND
755 DEVICE_PROFILE := TLWA730RE
756 TPLINK_HWID := 0x07300001
759 define Device/tl-wa750re-v1
760 $(Device/tplink-4mlzma)
761 DEVICE_TITLE := TP-LINK TL-WA750RE
762 DEVICE_PACKAGES := rssileds
763 BOARDNAME := TL-WA750RE
764 DEVICE_PROFILE := TLWA750
765 TPLINK_HWID := 0x07500001
768 define Device/tl-wa7510n
770 DEVICE_TITLE := TP-LINK TL-WA7510N
771 BOARDNAME := TL-WA7510N
772 DEVICE_PROFILE := TLWA7510
773 TPLINK_HWID := 0x75100001
775 TARGET_DEVICES += tl-wa701nd-v1 tl-wa701nd-v2 tl-wa730re-v1 tl-wa750re-v1 tl-wa7510n
777 define Device/tl-wa801nd-v1
779 DEVICE_TITLE := TP-LINK TL-WA801N/ND v1
780 BOARDNAME := TL-WA901ND
781 DEVICE_PROFILE := TLWA801
782 TPLINK_HWID := 0x08010001
785 define Device/tl-wa801nd-v2
786 $(Device/tplink-4mlzma)
787 DEVICE_TITLE := TP-LINK TL-WA801N/ND v2
788 BOARDNAME := TL-WA801ND-v2
789 DEVICE_PROFILE := TLWA801
790 TPLINK_HWID := 0x08010002
793 define Device/tl-wa801nd-v3
794 $(Device/tplink-4mlzma)
795 DEVICE_TITLE := TP-LINK TL-WA801N/ND v3
796 BOARDNAME := TL-WA801ND-v3
797 DEVICE_PROFILE := TLWA801
798 TPLINK_HWID := 0x08010003
801 define Device/tl-wa830re-v1
803 DEVICE_TITLE := TP-LINK TL-WA830RE
804 BOARDNAME := TL-WA901ND
805 DEVICE_PROFILE := TLWA830
806 TPLINK_HWID := 0x08300010
809 define Device/tl-wa830re-v2
810 $(Device/tplink-4mlzma)
811 DEVICE_TITLE := TP-LINK TL-WA830RE
812 BOARDNAME := TL-WA830RE-v2
813 DEVICE_PROFILE := TLWA830
814 TPLINK_HWID := 0x08300002
817 define Device/tl-wa850re-v1
818 $(Device/tplink-4mlzma)
819 DEVICE_TITLE := TP-LINK TL-WA850RE
820 BOARDNAME := TL-WA850RE
821 DEVICE_PROFILE := TLWA850
822 TPLINK_HWID := 0x08500001
825 define Device/tl-wa860re-v1
826 $(Device/tplink-4mlzma)
827 DEVICE_TITLE := TP-LINK TL-WA860RE
828 BOARDNAME := TL-WA860RE
829 DEVICE_PROFILE := TLWA860
830 TPLINK_HWID := 0x08600001
832 TARGET_DEVICES += tl-wa801nd-v1 tl-wa801nd-v2 tl-wa801nd-v3 tl-wa830re-v1 tl-wa830re-v2 tl-wa850re-v1 tl-wa860re-v1
834 define Device/tl-wa901nd-v1
836 DEVICE_TITLE := TP-LINK TL-WA901N/ND v1
837 BOARDNAME := TL-WA901ND
838 DEVICE_PROFILE := TLWA901
839 TPLINK_HWID := 0x09010001
842 define Device/tl-wa901nd-v2
844 DEVICE_TITLE := TP-LINK TL-WA901N/ND v2
845 BOARDNAME := TL-WA901ND-v2
846 DEVICE_PROFILE := TLWA901
847 TPLINK_HWID := 0x09010002
850 define Device/tl-wa901nd-v3
851 $(Device/tplink-4mlzma)
852 DEVICE_TITLE := TP-LINK TL-WA901N/ND v3
853 BOARDNAME := TL-WA901ND-v3
854 DEVICE_PROFILE := TLWA901
855 TPLINK_HWID := 0x09010003
858 define Device/tl-wa901nd-v4
859 $(Device/tplink-4mlzma)
860 DEVICE_TITLE := TP-LINK TL-WA901N/ND v4
861 BOARDNAME := TL-WA901ND-v4
862 DEVICE_PROFILE := TLWA901
863 TPLINK_HWID := 0x09010004
866 TARGET_DEVICES += tl-wa901nd-v1 tl-wa901nd-v2 tl-wa901nd-v3 tl-wa901nd-v4
868 define Device/tl-wa7210n-v2
869 $(Device/tplink-4mlzma)
870 DEVICE_TITLE := TP-LINK TL-WA7210N
871 DEVICE_PACKAGES := rssileds kmod-ledtrig-netdev
872 BOARDNAME := TL-WA7210N-v2
873 DEVICE_PROFILE := TLWA7210
874 TPLINK_HWID := 0x72100002
875 CONSOLE := ttyATH0,115200
877 TARGET_DEVICES += tl-wa7210n-v2