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
119 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
122 define Device/tl-wdr3500-v1
123 $(Device/tplink-8mlzma)
124 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
125 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
126 BOARDNAME := TL-WDR3500
127 DEVICE_PROFILE := TLWDR4300
128 TPLINK_HWID := 0x35000001
131 define Device/tl-wdr3600-v1
132 $(Device/tplink-8mlzma)
133 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
134 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
135 BOARDNAME := TL-WDR4300
136 DEVICE_PROFILE := TLWDR4300
137 TPLINK_HWID := 0x36000001
138 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
141 define Device/tl-wdr4300-v1-il
142 $(Device/tplink-8mlzma)
143 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 IL
144 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
145 BOARDNAME := TL-WDR4300
146 DEVICE_PROFILE := TLWDR4300
147 TPLINK_HWID := 0x43008001
150 define Device/tl-wdr4310-v1
151 $(Device/tplink-8mlzma)
152 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
153 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
154 BOARDNAME := TL-WDR4300
155 DEVICE_PROFILE = TLWDR4300
156 TPLINK_HWID := 0x43100001
159 define Device/mw4530r-v1
160 $(Device/tl-wdr4300-v1)
161 DEVICE_TITLE := Mercury MW4530R v1
162 TPLINK_HWID := 0x45300001
164 TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
166 define Device/tl-wdr6500-v2
167 $(Device/tplink-8mlzma)
168 DEVICE_TITLE := TP-LINK TL-WDR6500v2
169 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
170 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
171 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-initramfs
172 BOARDNAME = TL-WDR6500-v2
173 DEVICE_PROFILE = TLWDR6500V2
174 TPLINK_HWID := 0x65000002
175 TPLINK_HEADER_VERSION := 2
177 TARGET_DEVICES += tl-wdr6500-v2
179 define Device/tl-wdr3320-v2
180 $(Device/tplink-4mlzma)
181 DEVICE_TITLE := TP-LINK TL-WDR3320v2
182 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
183 BOARDNAME = TL-WDR3320-v2
184 DEVICE_PROFILE = TLWDR3320V2
185 TPLINK_HWID := 0x33200002
186 TPLINK_HEADER_VERSION := 2
188 TARGET_DEVICES += tl-wdr3320-v2
190 define Device/archer-c5-v1
191 $(Device/tplink-16mlzma)
192 DEVICE_TITLE := TP-LINK Archer C5
193 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
194 BOARDNAME := ARCHER-C5
195 DEVICE_PROFILE := ARCHERC7
196 TPLINK_HWID := 0xc5000001
199 define Device/archer-c7-v1
200 $(Device/tplink-8mlzma)
201 DEVICE_TITLE := TP-LINK Archer C7 v1
202 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
203 BOARDNAME := ARCHER-C7
204 DEVICE_PROFILE := ARCHERC7
205 TPLINK_HWID := 0x75000001
208 define Device/archer-c7-v2
209 $(Device/tplink-16mlzma)
210 DEVICE_TITLE := TP-LINK Archer C7 v2
211 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
212 BOARDNAME := ARCHER-C7-V2
213 DEVICE_PROFILE := ARCHERC7
214 TPLINK_HWID := 0xc7000002
215 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
216 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
217 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
220 define Device/tl-wdr7500-v3
221 $(Device/tplink-8mlzma)
222 DEVICE_TITLE := TP-LINK Archer C7 v3
223 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k ath10k-firmware-qca988x
224 BOARDNAME := ARCHER-C7
225 DEVICE_PROFILE := ARCHERC7
226 TPLINK_HWID := 0x75000003
228 TARGET_DEVICES += archer-c5-v1 archer-c7-v1 archer-c7-v2 tl-wdr7500-v3
230 define Device/tl-mr10u-v1
231 $(Device/tplink-4mlzma)
232 DEVICE_TITLE := TP-LINK TL-MR10U
233 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
234 BOARDNAME := TL-MR10U
235 DEVICE_PROFILE := TLMR10U
236 TPLINK_HWID := 0x00100101
237 CONSOLE := ttyATH0,115200
240 define Device/tl-mr11u-v1
241 $(Device/tplink-4mlzma)
242 DEVICE_TITLE := TP-LINK TL-MR11U
243 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
244 BOARDNAME := TL-MR11U
245 DEVICE_PROFILE := TLMR11U
246 TPLINK_HWID := 0x00110101
247 CONSOLE := ttyATH0,115200
250 define Device/tl-mr11u-v2
251 $(Device/tplink-4mlzma)
252 DEVICE_TITLE := TP-LINK TL-MR11U v2
253 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
254 BOARDNAME := TL-MR11U
255 DEVICE_PROFILE := TLMR11U
256 TPLINK_HWID := 0x00110102
257 CONSOLE := ttyATH0,115200
260 define Device/tl-mr12u-v1
261 $(Device/tplink-4mlzma)
262 DEVICE_TITLE := TP-LINK TL-MR12U
263 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
264 BOARDNAME := TL-MR13U
265 DEVICE_PROFILE := TLMR12U
266 TPLINK_HWID := 0x00120101
267 CONSOLE := ttyATH0,115200
270 define Device/tl-mr13u-v1
271 $(Device/tplink-4mlzma)
272 DEVICE_TITLE := TP-LINK TL-MR13U
273 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
274 BOARDNAME := TL-MR13U
275 DEVICE_PROFILE := TLMR13U
276 TPLINK_HWID := 0x00130101
277 CONSOLE := ttyATH0,115200
279 TARGET_DEVICES += tl-mr10u-v1 tl-mr11u-v1 tl-mr11u-v2 tl-mr12u-v1 tl-mr13u-v1
281 define Device/tl-mr3020-v1
282 $(Device/tplink-4mlzma)
283 DEVICE_TITLE := TP-LINK TL-MR3020
284 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
285 BOARDNAME := TL-MR3020
286 DEVICE_PROFILE := TLMR3020
287 TPLINK_HWID := 0x30200001
288 CONSOLE := ttyATH0,115200
291 define Device/tl-mr3040-v1
292 $(Device/tplink-4mlzma)
293 DEVICE_TITLE := TP-LINK TL-MR3040
294 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
295 BOARDNAME := TL-MR3040
296 DEVICE_PROFILE := TLMR3040
297 TPLINK_HWID := 0x30400001
298 CONSOLE := ttyATH0,115200
301 define Device/tl-mr3040-v2
302 $(Device/tplink-4mlzma)
303 DEVICE_TITLE := TP-LINK TL-MR3040
304 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
305 BOARDNAME := TL-MR3040-v2
306 DEVICE_PROFILE := TLMR3040
307 TPLINK_HWID := 0x30400002
308 CONSOLE := ttyATH0,115200
311 define Device/tl-mr3220-v1
313 DEVICE_TITLE := TP-LINK TL-MR3220
314 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
315 BOARDNAME := TL-MR3220
316 DEVICE_PROFILE := TLMR3220
317 TPLINK_HWID := 0x32200001
320 define Device/tl-mr3220-v2
321 $(Device/tplink-4mlzma)
322 DEVICE_TITLE := TP-LINK TL-MR3220 v2
323 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
324 BOARDNAME := TL-MR3220-v2
325 DEVICE_PROFILE := TLMR3220
326 TPLINK_HWID := 0x32200002
327 CONSOLE := ttyATH0,115200
330 define Device/tl-mr3420-v1
332 DEVICE_TITLE := TP-LINK TL-MR3420
333 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
334 BOARDNAME := TL-MR3420
335 DEVICE_PROFILE := TLMR3420
336 TPLINK_HWID := 0x34200001
339 define Device/tl-mr3420-v2
340 $(Device/tplink-4mlzma)
341 DEVICE_TITLE := TP-LINK TL-MR3420 v2
342 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
343 BOARDNAME := TL-MR3420-v2
344 DEVICE_PROFILE := TLMR3420
345 TPLINK_HWID := 0x34200002
347 TARGET_DEVICES += tl-mr3020-v1 tl-mr3040-v1 tl-mr3040-v2 tl-mr3220-v1 tl-mr3220-v2 tl-mr3420-v1 tl-mr3420-v2
349 define Device/tl-wr703n-v1
350 $(Device/tplink-4mlzma)
351 DEVICE_TITLE := TP-LINK TL-WR703N
352 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
353 BOARDNAME := TL-WR703N
354 DEVICE_PROFILE := TLWR703
355 TPLINK_HWID := 0x07030101
356 CONSOLE := ttyATH0,115200
359 define Device/tl-wr710n-v1
360 $(Device/tplink-8mlzma)
361 DEVICE_TITLE := TP-LINK TL-WR710N
362 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
363 BOARDNAME := TL-WR710N
364 DEVICE_PROFILE := TLWR710
365 TPLINK_HWID := 0x07100001
366 CONSOLE := ttyATH0,115200
369 define Device/tl-wr710n-v2
370 $(Device/tplink-4mlzma)
371 DEVICE_TITLE := TP-LINK TL-WR710N v2
372 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
373 BOARDNAME := TL-WR710N v2
374 DEVICE_PROFILE := TLWR710
375 TPLINK_HWID := 0x07100002
376 CONSOLE := ttyATH0,115200
379 define Device/tl-wr710n-v2.1
380 $(Device/tplink-8mlzma)
381 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
382 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
383 BOARDNAME := TL-WR710N v2.1
384 DEVICE_PROFILE := TLWR710
385 TPLINK_HWID := 0x07100002
386 TPLINK_HWREV := 0x00000002
387 CONSOLE := ttyATH0,115200
390 define Device/tl-wr720n-v3
391 $(Device/tplink-4mlzma)
392 DEVICE_TITLE := TP-LINK TL-WR720N v3
393 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
394 BOARDNAME := TL-WR720N-v3
395 DEVICE_PROFILE := TLWR720
396 TPLINK_HWID := 0x07200103
397 CONSOLE := ttyATH0,115200
400 define Device/tl-wr720n-v4
401 $(Device/tplink-4mlzma)
402 DEVICE_TITLE := TP-LINK TL-WR720N v4
403 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
404 BOARDNAME := TL-WR720N-v3
405 DEVICE_PROFILE := TLWR720
406 TPLINK_HWID := 0x07200104
407 CONSOLE := ttyATH0,115200
409 TARGET_DEVICES += tl-wr703n-v1 tl-wr710n-v1 tl-wr710n-v2 tl-wr710n-v2.1 tl-wr720n-v3 tl-wr720n-v4
411 define Device/tl-wr740n-v1
413 DEVICE_TITLE := TP-LINK TL-WR740N/ND v1
414 BOARDNAME := TL-WR741ND
415 DEVICE_PROFILE := TLWR740
416 TPLINK_HWID := 0x07400001
419 define Device/tl-wr740n-v3
421 DEVICE_TITLE := TP-LINK TL-WR740N/ND v3
422 BOARDNAME := TL-WR741ND
423 DEVICE_PROFILE := TLWR740
424 TPLINK_HWID := 0x07400003
427 define Device/tl-wr740n-v4
428 $(Device/tplink-4mlzma)
429 DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
430 BOARDNAME := TL-WR741ND-v4
431 DEVICE_PROFILE := TLWR740
432 TPLINK_HWID := 0x07400004
433 CONSOLE := ttyATH0,115200
436 define Device/tl-wr740n-v5
437 $(Device/tplink-4mlzma)
438 DEVICE_TITLE := TP-LINK TL-WR740N/ND v5
439 BOARDNAME := TL-WR741ND-v4
440 DEVICE_PROFILE := TLWR740
441 TPLINK_HWID := 0x07400005
442 CONSOLE := ttyATH0,115200
445 define Device/tl-wr740n-v6
446 $(Device/tplink-4mlzma)
447 DEVICE_TITLE := TP-LINK TL-WR740N/ND v6
448 BOARDNAME := TL-WR841N-v9
449 DEVICE_PROFILE := TLWR740
450 TPLINK_HWID := 0x07400006
453 define Device/tl-wr741nd-v1
455 DEVICE_TITLE := TP-LINK TL-WR741N/ND v1
456 BOARDNAME := TL-WR741ND
457 DEVICE_PROFILE := TLWR741
458 TPLINK_HWID := 0x07410001
461 define Device/tl-wr741nd-v2
463 DEVICE_TITLE := TP-LINK TL-WR741N/ND v2
464 BOARDNAME := TL-WR741ND
465 DEVICE_PROFILE := TLWR741
466 TPLINK_HWID := 0x07410001
469 define Device/tl-wr741nd-v4
470 $(Device/tplink-4mlzma)
471 DEVICE_TITLE := TP-LINK TL-WR741N/ND v4
472 BOARDNAME := TL-WR741ND-v4
473 DEVICE_PROFILE := TLWR741
474 TPLINK_HWID := 0x07410004
475 CONSOLE := ttyATH0,115200
478 define Device/tl-wr741nd-v5
479 $(Device/tplink-4mlzma)
480 DEVICE_TITLE := TP-LINK TL-WR741N/ND v5
481 BOARDNAME := TL-WR741ND-v4
482 DEVICE_PROFILE := TLWR741
483 TPLINK_HWID := 0x07400005
484 CONSOLE := ttyATH0,115200
487 define Device/tl-wr810n
488 $(Device/tplink-8mlzma)
489 DEVICE_TITLE := TP-Link TL-WR810N
490 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
491 BOARDNAME := TL-WR810N
492 DEVICE_PROFILE := TLWR810
493 TPLINK_HWID := 0x08100001
495 TARGET_DEVICES += tl-wr810n
497 define Device/tl-wr743nd-v1
499 DEVICE_TITLE := TP-LINK TL-WR743N/ND v1
500 BOARDNAME := TL-WR741ND
501 DEVICE_PROFILE := TLWR743
502 TPLINK_HWID := 0x07430001
505 define Device/tl-wr743nd-v2
506 $(Device/tplink-4mlzma)
507 DEVICE_TITLE := TP-LINK TL-WR743N/ND v2
508 BOARDNAME := TL-WR741ND-v4
509 DEVICE_PROFILE := TLWR743
510 TPLINK_HWID := 0x07430002
511 CONSOLE := ttyATH0,115200
513 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
515 define Device/tl-wr841-v1.5
517 DEVICE_TITLE := TP-LINK TL-WR841N/ND v1.5
518 BOARDNAME := TL-WR841N-v1.5
519 DEVICE_PROFILE := TLWR841
520 TPLINK_HWID := 0x08410002
524 define Device/tl-wr841-v3
526 DEVICE_TITLE := TP-LINK TL-WR841N/ND v3
527 BOARDNAME := TL-WR941ND
528 DEVICE_PROFILE := TLWR841
529 TPLINK_HWID := 0x08410003
533 define Device/tl-wr841-v5
535 DEVICE_TITLE := TP-LINK TL-WR841N/ND v5
536 BOARDNAME := TL-WR741ND
537 DEVICE_PROFILE := TLWR841
538 TPLINK_HWID := 0x08410005
541 define Device/tl-wr841-v7
543 DEVICE_TITLE := TP-LINK TL-WR841N/ND v7
544 BOARDNAME := TL-WR841N-v7
545 DEVICE_PROFILE := TLWR841
546 TPLINK_HWID := 0x08410007
549 define Device/tl-wr841-v8
550 $(Device/tplink-4mlzma)
551 DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
552 BOARDNAME := TL-WR841N-v8
553 DEVICE_PROFILE := TLWR841
554 TPLINK_HWID := 0x08410008
557 define Device/tl-wr841-v9
558 $(Device/tplink-4mlzma)
559 DEVICE_TITLE := TP-LINK TL-WR841N/ND v9
560 BOARDNAME := TL-WR841N-v9
561 DEVICE_PROFILE := TLWR841
562 TPLINK_HWID := 0x08410009
565 define Device/tl-wr841-v10
566 $(Device/tplink-4mlzma)
567 DEVICE_TITLE := TP-LINK TL-WR841N/ND v10
568 BOARDNAME := TL-WR841N-v9
569 DEVICE_PROFILE := TLWR841
570 TPLINK_HWID := 0x08410010
573 define Device/tl-wr841-v11
574 $(Device/tplink-4mlzma)
575 DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
576 BOARDNAME := TL-WR841N-v11
577 DEVICE_PROFILE := TLWR841
578 TPLINK_HWID := 0x08410011
581 define Device/tl-wr842n-v1
583 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
584 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
585 BOARDNAME := TL-MR3420
586 DEVICE_PROFILE := TLWR842
587 TPLINK_HWID := 0x08420001
590 define Device/tl-wr842n-v2
591 $(Device/tplink-8mlzma)
592 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
593 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
594 BOARDNAME := TL-WR842N-v2
595 DEVICE_PROFILE := TLWR842
596 TPLINK_HWID := 0x8420002
599 define Device/tl-wr842n-v3
600 $(Device/tplink-16mlzma)
601 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
602 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
603 BOARDNAME := TL-WR842N-v3
604 DEVICE_PROFILE := TLWR842
605 TPLINK_HWID := 0x08420003
608 define Device/tl-wr843nd-v1
609 $(Device/tplink-4mlzma)
610 DEVICE_TITLE := TP-LINK TL-WR843N/ND
611 BOARDNAME := TL-WR841N-v8
612 DEVICE_PROFILE := TLWR843
613 TPLINK_HWID := 0x08430001
616 define Device/tl-wr847n-v8
617 $(Device/tplink-4mlzma)
618 DEVICE_TITLE := TP-LINK TL-WR847N/ND v8
619 BOARDNAME := TL-WR841N-v8
620 DEVICE_PROFILE := TLWR841
621 TPLINK_HWID := 0x08470008
623 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
625 define Device/tl-wr941nd-v2
627 DEVICE_TITLE := TP-LINK TL-WR941N/ND v2
628 BOARDNAME := TL-WR941ND
629 DEVICE_PROFILE := TLWR941
630 TPLINK_HWID := 0x09410002
634 define Device/tl-wr941nd-v3
636 DEVICE_TITLE := TP-LINK TL-WR941N/ND v3
637 BOARDNAME := TL-WR941ND
638 DEVICE_PROFILE := TLWR941
639 TPLINK_HWID := 0x09410002
643 define Device/tl-wr941nd-v4
645 DEVICE_TITLE := TP-LINK TL-WR941N/ND v4
646 BOARDNAME := TL-WR741ND
647 DEVICE_PROFILE := TLWR941
648 TPLINK_HWID := 0x09410004
651 define Device/tl-wr941nd-v5
652 $(Device/tplink-4mlzma)
653 DEVICE_TITLE := TP-LINK TL-WR941N/ND v5
654 BOARDNAME := TL-WR941ND-v5
655 DEVICE_PROFILE := TLWR941
656 TPLINK_HWID := 0x09410005
659 define Device/tl-wr941nd-v6
660 $(Device/tplink-4mlzma)
661 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6
662 BOARDNAME := TL-WR941ND-v6
663 DEVICE_PROFILE := TLWR941
664 TPLINK_HWID := 0x09410006
667 # Chinese version (unlike European) is similar to the TL-WDR3500
668 define Device/tl-wr941nd-v6-cn
669 $(Device/tplink-4mlzma)
670 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6 (CN)
671 BOARDNAME := TL-WDR3500
672 DEVICE_PROFILE := TLWR941
673 TPLINK_HWID := 0x09410006
675 TARGET_DEVICES += tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr941nd-v5 tl-wr941nd-v6 tl-wr941nd-v6-cn
677 define Device/tl-wr1041n-v2
678 $(Device/tplink-4mlzma)
679 DEVICE_TITLE := TP-LINK TL-WR1041N
680 BOARDNAME := TL-WR1041N-v2
681 DEVICE_PROFILE := TLWR1041
682 TPLINK_HWID := 0x10410002
684 TARGET_DEVICES += tl-wr1041n-v2
686 define Device/tl-wr1043nd-v1
688 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
689 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
690 BOARDNAME := TL-WR1043ND
691 DEVICE_PROFILE := TLWR1043
692 TPLINK_HWID := 0x10430001
695 define Device/tl-wr1043nd-v2
696 $(Device/tplink-8mlzma)
697 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
698 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
699 BOARDNAME := TL-WR1043ND-v2
700 DEVICE_PROFILE := TLWR1043
701 TPLINK_HWID := 0x10430002
704 define Device/tl-wr1043nd-v3
705 $(Device/tplink-8mlzma)
706 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
707 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
708 BOARDNAME := TL-WR1043ND-v2
709 DEVICE_PROFILE := TLWR1043
710 TPLINK_HWID := 0x10430003
712 TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3
714 define Device/tl-wr2543-v1
715 $(Device/tplink-8mlzma)
716 DEVICE_TITLE := TP-LINK TL-WR2543N/ND
717 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
718 BOARDNAME := TL-WR2543N
719 DEVICE_PROFILE := TLWR2543
720 TPLINK_HWID := 0x25430001
721 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
722 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
724 TARGET_DEVICES += tl-wr2543-v1
726 define Device/tl-wdr4900-v2
727 $(Device/tplink-8mlzma)
728 DEVICE_TITLE := TP-LINK TL-WDR4900v2
729 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
730 BOARDNAME := TL-WDR4900-v2
731 DEVICE_PROFILE := TLWDR4900V2
732 TPLINK_HWID := 0x49000002
734 TARGET_DEVICES += tl-wdr4900-v2
736 define Device/tl-wa701nd-v1
738 DEVICE_TITLE := TP-LINK TL-WA701N/ND v1
739 BOARDNAME := TL-WA901ND
740 DEVICE_PROFILE := TLWA701
741 TPLINK_HWID := 0x07010001
744 define Device/tl-wa701nd-v2
745 $(Device/tplink-4mlzma)
746 DEVICE_TITLE := TP-LINK TL-WA701N/ND v2
747 BOARDNAME := TL-WA701ND-v2
748 DEVICE_PROFILE := TLWA701
749 TPLINK_HWID := 0x07010002
750 CONSOLE := ttyATH0,115200
753 define Device/tl-wa730re-v1
755 DEVICE_TITLE := TP-LINK TL-WA730RE
756 BOARDNAME := TL-WA901ND
757 DEVICE_PROFILE := TLWA730RE
758 TPLINK_HWID := 0x07300001
761 define Device/tl-wa750re-v1
762 $(Device/tplink-4mlzma)
763 DEVICE_TITLE := TP-LINK TL-WA750RE
764 DEVICE_PACKAGES := rssileds
765 BOARDNAME := TL-WA750RE
766 DEVICE_PROFILE := TLWA750
767 TPLINK_HWID := 0x07500001
770 define Device/tl-wa7510n
772 DEVICE_TITLE := TP-LINK TL-WA7510N
773 BOARDNAME := TL-WA7510N
774 DEVICE_PROFILE := TLWA7510
775 TPLINK_HWID := 0x75100001
777 TARGET_DEVICES += tl-wa701nd-v1 tl-wa701nd-v2 tl-wa730re-v1 tl-wa750re-v1 tl-wa7510n
779 define Device/tl-wa801nd-v1
781 DEVICE_TITLE := TP-LINK TL-WA801N/ND v1
782 BOARDNAME := TL-WA901ND
783 DEVICE_PROFILE := TLWA801
784 TPLINK_HWID := 0x08010001
787 define Device/tl-wa801nd-v2
788 $(Device/tplink-4mlzma)
789 DEVICE_TITLE := TP-LINK TL-WA801N/ND v2
790 BOARDNAME := TL-WA801ND-v2
791 DEVICE_PROFILE := TLWA801
792 TPLINK_HWID := 0x08010002
795 define Device/tl-wa801nd-v3
796 $(Device/tplink-4mlzma)
797 DEVICE_TITLE := TP-LINK TL-WA801N/ND v3
798 BOARDNAME := TL-WA801ND-v3
799 DEVICE_PROFILE := TLWA801
800 TPLINK_HWID := 0x08010003
803 define Device/tl-wa830re-v1
805 DEVICE_TITLE := TP-LINK TL-WA830RE
806 BOARDNAME := TL-WA901ND
807 DEVICE_PROFILE := TLWA830
808 TPLINK_HWID := 0x08300010
811 define Device/tl-wa830re-v2
812 $(Device/tplink-4mlzma)
813 DEVICE_TITLE := TP-LINK TL-WA830RE
814 BOARDNAME := TL-WA830RE-v2
815 DEVICE_PROFILE := TLWA830
816 TPLINK_HWID := 0x08300002
819 define Device/tl-wa850re-v1
820 $(Device/tplink-4mlzma)
821 DEVICE_TITLE := TP-LINK TL-WA850RE
822 BOARDNAME := TL-WA850RE
823 DEVICE_PROFILE := TLWA850
824 TPLINK_HWID := 0x08500001
827 define Device/tl-wa860re-v1
828 $(Device/tplink-4mlzma)
829 DEVICE_TITLE := TP-LINK TL-WA860RE
830 BOARDNAME := TL-WA860RE
831 DEVICE_PROFILE := TLWA860
832 TPLINK_HWID := 0x08600001
834 TARGET_DEVICES += tl-wa801nd-v1 tl-wa801nd-v2 tl-wa801nd-v3 tl-wa830re-v1 tl-wa830re-v2 tl-wa850re-v1 tl-wa860re-v1
836 define Device/tl-wa901nd-v1
838 DEVICE_TITLE := TP-LINK TL-WA901N/ND v1
839 BOARDNAME := TL-WA901ND
840 DEVICE_PROFILE := TLWA901
841 TPLINK_HWID := 0x09010001
844 define Device/tl-wa901nd-v2
846 DEVICE_TITLE := TP-LINK TL-WA901N/ND v2
847 BOARDNAME := TL-WA901ND-v2
848 DEVICE_PROFILE := TLWA901
849 TPLINK_HWID := 0x09010002
852 define Device/tl-wa901nd-v3
853 $(Device/tplink-4mlzma)
854 DEVICE_TITLE := TP-LINK TL-WA901N/ND v3
855 BOARDNAME := TL-WA901ND-v3
856 DEVICE_PROFILE := TLWA901
857 TPLINK_HWID := 0x09010003
860 define Device/tl-wa901nd-v4
861 $(Device/tplink-4mlzma)
862 DEVICE_TITLE := TP-LINK TL-WA901N/ND v4
863 BOARDNAME := TL-WA901ND-v4
864 DEVICE_PROFILE := TLWA901
865 TPLINK_HWID := 0x09010004
868 TARGET_DEVICES += tl-wa901nd-v1 tl-wa901nd-v2 tl-wa901nd-v3 tl-wa901nd-v4
870 define Device/tl-wa7210n-v2
871 $(Device/tplink-4mlzma)
872 DEVICE_TITLE := TP-LINK TL-WA7210N
873 DEVICE_PACKAGES := rssileds kmod-ledtrig-netdev
874 BOARDNAME := TL-WA7210N-v2
875 DEVICE_PROFILE := TLWA7210
876 TPLINK_HWID := 0x72100002
877 CONSOLE := ttyATH0,115200
879 TARGET_DEVICES += tl-wa7210n-v2