1 include .
/common-tp-link.mk
3 define Device
/tplink_archer-a7-v5
4 $(Device
/tplink-safeloader-uimage
)
7 DEVICE_MODEL
:= Archer A7
9 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
10 TPLINK_BOARD_ID
:= ARCHER-A7-V5
11 BOARDNAME
:= ARCHER-A7-V5
12 SUPPORTED_DEVICES
+= archer-a7-v5
14 TARGET_DEVICES
+= tplink_archer-a7-v5
16 define Device
/tplink_archer-c2-v3
17 $(Device
/tplink-safeloader-uimage
)
20 DEVICE_MODEL
:= Archer C2
22 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
23 TPLINK_BOARD_ID
:= ARCHER-C2-V3
25 TARGET_DEVICES
+= tplink_archer-c2-v3
27 define Device
/tplink_archer-c25-v1
28 $(Device
/tplink-safeloader-uimage
)
31 DEVICE_MODEL
:= Archer C25
33 TPLINK_BOARD_ID
:= ARCHER-C25-V1
34 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
35 SUPPORTED_DEVICES
+= archer-c25-v1
37 TARGET_DEVICES
+= tplink_archer-c25-v1
39 define Device
/tplink_archer-c58-v1
40 $(Device
/tplink-safeloader-uimage
)
43 DEVICE_MODEL
:= Archer C58
45 TPLINK_BOARD_ID
:= ARCHER-C58-V1
46 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
47 SUPPORTED_DEVICES
+= archer-c58-v1
49 TARGET_DEVICES
+= tplink_archer-c58-v1
51 define Device
/tplink_archer-c59-v1
52 $(Device
/tplink-safeloader-uimage
)
55 DEVICE_MODEL
:= Archer C59
57 TPLINK_BOARD_ID
:= ARCHER-C59-V1
58 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca9888-ct
59 SUPPORTED_DEVICES
+= archer-c59-v1
61 TARGET_DEVICES
+= tplink_archer-c59-v1
63 define Device
/tplink_archer-c60-v1
64 $(Device
/tplink-safeloader-uimage
)
67 DEVICE_MODEL
:= Archer C60
69 TPLINK_BOARD_ID
:= ARCHER-C60-V1
70 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
71 SUPPORTED_DEVICES
+= archer-c60-v1
73 TARGET_DEVICES
+= tplink_archer-c60-v1
75 define Device
/tplink_archer-c60-v2
76 $(Device
/tplink-safeloader-uimage
)
79 DEVICE_MODEL
:= Archer C60
81 TPLINK_BOARD_ID
:= ARCHER-C60-V2
82 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
83 SUPPORTED_DEVICES
+= archer-c60-v2
85 TARGET_DEVICES
+= tplink_archer-c60-v2
87 define Device
/tplink_archer-c6-v2
88 $(Device
/tplink-safeloader-uimage
)
91 DEVICE_MODEL
:= Archer C6
93 TPLINK_BOARD_ID
:= ARCHER-C6-V2
94 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
96 TARGET_DEVICES
+= tplink_archer-c6-v2
98 define Device
/tplink_archer-c5-v1
99 $(Device
/tplink-16mlzma
)
101 DEVICE_MODEL
:= Archer C5
103 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
104 TPLINK_HWID
:= 0xc5000001
105 SUPPORTED_DEVICES
+= archer-c5
107 TARGET_DEVICES
+= tplink_archer-c5-v1
109 define Device
/tplink_archer-c7-v1
110 $(Device
/tplink-8mlzma
)
112 DEVICE_MODEL
:= Archer C7
114 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
115 TPLINK_HWID
:= 0x75000001
116 SUPPORTED_DEVICES
+= archer-c7
118 TARGET_DEVICES
+= tplink_archer-c7-v1
120 define Device
/tplink_archer-c7-v2
121 $(Device
/tplink-16mlzma
)
123 DEVICE_MODEL
:= Archer C7
125 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
126 TPLINK_HWID
:= 0xc7000002
127 SUPPORTED_DEVICES
+= archer-c7
128 IMAGES
+= factory-us.bin factory-eu.bin
129 IMAGE
/factory-us.bin
:= append-rootfs | mktplinkfw factory
-C US
130 IMAGE
/factory-eu.bin
:= append-rootfs | mktplinkfw factory
-C EU
132 TARGET_DEVICES
+= tplink_archer-c7-v2
134 define Device
/tplink_archer-c7-v4
135 $(Device
/tplink-safeloader-uimage
)
138 DEVICE_MODEL
:= Archer C7
140 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
141 TPLINK_BOARD_ID
:= ARCHER-C7-V4
142 BOARDNAME
:= ARCHER-C7-V4
143 SUPPORTED_DEVICES
+= archer-c7-v4
145 TARGET_DEVICES
+= tplink_archer-c7-v4
147 define Device
/tplink_archer-c7-v5
148 $(Device
/tplink-safeloader-uimage
)
151 DEVICE_MODEL
:= Archer C7
153 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
154 TPLINK_BOARD_ID
:= ARCHER-C7-V5
155 BOARDNAME
:= ARCHER-C7-V5
156 SUPPORTED_DEVICES
+= archer-c7-v5
158 TARGET_DEVICES
+= tplink_archer-c7-v5
160 define Device
/tplink_cpe210-v1
161 $(Device
/tplink-loader-okli
)
164 DEVICE_MODEL
:= CPE210
166 DEVICE_PACKAGES
:= rssileds
167 TPLINK_BOARD_ID
:= CPE210
168 SUPPORTED_DEVICES
+= cpe210
170 TARGET_DEVICES
+= tplink_cpe210-v1
172 define Device
/tplink_cpe210-v2
173 $(Device
/tplink-safeloader
)
176 DEVICE_MODEL
:= CPE210
178 TPLINK_BOARD_ID
:= CPE210V2
179 DEVICE_PACKAGES
:= rssileds
181 SUPPORTED_DEVICES
+= cpe210-v2
183 TARGET_DEVICES
+= tplink_cpe210-v2
185 define Device
/tplink_cpe210-v3
186 $(Device
/tplink-safeloader
)
189 DEVICE_MODEL
:= CPE210
191 DEVICE_PACKAGES
:= rssileds
192 TPLINK_BOARD_ID
:= CPE210V3
194 SUPPORTED_DEVICES
+= cpe210-v3
196 TARGET_DEVICES
+= tplink_cpe210-v3
198 define Device
/tplink_cpe220-v2
199 $(Device
/tplink-loader-okli
)
202 DEVICE_MODEL
:= CPE220
204 DEVICE_PACKAGES
:= rssileds
205 TPLINK_BOARD_ID
:= CPE220V2
207 TARGET_DEVICES
+= tplink_cpe220-v2
209 define Device
/tplink_cpe510-v1
210 $(Device
/tplink-loader-okli
)
213 DEVICE_MODEL
:= CPE510
215 DEVICE_PACKAGES
:= rssileds
216 TPLINK_BOARD_ID
:= CPE510
217 SUPPORTED_DEVICES
+= cpe510
219 TARGET_DEVICES
+= tplink_cpe510-v1
221 define Device
/tplink_cpe510-v2
222 $(Device
/tplink-loader-okli
)
225 DEVICE_MODEL
:= CPE510
227 DEVICE_PACKAGES
:= rssileds
228 TPLINK_BOARD_ID
:= CPE510V2
229 SUPPORTED_DEVICES
+= cpe510-v2
231 TARGET_DEVICES
+= tplink_cpe510-v2
233 define Device
/tplink_cpe510-v3
234 $(Device
/tplink-loader-okli
)
237 DEVICE_MODEL
:= CPE510
239 DEVICE_PACKAGES
:= rssileds
240 TPLINK_BOARD_ID
:= CPE510V3
241 SUPPORTED_DEVICES
+= cpe510-v3
243 TARGET_DEVICES
+= tplink_cpe510-v3
245 define Device
/tplink_cpe610-v1
246 $(Device
/tplink-loader-okli
)
249 DEVICE_MODEL
:= CPE610
251 TPLINK_BOARD_ID
:= CPE610V1
253 TARGET_DEVICES
+= tplink_cpe610-v1
255 define Device
/tplink_archer-d50-v1
257 DEVICE_VENDOR
:= TP-Link
258 DEVICE_MODEL
:= Archer D50
260 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
261 BOARDNAME
:= ARCHER-D50-V1
263 TPLINK_HWID
:= 0xC1200001
264 TPLINK_HWREV
:= 0x00000046
265 TPLINK_FLASHLAYOUT
:= 8Mqca
266 TPLINK_HWREVADD
:= 0x00000000
268 KERNEL
:= kernel-bin | append-dtb | lzma
269 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | \
270 tplink-v2-header
-s
-V
"ver. 1.0"
271 IMAGES
:= sysupgrade.bin
272 IMAGE
/sysupgrade.bin
:= tplink-v2-image
-s
-V
"ver. 2.0" | \
273 append-metadata | check-size
$$$$(IMAGE_SIZE
)
274 SUPPORTED_DEVICES
+= archer-d50-v1
276 TARGET_DEVICES
+= tplink_archer-d50-v1
278 define Device
/tplink_re350k-v1
279 $(Device
/tplink-safeloader
)
282 DEVICE_MODEL
:= RE350K
284 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
285 TPLINK_BOARD_ID
:= RE350K-V1
289 TARGET_DEVICES
+= tplink_re350k-v1
291 define Device
/tplink_rex5x-v1
292 $(Device
/tplink-safeloader
)
295 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
300 define Device
/tplink_re355-v1
301 $(Device
/tplink_rex5x-v1
)
302 DEVICE_MODEL
:= RE355
304 TPLINK_BOARD_ID
:= RE355
305 SUPPORTED_DEVICES
+= re355
307 TARGET_DEVICES
+= tplink_re355-v1
309 define Device
/tplink_re450-v1
310 $(Device
/tplink_rex5x-v1
)
311 DEVICE_MODEL
:= RE450
313 TPLINK_BOARD_ID
:= RE450
314 SUPPORTED_DEVICES
+= re450
316 TARGET_DEVICES
+= tplink_re450-v1
318 define Device
/tplink_re450-v2
319 $(Device
/tplink-safeloader
)
322 DEVICE_MODEL
:= RE450
324 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
327 TPLINK_BOARD_ID
:= RE450-V2
330 TARGET_DEVICES
+= tplink_re450-v2
332 define Device
/tplink_tl-wdr3600-v1
333 $(Device
/tplink-8mlzma
)
335 DEVICE_MODEL
:= TL-WDR3600
337 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
338 TPLINK_HWID
:= 0x36000001
339 SUPPORTED_DEVICES
+= tl-wdr4300
341 TARGET_DEVICES
+= tplink_tl-wdr3600-v1
343 define Device
/tplink_tl-wdr4300-v1
344 $(Device
/tplink-8mlzma
)
346 DEVICE_MODEL
:= TL-WDR4300
348 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
349 TPLINK_HWID
:= 0x43000001
350 SUPPORTED_DEVICES
+= tl-wdr4300
352 TARGET_DEVICES
+= tplink_tl-wdr4300-v1
354 define Device
/tplink_tl-wdr4900-v2
355 $(Device
/tplink-8mlzma
)
357 DEVICE_MODEL
:= TL-WDR4900
359 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
360 TPLINK_HWID
:= 0x49000002
362 TARGET_DEVICES
+= tplink_tl-wdr4900-v2
364 define Device
/tplink_tl-wr810n-v1
365 $(Device
/tplink-8mlzma
)
367 DEVICE_MODEL
:= TL-WR810N
369 TPLINK_HWID
:= 0x8100001
370 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
372 TARGET_DEVICES
+= tplink_tl-wr810n-v1
374 define Device
/tplink_tl-wr810n-v2
375 $(Device
/tplink-8mlzma
)
377 DEVICE_MODEL
:= TL-WR810N
379 TPLINK_HWID
:= 0x8100002
381 TARGET_DEVICES
+= tplink_tl-wr810n-v2
383 define Device
/tplink_tl-wr710n-v1
384 $(Device
/tplink-8mlzma
)
386 DEVICE_MODEL
:= TL-WR710N
388 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
389 TPLINK_HWID
:= 0x07100001
390 SUPPORTED_DEVICES
+= tl-wr710n
392 TARGET_DEVICES
+= tplink_tl-wr710n-v1
394 define Device
/tplink_tl-wr842n-v1
397 DEVICE_MODEL
:= TL-WR842N
/ND
399 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
400 TPLINK_HWID
:= 0x8420001
402 TARGET_DEVICES
+= tplink_tl-wr842n-v1
404 define Device
/tplink_tl-wr842n-v2
405 $(Device
/tplink-8mlzma
)
407 DEVICE_MODEL
:= TL-WR842N
/ND
409 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
410 TPLINK_HWID
:= 0x8420002
411 SUPPORTED_DEVICES
+= tl-wr842n-v2
413 TARGET_DEVICES
+= tplink_tl-wr842n-v2
415 define Device
/tplink_tl-wr842n-v3
416 $(Device
/tplink-16mlzma
)
418 DEVICE_MODEL
:= TL-WR842N
420 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
421 TPLINK_HWID
:= 0x8420003
422 SUPPORTED_DEVICES
+= tl-wr842n-v3
424 TARGET_DEVICES
+= tplink_tl-wr842n-v3
426 define Device
/tplink_tl-wr1043nd-v1
429 DEVICE_MODEL
:= TL-WR1043N
/ND
431 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
432 TPLINK_HWID
:= 0x10430001
433 SUPPORTED_DEVICES
+= tl-wr1043nd
435 TARGET_DEVICES
+= tplink_tl-wr1043nd-v1
437 define Device
/tplink_tl-wr1043nd-v2
438 $(Device
/tplink-8mlzma
)
440 DEVICE_MODEL
:= TL-WR1043N
/ND
442 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
443 TPLINK_HWID
:= 0x10430002
444 SUPPORTED_DEVICES
+= tl-wr1043nd-v2
446 TARGET_DEVICES
+= tplink_tl-wr1043nd-v2
448 define Device
/tplink_tl-wr1043nd-v3
449 $(Device
/tplink-8mlzma
)
451 DEVICE_MODEL
:= TL-WR1043N
/ND
453 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
454 TPLINK_HWID
:= 0x10430003
455 SUPPORTED_DEVICES
+= tl-wr1043nd-v3
457 TARGET_DEVICES
+= tplink_tl-wr1043nd-v3
459 define Device
/tplink_tl-wr1043nd-v4
460 $(Device
/tplink-safeloader
)
463 DEVICE_MODEL
:= TL-WR1043N
/ND
465 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
466 TPLINK_HWID
:= 0x10430004
467 TPLINK_BOARD_ID
:= TLWR1043NDV4
468 SUPPORTED_DEVICES
+= tl-wr1043nd-v4
470 TARGET_DEVICES
+= tplink_tl-wr1043nd-v4
472 define Device
/tplink_tl-wr1043n-v5
473 $(Device
/tplink-safeloader-uimage
)
476 DEVICE_MODEL
:= TL-WR1043N
478 TPLINK_BOARD_ID
:= TLWR1043NV5
479 SUPPORTED_DEVICES
+= tl-wr1043n-v5
481 TARGET_DEVICES
+= tplink_tl-wr1043n-v5
483 define Device
/tplink_tl-wr2543-v1
484 $(Device
/tplink-8mlzma
)
486 DEVICE_MODEL
:= TL-WR2543N
/ND
488 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
489 TPLINK_HWID
:= 0x25430001
490 IMAGE
/sysupgrade.bin
:= append-rootfs | mktplinkfw sysupgrade
-v
3.13.99 | \
491 append-metadata | check-size
$$$$(IMAGE_SIZE
)
492 IMAGE
/factory.bin
:= append-rootfs | mktplinkfw factory
-v
3.13.99
493 SUPPORTED_DEVICES
+= tl-wr2543-v1
495 TARGET_DEVICES
+= tplink_tl-wr2543-v1