ath79: add support for Senao Engenius EAP300 v2
[openwrt/openwrt.git] / target / linux / ramips / image / mt76x8.mk
1 #
2 # MT76x8 Profiles
3 #
4
5 include ./common-tp-link.mk
6
7 DEFAULT_SOC := mt7628an
8
9 define Build/ravpower-wd009-factory
10 mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 \
11 -n "OpenWrt Bootloader" -d $(UBOOT_PATH) $@.new
12 cat $@ >> $@.new
13 @mv $@.new $@
14 endef
15
16
17 define Device/alfa-network_awusfree1
18 IMAGE_SIZE := 7872k
19 DEVICE_VENDOR := ALFA Network
20 DEVICE_MODEL := AWUSFREE1
21 DEVICE_PACKAGES := uboot-envtools
22 endef
23 TARGET_DEVICES += alfa-network_awusfree1
24
25 define Device/asus_rt-n10p-v3
26 IMAGE_SIZE := 7872k
27 DEVICE_VENDOR := Asus
28 DEVICE_MODEL := RT-N10P
29 DEVICE_VARIANT := V3
30 endef
31 TARGET_DEVICES += asus_rt-n10p-v3
32
33 define Device/asus_rt-n11p-b1
34 IMAGE_SIZE := 7872k
35 DEVICE_VENDOR := Asus
36 DEVICE_MODEL := RT-N11P
37 DEVICE_VARIANT := B1
38 endef
39 TARGET_DEVICES += asus_rt-n11p-b1
40
41 define Device/asus_rt-n12-vp-b1
42 IMAGE_SIZE := 7872k
43 DEVICE_VENDOR := Asus
44 DEVICE_MODEL := RT-N12 VP
45 DEVICE_VARIANT := B1
46 endef
47 TARGET_DEVICES += asus_rt-n12-vp-b1
48
49 define Device/buffalo_wcr-1166ds
50 IMAGE_SIZE := 7936k
51 BUFFALO_TAG_PLATFORM := MTK
52 BUFFALO_TAG_VERSION := 9.99
53 BUFFALO_TAG_MINOR := 9.99
54 IMAGES += factory.bin
55 IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
56 IMAGE/factory.bin := trx -M 0x746f435c | pad-rootfs | append-metadata | \
57 buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \
58 buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | buffalo-dhp-image
59 DEVICE_VENDOR := Buffalo
60 DEVICE_MODEL := WCR-1166DS
61 DEVICE_PACKAGES := kmod-mt76x2
62 SUPPORTED_DEVICES += wcr-1166ds
63 endef
64 TARGET_DEVICES += buffalo_wcr-1166ds
65
66 define Device/cudy_wr1000
67 IMAGE_SIZE := 7872k
68 IMAGES += factory.bin
69 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | jcg-header 92.122
70 JCG_MAXSIZE := 7872k
71 DEVICE_VENDOR := Cudy
72 DEVICE_MODEL := WR1000
73 DEVICE_PACKAGES := kmod-mt76x2
74 SUPPORTED_DEVICES += wr1000
75 endef
76 TARGET_DEVICES += cudy_wr1000
77
78 define Device/d-team_pbr-d1
79 IMAGE_SIZE := 16064k
80 DEVICE_VENDOR := PandoraBox
81 DEVICE_MODEL := PBR-D1
82 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
83 SUPPORTED_DEVICES += pbr-d1
84 endef
85 TARGET_DEVICES += d-team_pbr-d1
86
87 define Device/duzun_dm06
88 IMAGE_SIZE := 7872k
89 DEVICE_VENDOR := DuZun
90 DEVICE_MODEL := DM06
91 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
92 SUPPORTED_DEVICES += duzun-dm06
93 endef
94 TARGET_DEVICES += duzun_dm06
95
96 define Device/glinet_gl-mt300n-v2
97 IMAGE_SIZE := 16064k
98 DEVICE_VENDOR := GL.iNet
99 DEVICE_MODEL := GL-MT300N
100 DEVICE_VARIANT := V2
101 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
102 SUPPORTED_DEVICES += gl-mt300n-v2
103 endef
104 TARGET_DEVICES += glinet_gl-mt300n-v2
105
106 define Device/glinet_microuter-n300
107 IMAGE_SIZE := 16064k
108 DEVICE_VENDOR := GL.iNet
109 DEVICE_MODEL := microuter-N300
110 SUPPORTED_DEVICES += microuter-n300
111 endef
112 TARGET_DEVICES += glinet_microuter-n300
113
114 define Device/glinet_vixmini
115 IMAGE_SIZE := 7872k
116 DEVICE_VENDOR := GL.iNet
117 DEVICE_MODEL := VIXMINI
118 SUPPORTED_DEVICES += vixmini
119 endef
120 TARGET_DEVICES += glinet_vixmini
121
122 define Device/hak5_wifi-pineapple-mk7
123 IMAGE_SIZE := 32448k
124 DEVICE_VENDOR := Hak5
125 DEVICE_MODEL := WiFi Pineapple Mark 7
126 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
127 SUPPORTED_DEVICES += wifi-pineapple-mk7
128 endef
129 TARGET_DEVICES += hak5_wifi-pineapple-mk7
130
131 define Device/hilink_hlk-7628n
132 IMAGE_SIZE := 32448k
133 DEVICE_VENDOR := HILINK
134 DEVICE_MODEL := HLK-7628N
135 endef
136 TARGET_DEVICES += hilink_hlk-7628n
137
138 define Device/hiwifi_hc5661a
139 IMAGE_SIZE := 15808k
140 DEVICE_VENDOR := HiWiFi
141 DEVICE_MODEL := HC5661A
142 SUPPORTED_DEVICES += hc5661a
143 endef
144 TARGET_DEVICES += hiwifi_hc5661a
145
146 define Device/hiwifi_hc5761a
147 IMAGE_SIZE := 15808k
148 DEVICE_VENDOR := HiWiFi
149 DEVICE_MODEL := HC5761A
150 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
151 endef
152 TARGET_DEVICES += hiwifi_hc5761a
153
154 define Device/hiwifi_hc5861b
155 IMAGE_SIZE := 15808k
156 DEVICE_VENDOR := HiWiFi
157 DEVICE_MODEL := HC5861B
158 DEVICE_PACKAGES := kmod-mt76x2
159 endef
160 TARGET_DEVICES += hiwifi_hc5861b
161
162 define Device/iptime_a3
163 IMAGE_SIZE := 7936k
164 UIMAGE_NAME := a3
165 DEVICE_VENDOR := ipTIME
166 DEVICE_MODEL := A3
167 DEVICE_PACKAGES := kmod-mt76x2
168 endef
169 TARGET_DEVICES += iptime_a3
170
171 define Device/iptime_a604m
172 IMAGE_SIZE := 7936k
173 UIMAGE_NAME := a604m
174 DEVICE_VENDOR := ipTIME
175 DEVICE_MODEL := A604M
176 DEVICE_PACKAGES := kmod-mt76x2
177 endef
178 TARGET_DEVICES += iptime_a604m
179
180 define Device/jotale_js76x8
181 DEVICE_VENDOR := Jotale
182 DEVICE_MODEL := JS76x8
183 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
184 endef
185
186 define Device/jotale_js76x8-8m
187 $(Device/jotale_js76x8)
188 IMAGE_SIZE := 7872k
189 DEVICE_VARIANT := 8M
190 endef
191 TARGET_DEVICES += jotale_js76x8-8m
192
193 define Device/jotale_js76x8-16m
194 $(Device/jotale_js76x8)
195 IMAGE_SIZE := 16064k
196 DEVICE_VARIANT := 16M
197 endef
198 TARGET_DEVICES += jotale_js76x8-16m
199
200 define Device/jotale_js76x8-32m
201 $(Device/jotale_js76x8)
202 IMAGE_SIZE := 32448k
203 DEVICE_VARIANT := 32M
204 endef
205 TARGET_DEVICES += jotale_js76x8-32m
206
207 define Device/mediatek_linkit-smart-7688
208 IMAGE_SIZE := 32448k
209 DEVICE_VENDOR := MediaTek
210 DEVICE_MODEL := LinkIt Smart 7688
211 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
212 SUPPORTED_DEVICES += linkits7688 linkits7688d
213 endef
214 TARGET_DEVICES += mediatek_linkit-smart-7688
215
216 define Device/mediatek_mt7628an-eval-board
217 BLOCKSIZE := 64k
218 IMAGE_SIZE := 7872k
219 DEVICE_VENDOR := MediaTek
220 DEVICE_MODEL := MT7628 EVB
221 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
222 SUPPORTED_DEVICES += mt7628
223 endef
224 TARGET_DEVICES += mediatek_mt7628an-eval-board
225
226 define Device/mercury_mac1200r-v2
227 IMAGE_SIZE := 7936k
228 DEVICE_VENDOR := Mercury
229 DEVICE_MODEL := MAC1200R
230 DEVICE_VARIANT := v2.0
231 DEVICE_PACKAGES := kmod-mt76x2
232 SUPPORTED_DEVICES += mac1200rv2
233 endef
234 TARGET_DEVICES += mercury_mac1200r-v2
235
236 define Device/netgear_r6020
237 $(Device/netgear_sercomm_nor)
238 IMAGE_SIZE := 7104k
239 DEVICE_MODEL := R6020
240 DEVICE_PACKAGES := kmod-mt76x2
241 SERCOMM_HWNAME := R6020
242 SERCOMM_HWID := CFR
243 SERCOMM_HWVER := A001
244 SERCOMM_SWVER := 0x0040
245 SERCOMM_PAD := 576k
246 endef
247 TARGET_DEVICES += netgear_r6020
248
249 define Device/netgear_r6080
250 $(Device/netgear_sercomm_nor)
251 IMAGE_SIZE := 7552k
252 DEVICE_MODEL := R6080
253 DEVICE_PACKAGES := kmod-mt76x2
254 SERCOMM_HWNAME := R6080
255 SERCOMM_HWID := CFR
256 SERCOMM_HWVER := A001
257 SERCOMM_SWVER := 0x0040
258 SERCOMM_PAD := 576k
259 endef
260 TARGET_DEVICES += netgear_r6080
261
262 define Device/netgear_r6120
263 $(Device/netgear_sercomm_nor)
264 IMAGE_SIZE := 15744k
265 DEVICE_MODEL := R6120
266 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
267 SERCOMM_HWNAME := R6120
268 SERCOMM_HWID := CGQ
269 SERCOMM_HWVER := A001
270 SERCOMM_SWVER := 0x0040
271 SERCOMM_PAD := 576k
272 endef
273 TARGET_DEVICES += netgear_r6120
274
275 define Device/onion_omega2
276 IMAGE_SIZE := 16064k
277 DEVICE_VENDOR := Onion
278 DEVICE_MODEL := Omega2
279 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools
280 SUPPORTED_DEVICES += omega2
281 endef
282 TARGET_DEVICES += onion_omega2
283
284 define Device/onion_omega2p
285 IMAGE_SIZE := 32448k
286 DEVICE_VENDOR := Onion
287 DEVICE_MODEL := Omega2+
288 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
289 SUPPORTED_DEVICES += omega2p
290 endef
291 TARGET_DEVICES += onion_omega2p
292
293 define Device/rakwireless_rak633
294 IMAGE_SIZE := 7872k
295 DEVICE_VENDOR := Rakwireless
296 DEVICE_MODEL := RAK633
297 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
298 endef
299 TARGET_DEVICES += rakwireless_rak633
300
301 define Device/ravpower_rp-wd009
302 IMAGE_SIZE := 14272k
303 DEVICE_VENDOR := RAVPower
304 DEVICE_MODEL := RP-WD009
305 UBOOT_PATH := $(STAGING_DIR_IMAGE)/ravpower_rp-wd009-u-boot.bin
306 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
307 kmod-sdhci-mt7620 kmod-i2c-mt7628 ravpower-mcu
308 IMAGES += factory.bin
309 IMAGE/factory.bin := $$(sysupgrade_bin) | ravpower-wd009-factory
310 endef
311 TARGET_DEVICES += ravpower_rp-wd009
312
313 define Device/skylab_skw92a
314 IMAGE_SIZE := 16064k
315 DEVICE_VENDOR := Skylab
316 DEVICE_MODEL := SKW92A
317 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
318 endef
319 TARGET_DEVICES += skylab_skw92a
320
321 define Device/tama_w06
322 IMAGE_SIZE := 15040k
323 DEVICE_VENDOR := Tama
324 DEVICE_MODEL := W06
325 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
326 endef
327 TARGET_DEVICES += tama_w06
328
329 define Device/totolink_a3
330 IMAGE_SIZE := 7936k
331 UIMAGE_NAME := za3
332 DEVICE_VENDOR := TOTOLINK
333 DEVICE_MODEL := A3
334 DEVICE_PACKAGES := kmod-mt76x2
335 endef
336 TARGET_DEVICES += totolink_a3
337
338 define Device/totolink_lr1200
339 IMAGE_SIZE := 7872k
340 DEVICE_VENDOR := TOTOLINK
341 DEVICE_MODEL := LR1200
342 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 uqmi
343 endef
344 TARGET_DEVICES += totolink_lr1200
345
346 define Device/tplink_archer-c20-v4
347 $(Device/tplink-v2)
348 IMAGE_SIZE := 7808k
349 DEVICE_MODEL := Archer C20
350 DEVICE_VARIANT := v4
351 TPLINK_FLASHLAYOUT := 8Mmtk
352 TPLINK_HWID := 0xc200004
353 TPLINK_HWREVADD := 0x4
354 DEVICE_PACKAGES := kmod-mt76x0e
355 IMAGES := sysupgrade.bin tftp-recovery.bin
356 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
357 SUPPORTED_DEVICES += tplink,c20-v4
358 endef
359 TARGET_DEVICES += tplink_archer-c20-v4
360
361 define Device/tplink_archer-c20-v5
362 $(Device/tplink-v2)
363 IMAGE_SIZE := 7616k
364 DEVICE_MODEL := Archer C20
365 DEVICE_VARIANT := v5
366 TPLINK_FLASHLAYOUT := 8MSUmtk
367 TPLINK_HWID := 0xc200005
368 TPLINK_HWREVADD := 0x5
369 DEVICE_PACKAGES := kmod-mt76x0e
370 IMAGES := sysupgrade.bin
371 endef
372 TARGET_DEVICES += tplink_archer-c20-v5
373
374 define Device/tplink_archer-c50-v3
375 $(Device/tplink-v2)
376 IMAGE_SIZE := 7808k
377 DEVICE_MODEL := Archer C50
378 DEVICE_VARIANT := v3
379 TPLINK_FLASHLAYOUT := 8Mmtk
380 TPLINK_HWID := 0x001D9BA4
381 TPLINK_HWREV := 0x79
382 TPLINK_HWREVADD := 0x1
383 DEVICE_PACKAGES := kmod-mt76x2
384 IMAGES := sysupgrade.bin tftp-recovery.bin
385 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
386 SUPPORTED_DEVICES += tplink,c50-v3
387 endef
388 TARGET_DEVICES += tplink_archer-c50-v3
389
390 define Device/tplink_archer-c50-v4
391 $(Device/tplink-v2)
392 IMAGE_SIZE := 7616k
393 DEVICE_MODEL := Archer C50
394 DEVICE_VARIANT := v4
395 TPLINK_FLASHLAYOUT := 8MSUmtk
396 TPLINK_HWID := 0x001D589B
397 TPLINK_HWREV := 0x93
398 TPLINK_HWREVADD := 0x2
399 DEVICE_PACKAGES := kmod-mt76x2
400 IMAGES := sysupgrade.bin
401 SUPPORTED_DEVICES += tplink,c50-v4
402 endef
403 TARGET_DEVICES += tplink_archer-c50-v4
404
405 define Device/tplink_re200-v2
406 $(Device/tplink-safeloader)
407 IMAGE_SIZE := 7808k
408 DEVICE_MODEL := RE200
409 DEVICE_VARIANT := v2
410 DEVICE_PACKAGES := kmod-mt76x0e
411 TPLINK_BOARD_ID := RE200-V2
412 endef
413 TARGET_DEVICES += tplink_re200-v2
414
415 define Device/tplink_re200-v3
416 $(Device/tplink-safeloader)
417 IMAGE_SIZE := 7808k
418 DEVICE_MODEL := RE200
419 DEVICE_VARIANT := v3
420 DEVICE_PACKAGES := kmod-mt76x0e
421 TPLINK_BOARD_ID := RE200-V3
422 endef
423 TARGET_DEVICES += tplink_re200-v3
424
425 define Device/tplink_re200-v4
426 $(Device/tplink-safeloader)
427 IMAGE_SIZE := 7808k
428 DEVICE_MODEL := RE200
429 DEVICE_VARIANT := v4
430 DEVICE_PACKAGES := kmod-mt76x0e
431 TPLINK_BOARD_ID := RE200-V4
432 endef
433 TARGET_DEVICES += tplink_re200-v4
434
435 define Device/tplink_re220-v2
436 $(Device/tplink-safeloader)
437 IMAGE_SIZE := 7808k
438 DEVICE_MODEL := RE220
439 DEVICE_VARIANT := v2
440 DEVICE_PACKAGES := kmod-mt76x0e
441 TPLINK_BOARD_ID := RE220-V2
442 endef
443 TARGET_DEVICES += tplink_re220-v2
444
445 define Device/tplink_re305-v1
446 $(Device/tplink-safeloader)
447 IMAGE_SIZE := 6016k
448 DEVICE_MODEL := RE305
449 DEVICE_VARIANT := v1
450 DEVICE_PACKAGES := kmod-mt76x2
451 TPLINK_BOARD_ID := RE305-V1
452 endef
453 TARGET_DEVICES += tplink_re305-v1
454
455 define Device/tplink_tl-mr3020-v3
456 $(Device/tplink-v2)
457 IMAGE_SIZE := 7808k
458 DEVICE_MODEL := TL-MR3020
459 DEVICE_VARIANT := v3
460 TPLINK_FLASHLAYOUT := 8Mmtk
461 TPLINK_HWID := 0x30200003
462 TPLINK_HWREV := 0x3
463 TPLINK_HWREVADD := 0x3
464 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
465 IMAGES := sysupgrade.bin tftp-recovery.bin
466 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
467 endef
468 TARGET_DEVICES += tplink_tl-mr3020-v3
469
470 define Device/tplink_tl-mr3420-v5
471 $(Device/tplink-v2)
472 IMAGE_SIZE := 7808k
473 DEVICE_MODEL := TL-MR3420
474 DEVICE_VARIANT := v5
475 TPLINK_FLASHLAYOUT := 8Mmtk
476 TPLINK_HWID := 0x34200005
477 TPLINK_HWREV := 0x5
478 TPLINK_HWREVADD := 0x5
479 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
480 IMAGES := sysupgrade.bin tftp-recovery.bin
481 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
482 endef
483 TARGET_DEVICES += tplink_tl-mr3420-v5
484
485 define Device/tplink_tl-mr6400-v4
486 $(Device/tplink-v2)
487 IMAGE_SIZE := 7808k
488 DEVICE_MODEL := TL-MR6400
489 DEVICE_VARIANT := v4
490 TPLINK_FLASHLAYOUT := 8Mmtk
491 TPLINK_HWID := 0x64000004
492 TPLINK_HWREV := 0x4
493 TPLINK_HWREVADD := 0x4
494 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
495 kmod-usb-serial kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
496 IMAGES := sysupgrade.bin tftp-recovery.bin
497 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
498 endef
499 TARGET_DEVICES += tplink_tl-mr6400-v4
500
501 define Device/tplink_tl-wa801nd-v5
502 $(Device/tplink-v2)
503 IMAGE_SIZE := 7808k
504 DEVICE_MODEL := TL-WA801ND
505 DEVICE_VARIANT := v5
506 TPLINK_FLASHLAYOUT := 8Mmtk
507 TPLINK_HWID := 0x08010005
508 TPLINK_HWREVADD := 0x5
509 IMAGES := sysupgrade.bin tftp-recovery.bin
510 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
511 endef
512 TARGET_DEVICES += tplink_tl-wa801nd-v5
513
514 define Device/tplink_tl-wr802n-v4
515 $(Device/tplink-v2)
516 IMAGE_SIZE := 7808k
517 DEVICE_MODEL := TL-WR802N
518 DEVICE_VARIANT := v4
519 TPLINK_FLASHLAYOUT := 8Mmtk
520 TPLINK_HWID := 0x08020004
521 TPLINK_HWREVADD := 0x4
522 IMAGES := sysupgrade.bin tftp-recovery.bin
523 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
524 endef
525 TARGET_DEVICES += tplink_tl-wr802n-v4
526
527 define Device/tplink_tl-wr840n-v4
528 $(Device/tplink-v2)
529 IMAGE_SIZE := 7808k
530 DEVICE_MODEL := TL-WR840N
531 DEVICE_VARIANT := v4
532 TPLINK_FLASHLAYOUT := 8Mmtk
533 TPLINK_HWID := 0x08400004
534 TPLINK_HWREVADD := 0x4
535 IMAGES := sysupgrade.bin tftp-recovery.bin
536 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
537 SUPPORTED_DEVICES += tl-wr840n-v4
538 endef
539 TARGET_DEVICES += tplink_tl-wr840n-v4
540
541 define Device/tplink_tl-wr840n-v5
542 $(Device/tplink-v2)
543 IMAGE_SIZE := 3904k
544 DEVICE_MODEL := TL-WR840N
545 DEVICE_VARIANT := v5
546 TPLINK_FLASHLAYOUT := 4Mmtk
547 TPLINK_HWID := 0x08400005
548 TPLINK_HWREVADD := 0x5
549 IMAGES := sysupgrade.bin
550 SUPPORTED_DEVICES += tl-wr840n-v5
551 DEFAULT := n
552 endef
553 TARGET_DEVICES += tplink_tl-wr840n-v5
554
555 define Device/tplink_tl-wr841n-v13
556 $(Device/tplink-v2)
557 IMAGE_SIZE := 7808k
558 DEVICE_MODEL := TL-WR841N
559 DEVICE_VARIANT := v13
560 TPLINK_FLASHLAYOUT := 8Mmtk
561 TPLINK_HWID := 0x08410013
562 TPLINK_HWREV := 0x268
563 TPLINK_HWREVADD := 0x13
564 IMAGES := sysupgrade.bin tftp-recovery.bin
565 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
566 SUPPORTED_DEVICES += tl-wr841n-v13
567 endef
568 TARGET_DEVICES += tplink_tl-wr841n-v13
569
570 define Device/tplink_tl-wr841n-v14
571 $(Device/tplink-v2)
572 IMAGE_SIZE := 3968k
573 DEVICE_MODEL := TL-WR841N
574 DEVICE_VARIANT := v14
575 TPLINK_FLASHLAYOUT := 4MLmtk
576 TPLINK_HWID := 0x08410014
577 TPLINK_HWREVADD := 0x14
578 IMAGES := sysupgrade.bin tftp-recovery.bin
579 IMAGE/tftp-recovery.bin := pad-extra 64k | $$(IMAGE/factory.bin)
580 DEFAULT := n
581 endef
582 TARGET_DEVICES += tplink_tl-wr841n-v14
583
584 define Device/tplink_tl-wr842n-v5
585 $(Device/tplink-v2)
586 IMAGE_SIZE := 7808k
587 DEVICE_MODEL := TL-WR842N
588 DEVICE_VARIANT := v5
589 TPLINK_FLASHLAYOUT := 8Mmtk
590 TPLINK_HWID := 0x08420005
591 TPLINK_HWREV := 0x5
592 TPLINK_HWREVADD := 0x5
593 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
594 IMAGES := sysupgrade.bin tftp-recovery.bin
595 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
596 endef
597 TARGET_DEVICES += tplink_tl-wr842n-v5
598
599 define Device/tplink_tl-wr850n-v2
600 $(Device/tplink-v2)
601 IMAGE_SIZE := 7808k
602 DEVICE_MODEL := TL-WR850N
603 DEVICE_VARIANT := v2
604 TPLINK_FLASHLAYOUT := 8Mmtk
605 TPLINK_HWID := 0x08500002
606 TPLINK_HWREVADD := 0x2
607 IMAGES := sysupgrade.bin tftp-recovery.bin
608 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
609 endef
610 TARGET_DEVICES += tplink_tl-wr850n-v2
611
612 define Device/tplink_tl-wr902ac-v3
613 $(Device/tplink-v2)
614 IMAGE_SIZE := 7808k
615 DEVICE_MODEL := TL-WR902AC
616 DEVICE_VARIANT := v3
617 TPLINK_FLASHLAYOUT := 8Mmtk
618 TPLINK_HWID := 0x000dc88f
619 TPLINK_HWREV := 0x89
620 TPLINK_HWREVADD := 0x1
621 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
622 kmod-usb-ledtrig-usbport
623 IMAGES := sysupgrade.bin tftp-recovery.bin
624 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
625 endef
626 TARGET_DEVICES += tplink_tl-wr902ac-v3
627
628 define Device/unielec_u7628-01-16m
629 IMAGE_SIZE := 16064k
630 DEVICE_VENDOR := UniElec
631 DEVICE_MODEL := U7628-01
632 DEVICE_VARIANT := 16M
633 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
634 SUPPORTED_DEVICES += u7628-01-128M-16M unielec,u7628-01-128m-16m
635 endef
636 TARGET_DEVICES += unielec_u7628-01-16m
637
638 define Device/vocore_vocore2
639 IMAGE_SIZE := 16064k
640 DEVICE_VENDOR := VoCore
641 DEVICE_MODEL := VoCore2
642 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
643 kmod-sdhci-mt7620
644 SUPPORTED_DEVICES += vocore2
645 endef
646 TARGET_DEVICES += vocore_vocore2
647
648 define Device/vocore_vocore2-lite
649 IMAGE_SIZE := 7872k
650 DEVICE_VENDOR := VoCore
651 DEVICE_MODEL := VoCore2-Lite
652 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
653 kmod-sdhci-mt7620
654 SUPPORTED_DEVICES += vocore2lite
655 endef
656 TARGET_DEVICES += vocore_vocore2-lite
657
658 define Device/wavlink_wl-wn570ha1
659 IMAGE_SIZE := 7872k
660 DEVICE_VENDOR := Wavlink
661 DEVICE_MODEL := WL-WN570HA1
662 DEVICE_PACKAGES := kmod-mt76x0e
663 endef
664 TARGET_DEVICES += wavlink_wl-wn570ha1
665
666 define Device/wavlink_wl-wn575a3
667 IMAGE_SIZE := 7872k
668 DEVICE_VENDOR := Wavlink
669 DEVICE_MODEL := WL-WN575A3
670 DEVICE_PACKAGES := kmod-mt76x2
671 SUPPORTED_DEVICES += wl-wn575a3
672 endef
673 TARGET_DEVICES += wavlink_wl-wn575a3
674
675 define Device/wavlink_wl-wn577a2
676 IMAGE_SIZE := 7872k
677 DEVICE_VENDOR := Wavlink
678 DEVICE_MODEL := WL-WN577A2
679 DEVICE_ALT0_VENDOR := Maginon
680 DEVICE_ALT0_MODEL := WLR-755
681 DEVICE_PACKAGES := kmod-mt76x0e
682 endef
683 TARGET_DEVICES += wavlink_wl-wn577a2
684
685 define Device/widora_neo-16m
686 IMAGE_SIZE := 16064k
687 DEVICE_VENDOR := Widora
688 DEVICE_MODEL := Widora-NEO
689 DEVICE_VARIANT := 16M
690 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
691 SUPPORTED_DEVICES += widora-neo
692 endef
693 TARGET_DEVICES += widora_neo-16m
694
695 define Device/widora_neo-32m
696 IMAGE_SIZE := 32448k
697 DEVICE_VENDOR := Widora
698 DEVICE_MODEL := Widora-NEO
699 DEVICE_VARIANT := 32M
700 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
701 endef
702 TARGET_DEVICES += widora_neo-32m
703
704 define Device/wiznet_wizfi630s
705 IMAGE_SIZE := 32448k
706 DEVICE_VENDOR := WIZnet
707 DEVICE_MODEL := WizFi630S
708 SUPPORTED_DEVICES += wizfi630s
709 endef
710 TARGET_DEVICES += wiznet_wizfi630s
711
712 define Device/wrtnode_wrtnode2p
713 IMAGE_SIZE := 32448k
714 DEVICE_VENDOR := WRTnode
715 DEVICE_MODEL := WRTnode 2P
716 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
717 SUPPORTED_DEVICES += wrtnode2p
718 endef
719 TARGET_DEVICES += wrtnode_wrtnode2p
720
721 define Device/wrtnode_wrtnode2r
722 IMAGE_SIZE := 32448k
723 DEVICE_VENDOR := WRTnode
724 DEVICE_MODEL := WRTnode 2R
725 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
726 SUPPORTED_DEVICES += wrtnode2r
727 endef
728 TARGET_DEVICES += wrtnode_wrtnode2r
729
730 define Device/xiaomi_mir4a-100m
731 IMAGE_SIZE := 14976k
732 DEVICE_VENDOR := Xiaomi
733 DEVICE_MODEL := Mi Router 4A
734 DEVICE_VARIANT := 100M Edition
735 DEVICE_PACKAGES := kmod-mt76x2
736 endef
737 TARGET_DEVICES += xiaomi_mir4a-100m
738
739 define Device/xiaomi_miwifi-nano
740 IMAGE_SIZE := 16064k
741 DEVICE_VENDOR := Xiaomi
742 DEVICE_MODEL := MiWiFi Nano
743 DEVICE_PACKAGES := uboot-envtools
744 SUPPORTED_DEVICES += miwifi-nano
745 endef
746 TARGET_DEVICES += xiaomi_miwifi-nano
747
748 define Device/zbtlink_zbt-we1226
749 IMAGE_SIZE := 7872k
750 DEVICE_VENDOR := Zbtlink
751 DEVICE_MODEL := ZBT-WE1226
752 endef
753 TARGET_DEVICES += zbtlink_zbt-we1226
754
755 define Device/zyxel_keenetic-extra-ii
756 IMAGE_SIZE := 14912k
757 BLOCKSIZE := 64k
758 DEVICE_VENDOR := ZyXEL
759 DEVICE_MODEL := Keenetic Extra II
760 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
761 kmod-usb-ledtrig-usbport
762 IMAGES += factory.bin
763 IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
764 check-size | zyimage -d 6162 -v "ZyXEL Keenetic Extra II"
765 endef
766 TARGET_DEVICES += zyxel_keenetic-extra-ii