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-c6-v2
64 $(Device
/tplink-safeloader-uimage
)
67 DEVICE_MODEL
:= Archer C6
69 TPLINK_BOARD_ID
:= ARCHER-C6-V2
70 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
72 TARGET_DEVICES
+= tplink_archer-c6-v2
74 define Device
/tplink_archer-c5-v1
75 $(Device
/tplink-16mlzma
)
77 DEVICE_MODEL
:= Archer C5
79 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
80 TPLINK_HWID
:= 0xc5000001
81 SUPPORTED_DEVICES
+= archer-c5
83 TARGET_DEVICES
+= tplink_archer-c5-v1
85 define Device
/tplink_archer-c7-v1
86 $(Device
/tplink-8mlzma
)
88 DEVICE_MODEL
:= Archer C7
90 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
91 TPLINK_HWID
:= 0x75000001
92 SUPPORTED_DEVICES
+= archer-c7
94 TARGET_DEVICES
+= tplink_archer-c7-v1
96 define Device
/tplink_archer-c7-v2
97 $(Device
/tplink-16mlzma
)
99 DEVICE_MODEL
:= Archer C7
101 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
102 TPLINK_HWID
:= 0xc7000002
103 SUPPORTED_DEVICES
+= archer-c7
104 IMAGES
+= factory-us.bin factory-eu.bin
105 IMAGE
/factory-us.bin
:= append-rootfs | mktplinkfw factory
-C US
106 IMAGE
/factory-eu.bin
:= append-rootfs | mktplinkfw factory
-C EU
108 TARGET_DEVICES
+= tplink_archer-c7-v2
110 define Device
/tplink_archer-c7-v4
111 $(Device
/tplink-safeloader-uimage
)
114 DEVICE_MODEL
:= Archer C7
116 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
117 TPLINK_BOARD_ID
:= ARCHER-C7-V4
118 BOARDNAME
:= ARCHER-C7-V4
119 SUPPORTED_DEVICES
+= archer-c7-v4
121 TARGET_DEVICES
+= tplink_archer-c7-v4
123 define Device
/tplink_archer-c7-v5
124 $(Device
/tplink-safeloader-uimage
)
127 DEVICE_MODEL
:= Archer C7
129 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
130 TPLINK_BOARD_ID
:= ARCHER-C7-V5
131 BOARDNAME
:= ARCHER-C7-V5
132 SUPPORTED_DEVICES
+= archer-c7-v5
134 TARGET_DEVICES
+= tplink_archer-c7-v5
136 define Device
/tplink_cpe210-v2
137 $(Device
/tplink-safeloader
)
140 DEVICE_MODEL
:= CPE210
142 TPLINK_BOARD_ID
:= CPE210V2
143 DEVICE_PACKAGES
:= rssileds
145 SUPPORTED_DEVICES
+= cpe210-v2
147 TARGET_DEVICES
+= tplink_cpe210-v2
149 define Device
/tplink_cpe210-v3
150 $(Device
/tplink-safeloader
)
153 DEVICE_MODEL
:= CPE210
155 DEVICE_PACKAGES
:= rssileds
156 TPLINK_BOARD_ID
:= CPE210V3
158 SUPPORTED_DEVICES
+= cpe210-v3
160 TARGET_DEVICES
+= tplink_cpe210-v3
162 define Device
/tplink_cpe510-v2
163 $(Device
/tplink-safeloader
)
166 DEVICE_MODEL
:= CPE510
168 DEVICE_PACKAGES
:= rssileds
169 TPLINK_BOARD_ID
:= CPE510V2
171 LOADER_FLASH_OFFS
:= 0x43000
172 COMPILE
:= loader-
$(1).elf
173 COMPILE
/loader-
$(1).elf
:= loader-okli-compile
174 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49 | loader-okli
$(1) 12288
175 SUPPORTED_DEVICES
+= cpe510-v2
177 TARGET_DEVICES
+= tplink_cpe510-v2
179 define Device
/tplink_cpe510-v3
180 $(Device
/tplink-safeloader
)
183 DEVICE_MODEL
:= CPE510
185 DEVICE_PACKAGES
:= rssileds
186 TPLINK_BOARD_ID
:= CPE510V3
188 LOADER_FLASH_OFFS
:= 0x43000
189 COMPILE
:= loader-
$(1).elf
190 COMPILE
/loader-
$(1).elf
:= loader-okli-compile
191 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49 | loader-okli
$(1) 12288
192 SUPPORTED_DEVICES
+= cpe510-v3
194 TARGET_DEVICES
+= tplink_cpe510-v3
196 define Device
/tplink_cpe610-v1
197 $(Device
/tplink-safeloader
)
200 DEVICE_MODEL
:= CPE610
202 TPLINK_BOARD_ID
:= CPE610V1
204 LOADER_FLASH_OFFS
:= 0x43000
205 COMPILE
:= loader-
$(1).elf
206 COMPILE
/loader-
$(1).elf
:= loader-okli-compile
207 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49 | loader-okli
$(1) 12288
209 TARGET_DEVICES
+= tplink_cpe610-v1
211 define Device
/tplink_archer-d50-v1
213 DEVICE_VENDOR
:= TP-Link
214 DEVICE_MODEL
:= Archer D50
216 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
217 BOARDNAME
:= ARCHER-D50-V1
219 TPLINK_HWID
:= 0xC1200001
220 TPLINK_HWREV
:= 0x00000046
221 TPLINK_FLASHLAYOUT
:= 8Mqca
222 TPLINK_HWREVADD
:= 0x00000000
224 KERNEL
:= kernel-bin | append-dtb | lzma
225 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | \
226 tplink-v2-header
-s
-V
"ver. 1.0"
227 IMAGES
:= sysupgrade.bin
228 IMAGE
/sysupgrade.bin
:= tplink-v2-image
-s
-V
"ver. 2.0" | \
229 append-metadata | check-size
$$$$(IMAGE_SIZE
)
230 SUPPORTED_DEVICES
+= archer-d50-v1
232 TARGET_DEVICES
+= tplink_archer-d50-v1
234 define Device
/tplink_re350k-v1
235 $(Device
/tplink-safeloader
)
238 DEVICE_MODEL
:= RE350K
240 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
241 TPLINK_BOARD_ID
:= RE350K-V1
245 TARGET_DEVICES
+= tplink_re350k-v1
247 define Device
/tplink_rex5x-v1
248 $(Device
/tplink-safeloader
)
251 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
256 define Device
/tplink_re355-v1
257 $(Device
/tplink_rex5x-v1
)
258 DEVICE_MODEL
:= RE355
260 TPLINK_BOARD_ID
:= RE355
261 SUPPORTED_DEVICES
+= re355
263 TARGET_DEVICES
+= tplink_re355-v1
265 define Device
/tplink_re450-v1
266 $(Device
/tplink_rex5x-v1
)
267 DEVICE_MODEL
:= RE450
269 TPLINK_BOARD_ID
:= RE450
270 SUPPORTED_DEVICES
+= re450
272 TARGET_DEVICES
+= tplink_re450-v1
274 define Device
/tplink_re450-v2
275 $(Device
/tplink-safeloader
)
278 DEVICE_MODEL
:= RE450
280 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
283 TPLINK_BOARD_ID
:= RE450-V2
286 TARGET_DEVICES
+= tplink_re450-v2
288 define Device
/tplink_tl-wdr3600-v1
289 $(Device
/tplink-8mlzma
)
291 DEVICE_MODEL
:= TL-WDR3600
293 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
294 TPLINK_HWID
:= 0x36000001
295 SUPPORTED_DEVICES
+= tl-wdr4300
297 TARGET_DEVICES
+= tplink_tl-wdr3600-v1
299 define Device
/tplink_tl-wdr4300-v1
300 $(Device
/tplink-8mlzma
)
302 DEVICE_MODEL
:= TL-WDR4300
304 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
305 TPLINK_HWID
:= 0x43000001
306 SUPPORTED_DEVICES
+= tl-wdr4300
308 TARGET_DEVICES
+= tplink_tl-wdr4300-v1
310 define Device
/tplink_tl-wdr4900-v2
311 $(Device
/tplink-8mlzma
)
313 DEVICE_MODEL
:= TL-WDR4900
315 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
316 TPLINK_HWID
:= 0x49000002
318 TARGET_DEVICES
+= tplink_tl-wdr4900-v2
320 define Device
/tplink_tl-wr810n-v1
321 $(Device
/tplink-8mlzma
)
323 DEVICE_MODEL
:= TL-WR810N
325 TPLINK_HWID
:= 0x8100001
326 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
328 TARGET_DEVICES
+= tplink_tl-wr810n-v1
330 define Device
/tplink_tl-wr810n-v2
331 $(Device
/tplink-8mlzma
)
333 DEVICE_MODEL
:= TL-WR810N
335 TPLINK_HWID
:= 0x8100002
337 TARGET_DEVICES
+= tplink_tl-wr810n-v2
339 define Device
/tplink_tl-wr710n-v1
340 $(Device
/tplink-8mlzma
)
342 DEVICE_MODEL
:= TL-WR710N
344 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
345 TPLINK_HWID
:= 0x07100001
346 SUPPORTED_DEVICES
+= tl-wr710n
348 TARGET_DEVICES
+= tplink_tl-wr710n-v1
350 define Device
/tplink_tl-wr842n-v1
353 DEVICE_MODEL
:= TL-WR842N
/ND
355 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
356 TPLINK_HWID
:= 0x8420001
358 TARGET_DEVICES
+= tplink_tl-wr842n-v1
360 define Device
/tplink_tl-wr842n-v2
361 $(Device
/tplink-8mlzma
)
363 DEVICE_MODEL
:= TL-WR842N
/ND
365 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
366 TPLINK_HWID
:= 0x8420002
367 SUPPORTED_DEVICES
+= tl-wr842n-v2
369 TARGET_DEVICES
+= tplink_tl-wr842n-v2
371 define Device
/tplink_tl-wr842n-v3
372 $(Device
/tplink-16mlzma
)
374 DEVICE_MODEL
:= TL-WR842N
376 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
377 TPLINK_HWID
:= 0x8420003
378 SUPPORTED_DEVICES
+= tl-wr842n-v3
380 TARGET_DEVICES
+= tplink_tl-wr842n-v3
382 define Device
/tplink_tl-wr1043nd-v1
385 DEVICE_MODEL
:= TL-WR1043N
/ND
387 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
388 TPLINK_HWID
:= 0x10430001
389 SUPPORTED_DEVICES
+= tl-wr1043nd
391 TARGET_DEVICES
+= tplink_tl-wr1043nd-v1
393 define Device
/tplink_tl-wr1043nd-v2
394 $(Device
/tplink-8mlzma
)
396 DEVICE_MODEL
:= TL-WR1043N
/ND
398 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
399 TPLINK_HWID
:= 0x10430002
400 SUPPORTED_DEVICES
+= tl-wr1043nd-v2
402 TARGET_DEVICES
+= tplink_tl-wr1043nd-v2
404 define Device
/tplink_tl-wr1043nd-v3
405 $(Device
/tplink-8mlzma
)
407 DEVICE_MODEL
:= TL-WR1043N
/ND
409 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
410 TPLINK_HWID
:= 0x10430003
411 SUPPORTED_DEVICES
+= tl-wr1043nd-v3
413 TARGET_DEVICES
+= tplink_tl-wr1043nd-v3
415 define Device
/tplink_tl-wr1043nd-v4
416 $(Device
/tplink-safeloader
)
419 DEVICE_MODEL
:= TL-WR1043N
/ND
421 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
422 TPLINK_HWID
:= 0x10430004
423 TPLINK_BOARD_ID
:= TLWR1043NDV4
424 SUPPORTED_DEVICES
+= tl-wr1043nd-v4
426 TARGET_DEVICES
+= tplink_tl-wr1043nd-v4
428 define Device
/tplink_tl-wr1043n-v5
429 $(Device
/tplink-safeloader-uimage
)
432 DEVICE_MODEL
:= TL-WR1043N
434 TPLINK_BOARD_ID
:= TLWR1043NV5
435 SUPPORTED_DEVICES
+= tl-wr1043n-v5
437 TARGET_DEVICES
+= tplink_tl-wr1043n-v5
439 define Device
/tplink_tl-wr2543-v1
440 $(Device
/tplink-8mlzma
)
442 DEVICE_MODEL
:= TL-WR2543N
/ND
444 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
445 TPLINK_HWID
:= 0x25430001
446 IMAGE
/sysupgrade.bin
:= append-rootfs | mktplinkfw sysupgrade
-v
3.13.99 | \
447 append-metadata | check-size
$$$$(IMAGE_SIZE
)
448 IMAGE
/factory.bin
:= append-rootfs | mktplinkfw factory
-v
3.13.99
449 SUPPORTED_DEVICES
+= tl-wr2543-v1
451 TARGET_DEVICES
+= tplink_tl-wr2543-v1