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-v2
161 $(Device
/tplink-safeloader
)
164 DEVICE_MODEL
:= CPE210
166 TPLINK_BOARD_ID
:= CPE210V2
167 DEVICE_PACKAGES
:= rssileds
169 SUPPORTED_DEVICES
+= cpe210-v2
171 TARGET_DEVICES
+= tplink_cpe210-v2
173 define Device
/tplink_cpe210-v3
174 $(Device
/tplink-safeloader
)
177 DEVICE_MODEL
:= CPE210
179 DEVICE_PACKAGES
:= rssileds
180 TPLINK_BOARD_ID
:= CPE210V3
182 SUPPORTED_DEVICES
+= cpe210-v3
184 TARGET_DEVICES
+= tplink_cpe210-v3
186 define Device
/tplink_cpe510-v2
187 $(Device
/tplink-loader-okli
)
190 DEVICE_MODEL
:= CPE510
192 DEVICE_PACKAGES
:= rssileds
193 TPLINK_BOARD_ID
:= CPE510V2
194 SUPPORTED_DEVICES
+= cpe510-v2
196 TARGET_DEVICES
+= tplink_cpe510-v2
198 define Device
/tplink_cpe510-v3
199 $(Device
/tplink-loader-okli
)
202 DEVICE_MODEL
:= CPE510
204 DEVICE_PACKAGES
:= rssileds
205 TPLINK_BOARD_ID
:= CPE510V3
206 SUPPORTED_DEVICES
+= cpe510-v3
208 TARGET_DEVICES
+= tplink_cpe510-v3
210 define Device
/tplink_cpe610-v1
211 $(Device
/tplink-loader-okli
)
214 DEVICE_MODEL
:= CPE610
216 TPLINK_BOARD_ID
:= CPE610V1
218 TARGET_DEVICES
+= tplink_cpe610-v1
220 define Device
/tplink_archer-d50-v1
222 DEVICE_VENDOR
:= TP-Link
223 DEVICE_MODEL
:= Archer D50
225 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
226 BOARDNAME
:= ARCHER-D50-V1
228 TPLINK_HWID
:= 0xC1200001
229 TPLINK_HWREV
:= 0x00000046
230 TPLINK_FLASHLAYOUT
:= 8Mqca
231 TPLINK_HWREVADD
:= 0x00000000
233 KERNEL
:= kernel-bin | append-dtb | lzma
234 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | \
235 tplink-v2-header
-s
-V
"ver. 1.0"
236 IMAGES
:= sysupgrade.bin
237 IMAGE
/sysupgrade.bin
:= tplink-v2-image
-s
-V
"ver. 2.0" | \
238 append-metadata | check-size
$$$$(IMAGE_SIZE
)
239 SUPPORTED_DEVICES
+= archer-d50-v1
241 TARGET_DEVICES
+= tplink_archer-d50-v1
243 define Device
/tplink_re350k-v1
244 $(Device
/tplink-safeloader
)
247 DEVICE_MODEL
:= RE350K
249 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
250 TPLINK_BOARD_ID
:= RE350K-V1
254 TARGET_DEVICES
+= tplink_re350k-v1
256 define Device
/tplink_rex5x-v1
257 $(Device
/tplink-safeloader
)
260 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
265 define Device
/tplink_re355-v1
266 $(Device
/tplink_rex5x-v1
)
267 DEVICE_MODEL
:= RE355
269 TPLINK_BOARD_ID
:= RE355
270 SUPPORTED_DEVICES
+= re355
272 TARGET_DEVICES
+= tplink_re355-v1
274 define Device
/tplink_re450-v1
275 $(Device
/tplink_rex5x-v1
)
276 DEVICE_MODEL
:= RE450
278 TPLINK_BOARD_ID
:= RE450
279 SUPPORTED_DEVICES
+= re450
281 TARGET_DEVICES
+= tplink_re450-v1
283 define Device
/tplink_re450-v2
284 $(Device
/tplink-safeloader
)
287 DEVICE_MODEL
:= RE450
289 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
292 TPLINK_BOARD_ID
:= RE450-V2
295 TARGET_DEVICES
+= tplink_re450-v2
297 define Device
/tplink_tl-wdr3600-v1
298 $(Device
/tplink-8mlzma
)
300 DEVICE_MODEL
:= TL-WDR3600
302 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
303 TPLINK_HWID
:= 0x36000001
304 SUPPORTED_DEVICES
+= tl-wdr4300
306 TARGET_DEVICES
+= tplink_tl-wdr3600-v1
308 define Device
/tplink_tl-wdr4300-v1
309 $(Device
/tplink-8mlzma
)
311 DEVICE_MODEL
:= TL-WDR4300
313 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
314 TPLINK_HWID
:= 0x43000001
315 SUPPORTED_DEVICES
+= tl-wdr4300
317 TARGET_DEVICES
+= tplink_tl-wdr4300-v1
319 define Device
/tplink_tl-wdr4900-v2
320 $(Device
/tplink-8mlzma
)
322 DEVICE_MODEL
:= TL-WDR4900
324 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
325 TPLINK_HWID
:= 0x49000002
327 TARGET_DEVICES
+= tplink_tl-wdr4900-v2
329 define Device
/tplink_tl-wr810n-v1
330 $(Device
/tplink-8mlzma
)
332 DEVICE_MODEL
:= TL-WR810N
334 TPLINK_HWID
:= 0x8100001
335 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
337 TARGET_DEVICES
+= tplink_tl-wr810n-v1
339 define Device
/tplink_tl-wr810n-v2
340 $(Device
/tplink-8mlzma
)
342 DEVICE_MODEL
:= TL-WR810N
344 TPLINK_HWID
:= 0x8100002
346 TARGET_DEVICES
+= tplink_tl-wr810n-v2
348 define Device
/tplink_tl-wr710n-v1
349 $(Device
/tplink-8mlzma
)
351 DEVICE_MODEL
:= TL-WR710N
353 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
354 TPLINK_HWID
:= 0x07100001
355 SUPPORTED_DEVICES
+= tl-wr710n
357 TARGET_DEVICES
+= tplink_tl-wr710n-v1
359 define Device
/tplink_tl-wr842n-v1
362 DEVICE_MODEL
:= TL-WR842N
/ND
364 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
365 TPLINK_HWID
:= 0x8420001
367 TARGET_DEVICES
+= tplink_tl-wr842n-v1
369 define Device
/tplink_tl-wr842n-v2
370 $(Device
/tplink-8mlzma
)
372 DEVICE_MODEL
:= TL-WR842N
/ND
374 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
375 TPLINK_HWID
:= 0x8420002
376 SUPPORTED_DEVICES
+= tl-wr842n-v2
378 TARGET_DEVICES
+= tplink_tl-wr842n-v2
380 define Device
/tplink_tl-wr842n-v3
381 $(Device
/tplink-16mlzma
)
383 DEVICE_MODEL
:= TL-WR842N
385 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
386 TPLINK_HWID
:= 0x8420003
387 SUPPORTED_DEVICES
+= tl-wr842n-v3
389 TARGET_DEVICES
+= tplink_tl-wr842n-v3
391 define Device
/tplink_tl-wr1043nd-v1
394 DEVICE_MODEL
:= TL-WR1043N
/ND
396 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
397 TPLINK_HWID
:= 0x10430001
398 SUPPORTED_DEVICES
+= tl-wr1043nd
400 TARGET_DEVICES
+= tplink_tl-wr1043nd-v1
402 define Device
/tplink_tl-wr1043nd-v2
403 $(Device
/tplink-8mlzma
)
405 DEVICE_MODEL
:= TL-WR1043N
/ND
407 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
408 TPLINK_HWID
:= 0x10430002
409 SUPPORTED_DEVICES
+= tl-wr1043nd-v2
411 TARGET_DEVICES
+= tplink_tl-wr1043nd-v2
413 define Device
/tplink_tl-wr1043nd-v3
414 $(Device
/tplink-8mlzma
)
416 DEVICE_MODEL
:= TL-WR1043N
/ND
418 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
419 TPLINK_HWID
:= 0x10430003
420 SUPPORTED_DEVICES
+= tl-wr1043nd-v3
422 TARGET_DEVICES
+= tplink_tl-wr1043nd-v3
424 define Device
/tplink_tl-wr1043nd-v4
425 $(Device
/tplink-safeloader
)
428 DEVICE_MODEL
:= TL-WR1043N
/ND
430 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
431 TPLINK_HWID
:= 0x10430004
432 TPLINK_BOARD_ID
:= TLWR1043NDV4
433 SUPPORTED_DEVICES
+= tl-wr1043nd-v4
435 TARGET_DEVICES
+= tplink_tl-wr1043nd-v4
437 define Device
/tplink_tl-wr1043n-v5
438 $(Device
/tplink-safeloader-uimage
)
441 DEVICE_MODEL
:= TL-WR1043N
443 TPLINK_BOARD_ID
:= TLWR1043NV5
444 SUPPORTED_DEVICES
+= tl-wr1043n-v5
446 TARGET_DEVICES
+= tplink_tl-wr1043n-v5
448 define Device
/tplink_tl-wr2543-v1
449 $(Device
/tplink-8mlzma
)
451 DEVICE_MODEL
:= TL-WR2543N
/ND
453 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
454 TPLINK_HWID
:= 0x25430001
455 IMAGE
/sysupgrade.bin
:= append-rootfs | mktplinkfw sysupgrade
-v
3.13.99 | \
456 append-metadata | check-size
$$$$(IMAGE_SIZE
)
457 IMAGE
/factory.bin
:= append-rootfs | mktplinkfw factory
-v
3.13.99
458 SUPPORTED_DEVICES
+= tl-wr2543-v1
460 TARGET_DEVICES
+= tplink_tl-wr2543-v1