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 $(MKHASH
) md5
$(hash_opt
) $@
>> $@
18 echo
-n
"ELECOM $(product) v$(version)" | \
19 dd bs
=32 count
=1 conv
=sync
; \
25 define Build
/gemtek-trailer
26 printf
"%s%08X" ".GEMTEK." "$$(cksum $@ | cut -d ' ' -f1)" >> $@
29 define Build
/iodata-factory
30 $(eval fw_size
=$(word 1,$(1)))
31 $(eval fw_type
=$(word 2,$(1)))
32 $(eval product
=$(word 3,$(1)))
33 $(eval factory_bin
=$(word 4,$(1)))
34 if
[ -e
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) -a
"$$(stat -c%s $@)" -lt
"$(fw_size)" ]; then \
35 $(CP
) $(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) $(factory_bin
); \
36 $(STAGING_DIR_HOST
)/bin
/mksenaofw \
37 -r
0x30a -p
$(product
) -t
$(fw_type
) \
38 -e
$(factory_bin
) -o
$(factory_bin
).new
; \
39 mv
$(factory_bin
).new
$(factory_bin
); \
40 $(CP
) $(factory_bin
) $(BIN_DIR
)/; \
42 echo
"WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
46 define Build
/iodata-mstc-header
48 data_size_crc
="$$(dd if=$@ ibs=64 skip=1 2>/dev/null | gzip -c | \
49 tail -c 8 | od -An -tx8 --endian little | tr -d ' \n')"; \
50 echo
-ne
"$$(echo $$data_size_crc | sed 's/../\\x&/g')" | \
51 dd of
=$@ bs
=8 count
=1 seek
=7 conv
=notrunc
2>/dev
/null
; \
53 dd if
=/dev
/zero of
=$@ bs
=4 count
=1 seek
=1 conv
=notrunc
2>/dev
/null
55 header_crc
="$$(dd if=$@ bs=64 count=1 2>/dev/null | gzip -c | \
56 tail -c 8 | od -An -N4 -tx4 --endian little | tr -d ' \n')"; \
57 echo
-ne
"$$(echo $$header_crc | sed 's/../\\x&/g')" | \
58 dd of
=$@ bs
=4 count
=1 seek
=1 conv
=notrunc
2>/dev
/null
; \
62 define Build
/ubnt-erx-factory-image
63 if
[ -e
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) -a
"$$(stat -c%s $@)" -lt
"$(KERNEL_SIZE)" ]; then \
64 echo
'21001:7' > $(1).compat
; \
65 $(TAR
) -cf
$(1) --transform
='s/^.*/compat/' $(1).compat
; \
67 $(TAR
) -rf
$(1) --transform
='s/^.*/vmlinux.tmp/' $(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
); \
68 $(MKHASH
) md5
$(KDIR
)/tmp
/$(KERNEL_INITRAMFS_IMAGE
) > $(1).md5
; \
69 $(TAR
) -rf
$(1) --transform
='s/^.*/vmlinux.tmp.md5/' $(1).md5
; \
71 echo
"dummy" > $(1).rootfs
; \
72 $(TAR
) -rf
$(1) --transform
='s/^.*/squashfs.tmp/' $(1).rootfs
; \
74 $(MKHASH
) md5
$(1).rootfs
> $(1).md5
; \
75 $(TAR
) -rf
$(1) --transform
='s/^.*/squashfs.tmp.md5/' $(1).md5
; \
77 echo
'$(BOARD) $(VERSION_CODE) $(VERSION_NUMBER)' > $(1).version
; \
78 $(TAR
) -rf
$(1) --transform
='s/^.*/version.tmp/' $(1).version
; \
80 $(CP
) $(1) $(BIN_DIR
)/; \
82 echo
"WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
86 define Build
/zytrx-header
87 $(eval board
=$(word 1,$(1)))
88 $(eval version
=$(word 2,$(1)))
89 $(STAGING_DIR_HOST
)/bin
/zytrx
-B
'$(board)' -v
'$(version)' -i
$@
-o
$@.new
93 define Device
/dsa-migration
94 DEVICE_COMPAT_VERSION
:= 1.1
95 DEVICE_COMPAT_MESSAGE
:= Config cannot be migrated from swconfig to DSA
98 define Device
/adslr_g7
99 $(Device
/dsa-migration
)
101 DEVICE_VENDOR
:= ADSLR
103 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
105 TARGET_DEVICES
+= adslr_g7
107 define Device
/afoundry_ew1200
108 $(Device
/dsa-migration
)
110 DEVICE_VENDOR
:= AFOUNDRY
111 DEVICE_MODEL
:= EW1200
112 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \
113 kmod-usb-ledtrig-usbport
114 SUPPORTED_DEVICES
+= ew1200
116 TARGET_DEVICES
+= afoundry_ew1200
118 define Device
/alfa-network_quad-e4g
119 $(Device
/dsa-migration
)
121 DEVICE_VENDOR
:= ALFA Network
122 DEVICE_MODEL
:= Quad-E4G
123 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 uboot-envtools \
125 SUPPORTED_DEVICES
+= quad-e4g
127 TARGET_DEVICES
+= alfa-network_quad-e4g
129 define Device
/ampedwireless_ally_common
130 $(Device
/dsa-migration
)
131 DEVICE_VENDOR
:= Amped Wireless
132 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware uboot-envtools
138 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma
-n
'flashable-initramfs' |\
139 edimax-header
-s CSYS
-m RN68
-f
0x001c0000 -S
0x01100000
140 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
143 define Device
/ampedwireless_ally-r1900k
144 $(Device
/ampedwireless_ally_common
)
145 DEVICE_MODEL
:= ALLY-R1900K
146 DEVICE_PACKAGES
+= kmod-usb3
148 TARGET_DEVICES
+= ampedwireless_ally-r1900k
150 define Device
/ampedwireless_ally-00x19k
151 $(Device
/ampedwireless_ally_common
)
152 DEVICE_MODEL
:= ALLY-00X19K
154 TARGET_DEVICES
+= ampedwireless_ally-00x19k
156 define Device
/asiarf_ap7621-001
157 $(Device
/dsa-migration
)
159 DEVICE_VENDOR
:= AsiaRF
160 DEVICE_MODEL
:= AP7621-001
161 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3
-wpad-basic-wolfssl
163 TARGET_DEVICES
+= asiarf_ap7621-001
165 define Device
/asiarf_ap7621-nv1
166 $(Device
/dsa-migration
)
168 DEVICE_VENDOR
:= AsiaRF
169 DEVICE_MODEL
:= AP7621-NV1
170 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3
-wpad-basic-wolfssl
172 TARGET_DEVICES
+= asiarf_ap7621-nv1
174 define Device
/asus_rt-ac57u
175 $(Device
/dsa-migration
)
176 DEVICE_VENDOR
:= ASUS
177 DEVICE_MODEL
:= RT-AC57U
179 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
180 kmod-usb-ledtrig-usbport
182 TARGET_DEVICES
+= asus_rt-ac57u
184 define Device
/asus_rt-ac65p
185 $(Device
/dsa-migration
)
186 DEVICE_VENDOR
:= ASUS
187 DEVICE_MODEL
:= RT-AC65P
193 IMAGES
+= factory.bin
194 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
195 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
197 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
199 TARGET_DEVICES
+= asus_rt-ac65p
201 define Device
/asus_rt-ac85p
202 $(Device
/dsa-migration
)
203 DEVICE_VENDOR
:= ASUS
204 DEVICE_MODEL
:= RT-AC85P
210 IMAGES
+= factory.bin
211 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
212 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
214 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
216 TARGET_DEVICES
+= asus_rt-ac85p
218 define Device
/asus_rt-n56u-b1
219 $(Device
/dsa-migration
)
220 DEVICE_VENDOR
:= ASUS
221 DEVICE_MODEL
:= RT-N56U
224 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
225 kmod-usb-ledtrig-usbport
227 TARGET_DEVICES
+= asus_rt-n56u-b1
229 define Device
/buffalo_wsr-1166dhp
230 $(Device
/dsa-migration
)
231 $(Device
/uimage-lzma-loader
)
232 IMAGE
/sysupgrade.bin
:= trx | pad-rootfs | append-metadata
234 DEVICE_VENDOR
:= Buffalo
235 DEVICE_MODEL
:= WSR-1166DHP
236 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
237 SUPPORTED_DEVICES
+= wsr-1166
239 TARGET_DEVICES
+= buffalo_wsr-1166dhp
241 define Device
/buffalo_wsr-2533dhpl
242 $(Device
/dsa-migration
)
243 $(Device
/uimage-lzma-loader
)
245 DEVICE_VENDOR
:= Buffalo
246 DEVICE_MODEL
:= WSR-2533DHPL
247 DEVICE_ALT0_VENDOR
:= Buffalo
248 DEVICE_ALT0_MODEL
:= WSR-2533DHP
249 IMAGE
/sysupgrade.bin
:= trx | pad-rootfs | append-metadata
250 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
252 TARGET_DEVICES
+= buffalo_wsr-2533dhpl
254 define Device
/buffalo_wsr-600dhp
255 $(Device
/dsa-migration
)
257 DEVICE_VENDOR
:= Buffalo
258 DEVICE_MODEL
:= WSR-600DHP
259 DEVICE_PACKAGES
:= kmod-mt7603 kmod-rt2800-pci
260 SUPPORTED_DEVICES
+= wsr-600
262 TARGET_DEVICES
+= buffalo_wsr-600dhp
264 define Device
/cudy_wr1300
265 $(Device
/dsa-migration
)
267 DEVICE_VENDOR
:= Cudy
268 DEVICE_MODEL
:= WR1300
269 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb2 kmod-usb3 \
270 kmod-usb-ledtrig-usbport
272 TARGET_DEVICES
+= cudy_wr1300
274 define Device
/cudy_wr2100
275 $(Device
/dsa-migration
)
276 DEVICE_VENDOR
:= Cudy
277 DEVICE_MODEL
:= WR2100
280 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
282 TARGET_DEVICES
+= cudy_wr2100
284 define Device
/dlink_dir-8xx-a1
285 $(Device
/dsa-migration
)
287 DEVICE_VENDOR
:= D-Link
288 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
289 KERNEL
:= $$(KERNEL
) | uimage-sgehdr
290 IMAGES
+= factory.bin
291 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
292 check-size | append-metadata
293 IMAGE
/factory.bin
:= append-kernel | append-rootfs | check-size
296 define Device
/dlink_dir-8xx-r1
297 $(Device
/dsa-migration
)
299 DEVICE_VENDOR
:= D-Link
300 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
301 KERNEL_INITRAMFS
:= $$(KERNEL
)
302 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
303 check-size | append-metadata
306 define Device
/dlink_dir-xx60-a1
307 $(Device
/dsa-migration
)
313 DEVICE_VENDOR
:= D-Link
314 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
315 kmod-usb-ledtrig-usbport
316 KERNEL
:= $$(KERNEL
) | uimage-sgehdr
317 IMAGES
+= factory.bin
318 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
319 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
323 define Device
/dlink_dir-1960-a1
324 $(Device
/dlink_dir-xx60-a1
)
325 DEVICE_MODEL
:= DIR-1960
328 TARGET_DEVICES
+= dlink_dir-1960-a1
330 define Device
/dlink_dir-2640-a1
331 $(Device
/dlink_dir-xx60-a1
)
332 DEVICE_MODEL
:= DIR-2640
335 TARGET_DEVICES
+= dlink_dir-2640-a1
337 define Device
/dlink_dir-2660-a1
338 $(Device
/dlink_dir-xx60-a1
)
339 DEVICE_MODEL
:= DIR-2660
342 TARGET_DEVICES
+= dlink_dir-2660-a1
344 define Device
/dlink_dir-853-a3
345 $(Device
/dlink_dir-xx60-a1
)
346 DEVICE_MODEL
:= DIR-853
349 TARGET_DEVICES
+= dlink_dir-853-a3
351 define Device
/dlink_dir-853-r1
352 $(Device
/dlink_dir-8xx-r1
)
353 DEVICE_MODEL
:= DIR-853
355 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
357 TARGET_DEVICES
+= dlink_dir-853-r1
359 define Device
/dlink_dir-860l-b1
360 $(Device
/dsa-migration
)
362 SEAMA_SIGNATURE
:= wrgac13_dlink
.2013gui_dir860lb
364 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \
365 lzma
-a0 | uImage lzma
367 DEVICE_VENDOR
:= D-Link
368 DEVICE_MODEL
:= DIR-860L
370 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
371 SUPPORTED_DEVICES
+= dir-860l-b1
373 TARGET_DEVICES
+= dlink_dir-860l-b1
375 define Device
/dlink_dir-867-a1
376 $(Device
/dlink_dir-8xx-a1
)
377 DEVICE_MODEL
:= DIR-867
380 TARGET_DEVICES
+= dlink_dir-867-a1
382 define Device
/dlink_dir-878-a1
383 $(Device
/dlink_dir-8xx-a1
)
384 DEVICE_MODEL
:= DIR-878
387 TARGET_DEVICES
+= dlink_dir-878-a1
389 define Device
/dlink_dir-882-a1
390 $(Device
/dlink_dir-8xx-a1
)
391 DEVICE_MODEL
:= DIR-882
393 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
395 TARGET_DEVICES
+= dlink_dir-882-a1
397 define Device
/dlink_dir-882-r1
398 $(Device
/dlink_dir-8xx-r1
)
399 DEVICE_MODEL
:= DIR-882
401 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
402 IMAGES
+= factory.bin
403 IMAGE
/factory.bin
:= append-kernel | append-rootfs | check-size | \
404 sign-dlink-ru
57c5375741c30ca9ebcb36713db4ba51 \
405 ab0dff19af8842cdb70a86b4b68d23f7
407 TARGET_DEVICES
+= dlink_dir-882-r1
409 define Device
/d-team_newifi-d2
410 $(Device
/dsa-migration
)
411 $(Device
/uimage-lzma-loader
)
413 DEVICE_VENDOR
:= Newifi
415 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
416 kmod-usb-ledtrig-usbport
418 TARGET_DEVICES
+= d-team_newifi-d2
420 define Device
/d-team_pbr-m1
421 $(Device
/dsa-migration
)
423 DEVICE_VENDOR
:= PandoraBox
424 DEVICE_MODEL
:= PBR-M1
425 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
426 kmod-usb3 kmod-usb-ledtrig-usbport
427 SUPPORTED_DEVICES
+= pbr-m1
429 TARGET_DEVICES
+= d-team_pbr-m1
431 define Device
/edimax_ra21s
432 $(Device
/dsa-migration
)
433 $(Device
/uimage-lzma-loader
)
435 DEVICE_VENDOR
:= Edimax
436 DEVICE_MODEL
:= RA21S
437 DEVICE_ALT0_VENDOR
:= Edimax
438 DEVICE_ALT0_MODEL
:= Gemini RA21S
439 IMAGES
+= factory.bin
440 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
441 elx-header
02020040 8844A2D168B45A2D
442 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
444 TARGET_DEVICES
+= edimax_ra21s
446 define Device
/edimax_re23s
447 $(Device
/dsa-migration
)
448 $(Device
/uimage-lzma-loader
)
450 DEVICE_VENDOR
:= Edimax
451 DEVICE_MODEL
:= RE23S
452 DEVICE_ALT0_VENDOR
:= Edimax
453 DEVICE_ALT0_MODEL
:= Gemini RE23S
454 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
455 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
456 check-size | append-metadata
457 IMAGES
+= factory.bin
458 IMAGE
/factory.bin
:= append-kernel | append-rootfs | \
459 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
461 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
463 TARGET_DEVICES
+= edimax_re23s
465 define Device
/edimax_rg21s
466 $(Device
/dsa-migration
)
467 $(Device
/uimage-lzma-loader
)
469 DEVICE_VENDOR
:= Edimax
470 DEVICE_MODEL
:= Gemini AC2600 RG21S
471 IMAGES
+= factory.bin
472 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
473 elx-header
02020038 8844A2D168B45A2D
474 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
476 TARGET_DEVICES
+= edimax_rg21s
478 define Device
/elecom_wrc-1167ghbk2-s
479 $(Device
/dsa-migration
)
481 DEVICE_VENDOR
:= ELECOM
482 DEVICE_MODEL
:= WRC-1167GHBK2-S
483 IMAGES
+= factory.bin
484 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
485 elecom-wrc-gs-factory WRC-1167GHBK2-S
0.00
486 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
488 TARGET_DEVICES
+= elecom_wrc-1167ghbk2-s
490 define Device
/elecom_wrc-gs
491 $(Device
/dsa-migration
)
492 $(Device
/uimage-lzma-loader
)
493 DEVICE_VENDOR
:= ELECOM
494 IMAGES
+= factory.bin
495 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
496 elecom-wrc-gs-factory
$$$$(ELECOM_HWNAME
) 0.00 -N | \
497 append-string MT7621_ELECOM_
$$$$(ELECOM_HWNAME
)
498 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
501 define Device
/elecom_wrc-1167gs2-b
502 $(Device
/elecom_wrc-gs
)
504 DEVICE_MODEL
:= WRC-1167GS2-B
505 ELECOM_HWNAME
:= WRC-1167GS2
507 TARGET_DEVICES
+= elecom_wrc-1167gs2-b
509 define Device
/elecom_wrc-1167gst2
510 $(Device
/elecom_wrc-gs
)
512 DEVICE_MODEL
:= WRC-1167GST2
513 ELECOM_HWNAME
:= WRC-1167GST2
515 TARGET_DEVICES
+= elecom_wrc-1167gst2
517 define Device
/elecom_wrc-1750gs
518 $(Device
/elecom_wrc-gs
)
520 DEVICE_MODEL
:= WRC-1750GS
521 ELECOM_HWNAME
:= WRC-1750GS
523 TARGET_DEVICES
+= elecom_wrc-1750gs
525 define Device
/elecom_wrc-1750gst2
526 $(Device
/elecom_wrc-gs
)
528 DEVICE_MODEL
:= WRC-1750GST2
529 ELECOM_HWNAME
:= WRC-1750GST2
531 TARGET_DEVICES
+= elecom_wrc-1750gst2
533 define Device
/elecom_wrc-1750gsv
534 $(Device
/elecom_wrc-gs
)
536 DEVICE_MODEL
:= WRC-1750GSV
537 ELECOM_HWNAME
:= WRC-1750GSV
539 TARGET_DEVICES
+= elecom_wrc-1750gsv
541 define Device
/elecom_wrc-1900gst
542 $(Device
/elecom_wrc-gs
)
544 DEVICE_MODEL
:= WRC-1900GST
545 ELECOM_HWNAME
:= WRC-1900GST
547 TARGET_DEVICES
+= elecom_wrc-1900gst
549 define Device
/elecom_wrc-2533ghbk-i
550 $(Device
/dsa-migration
)
551 $(Device
/uimage-lzma-loader
)
552 DEVICE_VENDOR
:= ELECOM
553 DEVICE_MODEL
:= WRC-2533GHBK-I
555 IMAGES
+= factory.bin
556 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
557 elx-header
0107002d
8844A2D168B45A2D | \
558 elecom-product-header WRC-2533GHBK-I
559 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
561 TARGET_DEVICES
+= elecom_wrc-2533ghbk-i
563 define Device
/elecom_wrc-2533gst
564 $(Device
/elecom_wrc-gs
)
566 DEVICE_MODEL
:= WRC-2533GST
567 ELECOM_HWNAME
:= WRC-2533GST
569 TARGET_DEVICES
+= elecom_wrc-2533gst
571 define Device
/elecom_wrc-2533gst2
572 $(Device
/elecom_wrc-gs
)
574 DEVICE_MODEL
:= WRC-2533GST2
575 ELECOM_HWNAME
:= WRC-2533GST2
577 TARGET_DEVICES
+= elecom_wrc-2533gst2
579 define Device
/firefly_firewrt
580 $(Device
/dsa-migration
)
582 DEVICE_VENDOR
:= Firefly
583 DEVICE_MODEL
:= FireWRT
584 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
585 SUPPORTED_DEVICES
+= firewrt
587 TARGET_DEVICES
+= firefly_firewrt
589 define Device
/gehua_ghl-r-001
590 $(Device
/dsa-migration
)
592 DEVICE_VENDOR
:= GeHua
593 DEVICE_MODEL
:= GHL-R-001
594 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
595 kmod-usb-ledtrig-usbport
597 TARGET_DEVICES
+= gehua_ghl-r-001
599 define Device
/glinet_gl-mt1300
600 $(Device
/dsa-migration
)
602 DEVICE_VENDOR
:= GL.iNet
603 DEVICE_MODEL
:= GL-MT1300
604 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
606 TARGET_DEVICES
+= glinet_gl-mt1300
608 define Device
/gnubee_gb-pc1
609 $(Device
/dsa-migration
)
610 DEVICE_VENDOR
:= GnuBee
611 DEVICE_MODEL
:= Personal Cloud One
612 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
615 TARGET_DEVICES
+= gnubee_gb-pc1
617 define Device
/gnubee_gb-pc2
618 $(Device
/dsa-migration
)
619 DEVICE_VENDOR
:= GnuBee
620 DEVICE_MODEL
:= Personal Cloud Two
621 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
624 TARGET_DEVICES
+= gnubee_gb-pc2
626 define Device
/hiwifi_hc5962
627 $(Device
/dsa-migration
)
633 IMAGES
+= factory.bin
634 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
635 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
637 DEVICE_VENDOR
:= HiWiFi
638 DEVICE_MODEL
:= HC5962
639 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3
641 TARGET_DEVICES
+= hiwifi_hc5962
643 define Device
/iodata_wn-ax1167gr
644 $(Device
/dsa-migration
)
645 $(Device
/uimage-lzma-loader
)
647 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
648 iodata-factory
7864320 4 0x1055 $(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.bin
649 DEVICE_VENDOR
:= I-O DATA
650 DEVICE_MODEL
:= WN-AX1167GR
651 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
653 TARGET_DEVICES
+= iodata_wn-ax1167gr
655 define Device
/iodata_nand
656 $(Device
/dsa-migration
)
657 DEVICE_VENDOR
:= I-O DATA
664 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | lzma | uImage lzma
665 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
668 # The OEM webinterface expects an kernel with initramfs which has the uImage
669 # header field ih_name.
670 # We don't want to set the header name field for the kernel include in the
671 # sysupgrade image as well, as this image shouldn't be accepted by the OEM
672 # webinterface. It will soft-brick the board.
674 define Device
/iodata_wn-ax1167gr2
675 $(Device
/iodata_nand
)
676 DEVICE_MODEL
:= WN-AX1167GR2
677 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
678 uImage lzma
-M
0x434f4d42 -n
'3.10(XBC.1)b10' | iodata-mstc-header
679 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
681 TARGET_DEVICES
+= iodata_wn-ax1167gr2
683 define Device
/iodata_wn-ax2033gr
684 $(Device
/iodata_nand
)
685 DEVICE_MODEL
:= WN-AX2033GR
686 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
687 uImage lzma
-M
0x434f4d42 -n
'3.10(VST.1)C10' | iodata-mstc-header
688 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
690 TARGET_DEVICES
+= iodata_wn-ax2033gr
692 define Device
/iodata_wn-dx1167r
693 $(Device
/iodata_nand
)
694 DEVICE_MODEL
:= WN-DX1167R
695 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
696 uImage lzma
-M
0x434f4d43 -n
'3.10(XIK.1)b10' | iodata-mstc-header
697 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
699 TARGET_DEVICES
+= iodata_wn-dx1167r
701 define Device
/iodata_wn-dx1200gr
702 $(Device
/iodata_nand
)
703 DEVICE_MODEL
:= WN-DX1200GR
704 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
705 uImage lzma
-M
0x434f4d43 -n
'3.10(XIQ.0)b20' | iodata-mstc-header
706 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
708 TARGET_DEVICES
+= iodata_wn-dx1200gr
710 define Device
/iodata_wn-dx2033gr
711 $(Device
/iodata_nand
)
712 DEVICE_MODEL
:= WN-DX2033GR
713 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
714 uImage lzma
-M
0x434f4d42 -n
'3.10(XID.0)b30' | iodata-mstc-header
715 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
717 TARGET_DEVICES
+= iodata_wn-dx2033gr
719 define Device
/iodata_wn-gx300gr
720 $(Device
/dsa-migration
)
721 $(Device
/uimage-lzma-loader
)
723 DEVICE_VENDOR
:= I-O DATA
724 DEVICE_MODEL
:= WN-GX300GR
725 DEVICE_PACKAGES
:= kmod-mt7603
727 TARGET_DEVICES
+= iodata_wn-gx300gr
729 define Device
/iodata_wnpr2600g
730 $(Device
/dsa-migration
)
731 $(Device
/uimage-lzma-loader
)
732 DEVICE_VENDOR
:= I-O DATA
733 DEVICE_MODEL
:= WNPR2600G
735 IMAGES
+= factory.bin
736 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
737 elx-header
0104003a
8844A2D168B45A2D
738 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
740 TARGET_DEVICES
+= iodata_wnpr2600g
742 define Device
/iptime_a6ns-m
743 $(Device
/dsa-migration
)
746 DEVICE_VENDOR
:= ipTIME
747 DEVICE_MODEL
:= A6ns-M
748 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
749 kmod-usb-ledtrig-usbport
751 TARGET_DEVICES
+= iptime_a6ns-m
753 define Device
/iptime_a8004t
754 $(Device
/dsa-migration
)
756 UIMAGE_NAME
:= a8004t
757 DEVICE_VENDOR
:= ipTIME
758 DEVICE_MODEL
:= A8004T
759 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
761 TARGET_DEVICES
+= iptime_a8004t
763 define Device
/jcg_jhr-ac876m
764 $(Device
/dsa-migration
)
766 IMAGES
+= factory.bin
767 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | jcg-header
89.1
768 JCG_MAXSIZE
:= 16064k
770 DEVICE_MODEL
:= JHR-AC876M
771 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
772 kmod-usb-ledtrig-usbport
774 TARGET_DEVICES
+= jcg_jhr-ac876m
776 define Device
/jcg_q20
777 $(Device
/dsa-migration
)
783 IMAGES
+= factory.bin
784 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
785 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
789 DEVICE_PACKAGES
:= kmod-mt7915e uboot-envtools
791 TARGET_DEVICES
+= jcg_q20
794 $(Device
/dsa-migration
)
795 $(Device
/uimage-lzma-loader
)
797 IMAGES
+= factory.bin
798 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | jcg-header
95.1
799 JCG_MAXSIZE
:= 16064k
802 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
804 TARGET_DEVICES
+= jcg_y2
806 define Device
/lenovo_newifi-d1
807 $(Device
/dsa-migration
)
808 $(Device
/uimage-lzma-loader
)
810 DEVICE_VENDOR
:= Newifi
812 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 \
813 kmod-usb-ledtrig-usbport
814 SUPPORTED_DEVICES
+= newifi-d1
816 TARGET_DEVICES
+= lenovo_newifi-d1
818 define Device
/linksys_e5600
819 $(Device
/dsa-migration
)
820 $(Device
/uimage-lzma-loader
)
825 DEVICE_VENDOR
:= Linksys
826 DEVICE_MODEL
:= E5600
827 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
828 kmod-mt7663-firmware-sta uboot-envtools
830 IMAGES
+= factory.bin
831 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | check-size | append-metadata
832 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
833 append-ubi | check-size | gemtek-trailer
835 TARGET_DEVICES
+= linksys_e5600
837 define Device
/linksys_ea7xxx
838 $(Device
/dsa-migration
)
839 $(Device
/uimage-lzma-loader
)
844 DEVICE_VENDOR
:= Linksys
845 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware \
848 IMAGES
:= sysupgrade.bin factory.bin
849 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | check-size | append-metadata
850 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
851 append-ubi | check-size | linksys-image type
=$$$$(LINKSYS_HWNAME
)
854 define Device
/linksys_ea7300-v1
855 $(Device
/linksys_ea7xxx
)
856 DEVICE_MODEL
:= EA7300
858 LINKSYS_HWNAME
:= EA7300
860 TARGET_DEVICES
+= linksys_ea7300-v1
862 define Device
/linksys_ea7300-v2
863 $(Device
/linksys_ea7xxx
)
864 DEVICE_MODEL
:= EA7300
866 LINKSYS_HWNAME
:= EA7300v2
867 DEVICE_PACKAGES
+= kmod-mt7603
869 TARGET_DEVICES
+= linksys_ea7300-v2
871 define Device
/linksys_ea7500-v2
872 $(Device
/linksys_ea7xxx
)
873 DEVICE_MODEL
:= EA7500
875 LINKSYS_HWNAME
:= EA7500v2
877 TARGET_DEVICES
+= linksys_ea7500-v2
879 define Device
/linksys_ea8100-v1
880 $(Device
/linksys_ea7xxx
)
881 DEVICE_MODEL
:= EA8100
883 LINKSYS_HWNAME
:= EA8100
885 TARGET_DEVICES
+= linksys_ea8100-v1
887 define Device
/linksys_ea8100-v2
888 $(Device
/linksys_ea7xxx
)
889 DEVICE_MODEL
:= EA8100
891 LINKSYS_HWNAME
:= EA8100v2
893 TARGET_DEVICES
+= linksys_ea8100-v2
895 define Device
/linksys_re6500
896 $(Device
/dsa-migration
)
898 DEVICE_VENDOR
:= Linksys
899 DEVICE_MODEL
:= RE6500
900 DEVICE_PACKAGES
:= kmod-mt76x2
901 SUPPORTED_DEVICES
+= re6500
903 TARGET_DEVICES
+= linksys_re6500
905 define Device
/mediatek_ap-mt7621a-v60
906 $(Device
/dsa-migration
)
908 DEVICE_VENDOR
:= Mediatek
909 DEVICE_MODEL
:= AP-MT7621A-V60 EVB
910 DEVICE_PACKAGES
:= kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620
-wpad-basic-wolfssl
912 TARGET_DEVICES
+= mediatek_ap-mt7621a-v60
914 define Device
/mediatek_mt7621-eval-board
915 $(Device
/dsa-migration
)
918 DEVICE_VENDOR
:= MediaTek
919 DEVICE_MODEL
:= MT7621 EVB
920 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
921 SUPPORTED_DEVICES
+= mt7621
923 TARGET_DEVICES
+= mediatek_mt7621-eval-board
925 define Device
/MikroTik
926 $(Device
/dsa-migration
)
927 DEVICE_VENDOR
:= MikroTik
930 DEVICE_PACKAGES
:= kmod-usb3
931 KERNEL_NAME
:= vmlinuz
932 KERNEL
:= kernel-bin | append-dtb-elf
933 IMAGE
/sysupgrade.bin
:= append-kernel | kernel2minor
-s
1024 | \
934 pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | \
938 define Device
/mikrotik_routerboard-750gr3
940 DEVICE_MODEL
:= RouterBOARD
750Gr3
941 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
942 SUPPORTED_DEVICES
+= mikrotik
,rb750gr3
944 TARGET_DEVICES
+= mikrotik_routerboard-750gr3
946 define Device
/mikrotik_routerboard-760igs
948 DEVICE_MODEL
:= RouterBOARD
760iGS
949 DEVICE_PACKAGES
+= kmod-sfp
-wpad-basic-wolfssl
951 TARGET_DEVICES
+= mikrotik_routerboard-760igs
953 define Device
/mikrotik_routerboard-m11g
955 DEVICE_MODEL
:= RouterBOARD M11G
956 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
957 SUPPORTED_DEVICES
+= mikrotik
,rbm11g
959 TARGET_DEVICES
+= mikrotik_routerboard-m11g
961 define Device
/mikrotik_routerboard-m33g
963 DEVICE_MODEL
:= RouterBOARD M33G
964 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
965 SUPPORTED_DEVICES
+= mikrotik
,rbm33g
967 TARGET_DEVICES
+= mikrotik_routerboard-m33g
969 define Device
/mqmaker_witi
970 $(Device
/dsa-migration
)
971 $(Device
/uimage-lzma-loader
)
973 DEVICE_VENDOR
:= MQmaker
975 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
976 kmod-usb-ledtrig-usbport
977 SUPPORTED_DEVICES
+= witi mqmaker
,witi-256m mqmaker
,witi-512m
979 TARGET_DEVICES
+= mqmaker_witi
981 define Device
/mtc_wr1201
982 $(Device
/dsa-migration
)
983 $(Device
/uimage-lzma-loader
)
986 DEVICE_MODEL
:= Wireless Router WR1201
987 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma
-n
'WR1201_8_128'
988 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
989 kmod-usb-ledtrig-usbport
991 TARGET_DEVICES
+= mtc_wr1201
993 define Device
/netgear_ex6150
994 $(Device
/dsa-migration
)
995 DEVICE_VENDOR
:= NETGEAR
996 DEVICE_MODEL
:= EX6150
997 DEVICE_PACKAGES
:= kmod-mt76x2
998 NETGEAR_BOARD_ID
:= U12H318T00_NETGEAR
1000 IMAGES
+= factory.chk
1001 IMAGE
/factory.chk
:= $$(sysupgrade_bin
) | check-size | netgear-chk
1003 TARGET_DEVICES
+= netgear_ex6150
1005 define Device
/netgear_sercomm_nand
1006 $(Device
/dsa-migration
)
1007 $(Device
/uimage-lzma-loader
)
1010 KERNEL_SIZE
:= 4096k
1011 UBINIZE_OPTS
:= -E
5
1012 IMAGES
+= factory.img kernel.bin rootfs.bin
1013 IMAGE
/factory.img
:= pad-extra
2048k | append-kernel | pad-to
6144k | \
1014 append-ubi | pad-to
$$$$(BLOCKSIZE
) | sercom-footer | pad-to
128 | \
1015 zip
$$$$(SERCOMM_HWNAME
).bin | sercom-seal
1016 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1017 IMAGE
/kernel.bin
:= append-kernel
1018 IMAGE
/rootfs.bin
:= append-ubi | check-size
1019 DEVICE_VENDOR
:= NETGEAR
1020 DEVICE_PACKAGES
:= kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport
1023 define Device
/netgear_r6220
1024 $(Device
/netgear_sercomm_nand
)
1025 DEVICE_MODEL
:= R6220
1026 SERCOMM_HWNAME
:= R6220
1028 SERCOMM_HWVER
:= A001
1029 SERCOMM_SWVER
:= 0x0086
1030 IMAGE_SIZE
:= 28672k
1031 DEVICE_PACKAGES
+= kmod-mt76x2
1032 SUPPORTED_DEVICES
+= r6220
1034 TARGET_DEVICES
+= netgear_r6220
1037 define Device
/netgear_r6260
1038 $(Device
/netgear_sercomm_nand
)
1039 DEVICE_MODEL
:= R6260
1040 SERCOMM_HWNAME
:= R6260
1042 SERCOMM_HWVER
:= A001
1043 SERCOMM_SWVER
:= 0x0052
1044 IMAGE_SIZE
:= 40960k
1045 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1047 TARGET_DEVICES
+= netgear_r6260
1049 define Device
/netgear_r6350
1050 $(Device
/netgear_sercomm_nand
)
1051 DEVICE_MODEL
:= R6350
1052 SERCOMM_HWNAME
:= R6350
1054 SERCOMM_HWVER
:= A001
1055 SERCOMM_SWVER
:= 0x0052
1056 IMAGE_SIZE
:= 40960k
1057 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1059 TARGET_DEVICES
+= netgear_r6350
1061 define Device
/netgear_r6700-v2
1062 $(Device
/netgear_sercomm_nand
)
1063 DEVICE_MODEL
:= R6700
1064 DEVICE_VARIANT
:= v2
1065 DEVICE_ALT0_VENDOR
:= NETGEAR
1066 DEVICE_ALT0_MODEL
:= Nighthawk AC2400
1067 DEVICE_ALT0_VARIANT
:= v1
1068 DEVICE_ALT1_VENDOR
:= NETGEAR
1069 DEVICE_ALT1_MODEL
:= R7200
1070 DEVICE_ALT1_VARIANT
:= v1
1071 SERCOMM_HWNAME
:= R6950
1073 SERCOMM_HWVER
:= A001
1074 SERCOMM_SWVER
:= 0x1032
1075 IMAGE_SIZE
:= 40960k
1076 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1078 TARGET_DEVICES
+= netgear_r6700-v2
1080 define Device
/netgear_r6800
1081 $(Device
/netgear_sercomm_nand
)
1082 DEVICE_MODEL
:= R6800
1083 SERCOMM_HWNAME
:= R6950
1085 SERCOMM_HWVER
:= A001
1086 SERCOMM_SWVER
:= 0x0062
1087 IMAGE_SIZE
:= 40960k
1088 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1090 TARGET_DEVICES
+= netgear_r6800
1092 define Device
/netgear_r6850
1093 $(Device
/netgear_sercomm_nand
)
1094 DEVICE_MODEL
:= R6850
1095 SERCOMM_HWNAME
:= R6850
1097 SERCOMM_HWVER
:= A001
1098 SERCOMM_SWVER
:= 0x0052
1099 IMAGE_SIZE
:= 40960k
1100 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1102 TARGET_DEVICES
+= netgear_r6850
1104 define Device
/netgear_wac104
1105 $(Device
/netgear_sercomm_nand
)
1106 DEVICE_MODEL
:= WAC104
1107 SERCOMM_HWNAME
:= WAC104
1109 SERCOMM_HWVER
:= A001
1110 SERCOMM_SWVER
:= 0x0006
1111 IMAGE_SIZE
:= 28672k
1112 DEVICE_PACKAGES
+= kmod-mt76x2
1114 TARGET_DEVICES
+= netgear_wac104
1116 define Device
/netgear_wac124
1117 $(Device
/netgear_sercomm_nand
)
1118 DEVICE_MODEL
:= WAC124
1119 SERCOMM_HWNAME
:= WAC124
1121 SERCOMM_HWVER
:= A003
1122 SERCOMM_SWVER
:= 0x0402
1123 IMAGE_SIZE
:= 40960k
1124 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1126 TARGET_DEVICES
+= netgear_wac124
1128 define Device
/netgear_wndr3700-v5
1129 $(Device
/dsa-migration
)
1130 $(Device
/netgear_sercomm_nor
)
1131 $(Device
/uimage-lzma-loader
)
1132 IMAGE_SIZE
:= 15232k
1133 DEVICE_MODEL
:= WNDR3700
1134 DEVICE_VARIANT
:= v5
1135 SERCOMM_HWNAME
:= WNDR3700v5
1137 SERCOMM_HWVER
:= A001
1138 SERCOMM_SWVER
:= 0x1054
1140 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1141 kmod-usb-ledtrig-usbport
1142 SUPPORTED_DEVICES
+= wndr3700v5
1144 TARGET_DEVICES
+= netgear_wndr3700-v5
1146 define Device
/netis_wf2881
1147 $(Device
/dsa-migration
)
1150 FILESYSTEMS
:= squashfs
1151 KERNEL_SIZE
:= 4096k
1152 IMAGE_SIZE
:= 129280k
1153 UBINIZE_OPTS
:= -E
5
1154 UIMAGE_NAME
:= WF2881_0.0
.00
1155 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | netis-tail WF2881 | uImage lzma
1156 IMAGES
+= factory.bin
1157 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1158 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
1160 DEVICE_VENDOR
:= NETIS
1161 DEVICE_MODEL
:= WF2881
1162 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
1164 TARGET_DEVICES
+= netis_wf2881
1166 define Device
/phicomm_k2p
1167 $(Device
/dsa-migration
)
1168 IMAGE_SIZE
:= 15744k
1169 DEVICE_VENDOR
:= Phicomm
1171 DEVICE_ALT0_VENDOR
:= Phicomm
1172 DEVICE_ALT0_MODEL
:= KE
2P
1173 SUPPORTED_DEVICES
+= k2p
1174 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1176 TARGET_DEVICES
+= phicomm_k2p
1178 define Device
/planex_vr500
1179 $(Device
/dsa-migration
)
1180 $(Device
/uimage-lzma-loader
)
1181 IMAGE_SIZE
:= 65216k
1182 DEVICE_VENDOR
:= Planex
1183 DEVICE_MODEL
:= VR500
1184 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
1185 SUPPORTED_DEVICES
+= vr500
1187 TARGET_DEVICES
+= planex_vr500
1189 define Device
/samknows_whitebox-v8
1190 $(Device
/dsa-migration
)
1191 IMAGE_SIZE
:= 16064k
1192 DEVICE_VENDOR
:= SamKnows
1193 DEVICE_MODEL
:= Whitebox
8
1194 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1195 kmod-usb-ledtrig-usbport uboot-envtools
1196 SUPPORTED_DEVICES
+= sk-wb8
1198 TARGET_DEVICES
+= samknows_whitebox-v8
1200 define Device
/sercomm_na502
1201 $(Device
/uimage-lzma-loader
)
1204 IMAGE_SIZE
:= 20480k
1205 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1206 UBINIZE_OPTS
:= -E
5
1207 KERNEL_SIZE
:= 4096k
1208 DEVICE_VENDOR
:= SERCOMM
1209 DEVICE_MODEL
:= NA502
1210 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-mt7603 kmod-usb3
1212 TARGET_DEVICES
+= sercomm_na502
1214 define Device
/storylink_sap-g3200u3
1215 $(Device
/dsa-migration
)
1217 DEVICE_VENDOR
:= STORYLiNK
1218 DEVICE_MODEL
:= SAP-G3200U3
1219 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
1220 SUPPORTED_DEVICES
+= sap-g3200u3
1222 TARGET_DEVICES
+= storylink_sap-g3200u3
1224 define Device
/telco-electronics_x1
1225 $(Device
/dsa-migration
)
1226 IMAGE_SIZE
:= 16064k
1227 DEVICE_VENDOR
:= Telco Electronics
1229 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt76
1231 TARGET_DEVICES
+= telco-electronics_x1
1233 define Device
/tenbay_t-mb5eu-v01
1234 $(Device
/dsa-migration
)
1235 DEVICE_VENDOR
:= Tenbay
1236 DEVICE_MODEL
:= T-MB5EU-V01
1237 DEVICE_DTS_CONFIG
:= config@
1
1238 DEVICE_PACKAGES
+= kmod-mt7915e kmod-usb3
1239 KERNEL
:= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(firstword $$(DEVICE_DTS
)).dtb
1240 IMAGE_SIZE
:= 15808k
1241 SUPPORTED_DEVICES
+= mt7621-dm2-t-mb5eu-v01-nor
1243 TARGET_DEVICES
+= tenbay_t-mb5eu-v01
1245 define Device
/thunder_timecloud
1246 $(Device
/dsa-migration
)
1247 $(Device
/uimage-lzma-loader
)
1248 IMAGE_SIZE
:= 16064k
1249 DEVICE_VENDOR
:= Thunder
1250 DEVICE_MODEL
:= Timecloud
1251 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
1252 SUPPORTED_DEVICES
+= timecloud
1254 TARGET_DEVICES
+= thunder_timecloud
1256 define Device
/totolink_a7000r
1257 $(Device
/dsa-migration
)
1258 IMAGE_SIZE
:= 16064k
1259 UIMAGE_NAME
:= C8340R1C-9999
1260 DEVICE_VENDOR
:= TOTOLINK
1261 DEVICE_MODEL
:= A7000R
1262 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1264 TARGET_DEVICES
+= totolink_a7000r
1266 define Device
/totolink_x5000r
1267 $(Device
/dsa-migration
)
1268 IMAGE_SIZE
:= 16064k
1269 UIMAGE_NAME
:= C8343R-9999
1270 DEVICE_VENDOR
:= TOTOLINK
1271 DEVICE_MODEL
:= X5000R
1272 DEVICE_PACKAGES
:= kmod-mt7915e
1274 TARGET_DEVICES
+= totolink_x5000r
1276 define Device
/tplink_archer-a6-v3
1277 $(Device
/dsa-migration
)
1278 $(Device
/tplink-safeloader
)
1279 DEVICE_MODEL
:= Archer A6
1280 DEVICE_VARIANT
:= V3
1281 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e \
1282 kmod-mt7663-firmware-ap kmod-mt7663-firmware-sta
1283 TPLINK_BOARD_ID
:= ARCHER-A6-V3
1284 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1285 IMAGE_SIZE
:= 15744k
1287 TARGET_DEVICES
+= tplink_archer-a6-v3
1289 define Device
/tplink_archer-c6-v3
1290 $(Device
/dsa-migration
)
1291 $(Device
/tplink-safeloader
)
1292 DEVICE_MODEL
:= Archer C6
1293 DEVICE_VARIANT
:= V3
1294 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e \
1295 kmod-mt7663-firmware-ap kmod-mt7663-firmware-sta
1296 TPLINK_BOARD_ID
:= ARCHER-C6-V3
1297 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1298 IMAGE_SIZE
:= 15744k
1300 TARGET_DEVICES
+= tplink_archer-c6-v3
1302 define Device
/tplink_archer-c6u-v1
1303 $(Device
/dsa-migration
)
1304 $(Device
/tplink-safeloader
)
1305 DEVICE_MODEL
:= Archer C6U
1306 DEVICE_VARIANT
:= v1
1307 DEVICE_PACKAGES
:= kmod-mt7603 \
1308 kmod-mt7615e kmod-mt7663-firmware-ap \
1309 kmod-usb3 kmod-usb-ledtrig-usbport
1310 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1311 TPLINK_BOARD_ID
:= ARCHER-C6U-V1
1312 IMAGE_SIZE
:= 15744k
1314 TARGET_DEVICES
+= tplink_archer-c6u-v1
1316 define Device
/tplink_eap235-wall-v1
1317 $(Device
/dsa-migration
)
1318 $(Device
/tplink-safeloader
)
1319 DEVICE_MODEL
:= EAP235-Wall
1320 DEVICE_VARIANT
:= v1
1321 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
1322 TPLINK_BOARD_ID
:= EAP235-WALL-V1
1323 IMAGE_SIZE
:= 13440k
1324 IMAGE
/factory.bin
:= append-rootfs | tplink-safeloader factory | \
1327 TARGET_DEVICES
+= tplink_eap235-wall-v1
1329 define Device
/tplink_re350-v1
1330 $(Device
/dsa-migration
)
1331 $(Device
/tplink-safeloader
)
1332 DEVICE_MODEL
:= RE350
1333 DEVICE_VARIANT
:= v1
1334 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1335 TPLINK_BOARD_ID
:= RE350-V1
1337 SUPPORTED_DEVICES
+= re350-v1
1339 TARGET_DEVICES
+= tplink_re350-v1
1341 define Device
/tplink_re500-v1
1342 $(Device
/dsa-migration
)
1343 $(Device
/tplink-safeloader
)
1344 DEVICE_MODEL
:= RE500
1345 DEVICE_VARIANT
:= v1
1346 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1347 TPLINK_BOARD_ID
:= RE500-V1
1348 IMAGE_SIZE
:= 14208k
1350 TARGET_DEVICES
+= tplink_re500-v1
1352 define Device
/tplink_re650-v1
1353 $(Device
/dsa-migration
)
1354 $(Device
/tplink-safeloader
)
1355 DEVICE_MODEL
:= RE650
1356 DEVICE_VARIANT
:= v1
1357 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1358 TPLINK_BOARD_ID
:= RE650-V1
1359 IMAGE_SIZE
:= 14208k
1361 TARGET_DEVICES
+= tplink_re650-v1
1363 define Device
/ubnt_edgerouter_common
1364 $(Device
/dsa-migration
)
1365 $(Device
/uimage-lzma-loader
)
1366 DEVICE_VENDOR
:= Ubiquiti
1367 IMAGE_SIZE
:= 256768k
1368 FILESYSTEMS
:= squashfs
1369 KERNEL_SIZE
:= 3145728
1370 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
1371 ubnt-erx-factory-image
$(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.
tar
1372 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1373 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
1376 define Device
/ubnt_edgerouter-x
1377 $(Device
/ubnt_edgerouter_common
)
1378 DEVICE_MODEL
:= EdgeRouter X
1379 SUPPORTED_DEVICES
+= ubnt-erx ubiquiti
,edgerouterx
1381 TARGET_DEVICES
+= ubnt_edgerouter-x
1383 define Device
/ubnt_edgerouter-x-sfp
1384 $(Device
/ubnt_edgerouter_common
)
1385 DEVICE_MODEL
:= EdgeRouter X SFP
1386 DEVICE_PACKAGES
+= kmod-i2c-algo-pca kmod-gpio-pca953x kmod-sfp
1387 SUPPORTED_DEVICES
+= ubnt-erx-sfp ubiquiti
,edgerouterx-sfp
1389 TARGET_DEVICES
+= ubnt_edgerouter-x-sfp
1391 define Device
/ubnt_unifi-6-lite
1392 $(Device
/dsa-migration
)
1393 DEVICE_VENDOR
:= Ubiquiti
1394 DEVICE_MODEL
:= UniFi
6 Lite
1395 DEVICE_DTS_CONFIG
:= config@
1
1396 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7915e
1397 KERNEL
:= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(firstword $$(DEVICE_DTS
)).dtb
1398 IMAGE_SIZE
:= 15424k
1400 TARGET_DEVICES
+= ubnt_unifi-6-lite
1402 define Device
/ubnt_unifi-nanohd
1403 $(Device
/dsa-migration
)
1404 DEVICE_VENDOR
:= Ubiquiti
1405 DEVICE_MODEL
:= UniFi nanoHD
1406 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1407 IMAGE_SIZE
:= 15552k
1409 TARGET_DEVICES
+= ubnt_unifi-nanohd
1411 define Device
/ubnt_usw-flex
1412 $(Device
/dsa-migration
)
1413 DEVICE_VENDOR
:= Ubiquiti
1414 DEVICE_MODEL
:= UniFi Switch Flex
1415 DEVICE_DTS_CONFIG
:= config@
1
1416 KERNEL
:= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(firstword $$(DEVICE_DTS
)).dtb
1419 TARGET_DEVICES
+= ubnt_usw-flex
1421 define Device
/unielec_u7621-01-16m
1422 $(Device
/dsa-migration
)
1423 $(Device
/uimage-lzma-loader
)
1424 IMAGE_SIZE
:= 16064k
1425 DEVICE_VENDOR
:= UniElec
1426 DEVICE_MODEL
:= U7621-01
1427 DEVICE_VARIANT
:= 16M
1428 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3
1430 TARGET_DEVICES
+= unielec_u7621-01-16m
1432 define Device
/unielec_u7621-06-16m
1433 $(Device
/dsa-migration
)
1434 $(Device
/uimage-lzma-loader
)
1435 IMAGE_SIZE
:= 16064k
1436 DEVICE_VENDOR
:= UniElec
1437 DEVICE_MODEL
:= U7621-06
1438 DEVICE_VARIANT
:= 16M
1439 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1440 SUPPORTED_DEVICES
+= u7621-06-256M-16M unielec
,u7621-06-256m-16m
1442 TARGET_DEVICES
+= unielec_u7621-06-16m
1444 define Device
/unielec_u7621-06-64m
1445 $(Device
/dsa-migration
)
1446 $(Device
/uimage-lzma-loader
)
1447 IMAGE_SIZE
:= 65216k
1448 DEVICE_VENDOR
:= UniElec
1449 DEVICE_MODEL
:= U7621-06
1450 DEVICE_VARIANT
:= 64M
1451 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1452 SUPPORTED_DEVICES
+= unielec
,u7621-06-512m-64m
1454 TARGET_DEVICES
+= unielec_u7621-06-64m
1456 define Device
/wavlink_wl-wn531a6
1457 $(Device
/dsa-migration
)
1458 DEVICE_VENDOR
:= Wavlink
1459 DEVICE_MODEL
:= WL-WN531A6
1460 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-usb3
1461 IMAGE_SIZE
:= 15040k
1463 TARGET_DEVICES
+= wavlink_wl-wn531a6
1465 define Device
/wevo_11acnas
1466 $(Device
/dsa-migration
)
1467 $(Device
/uimage-lzma-loader
)
1468 IMAGE_SIZE
:= 16064k
1469 UIMAGE_NAME
:= 11AC-NAS-Router
(0.0.0)
1470 DEVICE_VENDOR
:= WeVO
1471 DEVICE_MODEL
:= 11AC NAS Router
1472 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1473 kmod-usb-ledtrig-usbport
1474 SUPPORTED_DEVICES
+= 11acnas
1476 TARGET_DEVICES
+= wevo_11acnas
1478 define Device
/wevo_w2914ns-v2
1479 $(Device
/dsa-migration
)
1480 $(Device
/uimage-lzma-loader
)
1481 IMAGE_SIZE
:= 16064k
1482 UIMAGE_NAME
:= W2914NS-V2
(0.0.0)
1483 DEVICE_VENDOR
:= WeVO
1484 DEVICE_MODEL
:= W2914NS
1485 DEVICE_VARIANT
:= v2
1486 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1487 kmod-usb-ledtrig-usbport
1488 SUPPORTED_DEVICES
+= w2914nsv2
1490 TARGET_DEVICES
+= wevo_w2914ns-v2
1492 define Device
/winstars_ws-wn583a6
1493 $(Device
/dsa-migration
)
1494 $(Device
/uimage-lzma-loader
)
1496 DEVICE_VENDOR
:= Winstars
1497 DEVICE_MODEL
:= WS-WN583A6
1498 DEVICE_ALT0_VENDOR
:= Gemeita
1499 DEVICE_ALT0_MODEL
:= AC2100
1500 KERNEL_INITRAMFS_SUFFIX
:= -WN583A6
$$(KERNEL_SUFFIX
)
1501 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1503 TARGET_DEVICES
+= winstars_ws-wn583a6
1505 define Device
/xiaomi_nand_separate
1506 $(Device
/dsa-migration
)
1507 $(Device
/uimage-lzma-loader
)
1508 DEVICE_VENDOR
:= Xiaomi
1509 DEVICE_PACKAGES
:= uboot-envtools
1512 KERNEL_SIZE
:= 4096k
1513 UBINIZE_OPTS
:= -E
5
1514 IMAGES
+= kernel1.bin rootfs0.bin
1515 IMAGE
/kernel1.bin
:= append-kernel
1516 IMAGE
/rootfs0.bin
:= append-ubi | check-size
1517 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1520 define Device
/xiaomi_mi-router-3g
1521 $(Device
/xiaomi_nand_separate
)
1522 DEVICE_MODEL
:= Mi Router
3G
1523 IMAGE_SIZE
:= 124416k
1524 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1525 kmod-usb-ledtrig-usbport
1526 SUPPORTED_DEVICES
+= R3G mir3g xiaomi
,mir3g
1528 TARGET_DEVICES
+= xiaomi_mi-router-3g
1530 define Device
/xiaomi_mi-router-3g-v2
1531 $(Device
/dsa-migration
)
1532 $(Device
/uimage-lzma-loader
)
1533 IMAGE_SIZE
:= 14848k
1534 DEVICE_VENDOR
:= Xiaomi
1535 DEVICE_MODEL
:= Mi Router
3G
1536 DEVICE_VARIANT
:= v2
1537 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1538 SUPPORTED_DEVICES
+= xiaomi
,mir3g-v2
1540 TARGET_DEVICES
+= xiaomi_mi-router-3g-v2
1542 define Device
/xiaomi_mi-router-3-pro
1543 $(Device
/dsa-migration
)
1544 $(Device
/uimage-lzma-loader
)
1548 UBINIZE_OPTS
:= -E
5
1549 IMAGE_SIZE
:= 255488k
1550 DEVICE_VENDOR
:= Xiaomi
1551 DEVICE_MODEL
:= Mi Router
3 Pro
1552 IMAGES
+= factory.bin
1553 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1554 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
1556 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
1557 kmod-usb-ledtrig-usbport uboot-envtools
1558 SUPPORTED_DEVICES
+= xiaomi
,mir3p
1560 TARGET_DEVICES
+= xiaomi_mi-router-3-pro
1562 define Device
/xiaomi_mi-router-4
1563 $(Device
/xiaomi_nand_separate
)
1564 DEVICE_MODEL
:= Mi Router
4
1565 IMAGE_SIZE
:= 124416k
1566 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt76x2
1568 TARGET_DEVICES
+= xiaomi_mi-router-4
1570 define Device
/xiaomi_mi-router-4a-gigabit
1571 $(Device
/dsa-migration
)
1572 $(Device
/uimage-lzma-loader
)
1573 IMAGE_SIZE
:= 14848k
1574 DEVICE_VENDOR
:= Xiaomi
1575 DEVICE_MODEL
:= Mi Router
4A
1576 DEVICE_VARIANT
:= Gigabit Edition
1577 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1579 TARGET_DEVICES
+= xiaomi_mi-router-4a-gigabit
1581 define Device
/xiaomi_mi-router-ac2100
1582 $(Device
/xiaomi_nand_separate
)
1583 DEVICE_MODEL
:= Mi Router AC2100
1584 IMAGE_SIZE
:= 120320k
1585 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1587 TARGET_DEVICES
+= xiaomi_mi-router-ac2100
1589 define Device
/xiaomi_redmi-router-ac2100
1590 $(Device
/xiaomi_nand_separate
)
1591 DEVICE_MODEL
:= Redmi Router AC2100
1592 IMAGE_SIZE
:= 120320k
1593 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1595 TARGET_DEVICES
+= xiaomi_redmi-router-ac2100
1597 define Device
/xiaoyu_xy-c5
1598 $(Device
/dsa-migration
)
1599 IMAGE_SIZE
:= 32448k
1600 DEVICE_VENDOR
:= XiaoYu
1601 DEVICE_MODEL
:= XY-C5
1602 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3
-wpad-basic-wolfssl
1604 TARGET_DEVICES
+= xiaoyu_xy-c5
1606 define Device
/xzwifi_creativebox-v1
1607 $(Device
/dsa-migration
)
1608 IMAGE_SIZE
:= 32448k
1609 DEVICE_VENDOR
:= CreativeBox
1611 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
1612 kmod-usb3
-wpad-basic-wolfssl
1614 TARGET_DEVICES
+= xzwifi_creativebox-v1
1616 define Device
/youhua_wr1200js
1617 $(Device
/dsa-migration
)
1618 IMAGE_SIZE
:= 16064k
1619 DEVICE_VENDOR
:= YouHua
1620 DEVICE_MODEL
:= WR1200JS
1621 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1622 kmod-usb-ledtrig-usbport
1624 TARGET_DEVICES
+= youhua_wr1200js
1626 define Device
/youku_yk-l2
1627 $(Device
/dsa-migration
)
1628 IMAGE_SIZE
:= 16064k
1629 DEVICE_VENDOR
:= Youku
1630 DEVICE_MODEL
:= YK-L2
1631 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1632 kmod-usb-ledtrig-usbport
1634 TARGET_DEVICES
+= youku_yk-l2
1636 define Device
/zbtlink_zbt-we1326
1637 $(Device
/dsa-migration
)
1638 $(Device
/uimage-lzma-loader
)
1639 IMAGE_SIZE
:= 16064k
1640 DEVICE_VENDOR
:= Zbtlink
1641 DEVICE_MODEL
:= ZBT-WE1326
1642 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620
1643 SUPPORTED_DEVICES
+= zbt-we1326
1645 TARGET_DEVICES
+= zbtlink_zbt-we1326
1647 define Device
/zbtlink_zbt-we3526
1648 $(Device
/dsa-migration
)
1649 $(Device
/uimage-lzma-loader
)
1650 IMAGE_SIZE
:= 16064k
1651 DEVICE_VENDOR
:= Zbtlink
1652 DEVICE_MODEL
:= ZBT-WE3526
1653 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1654 kmod-usb-ledtrig-usbport
1656 TARGET_DEVICES
+= zbtlink_zbt-we3526
1658 define Device
/zbtlink_zbt-wg2626
1659 $(Device
/dsa-migration
)
1660 $(Device
/uimage-lzma-loader
)
1661 IMAGE_SIZE
:= 16064k
1662 DEVICE_VENDOR
:= Zbtlink
1663 DEVICE_MODEL
:= ZBT-WG2626
1664 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
1665 kmod-usb-ledtrig-usbport
1666 SUPPORTED_DEVICES
+= zbt-wg2626
1668 TARGET_DEVICES
+= zbtlink_zbt-wg2626
1670 define Device
/zbtlink_zbt-wg3526-16m
1671 $(Device
/dsa-migration
)
1672 $(Device
/uimage-lzma-loader
)
1673 IMAGE_SIZE
:= 16064k
1674 DEVICE_VENDOR
:= Zbtlink
1675 DEVICE_MODEL
:= ZBT-WG3526
1676 DEVICE_VARIANT
:= 16M
1677 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1678 kmod-usb3 kmod-usb-ledtrig-usbport
1679 SUPPORTED_DEVICES
+= zbt-wg3526 zbt-wg3526-16M
1681 TARGET_DEVICES
+= zbtlink_zbt-wg3526-16m
1683 define Device
/zbtlink_zbt-wg3526-32m
1684 $(Device
/dsa-migration
)
1685 $(Device
/uimage-lzma-loader
)
1686 IMAGE_SIZE
:= 32448k
1687 DEVICE_VENDOR
:= Zbtlink
1688 DEVICE_MODEL
:= ZBT-WG3526
1689 DEVICE_VARIANT
:= 32M
1690 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1691 kmod-usb3 kmod-usb-ledtrig-usbport
1692 SUPPORTED_DEVICES
+= ac1200pro zbt-wg3526-32M
1694 TARGET_DEVICES
+= zbtlink_zbt-wg3526-32m
1696 define Device
/zio_freezio
1697 $(Device
/dsa-migration
)
1698 IMAGE_SIZE
:= 16064k
1699 DEVICE_VENDOR
:= ZIO
1700 DEVICE_MODEL
:= FREEZIO
1701 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1702 kmod-usb-ledtrig-usbport
1704 TARGET_DEVICES
+= zio_freezio
1706 define Device
/zyxel_nr7101
1707 $(Device
/dsa-migration
)
1710 UBINIZE_OPTS
:= -E
5
1711 DEVICE_VENDOR
:= ZyXEL
1712 DEVICE_MODEL
:= NR7101
1713 DEVICE_PACKAGES
:= kmod-mt7603 kmod-usb3 uboot-envtools kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
1714 KERNEL
:= $(KERNEL_DTB
) | uImage lzma | zytrx-header
$$(DEVICE_MODEL
) $$(VERSION_DIST
)-$$(REVISION
)
1715 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma | zytrx-header
$$(DEVICE_MODEL
) 9.99(ABUV
.9)$$(VERSION_DIST
)-recovery
1716 KERNEL_INITRAMFS_SUFFIX
:= -recovery.bin
1717 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1719 TARGET_DEVICES
+= zyxel_nr7101
1721 define Device
/zyxel_wap6805
1722 $(Device
/dsa-migration
)
1725 KERNEL_SIZE
:= 4096k
1726 UBINIZE_OPTS
:= -E
5
1727 IMAGE_SIZE
:= 32448k
1728 DEVICE_VENDOR
:= ZyXEL
1729 DEVICE_MODEL
:= WAP6805
1730 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7621-qtn-rgmii
1731 KERNEL
:= $(KERNEL_DTB
) | uImage lzma | uimage-padhdr
160
1732 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1734 TARGET_DEVICES
+= zyxel_wap6805