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 $@
27 define Build/mktplinkfw-combined
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) \
38 # add RE450 and similar header to the kernel image
39 define Build/mktplinkfw-kernel
40 $(STAGING_DIR_HOST)/bin/mktplinkfw-kernel \
41 -H $(TPLINK_HWID) -N OpenWrt -V $(REVISION) \
42 -L $(KERNEL_LOADADDR) -E $(KERNEL_LOADADDR) \
48 define Build/uImageArcher
49 mkimage -A $(LINUX_KARCH) \
51 -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
52 -n '$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new
59 TPLINK_HEADER_VERSION := 1
61 KERNEL := kernel-bin | patch-cmdline | lzma
62 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | mktplinkfw-combined
63 IMAGES := sysupgrade.bin factory.bin
64 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade
65 IMAGE/factory.bin := append-rootfs | mktplinkfw factory
68 define Device/tplink-nolzma
70 LOADER_FLASH_OFFS := 0x22000
71 COMPILE := loader-$(1).gz
72 COMPILE/loader-$(1).gz := loader-okli-compile
73 KERNEL := copy-file $(KDIR)/vmlinux.bin.lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1)
74 KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux-initramfs.bin.lzma | loader-kernel-cmdline | mktplinkfw-combined
77 define Device/tplink-4m
78 $(Device/tplink-nolzma)
79 TPLINK_FLASHLAYOUT := 4M
83 define Device/tplink-8m
84 $(Device/tplink-nolzma)
85 TPLINK_FLASHLAYOUT := 8M
89 define Device/tplink-4mlzma
91 TPLINK_FLASHLAYOUT := 4Mlzma
95 define Device/tplink-8mlzma
97 TPLINK_FLASHLAYOUT := 8Mlzma
101 define Device/tplink-16mlzma
103 TPLINK_FLASHLAYOUT := 16Mlzma
107 define Device/archer-c59-v1
108 DEVICE_TITLE := TP-LINK Archer C59 v1
109 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
110 BOARDNAME := ARCHER-C59-V1
111 TPLINK_BOARD_NAME := ARCHER-C59-V1
112 DEVICE_PROFILE := ARCHERC59V1
114 KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma
115 IMAGES := sysupgrade.bin factory.bin
116 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
117 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
118 MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,1536k(kernel),12992k(rootfs),1664k(tplink)ro,64k(art)ro,14528k@0x20000(firmware)
120 TARGET_DEVICES += archer-c59-v1
122 define Device/archer-c60-v1
123 DEVICE_TITLE := TP-LINK Archer C60 v1
124 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
125 BOARDNAME := ARCHER-C60-V1
126 TPLINK_BOARD_NAME := ARCHER-C60-V1
127 DEVICE_PROFILE := ARCHERC60V1
129 KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma
130 IMAGES := sysupgrade.bin factory.bin
131 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
132 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
133 MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,1344k(kernel),6592k(rootfs),64k(tplink)ro,64k(art)ro,7936k@0x20000(firmware)
135 TARGET_DEVICES += archer-c60-v1
137 define Device/cpe510-520-v1
138 DEVICE_TITLE := TP-LINK CPE510/520 v1
139 DEVICE_PACKAGES := rssileds
140 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)
143 TPLINK_BOARD_NAME := CPE510
144 DEVICE_PROFILE := CPE510
146 KERNEL := kernel-bin | patch-cmdline | lzma | loader-kernel
147 IMAGES := sysupgrade.bin factory.bin
148 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
149 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
152 define Device/cpe210-220-v1
153 $(Device/cpe510-520-v1)
154 DEVICE_TITLE := TP-LINK CPE210/220 v1
155 DEVICE_PACKAGES := rssileds
157 TPLINK_BOARD_NAME := CPE210
160 define Device/wbs210-v1
161 $(Device/cpe510-520-v1)
162 DEVICE_TITLE := TP-LINK WBS210 v1
163 DEVICE_PACKAGES := rssileds
165 TPLINK_BOARD_NAME := WBS210
168 define Device/wbs510-v1
169 $(Device/cpe510-520-v1)
170 DEVICE_TITLE := TP-LINK WBS510 v1
171 DEVICE_PACKAGES := rssileds
173 TPLINK_BOARD_NAME := WBS510
175 TARGET_DEVICES += cpe210-220-v1 cpe510-520-v1 wbs210-v1 wbs510-v1
177 define Device/re450-v1
178 DEVICE_TITLE := TP-LINK RE450 v1
179 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
180 MTDPARTS := spi0.0:128k(u-boot)ro,1344k(kernel),4672k(rootfs),64k(pation-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro,6016k@0x20000(firmware)
183 TPLINK_BOARD_NAME := RE450
184 DEVICE_PROFILE := RE450
186 KERNEL := kernel-bin | patch-cmdline | lzma | mktplinkfw-kernel
187 IMAGES := sysupgrade.bin factory.bin
188 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
189 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
191 TARGET_DEVICES += re450-v1
193 define Device/eap120-v1
194 DEVICE_TITLE := TP-LINK EAP120 v1
195 MTDPARTS := spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),14336k(rootfs),192k(config)ro,64k(ART)ro,15872k@0x40000(firmware)
198 TPLINK_BOARD_NAME := EAP120
199 DEVICE_PROFILE := EAP120
201 KERNEL := kernel-bin | patch-cmdline | lzma | loader-kernel
202 IMAGES := sysupgrade.bin factory.bin
203 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
204 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
206 TARGET_DEVICES += eap120-v1
208 define Device/tl-wdr4300-v1
209 $(Device/tplink-8mlzma)
210 DEVICE_TITLE := TP-LINK TL-WDR4300 v1
211 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
212 BOARDNAME := TL-WDR4300
213 DEVICE_PROFILE := TLWDR4300
214 TPLINK_HWID := 0x43000001
215 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
218 define Device/tl-wdr3500-v1
219 $(Device/tplink-8mlzma)
220 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
221 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
222 BOARDNAME := TL-WDR3500
223 DEVICE_PROFILE := TLWDR4300
224 TPLINK_HWID := 0x35000001
227 define Device/tl-wdr3600-v1
228 $(Device/tplink-8mlzma)
229 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
230 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
231 BOARDNAME := TL-WDR4300
232 DEVICE_PROFILE := TLWDR4300
233 TPLINK_HWID := 0x36000001
234 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
237 define Device/tl-wdr4300-v1-il
238 $(Device/tplink-8mlzma)
239 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 (IL)
240 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
241 BOARDNAME := TL-WDR4300
242 DEVICE_PROFILE := TLWDR4300
243 TPLINK_HWID := 0x43008001
246 define Device/tl-wdr4310-v1
247 $(Device/tplink-8mlzma)
248 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
249 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
250 BOARDNAME := TL-WDR4300
251 DEVICE_PROFILE = TLWDR4300
252 TPLINK_HWID := 0x43100001
255 define Device/mw4530r-v1
256 $(Device/tl-wdr4300-v1)
257 DEVICE_TITLE := Mercury MW4530R v1
258 TPLINK_HWID := 0x45300001
260 TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
262 define Device/tl-wdr6500-v2
263 $(Device/tplink-8mlzma)
264 DEVICE_TITLE := TP-LINK TL-WDR6500 v2
265 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
266 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
267 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-combined
268 BOARDNAME = TL-WDR6500-v2
269 DEVICE_PROFILE = TLWDR6500V2
270 TPLINK_HWID := 0x65000002
271 TPLINK_HEADER_VERSION := 2
273 TARGET_DEVICES += tl-wdr6500-v2
275 define Device/tl-wdr3320-v2
276 $(Device/tplink-4mlzma)
277 DEVICE_TITLE := TP-LINK TL-WDR3320 v2
278 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
279 BOARDNAME = TL-WDR3320-v2
280 DEVICE_PROFILE = TLWDR3320V2
281 TPLINK_HWID := 0x33200002
282 TPLINK_HEADER_VERSION := 2
284 TARGET_DEVICES += tl-wdr3320-v2
286 define Device/archer-c5-v1
287 $(Device/tplink-16mlzma)
288 DEVICE_TITLE := TP-LINK Archer C5 v1
289 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
290 BOARDNAME := ARCHER-C5
291 DEVICE_PROFILE := ARCHERC7
292 TPLINK_HWID := 0xc5000001
295 define Device/archer-c7-v1
296 $(Device/tplink-8mlzma)
297 DEVICE_TITLE := TP-LINK Archer C7 v1
298 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
299 BOARDNAME := ARCHER-C7
300 DEVICE_PROFILE := ARCHERC7
301 TPLINK_HWID := 0x75000001
304 define Device/archer-c7-v2
305 $(Device/tplink-16mlzma)
306 DEVICE_TITLE := TP-LINK Archer C7 v2
307 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
308 BOARDNAME := ARCHER-C7-V2
309 DEVICE_PROFILE := ARCHERC7
310 TPLINK_HWID := 0xc7000002
311 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
312 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
313 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
316 define Device/archer-c7-v2-il
317 $(Device/tplink-16mlzma)
318 DEVICE_TITLE := TP-LINK Archer C7 v2 (IL)
319 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
320 BOARDNAME := ARCHER-C7-V2
321 DEVICE_PROFILE := ARCHERC7
322 TPLINK_HWID := 0xc7000002
323 TPLINK_HWREV := 0x494c0001
326 define Device/tl-wdr7500-v3
327 $(Device/tplink-8mlzma)
328 DEVICE_TITLE := TP-LINK Archer C7 v3
329 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
330 BOARDNAME := ARCHER-C7
331 DEVICE_PROFILE := ARCHERC7
332 TPLINK_HWID := 0x75000003
334 TARGET_DEVICES += archer-c5-v1 archer-c7-v1 archer-c7-v2 archer-c7-v2-il tl-wdr7500-v3
336 define Device/tl-mr10u-v1
337 $(Device/tplink-4mlzma)
338 DEVICE_TITLE := TP-LINK TL-MR10U v1
339 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
340 BOARDNAME := TL-MR10U
341 DEVICE_PROFILE := TLMR10U
342 TPLINK_HWID := 0x00100101
343 CONSOLE := ttyATH0,115200
346 define Device/tl-mr11u-v1
347 $(Device/tplink-4mlzma)
348 DEVICE_TITLE := TP-LINK TL-MR11U v1
349 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
350 BOARDNAME := TL-MR11U
351 DEVICE_PROFILE := TLMR11U
352 TPLINK_HWID := 0x00110101
353 CONSOLE := ttyATH0,115200
356 define Device/tl-mr11u-v2
357 $(Device/tplink-4mlzma)
358 DEVICE_TITLE := TP-LINK TL-MR11U v2
359 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
360 BOARDNAME := TL-MR11U
361 DEVICE_PROFILE := TLMR11U
362 TPLINK_HWID := 0x00110102
363 CONSOLE := ttyATH0,115200
366 define Device/tl-mr12u-v1
367 $(Device/tplink-4mlzma)
368 DEVICE_TITLE := TP-LINK TL-MR12U v1
369 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
370 BOARDNAME := TL-MR13U
371 DEVICE_PROFILE := TLMR12U
372 TPLINK_HWID := 0x00120101
373 CONSOLE := ttyATH0,115200
376 define Device/tl-mr13u-v1
377 $(Device/tplink-4mlzma)
378 DEVICE_TITLE := TP-LINK TL-MR13U v1
379 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
380 BOARDNAME := TL-MR13U
381 DEVICE_PROFILE := TLMR13U
382 TPLINK_HWID := 0x00130101
383 CONSOLE := ttyATH0,115200
385 TARGET_DEVICES += tl-mr10u-v1 tl-mr11u-v1 tl-mr11u-v2 tl-mr12u-v1 tl-mr13u-v1
387 define Device/tl-mr3020-v1
388 $(Device/tplink-4mlzma)
389 DEVICE_TITLE := TP-LINK TL-MR3020 v1
390 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
391 BOARDNAME := TL-MR3020
392 DEVICE_PROFILE := TLMR3020
393 TPLINK_HWID := 0x30200001
394 CONSOLE := ttyATH0,115200
397 define Device/tl-mr3040-v1
398 $(Device/tplink-4mlzma)
399 DEVICE_TITLE := TP-LINK TL-MR3040 v1
400 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
401 BOARDNAME := TL-MR3040
402 DEVICE_PROFILE := TLMR3040
403 TPLINK_HWID := 0x30400001
404 CONSOLE := ttyATH0,115200
407 define Device/tl-mr3040-v2
408 $(Device/tplink-4mlzma)
409 DEVICE_TITLE := TP-LINK TL-MR3040 v2
410 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
411 BOARDNAME := TL-MR3040-v2
412 DEVICE_PROFILE := TLMR3040
413 TPLINK_HWID := 0x30400002
414 CONSOLE := ttyATH0,115200
417 define Device/tl-mr3220-v1
419 DEVICE_TITLE := TP-LINK TL-MR3220 v1
420 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
421 BOARDNAME := TL-MR3220
422 DEVICE_PROFILE := TLMR3220
423 TPLINK_HWID := 0x32200001
426 define Device/tl-mr3220-v2
427 $(Device/tplink-4mlzma)
428 DEVICE_TITLE := TP-LINK TL-MR3220 v2
429 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
430 BOARDNAME := TL-MR3220-v2
431 DEVICE_PROFILE := TLMR3220
432 TPLINK_HWID := 0x32200002
433 CONSOLE := ttyATH0,115200
436 define Device/tl-mr3420-v1
438 DEVICE_TITLE := TP-LINK TL-MR3420 v1
439 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
440 BOARDNAME := TL-MR3420
441 DEVICE_PROFILE := TLMR3420
442 TPLINK_HWID := 0x34200001
445 define Device/tl-mr3420-v2
446 $(Device/tplink-4mlzma)
447 DEVICE_TITLE := TP-LINK TL-MR3420 v2
448 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
449 BOARDNAME := TL-MR3420-v2
450 DEVICE_PROFILE := TLMR3420
451 TPLINK_HWID := 0x34200002
453 TARGET_DEVICES += tl-mr3020-v1 tl-mr3040-v1 tl-mr3040-v2 tl-mr3220-v1 tl-mr3220-v2 tl-mr3420-v1 tl-mr3420-v2
455 define Device/tl-wpa8630-v1
456 $(Device/tplink-8mlzma)
457 DEVICE_TITLE := TP-LINK TL-WPA8630 v1
458 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
459 BOARDNAME := TL-WPA8630
460 DEVICE_PROFILE := TL-WPA8630
461 TPLINK_HWID := 0x86300001
463 TARGET_DEVICES += tl-wpa8630-v1
465 define Device/tl-wr703n-v1
466 $(Device/tplink-4mlzma)
467 DEVICE_TITLE := TP-LINK TL-WR703N v1
468 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
469 BOARDNAME := TL-WR703N
470 DEVICE_PROFILE := TLWR703
471 TPLINK_HWID := 0x07030101
472 CONSOLE := ttyATH0,115200
475 define Device/tl-wr710n-v1
476 $(Device/tplink-8mlzma)
477 DEVICE_TITLE := TP-LINK TL-WR710N v1
478 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
479 BOARDNAME := TL-WR710N
480 DEVICE_PROFILE := TLWR710
481 TPLINK_HWID := 0x07100001
482 CONSOLE := ttyATH0,115200
485 define Device/tl-wr710n-v2
486 $(Device/tplink-4mlzma)
487 DEVICE_TITLE := TP-LINK TL-WR710N v2
488 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
489 BOARDNAME := TL-WR710N v2
490 DEVICE_PROFILE := TLWR710
491 TPLINK_HWID := 0x07100002
492 CONSOLE := ttyATH0,115200
495 define Device/tl-wr710n-v2.1
496 $(Device/tplink-8mlzma)
497 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
498 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
499 BOARDNAME := TL-WR710N v2.1
500 DEVICE_PROFILE := TLWR710
501 TPLINK_HWID := 0x07100002
502 TPLINK_HWREV := 0x00000002
503 CONSOLE := ttyATH0,115200
506 define Device/tl-wr720n-v3
507 $(Device/tplink-4mlzma)
508 DEVICE_TITLE := TP-LINK TL-WR720N v3
509 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
510 BOARDNAME := TL-WR720N-v3
511 DEVICE_PROFILE := TLWR720
512 TPLINK_HWID := 0x07200103
513 CONSOLE := ttyATH0,115200
516 define Device/tl-wr720n-v4
517 $(Device/tplink-4mlzma)
518 DEVICE_TITLE := TP-LINK TL-WR720N v4
519 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
520 BOARDNAME := TL-WR720N-v3
521 DEVICE_PROFILE := TLWR720
522 TPLINK_HWID := 0x07200104
523 CONSOLE := ttyATH0,115200
525 TARGET_DEVICES += tl-wr703n-v1 tl-wr710n-v1 tl-wr710n-v2 tl-wr710n-v2.1 tl-wr720n-v3 tl-wr720n-v4
527 define Device/tl-wr740n-v1
529 DEVICE_TITLE := TP-LINK TL-WR740N/ND v1
530 BOARDNAME := TL-WR741ND
531 DEVICE_PROFILE := TLWR740
532 TPLINK_HWID := 0x07400001
535 define Device/tl-wr740n-v3
537 DEVICE_TITLE := TP-LINK TL-WR740N/ND v3
538 BOARDNAME := TL-WR741ND
539 DEVICE_PROFILE := TLWR740
540 TPLINK_HWID := 0x07400003
543 define Device/tl-wr740n-v4
544 $(Device/tplink-4mlzma)
545 DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
546 BOARDNAME := TL-WR741ND-v4
547 DEVICE_PROFILE := TLWR740
548 TPLINK_HWID := 0x07400004
549 CONSOLE := ttyATH0,115200
552 define Device/tl-wr740n-v5
553 $(Device/tplink-4mlzma)
554 DEVICE_TITLE := TP-LINK TL-WR740N/ND v5
555 BOARDNAME := TL-WR741ND-v4
556 DEVICE_PROFILE := TLWR740
557 TPLINK_HWID := 0x07400005
558 CONSOLE := ttyATH0,115200
561 define Device/tl-wr740n-v6
562 $(Device/tplink-4mlzma)
563 DEVICE_TITLE := TP-LINK TL-WR740N/ND v6
564 BOARDNAME := TL-WR841N-v9
565 DEVICE_PROFILE := TLWR740
566 TPLINK_HWID := 0x07400006
569 define Device/tl-wr741nd-v1
571 DEVICE_TITLE := TP-LINK TL-WR741N/ND v1
572 BOARDNAME := TL-WR741ND
573 DEVICE_PROFILE := TLWR741
574 TPLINK_HWID := 0x07410001
577 define Device/tl-wr741nd-v2
579 DEVICE_TITLE := TP-LINK TL-WR741N/ND v2
580 BOARDNAME := TL-WR741ND
581 DEVICE_PROFILE := TLWR741
582 TPLINK_HWID := 0x07410001
585 define Device/tl-wr741nd-v4
586 $(Device/tplink-4mlzma)
587 DEVICE_TITLE := TP-LINK TL-WR741N/ND v4
588 BOARDNAME := TL-WR741ND-v4
589 DEVICE_PROFILE := TLWR741
590 TPLINK_HWID := 0x07410004
591 CONSOLE := ttyATH0,115200
594 define Device/tl-wr741nd-v5
595 $(Device/tplink-4mlzma)
596 DEVICE_TITLE := TP-LINK TL-WR741N/ND v5
597 BOARDNAME := TL-WR741ND-v4
598 DEVICE_PROFILE := TLWR741
599 TPLINK_HWID := 0x07400005
600 CONSOLE := ttyATH0,115200
603 define Device/tl-wr810n-v1
604 $(Device/tplink-8mlzma)
605 DEVICE_TITLE := TP-LINK TL-WR810N v1
606 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
607 BOARDNAME := TL-WR810N
608 DEVICE_PROFILE := TLWR810
609 TPLINK_HWID := 0x08100001
611 TARGET_DEVICES += tl-wr810n-v1
613 define Device/tl-wr743nd-v1
615 DEVICE_TITLE := TP-LINK TL-WR743N/ND v1
616 BOARDNAME := TL-WR741ND
617 DEVICE_PROFILE := TLWR743
618 TPLINK_HWID := 0x07430001
621 define Device/tl-wr743nd-v2
622 $(Device/tplink-4mlzma)
623 DEVICE_TITLE := TP-LINK TL-WR743N/ND v2
624 BOARDNAME := TL-WR741ND-v4
625 DEVICE_PROFILE := TLWR743
626 TPLINK_HWID := 0x07430002
627 CONSOLE := ttyATH0,115200
629 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
631 define Device/tl-wr802n-v1
632 $(Device/tplink-4mlzma)
633 DEVICE_TITLE := TP-LINK TL-WR802N v1
634 BOARDNAME := TL-WR802N-v1
635 DEVICE_PROFILE := TLWR802
636 TPLINK_HWID := 0x08020001
640 define Device/tl-wr802n-v2
641 $(Device/tplink-4mlzma)
642 DEVICE_TITLE := TP-LINK TL-WR802N v2
643 BOARDNAME := TL-WR802N-v2
644 DEVICE_PROFILE := TLWR802
645 TPLINK_HWID := 0x08020002
647 IMAGES += factory-us.bin factory-eu.bin
648 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
649 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
651 TARGET_DEVICES += tl-wr802n-v1 tl-wr802n-v2
653 define Device/tl-wr840n-v2
654 $(Device/tplink-4mlzma)
655 DEVICE_TITLE := TP-LINK TL-WR840N v2
656 BOARDNAME := TL-WR840N-v2
657 DEVICE_PROFILE := TLWR840
658 TPLINK_HWID := 0x08400002
659 IMAGES += factory-eu.bin
660 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
663 define Device/tl-wr840n-v3
664 $(Device/tl-wr840n-v2)
665 DEVICE_TITLE := TP-LINK TL-WR840N v3
666 BOARDNAME := TL-WR840N-v3
667 TPLINK_HWID := 0x08400003
670 define Device/tl-wr841-v1.5
672 DEVICE_TITLE := TP-LINK TL-WR841N/ND v1.5
673 BOARDNAME := TL-WR841N-v1.5
674 DEVICE_PROFILE := TLWR841
675 TPLINK_HWID := 0x08410002
679 define Device/tl-wr841-v3
681 DEVICE_TITLE := TP-LINK TL-WR841N/ND v3
682 BOARDNAME := TL-WR941ND
683 DEVICE_PROFILE := TLWR841
684 TPLINK_HWID := 0x08410003
688 define Device/tl-wr841-v5
690 DEVICE_TITLE := TP-LINK TL-WR841N/ND v5
691 BOARDNAME := TL-WR741ND
692 DEVICE_PROFILE := TLWR841
693 TPLINK_HWID := 0x08410005
696 define Device/tl-wr841-v7
698 DEVICE_TITLE := TP-LINK TL-WR841N/ND v7
699 BOARDNAME := TL-WR841N-v7
700 DEVICE_PROFILE := TLWR841
701 TPLINK_HWID := 0x08410007
704 define Device/tl-wr841-v8
705 $(Device/tplink-4mlzma)
706 DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
707 BOARDNAME := TL-WR841N-v8
708 DEVICE_PROFILE := TLWR841
709 TPLINK_HWID := 0x08410008
712 define Device/tl-wr841-v9
713 $(Device/tplink-4mlzma)
714 DEVICE_TITLE := TP-LINK TL-WR841N/ND v9
715 BOARDNAME := TL-WR841N-v9
716 DEVICE_PROFILE := TLWR841
717 TPLINK_HWID := 0x08410009
720 define Device/tl-wr841-v10
721 $(Device/tplink-4mlzma)
722 DEVICE_TITLE := TP-LINK TL-WR841N/ND v10
723 BOARDNAME := TL-WR841N-v9
724 DEVICE_PROFILE := TLWR841
725 TPLINK_HWID := 0x08410010
728 define Device/tl-wr841-v11
729 $(Device/tplink-4mlzma)
730 DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
731 BOARDNAME := TL-WR841N-v11
732 DEVICE_PROFILE := TLWR841
733 TPLINK_HWID := 0x08410011
734 IMAGES += factory-us.bin factory-eu.bin
735 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
736 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
739 define Device/tl-wr841-v12
740 $(Device/tl-wr841-v11)
741 DEVICE_TITLE := TP-LINK TL-WR841N/ND v12
742 TPLINK_HWID := 0x08410012
745 define Device/tl-wr842n-v1
747 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
748 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
749 BOARDNAME := TL-MR3420
750 DEVICE_PROFILE := TLWR842
751 TPLINK_HWID := 0x08420001
754 define Device/tl-wr842n-v2
755 $(Device/tplink-8mlzma)
756 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
757 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
758 BOARDNAME := TL-WR842N-v2
759 DEVICE_PROFILE := TLWR842
760 TPLINK_HWID := 0x8420002
763 define Device/tl-wr842n-v3
764 $(Device/tplink-16mlzma)
765 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
766 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
767 BOARDNAME := TL-WR842N-v3
768 DEVICE_PROFILE := TLWR842
769 TPLINK_HWID := 0x08420003
772 define Device/tl-wr843nd-v1
773 $(Device/tplink-4mlzma)
774 DEVICE_TITLE := TP-LINK TL-WR843N/ND v1
775 BOARDNAME := TL-WR841N-v8
776 DEVICE_PROFILE := TLWR843
777 TPLINK_HWID := 0x08430001
780 define Device/tl-wr847n-v8
781 $(Device/tplink-4mlzma)
782 DEVICE_TITLE := TP-LINK TL-WR847N/ND v8
783 BOARDNAME := TL-WR841N-v8
784 DEVICE_PROFILE := TLWR841
785 TPLINK_HWID := 0x08470008
787 TARGET_DEVICES += tl-wr840n-v2 tl-wr840n-v3 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-wr841-v12 tl-wr842n-v1 tl-wr842n-v2 tl-wr842n-v3 tl-wr843nd-v1 tl-wr847n-v8
789 define Device/tl-wr941nd-v2
791 DEVICE_TITLE := TP-LINK TL-WR941N/ND v2
792 BOARDNAME := TL-WR941ND
793 DEVICE_PROFILE := TLWR941
794 TPLINK_HWID := 0x09410002
798 define Device/tl-wr941nd-v3
800 DEVICE_TITLE := TP-LINK TL-WR941N/ND v3
801 BOARDNAME := TL-WR941ND
802 DEVICE_PROFILE := TLWR941
803 TPLINK_HWID := 0x09410002
807 define Device/tl-wr941nd-v4
809 DEVICE_TITLE := TP-LINK TL-WR941N/ND v4
810 BOARDNAME := TL-WR741ND
811 DEVICE_PROFILE := TLWR941
812 TPLINK_HWID := 0x09410004
815 define Device/tl-wr941nd-v5
816 $(Device/tplink-4mlzma)
817 DEVICE_TITLE := TP-LINK TL-WR941N/ND v5
818 BOARDNAME := TL-WR941ND-v5
819 DEVICE_PROFILE := TLWR941
820 TPLINK_HWID := 0x09410005
823 define Device/tl-wr941nd-v6
824 $(Device/tplink-4mlzma)
825 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6
826 BOARDNAME := TL-WR941ND-v6
827 DEVICE_PROFILE := TLWR941
828 TPLINK_HWID := 0x09410006
831 define Device/tl-wr940n-v4
832 $(Device/tplink-4mlzma)
833 DEVICE_TITLE := TP-LINK TL-WR940N v4
834 BOARDNAME := TL-WR940N-v4
835 DEVICE_PROFILE := TLWR941
836 TPLINK_HWID := 0x09400004
837 IMAGES += factory-us.bin factory-eu.bin
838 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
839 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
842 # Chinese version (unlike European) is similar to the TL-WDR3500
843 define Device/tl-wr941nd-v6-cn
844 $(Device/tplink-4mlzma)
845 DEVICE_TITLE := TP-LINK TL-WR941N/ND v6 (CN)
846 BOARDNAME := TL-WDR3500
847 DEVICE_PROFILE := TLWR941
848 TPLINK_HWID := 0x09410006
850 TARGET_DEVICES += tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr941nd-v5 tl-wr941nd-v6 tl-wr941nd-v6-cn tl-wr940n-v4
852 define Device/tl-wr1041n-v2
853 $(Device/tplink-4mlzma)
854 DEVICE_TITLE := TP-LINK TL-WR1041N v2
855 BOARDNAME := TL-WR1041N-v2
856 DEVICE_PROFILE := TLWR1041
857 TPLINK_HWID := 0x10410002
859 TARGET_DEVICES += tl-wr1041n-v2
861 define Device/tl-wr1043nd-v1
863 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
864 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
865 BOARDNAME := TL-WR1043ND
866 DEVICE_PROFILE := TLWR1043
867 TPLINK_HWID := 0x10430001
870 define Device/tl-wr1043nd-v2
871 $(Device/tplink-8mlzma)
872 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
873 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
874 BOARDNAME := TL-WR1043ND-v2
875 DEVICE_PROFILE := TLWR1043
876 TPLINK_HWID := 0x10430002
879 define Device/tl-wr1043nd-v3
880 $(Device/tplink-8mlzma)
881 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
882 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
883 BOARDNAME := TL-WR1043ND-v2
884 DEVICE_PROFILE := TLWR1043
885 TPLINK_HWID := 0x10430003
888 define Device/tl-wr1043nd-v4
890 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
891 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
892 BOARDNAME := TL-WR1043ND-v4
893 DEVICE_PROFILE := TLWR1043
894 TPLINK_HWID := 0x10430004
895 TPLINK_FLASHLAYOUT := 16Msafeloader
896 MTDPARTS := spi0.0:128k(u-boot)ro,1536k(kernel),14016k(rootfs),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro,15552k@0x20000(firmware)
898 TPLINK_BOARD_NAME := TLWR1043NDV4
899 KERNEL := kernel-bin | patch-cmdline | lzma | mktplinkfw-combined
900 IMAGES := sysupgrade.bin factory.bin
901 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
902 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
904 TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3 tl-wr1043nd-v4
906 define Device/tl-wr2543-v1
907 $(Device/tplink-8mlzma)
908 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
909 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
910 BOARDNAME := TL-WR2543N
911 DEVICE_PROFILE := TLWR2543
912 TPLINK_HWID := 0x25430001
913 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
914 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
916 TARGET_DEVICES += tl-wr2543-v1
918 define Device/tl-wdr4900-v2
919 $(Device/tplink-8mlzma)
920 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
921 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
922 BOARDNAME := TL-WDR4900-v2
923 DEVICE_PROFILE := TLWDR4900V2
924 TPLINK_HWID := 0x49000002
926 TARGET_DEVICES += tl-wdr4900-v2
928 define Device/tl-wa701nd-v1
930 DEVICE_TITLE := TP-LINK TL-WA701N/ND v1
931 BOARDNAME := TL-WA901ND
932 DEVICE_PROFILE := TLWA701
933 TPLINK_HWID := 0x07010001
936 define Device/tl-wa701nd-v2
937 $(Device/tplink-4mlzma)
938 DEVICE_TITLE := TP-LINK TL-WA701N/ND v2
939 BOARDNAME := TL-WA701ND-v2
940 DEVICE_PROFILE := TLWA701
941 TPLINK_HWID := 0x07010002
942 CONSOLE := ttyATH0,115200
945 define Device/tl-wa730re-v1
947 DEVICE_TITLE := TP-LINK TL-WA730RE v1
948 BOARDNAME := TL-WA901ND
949 DEVICE_PROFILE := TLWA730RE
950 TPLINK_HWID := 0x07300001
953 define Device/tl-wa750re-v1
954 $(Device/tplink-4mlzma)
955 DEVICE_TITLE := TP-LINK TL-WA750RE v1
956 DEVICE_PACKAGES := rssileds
957 BOARDNAME := TL-WA750RE
958 DEVICE_PROFILE := TLWA750
959 TPLINK_HWID := 0x07500001
962 define Device/tl-wa7510n-v1
964 DEVICE_TITLE := TP-LINK TL-WA7510N v1
965 BOARDNAME := TL-WA7510N
966 DEVICE_PROFILE := TLWA7510
967 TPLINK_HWID := 0x75100001
969 TARGET_DEVICES += tl-wa701nd-v1 tl-wa701nd-v2 tl-wa730re-v1 tl-wa750re-v1 tl-wa7510n-v1
971 define Device/tl-wa801nd-v1
973 DEVICE_TITLE := TP-LINK TL-WA801N/ND v1
974 BOARDNAME := TL-WA901ND
975 DEVICE_PROFILE := TLWA801
976 TPLINK_HWID := 0x08010001
979 define Device/tl-wa801nd-v2
980 $(Device/tplink-4mlzma)
981 DEVICE_TITLE := TP-LINK TL-WA801N/ND v2
982 BOARDNAME := TL-WA801ND-v2
983 DEVICE_PROFILE := TLWA801
984 TPLINK_HWID := 0x08010002
987 define Device/tl-wa801nd-v3
988 $(Device/tplink-4mlzma)
989 DEVICE_TITLE := TP-LINK TL-WA801N/ND v3
990 BOARDNAME := TL-WA801ND-v3
991 DEVICE_PROFILE := TLWA801
992 TPLINK_HWID := 0x08010003
995 define Device/tl-wa830re-v1
997 DEVICE_TITLE := TP-LINK TL-WA830RE v1
998 BOARDNAME := TL-WA901ND
999 DEVICE_PROFILE := TLWA830
1000 TPLINK_HWID := 0x08300010
1003 define Device/tl-wa830re-v2
1004 $(Device/tplink-4mlzma)
1005 DEVICE_TITLE := TP-LINK TL-WA830RE v2
1006 BOARDNAME := TL-WA830RE-v2
1007 DEVICE_PROFILE := TLWA830
1008 TPLINK_HWID := 0x08300002
1011 define Device/tl-wa850re-v1
1012 $(Device/tplink-4mlzma)
1013 DEVICE_TITLE := TP-LINK TL-WA850RE v1
1014 BOARDNAME := TL-WA850RE
1015 DEVICE_PROFILE := TLWA850
1016 TPLINK_HWID := 0x08500001
1019 define Device/tl-wa850re-v2
1021 DEVICE_TITLE := TP-LINK TL-WA850RE v2
1022 DEVICE_PACKAGES := rssileds
1023 BOARDNAME := TL-WA850RE-V2
1024 DEVICE_PROFILE := TLWA850
1025 TPLINK_BOARD_NAME := TLWA850REV2
1026 TPLINK_HWID := 0x08500002
1027 KERNEL := kernel-bin | patch-cmdline | lzma | mktplinkfw-kernel
1028 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
1029 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
1030 MTDPARTS := spi0.0:128k(u-boot)ro,1344k(kernel),2304k(rootfs),256k(config)ro,64k(art)ro,3648k@0x20000(firmware)
1033 define Device/tl-wa860re-v1
1034 $(Device/tplink-4mlzma)
1035 DEVICE_TITLE := TP-LINK TL-WA860RE v1
1036 BOARDNAME := TL-WA860RE
1037 DEVICE_PROFILE := TLWA860
1038 TPLINK_HWID := 0x08600001
1040 TARGET_DEVICES += tl-wa801nd-v1 tl-wa801nd-v2 tl-wa801nd-v3 tl-wa830re-v1 tl-wa830re-v2 tl-wa850re-v1 tl-wa850re-v2 tl-wa860re-v1
1042 define Device/tl-wa901nd-v1
1044 DEVICE_TITLE := TP-LINK TL-WA901N/ND v1
1045 BOARDNAME := TL-WA901ND
1046 DEVICE_PROFILE := TLWA901
1047 TPLINK_HWID := 0x09010001
1050 define Device/tl-wa901nd-v2
1052 DEVICE_TITLE := TP-LINK TL-WA901N/ND v2
1053 BOARDNAME := TL-WA901ND-v2
1054 DEVICE_PROFILE := TLWA901
1055 TPLINK_HWID := 0x09010002
1058 define Device/tl-wa901nd-v3
1059 $(Device/tplink-4mlzma)
1060 DEVICE_TITLE := TP-LINK TL-WA901N/ND v3
1061 BOARDNAME := TL-WA901ND-v3
1062 DEVICE_PROFILE := TLWA901
1063 TPLINK_HWID := 0x09010003
1066 define Device/tl-wa901nd-v4
1067 $(Device/tplink-4mlzma)
1068 DEVICE_TITLE := TP-LINK TL-WA901N/ND v4
1069 BOARDNAME := TL-WA901ND-v4
1070 DEVICE_PROFILE := TLWA901
1071 TPLINK_HWID := 0x09010004
1072 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C EU
1075 TARGET_DEVICES += tl-wa901nd-v1 tl-wa901nd-v2 tl-wa901nd-v3 tl-wa901nd-v4
1077 define Device/tl-wa7210n-v2
1078 $(Device/tplink-4mlzma)
1079 DEVICE_TITLE := TP-LINK TL-WA7210N v2
1080 DEVICE_PACKAGES := rssileds kmod-ledtrig-netdev
1081 BOARDNAME := TL-WA7210N-v2
1082 DEVICE_PROFILE := TLWA7210
1083 TPLINK_HWID := 0x72100002
1084 CONSOLE := ttyATH0,115200
1086 TARGET_DEVICES += tl-wa7210n-v2