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_cpe510-v2
199 $(Device
/tplink-loader-okli
)
202 DEVICE_MODEL
:= CPE510
204 DEVICE_PACKAGES
:= rssileds
205 TPLINK_BOARD_ID
:= CPE510V2
206 SUPPORTED_DEVICES
+= cpe510-v2
208 TARGET_DEVICES
+= tplink_cpe510-v2
210 define Device
/tplink_cpe510-v3
211 $(Device
/tplink-loader-okli
)
214 DEVICE_MODEL
:= CPE510
216 DEVICE_PACKAGES
:= rssileds
217 TPLINK_BOARD_ID
:= CPE510V3
218 SUPPORTED_DEVICES
+= cpe510-v3
220 TARGET_DEVICES
+= tplink_cpe510-v3
222 define Device
/tplink_cpe610-v1
223 $(Device
/tplink-loader-okli
)
226 DEVICE_MODEL
:= CPE610
228 TPLINK_BOARD_ID
:= CPE610V1
230 TARGET_DEVICES
+= tplink_cpe610-v1
232 define Device
/tplink_archer-d50-v1
234 DEVICE_VENDOR
:= TP-Link
235 DEVICE_MODEL
:= Archer D50
237 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
238 BOARDNAME
:= ARCHER-D50-V1
240 TPLINK_HWID
:= 0xC1200001
241 TPLINK_HWREV
:= 0x00000046
242 TPLINK_FLASHLAYOUT
:= 8Mqca
243 TPLINK_HWREVADD
:= 0x00000000
245 KERNEL
:= kernel-bin | append-dtb | lzma
246 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | \
247 tplink-v2-header
-s
-V
"ver. 1.0"
248 IMAGES
:= sysupgrade.bin
249 IMAGE
/sysupgrade.bin
:= tplink-v2-image
-s
-V
"ver. 2.0" | \
250 append-metadata | check-size
$$$$(IMAGE_SIZE
)
251 SUPPORTED_DEVICES
+= archer-d50-v1
253 TARGET_DEVICES
+= tplink_archer-d50-v1
255 define Device
/tplink_re350k-v1
256 $(Device
/tplink-safeloader
)
259 DEVICE_MODEL
:= RE350K
261 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
262 TPLINK_BOARD_ID
:= RE350K-V1
266 TARGET_DEVICES
+= tplink_re350k-v1
268 define Device
/tplink_rex5x-v1
269 $(Device
/tplink-safeloader
)
272 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
277 define Device
/tplink_re355-v1
278 $(Device
/tplink_rex5x-v1
)
279 DEVICE_MODEL
:= RE355
281 TPLINK_BOARD_ID
:= RE355
282 SUPPORTED_DEVICES
+= re355
284 TARGET_DEVICES
+= tplink_re355-v1
286 define Device
/tplink_re450-v1
287 $(Device
/tplink_rex5x-v1
)
288 DEVICE_MODEL
:= RE450
290 TPLINK_BOARD_ID
:= RE450
291 SUPPORTED_DEVICES
+= re450
293 TARGET_DEVICES
+= tplink_re450-v1
295 define Device
/tplink_re450-v2
296 $(Device
/tplink-safeloader
)
299 DEVICE_MODEL
:= RE450
301 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
304 TPLINK_BOARD_ID
:= RE450-V2
307 TARGET_DEVICES
+= tplink_re450-v2
309 define Device
/tplink_tl-wdr3600-v1
310 $(Device
/tplink-8mlzma
)
312 DEVICE_MODEL
:= TL-WDR3600
314 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
315 TPLINK_HWID
:= 0x36000001
316 SUPPORTED_DEVICES
+= tl-wdr4300
318 TARGET_DEVICES
+= tplink_tl-wdr3600-v1
320 define Device
/tplink_tl-wdr4300-v1
321 $(Device
/tplink-8mlzma
)
323 DEVICE_MODEL
:= TL-WDR4300
325 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
326 TPLINK_HWID
:= 0x43000001
327 SUPPORTED_DEVICES
+= tl-wdr4300
329 TARGET_DEVICES
+= tplink_tl-wdr4300-v1
331 define Device
/tplink_tl-wdr4900-v2
332 $(Device
/tplink-8mlzma
)
334 DEVICE_MODEL
:= TL-WDR4900
336 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
337 TPLINK_HWID
:= 0x49000002
339 TARGET_DEVICES
+= tplink_tl-wdr4900-v2
341 define Device
/tplink_tl-wr810n-v1
342 $(Device
/tplink-8mlzma
)
344 DEVICE_MODEL
:= TL-WR810N
346 TPLINK_HWID
:= 0x8100001
347 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
349 TARGET_DEVICES
+= tplink_tl-wr810n-v1
351 define Device
/tplink_tl-wr810n-v2
352 $(Device
/tplink-8mlzma
)
354 DEVICE_MODEL
:= TL-WR810N
356 TPLINK_HWID
:= 0x8100002
358 TARGET_DEVICES
+= tplink_tl-wr810n-v2
360 define Device
/tplink_tl-wr710n-v1
361 $(Device
/tplink-8mlzma
)
363 DEVICE_MODEL
:= TL-WR710N
365 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
366 TPLINK_HWID
:= 0x07100001
367 SUPPORTED_DEVICES
+= tl-wr710n
369 TARGET_DEVICES
+= tplink_tl-wr710n-v1
371 define Device
/tplink_tl-wr842n-v1
374 DEVICE_MODEL
:= TL-WR842N
/ND
376 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
377 TPLINK_HWID
:= 0x8420001
379 TARGET_DEVICES
+= tplink_tl-wr842n-v1
381 define Device
/tplink_tl-wr842n-v2
382 $(Device
/tplink-8mlzma
)
384 DEVICE_MODEL
:= TL-WR842N
/ND
386 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
387 TPLINK_HWID
:= 0x8420002
388 SUPPORTED_DEVICES
+= tl-wr842n-v2
390 TARGET_DEVICES
+= tplink_tl-wr842n-v2
392 define Device
/tplink_tl-wr842n-v3
393 $(Device
/tplink-16mlzma
)
395 DEVICE_MODEL
:= TL-WR842N
397 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
398 TPLINK_HWID
:= 0x8420003
399 SUPPORTED_DEVICES
+= tl-wr842n-v3
401 TARGET_DEVICES
+= tplink_tl-wr842n-v3
403 define Device
/tplink_tl-wr1043nd-v1
406 DEVICE_MODEL
:= TL-WR1043N
/ND
408 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
409 TPLINK_HWID
:= 0x10430001
410 SUPPORTED_DEVICES
+= tl-wr1043nd
412 TARGET_DEVICES
+= tplink_tl-wr1043nd-v1
414 define Device
/tplink_tl-wr1043nd-v2
415 $(Device
/tplink-8mlzma
)
417 DEVICE_MODEL
:= TL-WR1043N
/ND
419 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
420 TPLINK_HWID
:= 0x10430002
421 SUPPORTED_DEVICES
+= tl-wr1043nd-v2
423 TARGET_DEVICES
+= tplink_tl-wr1043nd-v2
425 define Device
/tplink_tl-wr1043nd-v3
426 $(Device
/tplink-8mlzma
)
428 DEVICE_MODEL
:= TL-WR1043N
/ND
430 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
431 TPLINK_HWID
:= 0x10430003
432 SUPPORTED_DEVICES
+= tl-wr1043nd-v3
434 TARGET_DEVICES
+= tplink_tl-wr1043nd-v3
436 define Device
/tplink_tl-wr1043nd-v4
437 $(Device
/tplink-safeloader
)
440 DEVICE_MODEL
:= TL-WR1043N
/ND
442 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
443 TPLINK_HWID
:= 0x10430004
444 TPLINK_BOARD_ID
:= TLWR1043NDV4
445 SUPPORTED_DEVICES
+= tl-wr1043nd-v4
447 TARGET_DEVICES
+= tplink_tl-wr1043nd-v4
449 define Device
/tplink_tl-wr1043n-v5
450 $(Device
/tplink-safeloader-uimage
)
453 DEVICE_MODEL
:= TL-WR1043N
455 TPLINK_BOARD_ID
:= TLWR1043NV5
456 SUPPORTED_DEVICES
+= tl-wr1043n-v5
458 TARGET_DEVICES
+= tplink_tl-wr1043n-v5
460 define Device
/tplink_tl-wr2543-v1
461 $(Device
/tplink-8mlzma
)
463 DEVICE_MODEL
:= TL-WR2543N
/ND
465 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
466 TPLINK_HWID
:= 0x25430001
467 IMAGE
/sysupgrade.bin
:= append-rootfs | mktplinkfw sysupgrade
-v
3.13.99 | \
468 append-metadata | check-size
$$$$(IMAGE_SIZE
)
469 IMAGE
/factory.bin
:= append-rootfs | mktplinkfw factory
-v
3.13.99
470 SUPPORTED_DEVICES
+= tl-wr2543-v1
472 TARGET_DEVICES
+= tplink_tl-wr2543-v1