5 include .
/common-tp-link.mk
10 DEVICE_VARS
+= ELECOM_HWNAME LINKSYS_HWNAME
12 define Build
/elecom-wrc-gs-factory
13 $(eval product
=$(word 1,$(1)))
14 $(eval version
=$(word 2,$(1)))
15 $(eval hash_opt
=$(word 3,$(1)))
16 $(STAGING_DIR_HOST
)/bin
/mkhash md5
$(hash_opt
) $@
>> $@
18 echo
-n
"ELECOM $(product) v$(version)" | \
19 dd bs
=32 count
=1 conv
=sync
; \
25 define Build
/iodata-factory
26 $(eval fw_size
=$(word 1,$(1)))
27 $(eval fw_type
=$(word 2,$(1)))
28 $(eval product
=$(word 3,$(1)))
29 $(eval factory_bin
=$(word 4,$(1)))
30 if
[ -e
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) -a
"$$(stat -c%s $@)" -lt
"$(fw_size)" ]; then \
31 $(CP
) $(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) $(factory_bin
); \
32 $(STAGING_DIR_HOST
)/bin
/mksenaofw \
33 -r
0x30a -p
$(product
) -t
$(fw_type
) \
34 -e
$(factory_bin
) -o
$(factory_bin
).new
; \
35 mv
$(factory_bin
).new
$(factory_bin
); \
36 $(CP
) $(factory_bin
) $(BIN_DIR
)/; \
38 echo
"WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
42 define Build
/iodata-mstc-header
44 data_size_crc
="$$(dd if=$@ ibs=64 skip=1 2>/dev/null | gzip -c | \
45 tail -c 8 | od -An -tx8 --endian little | tr -d ' \n')"; \
46 echo
-ne
"$$(echo $$data_size_crc | sed 's/../\\x&/g')" | \
47 dd of
=$@ bs
=8 count
=1 seek
=7 conv
=notrunc
2>/dev
/null
; \
49 dd if
=/dev
/zero of
=$@ bs
=4 count
=1 seek
=1 conv
=notrunc
2>/dev
/null
51 header_crc
="$$(dd if=$@ bs=64 count=1 2>/dev/null | gzip -c | \
52 tail -c 8 | od -An -N4 -tx4 --endian little | tr -d ' \n')"; \
53 echo
-ne
"$$(echo $$header_crc | sed 's/../\\x&/g')" | \
54 dd of
=$@ bs
=4 count
=1 seek
=1 conv
=notrunc
2>/dev
/null
; \
58 define Build
/ubnt-erx-factory-image
59 if
[ -e
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) -a
"$$(stat -c%s $@)" -lt
"$(KERNEL_SIZE)" ]; then \
60 echo
'21001:7' > $(1).compat
; \
61 $(TAR
) -cf
$(1) --transform
='s/^.*/compat/' $(1).compat
; \
63 $(TAR
) -rf
$(1) --transform
='s/^.*/vmlinux.tmp/' $(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
); \
64 mkhash md5
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) > $(1).md5
; \
65 $(TAR
) -rf
$(1) --transform
='s/^.*/vmlinux.tmp.md5/' $(1).md5
; \
67 echo
"dummy" > $(1).rootfs
; \
68 $(TAR
) -rf
$(1) --transform
='s/^.*/squashfs.tmp/' $(1).rootfs
; \
70 mkhash md5
$(1).rootfs
> $(1).md5
; \
71 $(TAR
) -rf
$(1) --transform
='s/^.*/squashfs.tmp.md5/' $(1).md5
; \
73 echo
'$(BOARD) $(VERSION_CODE) $(VERSION_NUMBER)' > $(1).version
; \
74 $(TAR
) -rf
$(1) --transform
='s/^.*/version.tmp/' $(1).version
; \
76 $(CP
) $(1) $(BIN_DIR
)/; \
78 echo
"WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
82 define Device
/dsa-migration
83 DEVICE_COMPAT_VERSION
:= 1.1
84 DEVICE_COMPAT_MESSAGE
:= Config cannot be migrated from swconfig to DSA
87 define Device
/adslr_g7
88 $(Device
/dsa-migration
)
90 DEVICE_VENDOR
:= ADSLR
92 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
94 TARGET_DEVICES
+= adslr_g7
96 define Device
/afoundry_ew1200
97 $(Device
/dsa-migration
)
99 DEVICE_VENDOR
:= AFOUNDRY
100 DEVICE_MODEL
:= EW1200
101 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \
102 kmod-usb-ledtrig-usbport
103 SUPPORTED_DEVICES
+= ew1200
105 TARGET_DEVICES
+= afoundry_ew1200
107 define Device
/alfa-network_quad-e4g
108 $(Device
/dsa-migration
)
110 DEVICE_VENDOR
:= ALFA Network
111 DEVICE_MODEL
:= Quad-E4G
112 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 uboot-envtools \
115 TARGET_DEVICES
+= alfa-network_quad-e4g
117 define Device
/asiarf_ap7621-001
118 $(Device
/dsa-migration
)
120 DEVICE_VENDOR
:= AsiaRF
121 DEVICE_MODEL
:= AP7621-001
122 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3
-wpad-basic-wolfssl
124 TARGET_DEVICES
+= asiarf_ap7621-001
126 define Device
/asiarf_ap7621-nv1
127 $(Device
/dsa-migration
)
129 DEVICE_VENDOR
:= AsiaRF
130 DEVICE_MODEL
:= AP7621-NV1
131 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3
-wpad-basic-wolfssl
133 TARGET_DEVICES
+= asiarf_ap7621-nv1
135 define Device
/asus_rt-ac57u
136 $(Device
/dsa-migration
)
137 DEVICE_VENDOR
:= ASUS
138 DEVICE_MODEL
:= RT-AC57U
140 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
141 kmod-usb-ledtrig-usbport
143 TARGET_DEVICES
+= asus_rt-ac57u
145 define Device
/asus_rt-ac65p
146 $(Device
/dsa-migration
)
147 DEVICE_VENDOR
:= ASUS
148 DEVICE_MODEL
:= RT-AC65P
154 IMAGES
+= factory.bin
155 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
156 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
158 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
160 TARGET_DEVICES
+= asus_rt-ac65p
162 define Device
/asus_rt-ac85p
163 $(Device
/dsa-migration
)
164 DEVICE_VENDOR
:= ASUS
165 DEVICE_MODEL
:= RT-AC85P
171 IMAGES
+= factory.bin
172 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
173 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
175 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
177 TARGET_DEVICES
+= asus_rt-ac85p
179 define Device
/asus_rt-n56u-b1
180 $(Device
/dsa-migration
)
181 DEVICE_VENDOR
:= ASUS
182 DEVICE_MODEL
:= RT-N56U
185 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
186 kmod-usb-ledtrig-usbport
188 TARGET_DEVICES
+= asus_rt-n56u-b1
190 define Device
/buffalo_wsr-1166dhp
191 $(Device
/dsa-migration
)
192 $(Device
/uimage-lzma-loader
)
193 IMAGE
/sysupgrade.bin
:= trx | pad-rootfs | append-metadata
195 DEVICE_VENDOR
:= Buffalo
196 DEVICE_MODEL
:= WSR-1166DHP
197 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
198 SUPPORTED_DEVICES
+= wsr-1166
200 TARGET_DEVICES
+= buffalo_wsr-1166dhp
202 define Device
/buffalo_wsr-2533dhpl
203 $(Device
/dsa-migration
)
204 $(Device
/uimage-lzma-loader
)
206 DEVICE_VENDOR
:= Buffalo
207 DEVICE_MODEL
:= WSR-2533DHPL
208 DEVICE_ALT0_VENDOR
:= Buffalo
209 DEVICE_ALT0_MODEL
:= WSR-2533DHP
210 IMAGE
/sysupgrade.bin
:= trx | pad-rootfs | append-metadata
211 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
213 TARGET_DEVICES
+= buffalo_wsr-2533dhpl
215 define Device
/buffalo_wsr-600dhp
216 $(Device
/dsa-migration
)
218 DEVICE_VENDOR
:= Buffalo
219 DEVICE_MODEL
:= WSR-600DHP
220 DEVICE_PACKAGES
:= kmod-mt7603 kmod-rt2800-pci
221 SUPPORTED_DEVICES
+= wsr-600
223 TARGET_DEVICES
+= buffalo_wsr-600dhp
225 define Device
/dlink_dir-8xx-a1
226 $(Device
/dsa-migration
)
228 DEVICE_VENDOR
:= D-Link
229 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
230 KERNEL_INITRAMFS
:= $$(KERNEL
) | uimage-padhdr
96
231 IMAGES
+= factory.bin
232 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | uimage-padhdr
96 |\
233 pad-rootfs | append-metadata | check-size
234 IMAGE
/factory.bin
:= append-kernel | append-rootfs | uimage-padhdr
96 |\
238 define Device
/dlink_dir-8xx-r1
239 $(Device
/dsa-migration
)
241 DEVICE_VENDOR
:= D-Link
242 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
243 KERNEL_INITRAMFS
:= $$(KERNEL
)
244 IMAGES
+= factory.bin
245 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs |\
246 pad-rootfs | append-metadata | check-size
249 define Device
/dlink_dir-xx60-a1
250 $(Device
/dsa-migration
)
256 DEVICE_VENDOR
:= D-Link
257 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
258 kmod-usb-ledtrig-usbport
259 KERNEL
:= $$(KERNEL
) | uimage-padhdr
96
260 IMAGES
+= factory.bin
261 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
262 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
266 define Device
/dlink_dir-1960-a1
267 $(Device
/dlink_dir-xx60-a1
)
268 DEVICE_MODEL
:= DIR-1960
271 TARGET_DEVICES
+= dlink_dir-1960-a1
273 define Device
/dlink_dir-2640-a1
274 $(Device
/dlink_dir-xx60-a1
)
275 DEVICE_MODEL
:= DIR-2640
278 TARGET_DEVICES
+= dlink_dir-2640-a1
280 define Device
/dlink_dir-2660-a1
281 $(Device
/dlink_dir-xx60-a1
)
282 DEVICE_MODEL
:= DIR-2660
285 TARGET_DEVICES
+= dlink_dir-2660-a1
287 define Device
/dlink_dir-860l-b1
288 $(Device
/dsa-migration
)
291 SEAMA_SIGNATURE
:= wrgac13_dlink
.2013gui_dir860lb
293 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \
294 lzma
-a0 | uImage lzma
296 DEVICE_VENDOR
:= D-Link
297 DEVICE_MODEL
:= DIR-860L
299 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
300 SUPPORTED_DEVICES
+= dir-860l-b1
302 TARGET_DEVICES
+= dlink_dir-860l-b1
304 define Device
/dlink_dir-867-a1
305 $(Device
/dlink_dir-8xx-a1
)
306 DEVICE_MODEL
:= DIR-867
309 TARGET_DEVICES
+= dlink_dir-867-a1
311 define Device
/dlink_dir-878-a1
312 $(Device
/dlink_dir-8xx-a1
)
313 DEVICE_MODEL
:= DIR-878
316 TARGET_DEVICES
+= dlink_dir-878-a1
318 define Device
/dlink_dir-882-a1
319 $(Device
/dlink_dir-8xx-a1
)
320 DEVICE_MODEL
:= DIR-882
322 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
324 TARGET_DEVICES
+= dlink_dir-882-a1
326 define Device
/dlink_dir-882-r1
327 $(Device
/dlink_dir-8xx-r1
)
328 DEVICE_MODEL
:= DIR-882
330 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
331 IMAGE
/factory.bin
:= append-kernel | append-rootfs | check-size | \
332 sign-dlink-ru
57c5375741c30ca9ebcb36713db4ba51 \
333 ab0dff19af8842cdb70a86b4b68d23f7
335 TARGET_DEVICES
+= dlink_dir-882-r1
337 define Device
/d-team_newifi-d2
338 $(Device
/dsa-migration
)
339 $(Device
/uimage-lzma-loader
)
341 DEVICE_VENDOR
:= Newifi
343 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
344 kmod-usb-ledtrig-usbport
346 TARGET_DEVICES
+= d-team_newifi-d2
348 define Device
/d-team_pbr-m1
349 $(Device
/dsa-migration
)
351 DEVICE_VENDOR
:= PandoraBox
352 DEVICE_MODEL
:= PBR-M1
353 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
354 kmod-usb3 kmod-usb-ledtrig-usbport
355 SUPPORTED_DEVICES
+= pbr-m1
357 TARGET_DEVICES
+= d-team_pbr-m1
359 define Device
/edimax_ra21s
360 $(Device
/dsa-migration
)
361 $(Device
/uimage-lzma-loader
)
363 DEVICE_VENDOR
:= Edimax
364 DEVICE_MODEL
:= RA21S
365 DEVICE_ALT0_VENDOR
:= Edimax
366 DEVICE_ALT0_MODEL
:= Gemini RA21S
367 IMAGES
+= factory.bin
368 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
369 elx-header
02020040 8844A2D168B45A2D
370 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
372 TARGET_DEVICES
+= edimax_ra21s
374 define Device
/edimax_re23s
375 $(Device
/dsa-migration
)
376 $(Device
/uimage-lzma-loader
)
378 DEVICE_VENDOR
:= Edimax
379 DEVICE_MODEL
:= RE23S
380 DEVICE_ALT0_VENDOR
:= Edimax
381 DEVICE_ALT0_MODEL
:= Gemini RE23S
382 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
383 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
384 append-metadata | check-size
385 IMAGES
+= factory.bin
386 IMAGE
/factory.bin
:= append-kernel | append-rootfs | \
387 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
389 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
391 TARGET_DEVICES
+= edimax_re23s
393 define Device
/edimax_rg21s
394 $(Device
/dsa-migration
)
395 $(Device
/uimage-lzma-loader
)
397 DEVICE_VENDOR
:= Edimax
398 DEVICE_MODEL
:= Gemini AC2600 RG21S
399 IMAGES
+= factory.bin
400 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
401 elx-header
02020038 8844A2D168B45A2D
402 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
404 TARGET_DEVICES
+= edimax_rg21s
406 define Device
/elecom_wrc-1167ghbk2-s
407 $(Device
/dsa-migration
)
409 DEVICE_VENDOR
:= ELECOM
410 DEVICE_MODEL
:= WRC-1167GHBK2-S
411 IMAGES
+= factory.bin
412 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
413 elecom-wrc-gs-factory WRC-1167GHBK2-S
0.00
414 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
416 TARGET_DEVICES
+= elecom_wrc-1167ghbk2-s
418 define Device
/elecom_wrc-gs
419 $(Device
/dsa-migration
)
420 $(Device
/uimage-lzma-loader
)
421 DEVICE_VENDOR
:= ELECOM
422 IMAGES
+= factory.bin
423 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
424 elecom-wrc-gs-factory
$$$$(ELECOM_HWNAME
) 0.00 -N | \
425 append-string MT7621_ELECOM_
$$$$(ELECOM_HWNAME
)
426 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
429 define Device
/elecom_wrc-1167gs2-b
430 $(Device
/elecom_wrc-gs
)
432 DEVICE_MODEL
:= WRC-1167GS2-B
433 ELECOM_HWNAME
:= WRC-1167GS2
435 TARGET_DEVICES
+= elecom_wrc-1167gs2-b
437 define Device
/elecom_wrc-1750gs
438 $(Device
/elecom_wrc-gs
)
440 DEVICE_MODEL
:= WRC-1750GS
441 ELECOM_HWNAME
:= WRC-1750GS
443 TARGET_DEVICES
+= elecom_wrc-1750gs
445 define Device
/elecom_wrc-1750gsv
446 $(Device
/elecom_wrc-gs
)
448 DEVICE_MODEL
:= WRC-1750GSV
449 ELECOM_HWNAME
:= WRC-1750GSV
451 TARGET_DEVICES
+= elecom_wrc-1750gsv
453 define Device
/elecom_wrc-1900gst
454 $(Device
/elecom_wrc-gs
)
456 DEVICE_MODEL
:= WRC-1900GST
457 ELECOM_HWNAME
:= WRC-1900GST
459 TARGET_DEVICES
+= elecom_wrc-1900gst
461 define Device
/elecom_wrc-2533gst
462 $(Device
/elecom_wrc-gs
)
464 DEVICE_MODEL
:= WRC-2533GST
465 ELECOM_HWNAME
:= WRC-2533GST
467 TARGET_DEVICES
+= elecom_wrc-2533gst
469 define Device
/elecom_wrc-2533gst2
470 $(Device
/elecom_wrc-gs
)
472 DEVICE_MODEL
:= WRC-2533GST2
473 ELECOM_HWNAME
:= WRC-2533GST2
475 TARGET_DEVICES
+= elecom_wrc-2533gst2
477 define Device
/firefly_firewrt
478 $(Device
/dsa-migration
)
480 DEVICE_VENDOR
:= Firefly
481 DEVICE_MODEL
:= FireWRT
482 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
483 SUPPORTED_DEVICES
+= firewrt
485 TARGET_DEVICES
+= firefly_firewrt
487 define Device
/gehua_ghl-r-001
488 $(Device
/dsa-migration
)
490 DEVICE_VENDOR
:= GeHua
491 DEVICE_MODEL
:= GHL-R-001
492 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
493 kmod-usb-ledtrig-usbport
495 TARGET_DEVICES
+= gehua_ghl-r-001
497 define Device
/glinet_gl-mt1300
498 $(Device
/dsa-migration
)
500 DEVICE_VENDOR
:= GL.iNet
501 DEVICE_MODEL
:= GL-MT1300
502 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
504 TARGET_DEVICES
+= glinet_gl-mt1300
506 define Device
/gnubee_gb-pc1
507 $(Device
/dsa-migration
)
508 DEVICE_VENDOR
:= GnuBee
509 DEVICE_MODEL
:= Personal Cloud One
510 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
513 TARGET_DEVICES
+= gnubee_gb-pc1
515 define Device
/gnubee_gb-pc2
516 $(Device
/dsa-migration
)
517 DEVICE_VENDOR
:= GnuBee
518 DEVICE_MODEL
:= Personal Cloud Two
519 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
522 TARGET_DEVICES
+= gnubee_gb-pc2
524 define Device
/hiwifi_hc5962
525 $(Device
/dsa-migration
)
531 IMAGES
+= factory.bin
532 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
533 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
535 DEVICE_VENDOR
:= HiWiFi
536 DEVICE_MODEL
:= HC5962
537 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3
539 TARGET_DEVICES
+= hiwifi_hc5962
541 define Device
/iodata_wn-ax1167gr
542 $(Device
/dsa-migration
)
543 $(Device
/uimage-lzma-loader
)
545 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
546 iodata-factory
7864320 4 0x1055 $(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.bin
547 DEVICE_VENDOR
:= I-O DATA
548 DEVICE_MODEL
:= WN-AX1167GR
549 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
551 TARGET_DEVICES
+= iodata_wn-ax1167gr
553 define Device
/iodata_nand
554 $(Device
/dsa-migration
)
555 DEVICE_VENDOR
:= I-O DATA
562 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | lzma | uImage lzma
563 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
566 # The OEM webinterface expects an kernel with initramfs which has the uImage
567 # header field ih_name.
568 # We don't want to set the header name field for the kernel include in the
569 # sysupgrade image as well, as this image shouldn't be accepted by the OEM
570 # webinterface. It will soft-brick the board.
572 define Device
/iodata_wn-ax1167gr2
573 $(Device
/iodata_nand
)
574 DEVICE_MODEL
:= WN-AX1167GR2
575 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
576 uImage lzma
-M
0x434f4d42 -n
'3.10(XBC.1)b10' | iodata-mstc-header
577 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
579 TARGET_DEVICES
+= iodata_wn-ax1167gr2
581 define Device
/iodata_wn-ax2033gr
582 $(Device
/iodata_nand
)
583 DEVICE_MODEL
:= WN-AX2033GR
584 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
585 uImage lzma
-M
0x434f4d42 -n
'3.10(VST.1)C10' | iodata-mstc-header
586 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
588 TARGET_DEVICES
+= iodata_wn-ax2033gr
590 define Device
/iodata_wn-dx1167r
591 $(Device
/iodata_nand
)
592 DEVICE_MODEL
:= WN-DX1167R
593 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
594 uImage lzma
-M
0x434f4d43 -n
'3.10(XIK.1)b10' | iodata-mstc-header
595 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
597 TARGET_DEVICES
+= iodata_wn-dx1167r
599 define Device
/iodata_wn-gx300gr
600 $(Device
/dsa-migration
)
601 $(Device
/uimage-lzma-loader
)
603 DEVICE_VENDOR
:= I-O DATA
604 DEVICE_MODEL
:= WN-GX300GR
605 DEVICE_PACKAGES
:= kmod-mt7603
607 TARGET_DEVICES
+= iodata_wn-gx300gr
609 define Device
/iodata_wnpr2600g
610 $(Device
/dsa-migration
)
611 $(Device
/uimage-lzma-loader
)
612 DEVICE_VENDOR
:= I-O DATA
613 DEVICE_MODEL
:= WNPR2600G
615 IMAGES
+= factory.bin
616 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
617 elx-header
0104003a
8844A2D168B45A2D
618 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
620 TARGET_DEVICES
+= iodata_wnpr2600g
622 define Device
/iptime_a6ns-m
623 $(Device
/dsa-migration
)
626 DEVICE_VENDOR
:= ipTIME
627 DEVICE_MODEL
:= A6ns-M
628 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
629 kmod-usb-ledtrig-usbport
631 TARGET_DEVICES
+= iptime_a6ns-m
633 define Device
/iptime_a8004t
634 $(Device
/dsa-migration
)
636 UIMAGE_NAME
:= a8004t
637 DEVICE_VENDOR
:= ipTIME
638 DEVICE_MODEL
:= A8004T
639 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
641 TARGET_DEVICES
+= iptime_a8004t
643 define Device
/jcg_jhr-ac876m
644 $(Device
/dsa-migration
)
646 IMAGES
+= factory.bin
647 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | jcg-header
89.1
648 JCG_MAXSIZE
:= 16064k
650 DEVICE_MODEL
:= JHR-AC876M
651 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
652 kmod-usb-ledtrig-usbport
654 TARGET_DEVICES
+= jcg_jhr-ac876m
656 define Device
/lenovo_newifi-d1
657 $(Device
/dsa-migration
)
658 $(Device
/uimage-lzma-loader
)
660 DEVICE_VENDOR
:= Newifi
662 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 \
663 kmod-usb-ledtrig-usbport
664 SUPPORTED_DEVICES
+= newifi-d1
666 TARGET_DEVICES
+= lenovo_newifi-d1
668 define Device
/linksys_ea7xxx
669 $(Device
/dsa-migration
)
670 $(Device
/uimage-lzma-loader
)
675 DEVICE_VENDOR
:= Linksys
676 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware \
679 IMAGES
:= sysupgrade.bin factory.bin
680 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata | check-size
681 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
682 append-ubi | check-size | linksys-image type
=$$$$(LINKSYS_HWNAME
)
685 define Device
/linksys_ea7300-v1
686 $(Device
/linksys_ea7xxx
)
687 DEVICE_MODEL
:= EA7300
689 LINKSYS_HWNAME
:= EA7300
691 TARGET_DEVICES
+= linksys_ea7300-v1
693 define Device
/linksys_ea7300-v2
694 $(Device
/linksys_ea7xxx
)
695 DEVICE_MODEL
:= EA7300
697 LINKSYS_HWNAME
:= EA7300v2
698 DEVICE_PACKAGES
+= kmod-mt7603
700 TARGET_DEVICES
+= linksys_ea7300-v2
702 define Device
/linksys_ea7500-v2
703 $(Device
/linksys_ea7xxx
)
704 DEVICE_MODEL
:= EA7500
706 LINKSYS_HWNAME
:= EA7500v2
708 TARGET_DEVICES
+= linksys_ea7500-v2
710 define Device
/linksys_re6500
711 $(Device
/dsa-migration
)
713 DEVICE_VENDOR
:= Linksys
714 DEVICE_MODEL
:= RE6500
715 DEVICE_PACKAGES
:= kmod-mt76x2
716 SUPPORTED_DEVICES
+= re6500
718 TARGET_DEVICES
+= linksys_re6500
720 define Device
/mediatek_ap-mt7621a-v60
721 $(Device
/dsa-migration
)
723 DEVICE_VENDOR
:= Mediatek
724 DEVICE_MODEL
:= AP-MT7621A-V60 EVB
725 DEVICE_PACKAGES
:= kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620
-wpad-basic-wolfssl
727 TARGET_DEVICES
+= mediatek_ap-mt7621a-v60
729 define Device
/mediatek_mt7621-eval-board
730 $(Device
/dsa-migration
)
733 DEVICE_VENDOR
:= MediaTek
734 DEVICE_MODEL
:= MT7621 EVB
735 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
736 SUPPORTED_DEVICES
+= mt7621
738 TARGET_DEVICES
+= mediatek_mt7621-eval-board
740 define Device
/MikroTik
741 $(Device
/dsa-migration
)
742 DEVICE_VENDOR
:= MikroTik
745 DEVICE_PACKAGES
:= kmod-usb3
746 KERNEL_NAME
:= vmlinuz
747 KERNEL
:= kernel-bin | append-dtb-elf
748 IMAGE
/sysupgrade.bin
:= append-kernel | kernel2minor
-s
1024 | \
749 pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | append-metadata | \
753 define Device
/mikrotik_routerboard-750gr3
755 DEVICE_MODEL
:= RouterBOARD
750Gr3
756 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
757 SUPPORTED_DEVICES
+= mikrotik
,rb750gr3
759 TARGET_DEVICES
+= mikrotik_routerboard-750gr3
761 define Device
/mikrotik_routerboard-760igs
763 DEVICE_MODEL
:= RouterBOARD
760iGS
764 DEVICE_PACKAGES
+= kmod-sfp
-wpad-basic-wolfssl
766 TARGET_DEVICES
+= mikrotik_routerboard-760igs
768 define Device
/mikrotik_routerboard-m11g
770 DEVICE_MODEL
:= RouterBOARD M11G
771 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
772 SUPPORTED_DEVICES
+= mikrotik
,rbm11g
774 TARGET_DEVICES
+= mikrotik_routerboard-m11g
776 define Device
/mikrotik_routerboard-m33g
778 DEVICE_MODEL
:= RouterBOARD M33G
779 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
780 SUPPORTED_DEVICES
+= mikrotik
,rbm33g
782 TARGET_DEVICES
+= mikrotik_routerboard-m33g
784 define Device
/mqmaker_witi
785 $(Device
/dsa-migration
)
787 DEVICE_VENDOR
:= MQmaker
789 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
790 kmod-usb-ledtrig-usbport
791 SUPPORTED_DEVICES
+= witi mqmaker
,witi-256m mqmaker
,witi-512m
793 TARGET_DEVICES
+= mqmaker_witi
795 define Device
/mtc_wr1201
796 $(Device
/dsa-migration
)
799 DEVICE_MODEL
:= Wireless Router WR1201
800 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma
-n
'WR1201_8_128'
801 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
802 kmod-usb-ledtrig-usbport
804 TARGET_DEVICES
+= mtc_wr1201
806 define Device
/netgear_ex6150
807 $(Device
/dsa-migration
)
808 DEVICE_VENDOR
:= NETGEAR
809 DEVICE_MODEL
:= EX6150
810 DEVICE_PACKAGES
:= kmod-mt76x2
811 NETGEAR_BOARD_ID
:= U12H318T00_NETGEAR
813 IMAGES
+= factory.chk
814 IMAGE
/factory.chk
:= $$(sysupgrade_bin
) | check-size | netgear-chk
816 TARGET_DEVICES
+= netgear_ex6150
818 define Device
/netgear_sercomm_nand
819 $(Device
/dsa-migration
)
820 $(Device
/uimage-lzma-loader
)
825 IMAGES
+= factory.img kernel.bin rootfs.bin
826 IMAGE
/factory.img
:= pad-extra
2048k | append-kernel | pad-to
6144k | \
827 append-ubi | pad-to
$$$$(BLOCKSIZE
) | sercom-footer | pad-to
128 | \
828 zip
$$$$(SERCOMM_HWNAME
).bin | sercom-seal
829 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
830 IMAGE
/kernel.bin
:= append-kernel
831 IMAGE
/rootfs.bin
:= append-ubi | check-size
832 DEVICE_VENDOR
:= NETGEAR
833 DEVICE_PACKAGES
:= kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport
836 define Device
/netgear_r6220
837 $(Device
/netgear_sercomm_nand
)
838 DEVICE_MODEL
:= R6220
839 SERCOMM_HWNAME
:= R6220
841 SERCOMM_HWVER
:= A001
842 SERCOMM_SWVER
:= 0x0086
844 DEVICE_PACKAGES
+= kmod-mt76x2
845 SUPPORTED_DEVICES
+= r6220
847 TARGET_DEVICES
+= netgear_r6220
850 define Device
/netgear_r6260
851 $(Device
/netgear_sercomm_nand
)
852 DEVICE_MODEL
:= R6260
853 SERCOMM_HWNAME
:= R6260
855 SERCOMM_HWVER
:= A001
856 SERCOMM_SWVER
:= 0x0052
858 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
860 TARGET_DEVICES
+= netgear_r6260
862 define Device
/netgear_r6350
863 $(Device
/netgear_sercomm_nand
)
864 DEVICE_MODEL
:= R6350
865 SERCOMM_HWNAME
:= R6350
867 SERCOMM_HWVER
:= A001
868 SERCOMM_SWVER
:= 0x0052
870 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
872 TARGET_DEVICES
+= netgear_r6350
874 define Device
/netgear_r6700-v2
875 $(Device
/netgear_sercomm_nand
)
876 DEVICE_MODEL
:= R6700
878 DEVICE_ALT0_VENDOR
:= NETGEAR
879 DEVICE_ALT0_MODEL
:= Nighthawk AC2400
880 DEVICE_ALT0_VARIANT
:= v1
881 DEVICE_ALT1_VENDOR
:= NETGEAR
882 DEVICE_ALT1_MODEL
:= R7200
883 DEVICE_ALT1_VARIANT
:= v1
884 SERCOMM_HWNAME
:= R6950
886 SERCOMM_HWVER
:= A001
887 SERCOMM_SWVER
:= 0x1032
889 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
891 TARGET_DEVICES
+= netgear_r6700-v2
893 define Device
/netgear_r6800
894 $(Device
/netgear_sercomm_nand
)
895 DEVICE_MODEL
:= R6800
896 SERCOMM_HWNAME
:= R6950
898 SERCOMM_HWVER
:= A001
899 SERCOMM_SWVER
:= 0x0062
901 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
903 TARGET_DEVICES
+= netgear_r6800
905 define Device
/netgear_r6850
906 $(Device
/netgear_sercomm_nand
)
907 DEVICE_MODEL
:= R6850
908 SERCOMM_HWNAME
:= R6850
910 SERCOMM_HWVER
:= A001
911 SERCOMM_SWVER
:= 0x0052
913 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
915 TARGET_DEVICES
+= netgear_r6850
917 define Device
/netgear_wac104
918 $(Device
/netgear_sercomm_nand
)
919 DEVICE_MODEL
:= WAC104
920 SERCOMM_HWNAME
:= WAC104
922 SERCOMM_HWVER
:= A001
923 SERCOMM_SWVER
:= 0x0006
925 DEVICE_PACKAGES
+= kmod-mt76x2
927 TARGET_DEVICES
+= netgear_wac104
929 define Device
/netgear_wac124
930 $(Device
/netgear_sercomm_nand
)
931 DEVICE_MODEL
:= WAC124
932 SERCOMM_HWNAME
:= WAC124
934 SERCOMM_HWVER
:= A003
935 SERCOMM_SWVER
:= 0x0402
937 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
939 TARGET_DEVICES
+= netgear_wac124
941 define Device
/netgear_wndr3700-v5
942 $(Device
/dsa-migration
)
943 $(Device
/netgear_sercomm_nor
)
944 $(Device
/uimage-lzma-loader
)
946 DEVICE_MODEL
:= WNDR3700
948 SERCOMM_HWNAME
:= WNDR3700v5
950 SERCOMM_HWVER
:= A001
951 SERCOMM_SWVER
:= 0x1054
953 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
954 kmod-usb-ledtrig-usbport
955 SUPPORTED_DEVICES
+= wndr3700v5
957 TARGET_DEVICES
+= netgear_wndr3700-v5
959 define Device
/netis_wf2881
960 $(Device
/dsa-migration
)
963 FILESYSTEMS
:= squashfs
965 IMAGE_SIZE
:= 129280k
967 UIMAGE_NAME
:= WF2881_0.0
.00
968 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | netis-tail WF2881 | uImage lzma
969 IMAGES
+= factory.bin
970 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
971 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
973 DEVICE_VENDOR
:= NETIS
974 DEVICE_MODEL
:= WF2881
975 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
977 TARGET_DEVICES
+= netis_wf2881
979 define Device
/phicomm_k2p
980 $(Device
/dsa-migration
)
982 DEVICE_VENDOR
:= Phicomm
984 DEVICE_ALT0_VENDOR
:= Phicomm
985 DEVICE_ALT0_MODEL
:= KE
2P
986 SUPPORTED_DEVICES
+= k2p
987 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
989 TARGET_DEVICES
+= phicomm_k2p
991 define Device
/planex_vr500
992 $(Device
/dsa-migration
)
993 $(Device
/uimage-lzma-loader
)
995 DEVICE_VENDOR
:= Planex
996 DEVICE_MODEL
:= VR500
997 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
998 SUPPORTED_DEVICES
+= vr500
1000 TARGET_DEVICES
+= planex_vr500
1002 define Device
/samknows_whitebox-v8
1003 $(Device
/dsa-migration
)
1004 IMAGE_SIZE
:= 16064k
1005 DEVICE_VENDOR
:= SamKnows
1006 DEVICE_MODEL
:= Whitebox
8
1007 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1008 kmod-usb-ledtrig-usbport uboot-envtools
1009 SUPPORTED_DEVICES
+= sk-wb8
1011 TARGET_DEVICES
+= samknows_whitebox-v8
1013 define Device
/storylink_sap-g3200u3
1014 $(Device
/dsa-migration
)
1016 DEVICE_VENDOR
:= STORYLiNK
1017 DEVICE_MODEL
:= SAP-G3200U3
1018 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
1019 SUPPORTED_DEVICES
+= sap-g3200u3
1021 TARGET_DEVICES
+= storylink_sap-g3200u3
1023 define Device
/telco-electronics_x1
1024 $(Device
/dsa-migration
)
1025 IMAGE_SIZE
:= 16064k
1026 DEVICE_VENDOR
:= Telco Electronics
1028 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt76
1030 TARGET_DEVICES
+= telco-electronics_x1
1032 define Device
/thunder_timecloud
1033 $(Device
/dsa-migration
)
1034 $(Device
/uimage-lzma-loader
)
1035 IMAGE_SIZE
:= 16064k
1036 DEVICE_VENDOR
:= Thunder
1037 DEVICE_MODEL
:= Timecloud
1038 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
1039 SUPPORTED_DEVICES
+= timecloud
1041 TARGET_DEVICES
+= thunder_timecloud
1043 define Device
/totolink_a7000r
1044 $(Device
/dsa-migration
)
1045 IMAGE_SIZE
:= 16064k
1046 UIMAGE_NAME
:= C8340R1C-9999
1047 DEVICE_VENDOR
:= TOTOLINK
1048 DEVICE_MODEL
:= A7000R
1049 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1051 TARGET_DEVICES
+= totolink_a7000r
1053 define Device
/totolink_x5000r
1054 $(Device
/dsa-migration
)
1055 IMAGE_SIZE
:= 16064k
1056 UIMAGE_NAME
:= C8343R-9999
1057 DEVICE_VENDOR
:= TOTOLINK
1058 DEVICE_MODEL
:= X5000R
1059 DEVICE_PACKAGES
:= kmod-mt7915e
1061 TARGET_DEVICES
+= totolink_x5000r
1063 define Device
/tplink_re350-v1
1064 $(Device
/dsa-migration
)
1065 $(Device
/tplink-safeloader
)
1066 DEVICE_MODEL
:= RE350
1067 DEVICE_VARIANT
:= v1
1068 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1069 TPLINK_BOARD_ID
:= RE350-V1
1071 SUPPORTED_DEVICES
+= re350-v1
1073 TARGET_DEVICES
+= tplink_re350-v1
1075 define Device
/tplink_re500-v1
1076 $(Device
/dsa-migration
)
1077 $(Device
/tplink-safeloader
)
1078 DEVICE_MODEL
:= RE500
1079 DEVICE_VARIANT
:= v1
1080 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1081 TPLINK_BOARD_ID
:= RE500-V1
1082 IMAGE_SIZE
:= 14208k
1084 TARGET_DEVICES
+= tplink_re500-v1
1086 define Device
/tplink_re650-v1
1087 $(Device
/dsa-migration
)
1088 $(Device
/tplink-safeloader
)
1089 DEVICE_MODEL
:= RE650
1090 DEVICE_VARIANT
:= v1
1091 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1092 TPLINK_BOARD_ID
:= RE650-V1
1093 IMAGE_SIZE
:= 14208k
1095 TARGET_DEVICES
+= tplink_re650-v1
1097 define Device
/ubnt_edgerouter_common
1098 $(Device
/dsa-migration
)
1099 $(Device
/uimage-lzma-loader
)
1100 DEVICE_VENDOR
:= Ubiquiti
1101 IMAGE_SIZE
:= 256768k
1102 FILESYSTEMS
:= squashfs
1103 KERNEL_SIZE
:= 3145728
1104 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
1105 ubnt-erx-factory-image
$(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.
tar
1106 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1107 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
1110 define Device
/ubnt_edgerouter-x
1111 $(Device
/ubnt_edgerouter_common
)
1112 DEVICE_MODEL
:= EdgeRouter X
1113 SUPPORTED_DEVICES
+= ubnt-erx ubiquiti
,edgerouterx
1115 TARGET_DEVICES
+= ubnt_edgerouter-x
1117 define Device
/ubnt_edgerouter-x-sfp
1118 $(Device
/ubnt_edgerouter_common
)
1119 DEVICE_MODEL
:= EdgeRouter X SFP
1120 DEVICE_PACKAGES
+= kmod-i2c-algo-pca kmod-gpio-pca953x kmod-sfp
1121 SUPPORTED_DEVICES
+= ubnt-erx-sfp ubiquiti
,edgerouterx-sfp
1123 TARGET_DEVICES
+= ubnt_edgerouter-x-sfp
1125 define Device
/ubnt_unifi-nanohd
1126 $(Device
/dsa-migration
)
1127 DEVICE_VENDOR
:= Ubiquiti
1128 DEVICE_MODEL
:= UniFi nanoHD
1129 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1130 IMAGE_SIZE
:= 15552k
1132 TARGET_DEVICES
+= ubnt_unifi-nanohd
1134 define Device
/unielec_u7621-06-16m
1135 $(Device
/dsa-migration
)
1136 $(Device
/uimage-lzma-loader
)
1137 IMAGE_SIZE
:= 16064k
1138 DEVICE_VENDOR
:= UniElec
1139 DEVICE_MODEL
:= U7621-06
1140 DEVICE_VARIANT
:= 16M
1141 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1142 SUPPORTED_DEVICES
+= u7621-06-256M-16M unielec
,u7621-06-256m-16m
1144 TARGET_DEVICES
+= unielec_u7621-06-16m
1146 define Device
/unielec_u7621-06-64m
1147 $(Device
/dsa-migration
)
1148 $(Device
/uimage-lzma-loader
)
1149 IMAGE_SIZE
:= 65216k
1150 DEVICE_VENDOR
:= UniElec
1151 DEVICE_MODEL
:= U7621-06
1152 DEVICE_VARIANT
:= 64M
1153 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1154 SUPPORTED_DEVICES
+= unielec
,u7621-06-512m-64m
1156 TARGET_DEVICES
+= unielec_u7621-06-64m
1158 define Device
/wavlink_wl-wn531a6
1159 $(Device
/dsa-migration
)
1160 DEVICE_VENDOR
:= Wavlink
1161 DEVICE_MODEL
:= WL-WN531A6
1162 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-usb3
1163 IMAGE_SIZE
:= 15040k
1165 TARGET_DEVICES
+= wavlink_wl-wn531a6
1167 define Device
/wevo_11acnas
1168 $(Device
/dsa-migration
)
1169 IMAGE_SIZE
:= 16064k
1170 UIMAGE_NAME
:= 11AC-NAS-Router
(0.0.0)
1171 DEVICE_VENDOR
:= WeVO
1172 DEVICE_MODEL
:= 11AC NAS Router
1173 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1174 kmod-usb-ledtrig-usbport
1175 SUPPORTED_DEVICES
+= 11acnas
1177 TARGET_DEVICES
+= wevo_11acnas
1179 define Device
/wevo_w2914ns-v2
1180 $(Device
/dsa-migration
)
1181 IMAGE_SIZE
:= 16064k
1182 UIMAGE_NAME
:= W2914NS-V2
(0.0.0)
1183 DEVICE_VENDOR
:= WeVO
1184 DEVICE_MODEL
:= W2914NS
1185 DEVICE_VARIANT
:= v2
1186 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1187 kmod-usb-ledtrig-usbport
1188 SUPPORTED_DEVICES
+= w2914nsv2
1190 TARGET_DEVICES
+= wevo_w2914ns-v2
1192 define Device
/winstars_ws-wn583a6
1193 $(Device
/dsa-migration
)
1194 $(Device
/uimage-lzma-loader
)
1196 DEVICE_VENDOR
:= Winstars
1197 DEVICE_MODEL
:= WS-WN583A6
1198 DEVICE_ALT0_VENDOR
:= Gemeita
1199 DEVICE_ALT0_MODEL
:= AC2100
1200 KERNEL_INITRAMFS_SUFFIX
:= -WN583A6
$$(KERNEL_SUFFIX
)
1201 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1203 TARGET_DEVICES
+= winstars_ws-wn583a6
1205 define Device
/xiaomi-ac2100
1206 $(Device
/dsa-migration
)
1207 $(Device
/uimage-lzma-loader
)
1210 KERNEL_SIZE
:= 4096k
1211 IMAGE_SIZE
:= 120320k
1212 UBINIZE_OPTS
:= -E
5
1213 IMAGES
+= kernel1.bin rootfs0.bin
1214 IMAGE
/kernel1.bin
:= append-kernel
1215 IMAGE
/rootfs0.bin
:= append-ubi | check-size
1216 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1217 DEVICE_VENDOR
:= Xiaomi
1218 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware \
1222 define Device
/xiaomi_mi-router-3g
1223 $(Device
/dsa-migration
)
1224 $(Device
/uimage-lzma-loader
)
1227 KERNEL_SIZE
:= 4096k
1228 IMAGE_SIZE
:= 124416k
1229 UBINIZE_OPTS
:= -E
5
1230 IMAGES
+= kernel1.bin rootfs0.bin
1231 IMAGE
/kernel1.bin
:= append-kernel
1232 IMAGE
/rootfs0.bin
:= append-ubi | check-size
1233 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1234 DEVICE_VENDOR
:= Xiaomi
1235 DEVICE_MODEL
:= Mi Router
3G
1236 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1237 kmod-usb-ledtrig-usbport uboot-envtools
1238 SUPPORTED_DEVICES
+= R3G mir3g xiaomi
,mir3g
1240 TARGET_DEVICES
+= xiaomi_mi-router-3g
1242 define Device
/xiaomi_mi-router-3g-v2
1243 $(Device
/dsa-migration
)
1244 $(Device
/uimage-lzma-loader
)
1245 IMAGE_SIZE
:= 14848k
1246 DEVICE_VENDOR
:= Xiaomi
1247 DEVICE_MODEL
:= Mi Router
3G
1248 DEVICE_VARIANT
:= v2
1249 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1250 SUPPORTED_DEVICES
+= xiaomi
,mir3g-v2
1252 TARGET_DEVICES
+= xiaomi_mi-router-3g-v2
1254 define Device
/xiaomi_mi-router-3-pro
1255 $(Device
/dsa-migration
)
1256 $(Device
/uimage-lzma-loader
)
1260 UBINIZE_OPTS
:= -E
5
1261 IMAGE_SIZE
:= 255488k
1262 DEVICE_VENDOR
:= Xiaomi
1263 DEVICE_MODEL
:= Mi Router
3 Pro
1264 IMAGES
+= factory.bin
1265 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1266 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
1268 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
1269 kmod-usb-ledtrig-usbport uboot-envtools
1270 SUPPORTED_DEVICES
+= xiaomi
,mir3p
1272 TARGET_DEVICES
+= xiaomi_mi-router-3-pro
1274 define Device
/xiaomi_mi-router-4a-gigabit
1275 $(Device
/dsa-migration
)
1276 $(Device
/uimage-lzma-loader
)
1277 IMAGE_SIZE
:= 14848k
1278 DEVICE_VENDOR
:= Xiaomi
1279 DEVICE_MODEL
:= Mi Router
4A
1280 DEVICE_VARIANT
:= Gigabit Edition
1281 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1283 TARGET_DEVICES
+= xiaomi_mi-router-4a-gigabit
1285 define Device
/xiaomi_mi-router-ac2100
1286 $(Device
/xiaomi-ac2100
)
1287 DEVICE_MODEL
:= Mi Router AC2100
1289 TARGET_DEVICES
+= xiaomi_mi-router-ac2100
1291 define Device
/xiaomi_redmi-router-ac2100
1292 $(Device
/xiaomi-ac2100
)
1293 DEVICE_MODEL
:= Redmi Router AC2100
1295 TARGET_DEVICES
+= xiaomi_redmi-router-ac2100
1297 define Device
/xiaoyu_xy-c5
1298 $(Device
/dsa-migration
)
1299 IMAGE_SIZE
:= 32448k
1300 DEVICE_VENDOR
:= XiaoYu
1301 DEVICE_MODEL
:= XY-C5
1302 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3
-wpad-basic-wolfssl
1304 TARGET_DEVICES
+= xiaoyu_xy-c5
1306 define Device
/xzwifi_creativebox-v1
1307 $(Device
/dsa-migration
)
1308 IMAGE_SIZE
:= 32448k
1309 DEVICE_VENDOR
:= CreativeBox
1311 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
1312 kmod-usb3
-wpad-basic-wolfssl
1314 TARGET_DEVICES
+= xzwifi_creativebox-v1
1316 define Device
/youhua_wr1200js
1317 $(Device
/dsa-migration
)
1318 IMAGE_SIZE
:= 16064k
1319 DEVICE_VENDOR
:= YouHua
1320 DEVICE_MODEL
:= WR1200JS
1321 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1322 kmod-usb-ledtrig-usbport
1324 TARGET_DEVICES
+= youhua_wr1200js
1326 define Device
/youku_yk-l2
1327 $(Device
/dsa-migration
)
1328 IMAGE_SIZE
:= 16064k
1329 DEVICE_VENDOR
:= Youku
1330 DEVICE_MODEL
:= YK-L2
1331 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1332 kmod-usb-ledtrig-usbport
1334 TARGET_DEVICES
+= youku_yk-l2
1336 define Device
/zbtlink_zbt-we1326
1337 $(Device
/dsa-migration
)
1338 IMAGE_SIZE
:= 16064k
1339 DEVICE_VENDOR
:= Zbtlink
1340 DEVICE_MODEL
:= ZBT-WE1326
1341 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620
1342 SUPPORTED_DEVICES
+= zbt-we1326
1344 TARGET_DEVICES
+= zbtlink_zbt-we1326
1346 define Device
/zbtlink_zbt-we3526
1347 $(Device
/dsa-migration
)
1348 IMAGE_SIZE
:= 16064k
1349 DEVICE_VENDOR
:= Zbtlink
1350 DEVICE_MODEL
:= ZBT-WE3526
1351 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1352 kmod-usb-ledtrig-usbport
1354 TARGET_DEVICES
+= zbtlink_zbt-we3526
1356 define Device
/zbtlink_zbt-wg2626
1357 $(Device
/dsa-migration
)
1358 IMAGE_SIZE
:= 16064k
1359 DEVICE_VENDOR
:= Zbtlink
1360 DEVICE_MODEL
:= ZBT-WG2626
1361 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
1362 kmod-usb-ledtrig-usbport
1363 SUPPORTED_DEVICES
+= zbt-wg2626
1365 TARGET_DEVICES
+= zbtlink_zbt-wg2626
1367 define Device
/zbtlink_zbt-wg3526-16m
1368 $(Device
/dsa-migration
)
1369 $(Device
/uimage-lzma-loader
)
1370 IMAGE_SIZE
:= 16064k
1371 DEVICE_VENDOR
:= Zbtlink
1372 DEVICE_MODEL
:= ZBT-WG3526
1373 DEVICE_VARIANT
:= 16M
1374 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1375 kmod-usb3 kmod-usb-ledtrig-usbport
1376 SUPPORTED_DEVICES
+= zbt-wg3526 zbt-wg3526-16M
1378 TARGET_DEVICES
+= zbtlink_zbt-wg3526-16m
1380 define Device
/zbtlink_zbt-wg3526-32m
1381 $(Device
/dsa-migration
)
1382 $(Device
/uimage-lzma-loader
)
1383 IMAGE_SIZE
:= 32448k
1384 DEVICE_VENDOR
:= Zbtlink
1385 DEVICE_MODEL
:= ZBT-WG3526
1386 DEVICE_VARIANT
:= 32M
1387 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1388 kmod-usb3 kmod-usb-ledtrig-usbport
1389 SUPPORTED_DEVICES
+= ac1200pro zbt-wg3526-32M
1391 TARGET_DEVICES
+= zbtlink_zbt-wg3526-32m
1393 define Device
/zio_freezio
1394 $(Device
/dsa-migration
)
1395 IMAGE_SIZE
:= 16064k
1396 DEVICE_VENDOR
:= ZIO
1397 DEVICE_MODEL
:= FREEZIO
1398 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1399 kmod-usb-ledtrig-usbport
1401 TARGET_DEVICES
+= zio_freezio
1403 define Device
/zyxel_wap6805
1404 $(Device
/dsa-migration
)
1407 KERNEL_SIZE
:= 4096k
1408 UBINIZE_OPTS
:= -E
5
1409 IMAGE_SIZE
:= 32448k
1410 DEVICE_VENDOR
:= ZyXEL
1411 DEVICE_MODEL
:= WAP6805
1412 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7621-qtn-rgmii
1413 KERNEL
:= $(KERNEL_DTB
) | uImage lzma | uimage-padhdr
160
1414 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1416 TARGET_DEVICES
+= zyxel_wap6805