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_INITRAMFS
:= $$(KERNEL
) | uimage-padhdr
96
290 IMAGES
+= factory.bin
291 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | uimage-padhdr
96 |\
292 pad-rootfs | check-size | append-metadata
293 IMAGE
/factory.bin
:= append-kernel | append-rootfs | uimage-padhdr
96 |\
297 define Device
/dlink_dir-8xx-r1
298 $(Device
/dsa-migration
)
300 DEVICE_VENDOR
:= D-Link
301 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
302 KERNEL_INITRAMFS
:= $$(KERNEL
)
303 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
304 check-size | append-metadata
307 define Device
/dlink_dir-xx60-a1
308 $(Device
/dsa-migration
)
314 DEVICE_VENDOR
:= D-Link
315 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
316 kmod-usb-ledtrig-usbport
317 KERNEL
:= $$(KERNEL
) | uimage-padhdr
96
318 IMAGES
+= factory.bin
319 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
320 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
324 define Device
/dlink_dir-1960-a1
325 $(Device
/dlink_dir-xx60-a1
)
326 DEVICE_MODEL
:= DIR-1960
329 TARGET_DEVICES
+= dlink_dir-1960-a1
331 define Device
/dlink_dir-2640-a1
332 $(Device
/dlink_dir-xx60-a1
)
333 DEVICE_MODEL
:= DIR-2640
336 TARGET_DEVICES
+= dlink_dir-2640-a1
338 define Device
/dlink_dir-2660-a1
339 $(Device
/dlink_dir-xx60-a1
)
340 DEVICE_MODEL
:= DIR-2660
343 TARGET_DEVICES
+= dlink_dir-2660-a1
345 define Device
/dlink_dir-853-a3
346 $(Device
/dlink_dir-xx60-a1
)
347 DEVICE_MODEL
:= DIR-853
350 TARGET_DEVICES
+= dlink_dir-853-a3
352 define Device
/dlink_dir-853-r1
353 $(Device
/dlink_dir-8xx-r1
)
354 DEVICE_MODEL
:= DIR-853
356 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
358 TARGET_DEVICES
+= dlink_dir-853-r1
360 define Device
/dlink_dir-860l-b1
361 $(Device
/dsa-migration
)
364 SEAMA_SIGNATURE
:= wrgac13_dlink
.2013gui_dir860lb
366 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \
367 lzma
-a0 | uImage lzma
369 DEVICE_VENDOR
:= D-Link
370 DEVICE_MODEL
:= DIR-860L
372 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
373 SUPPORTED_DEVICES
+= dir-860l-b1
375 TARGET_DEVICES
+= dlink_dir-860l-b1
377 define Device
/dlink_dir-867-a1
378 $(Device
/dlink_dir-8xx-a1
)
379 DEVICE_MODEL
:= DIR-867
382 TARGET_DEVICES
+= dlink_dir-867-a1
384 define Device
/dlink_dir-878-a1
385 $(Device
/dlink_dir-8xx-a1
)
386 DEVICE_MODEL
:= DIR-878
389 TARGET_DEVICES
+= dlink_dir-878-a1
391 define Device
/dlink_dir-882-a1
392 $(Device
/dlink_dir-8xx-a1
)
393 DEVICE_MODEL
:= DIR-882
395 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
397 TARGET_DEVICES
+= dlink_dir-882-a1
399 define Device
/dlink_dir-882-r1
400 $(Device
/dlink_dir-8xx-r1
)
401 DEVICE_MODEL
:= DIR-882
403 DEVICE_PACKAGES
+= kmod-usb3 kmod-usb-ledtrig-usbport
404 IMAGES
+= factory.bin
405 IMAGE
/factory.bin
:= append-kernel | append-rootfs | check-size | \
406 sign-dlink-ru
57c5375741c30ca9ebcb36713db4ba51 \
407 ab0dff19af8842cdb70a86b4b68d23f7
409 TARGET_DEVICES
+= dlink_dir-882-r1
411 define Device
/d-team_newifi-d2
412 $(Device
/dsa-migration
)
413 $(Device
/uimage-lzma-loader
)
415 DEVICE_VENDOR
:= Newifi
417 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
418 kmod-usb-ledtrig-usbport
420 TARGET_DEVICES
+= d-team_newifi-d2
422 define Device
/d-team_pbr-m1
423 $(Device
/dsa-migration
)
425 DEVICE_VENDOR
:= PandoraBox
426 DEVICE_MODEL
:= PBR-M1
427 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
428 kmod-usb3 kmod-usb-ledtrig-usbport
429 SUPPORTED_DEVICES
+= pbr-m1
431 TARGET_DEVICES
+= d-team_pbr-m1
433 define Device
/edimax_ra21s
434 $(Device
/dsa-migration
)
435 $(Device
/uimage-lzma-loader
)
437 DEVICE_VENDOR
:= Edimax
438 DEVICE_MODEL
:= RA21S
439 DEVICE_ALT0_VENDOR
:= Edimax
440 DEVICE_ALT0_MODEL
:= Gemini RA21S
441 IMAGES
+= factory.bin
442 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
443 elx-header
02020040 8844A2D168B45A2D
444 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
446 TARGET_DEVICES
+= edimax_ra21s
448 define Device
/edimax_re23s
449 $(Device
/dsa-migration
)
450 $(Device
/uimage-lzma-loader
)
452 DEVICE_VENDOR
:= Edimax
453 DEVICE_MODEL
:= RE23S
454 DEVICE_ALT0_VENDOR
:= Edimax
455 DEVICE_ALT0_MODEL
:= Gemini RE23S
456 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
457 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
458 check-size | append-metadata
459 IMAGES
+= factory.bin
460 IMAGE
/factory.bin
:= append-kernel | append-rootfs | \
461 edimax-header
-s CSYS
-m RN76
-f
0x70000 -S
0x01100000 | pad-rootfs | \
463 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
465 TARGET_DEVICES
+= edimax_re23s
467 define Device
/edimax_rg21s
468 $(Device
/dsa-migration
)
469 $(Device
/uimage-lzma-loader
)
471 DEVICE_VENDOR
:= Edimax
472 DEVICE_MODEL
:= Gemini AC2600 RG21S
473 IMAGES
+= factory.bin
474 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
475 elx-header
02020038 8844A2D168B45A2D
476 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
478 TARGET_DEVICES
+= edimax_rg21s
480 define Device
/elecom_wrc-1167ghbk2-s
481 $(Device
/dsa-migration
)
483 DEVICE_VENDOR
:= ELECOM
484 DEVICE_MODEL
:= WRC-1167GHBK2-S
485 IMAGES
+= factory.bin
486 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
487 elecom-wrc-gs-factory WRC-1167GHBK2-S
0.00
488 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
490 TARGET_DEVICES
+= elecom_wrc-1167ghbk2-s
492 define Device
/elecom_wrc-gs
493 $(Device
/dsa-migration
)
494 $(Device
/uimage-lzma-loader
)
495 DEVICE_VENDOR
:= ELECOM
496 IMAGES
+= factory.bin
497 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
498 elecom-wrc-gs-factory
$$$$(ELECOM_HWNAME
) 0.00 -N | \
499 append-string MT7621_ELECOM_
$$$$(ELECOM_HWNAME
)
500 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
503 define Device
/elecom_wrc-1167gs2-b
504 $(Device
/elecom_wrc-gs
)
506 DEVICE_MODEL
:= WRC-1167GS2-B
507 ELECOM_HWNAME
:= WRC-1167GS2
509 TARGET_DEVICES
+= elecom_wrc-1167gs2-b
511 define Device
/elecom_wrc-1167gst2
512 $(Device
/elecom_wrc-gs
)
514 DEVICE_MODEL
:= WRC-1167GST2
515 ELECOM_HWNAME
:= WRC-1167GST2
517 TARGET_DEVICES
+= elecom_wrc-1167gst2
519 define Device
/elecom_wrc-1750gs
520 $(Device
/elecom_wrc-gs
)
522 DEVICE_MODEL
:= WRC-1750GS
523 ELECOM_HWNAME
:= WRC-1750GS
525 TARGET_DEVICES
+= elecom_wrc-1750gs
527 define Device
/elecom_wrc-1750gst2
528 $(Device
/elecom_wrc-gs
)
530 DEVICE_MODEL
:= WRC-1750GST2
531 ELECOM_HWNAME
:= WRC-1750GST2
533 TARGET_DEVICES
+= elecom_wrc-1750gst2
535 define Device
/elecom_wrc-1750gsv
536 $(Device
/elecom_wrc-gs
)
538 DEVICE_MODEL
:= WRC-1750GSV
539 ELECOM_HWNAME
:= WRC-1750GSV
541 TARGET_DEVICES
+= elecom_wrc-1750gsv
543 define Device
/elecom_wrc-1900gst
544 $(Device
/elecom_wrc-gs
)
546 DEVICE_MODEL
:= WRC-1900GST
547 ELECOM_HWNAME
:= WRC-1900GST
549 TARGET_DEVICES
+= elecom_wrc-1900gst
551 define Device
/elecom_wrc-2533ghbk-i
552 $(Device
/dsa-migration
)
553 $(Device
/uimage-lzma-loader
)
554 DEVICE_VENDOR
:= ELECOM
555 DEVICE_MODEL
:= WRC-2533GHBK-I
557 IMAGES
+= factory.bin
558 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
559 elx-header
0107002d
8844A2D168B45A2D | \
560 elecom-product-header WRC-2533GHBK-I
561 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
563 TARGET_DEVICES
+= elecom_wrc-2533ghbk-i
565 define Device
/elecom_wrc-2533gst
566 $(Device
/elecom_wrc-gs
)
568 DEVICE_MODEL
:= WRC-2533GST
569 ELECOM_HWNAME
:= WRC-2533GST
571 TARGET_DEVICES
+= elecom_wrc-2533gst
573 define Device
/elecom_wrc-2533gst2
574 $(Device
/elecom_wrc-gs
)
576 DEVICE_MODEL
:= WRC-2533GST2
577 ELECOM_HWNAME
:= WRC-2533GST2
579 TARGET_DEVICES
+= elecom_wrc-2533gst2
581 define Device
/firefly_firewrt
582 $(Device
/dsa-migration
)
584 DEVICE_VENDOR
:= Firefly
585 DEVICE_MODEL
:= FireWRT
586 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
587 SUPPORTED_DEVICES
+= firewrt
589 TARGET_DEVICES
+= firefly_firewrt
591 define Device
/gehua_ghl-r-001
592 $(Device
/dsa-migration
)
594 DEVICE_VENDOR
:= GeHua
595 DEVICE_MODEL
:= GHL-R-001
596 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
597 kmod-usb-ledtrig-usbport
599 TARGET_DEVICES
+= gehua_ghl-r-001
601 define Device
/glinet_gl-mt1300
602 $(Device
/dsa-migration
)
604 DEVICE_VENDOR
:= GL.iNet
605 DEVICE_MODEL
:= GL-MT1300
606 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
608 TARGET_DEVICES
+= glinet_gl-mt1300
610 define Device
/gnubee_gb-pc1
611 $(Device
/dsa-migration
)
612 DEVICE_VENDOR
:= GnuBee
613 DEVICE_MODEL
:= Personal Cloud One
614 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
617 TARGET_DEVICES
+= gnubee_gb-pc1
619 define Device
/gnubee_gb-pc2
620 $(Device
/dsa-migration
)
621 DEVICE_VENDOR
:= GnuBee
622 DEVICE_MODEL
:= Personal Cloud Two
623 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620
-wpad-basic-wolfssl
626 TARGET_DEVICES
+= gnubee_gb-pc2
628 define Device
/hiwifi_hc5962
629 $(Device
/dsa-migration
)
635 IMAGES
+= factory.bin
636 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
637 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
639 DEVICE_VENDOR
:= HiWiFi
640 DEVICE_MODEL
:= HC5962
641 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3
643 TARGET_DEVICES
+= hiwifi_hc5962
645 define Device
/iodata_wn-ax1167gr
646 $(Device
/dsa-migration
)
647 $(Device
/uimage-lzma-loader
)
649 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
650 iodata-factory
7864320 4 0x1055 $(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.bin
651 DEVICE_VENDOR
:= I-O DATA
652 DEVICE_MODEL
:= WN-AX1167GR
653 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
655 TARGET_DEVICES
+= iodata_wn-ax1167gr
657 define Device
/iodata_nand
658 $(Device
/dsa-migration
)
659 DEVICE_VENDOR
:= I-O DATA
666 KERNEL
:= kernel-bin | append-dtb | lzma | loader-kernel | lzma | uImage lzma
667 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
670 # The OEM webinterface expects an kernel with initramfs which has the uImage
671 # header field ih_name.
672 # We don't want to set the header name field for the kernel include in the
673 # sysupgrade image as well, as this image shouldn't be accepted by the OEM
674 # webinterface. It will soft-brick the board.
676 define Device
/iodata_wn-ax1167gr2
677 $(Device
/iodata_nand
)
678 DEVICE_MODEL
:= WN-AX1167GR2
679 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
680 uImage lzma
-M
0x434f4d42 -n
'3.10(XBC.1)b10' | iodata-mstc-header
681 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
683 TARGET_DEVICES
+= iodata_wn-ax1167gr2
685 define Device
/iodata_wn-ax2033gr
686 $(Device
/iodata_nand
)
687 DEVICE_MODEL
:= WN-AX2033GR
688 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
689 uImage lzma
-M
0x434f4d42 -n
'3.10(VST.1)C10' | iodata-mstc-header
690 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
692 TARGET_DEVICES
+= iodata_wn-ax2033gr
694 define Device
/iodata_wn-dx1167r
695 $(Device
/iodata_nand
)
696 DEVICE_MODEL
:= WN-DX1167R
697 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
698 uImage lzma
-M
0x434f4d43 -n
'3.10(XIK.1)b10' | iodata-mstc-header
699 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
701 TARGET_DEVICES
+= iodata_wn-dx1167r
703 define Device
/iodata_wn-dx1200gr
704 $(Device
/iodata_nand
)
705 DEVICE_MODEL
:= WN-DX1200GR
706 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | loader-kernel | lzma | \
707 uImage lzma
-M
0x434f4d43 -n
'3.10(XIQ.0)b20' | iodata-mstc-header
708 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
710 TARGET_DEVICES
+= iodata_wn-dx1200gr
712 define Device
/iodata_wn-gx300gr
713 $(Device
/dsa-migration
)
714 $(Device
/uimage-lzma-loader
)
716 DEVICE_VENDOR
:= I-O DATA
717 DEVICE_MODEL
:= WN-GX300GR
718 DEVICE_PACKAGES
:= kmod-mt7603
720 TARGET_DEVICES
+= iodata_wn-gx300gr
722 define Device
/iodata_wnpr2600g
723 $(Device
/dsa-migration
)
724 $(Device
/uimage-lzma-loader
)
725 DEVICE_VENDOR
:= I-O DATA
726 DEVICE_MODEL
:= WNPR2600G
728 IMAGES
+= factory.bin
729 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | \
730 elx-header
0104003a
8844A2D168B45A2D
731 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
733 TARGET_DEVICES
+= iodata_wnpr2600g
735 define Device
/iptime_a6ns-m
736 $(Device
/dsa-migration
)
739 DEVICE_VENDOR
:= ipTIME
740 DEVICE_MODEL
:= A6ns-M
741 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
742 kmod-usb-ledtrig-usbport
744 TARGET_DEVICES
+= iptime_a6ns-m
746 define Device
/iptime_a8004t
747 $(Device
/dsa-migration
)
749 UIMAGE_NAME
:= a8004t
750 DEVICE_VENDOR
:= ipTIME
751 DEVICE_MODEL
:= A8004T
752 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
754 TARGET_DEVICES
+= iptime_a8004t
756 define Device
/jcg_jhr-ac876m
757 $(Device
/dsa-migration
)
759 IMAGES
+= factory.bin
760 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | jcg-header
89.1
761 JCG_MAXSIZE
:= 16064k
763 DEVICE_MODEL
:= JHR-AC876M
764 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
765 kmod-usb-ledtrig-usbport
767 TARGET_DEVICES
+= jcg_jhr-ac876m
769 define Device
/jcg_q20
770 $(Device
/dsa-migration
)
776 IMAGES
+= factory.bin
777 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
778 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
782 DEVICE_PACKAGES
:= kmod-mt7915e uboot-envtools
784 TARGET_DEVICES
+= jcg_q20
787 $(Device
/dsa-migration
)
788 $(Device
/uimage-lzma-loader
)
790 IMAGES
+= factory.bin
791 IMAGE
/factory.bin
:= $$(sysupgrade_bin
) | check-size | jcg-header
95.1
792 JCG_MAXSIZE
:= 16064k
795 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3
797 TARGET_DEVICES
+= jcg_y2
799 define Device
/lenovo_newifi-d1
800 $(Device
/dsa-migration
)
801 $(Device
/uimage-lzma-loader
)
803 DEVICE_VENDOR
:= Newifi
805 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 \
806 kmod-usb-ledtrig-usbport
807 SUPPORTED_DEVICES
+= newifi-d1
809 TARGET_DEVICES
+= lenovo_newifi-d1
811 define Device
/linksys_e5600
812 $(Device
/dsa-migration
)
813 $(Device
/uimage-lzma-loader
)
818 DEVICE_VENDOR
:= Linksys
819 DEVICE_MODEL
:= E5600
820 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
821 kmod-mt7663-firmware-sta uboot-envtools
823 IMAGES
+= factory.bin
824 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | check-size | append-metadata
825 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
826 append-ubi | check-size | gemtek-trailer
828 TARGET_DEVICES
+= linksys_e5600
830 define Device
/linksys_ea7xxx
831 $(Device
/dsa-migration
)
832 $(Device
/uimage-lzma-loader
)
837 DEVICE_VENDOR
:= Linksys
838 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt7615e kmod-mt7615-firmware \
841 IMAGES
:= sysupgrade.bin factory.bin
842 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | check-size | append-metadata
843 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
844 append-ubi | check-size | linksys-image type
=$$$$(LINKSYS_HWNAME
)
847 define Device
/linksys_ea7300-v1
848 $(Device
/linksys_ea7xxx
)
849 DEVICE_MODEL
:= EA7300
851 LINKSYS_HWNAME
:= EA7300
853 TARGET_DEVICES
+= linksys_ea7300-v1
855 define Device
/linksys_ea7300-v2
856 $(Device
/linksys_ea7xxx
)
857 DEVICE_MODEL
:= EA7300
859 LINKSYS_HWNAME
:= EA7300v2
860 DEVICE_PACKAGES
+= kmod-mt7603
862 TARGET_DEVICES
+= linksys_ea7300-v2
864 define Device
/linksys_ea7500-v2
865 $(Device
/linksys_ea7xxx
)
866 DEVICE_MODEL
:= EA7500
868 LINKSYS_HWNAME
:= EA7500v2
870 TARGET_DEVICES
+= linksys_ea7500-v2
872 define Device
/linksys_ea8100-v1
873 $(Device
/linksys_ea7xxx
)
874 DEVICE_MODEL
:= EA8100
876 LINKSYS_HWNAME
:= EA8100
878 TARGET_DEVICES
+= linksys_ea8100-v1
880 define Device
/linksys_ea8100-v2
881 $(Device
/linksys_ea7xxx
)
882 DEVICE_MODEL
:= EA8100
884 LINKSYS_HWNAME
:= EA8100v2
886 TARGET_DEVICES
+= linksys_ea8100-v2
888 define Device
/linksys_re6500
889 $(Device
/dsa-migration
)
891 DEVICE_VENDOR
:= Linksys
892 DEVICE_MODEL
:= RE6500
893 DEVICE_PACKAGES
:= kmod-mt76x2
894 SUPPORTED_DEVICES
+= re6500
896 TARGET_DEVICES
+= linksys_re6500
898 define Device
/mediatek_ap-mt7621a-v60
899 $(Device
/dsa-migration
)
901 DEVICE_VENDOR
:= Mediatek
902 DEVICE_MODEL
:= AP-MT7621A-V60 EVB
903 DEVICE_PACKAGES
:= kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620
-wpad-basic-wolfssl
905 TARGET_DEVICES
+= mediatek_ap-mt7621a-v60
907 define Device
/mediatek_mt7621-eval-board
908 $(Device
/dsa-migration
)
911 DEVICE_VENDOR
:= MediaTek
912 DEVICE_MODEL
:= MT7621 EVB
913 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
914 SUPPORTED_DEVICES
+= mt7621
916 TARGET_DEVICES
+= mediatek_mt7621-eval-board
918 define Device
/MikroTik
919 $(Device
/dsa-migration
)
920 DEVICE_VENDOR
:= MikroTik
923 DEVICE_PACKAGES
:= kmod-usb3
924 KERNEL_NAME
:= vmlinuz
925 KERNEL
:= kernel-bin | append-dtb-elf
926 IMAGE
/sysupgrade.bin
:= append-kernel | kernel2minor
-s
1024 | \
927 pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | \
931 define Device
/mikrotik_routerboard-750gr3
933 DEVICE_MODEL
:= RouterBOARD
750Gr3
934 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
935 SUPPORTED_DEVICES
+= mikrotik
,rb750gr3
937 TARGET_DEVICES
+= mikrotik_routerboard-750gr3
939 define Device
/mikrotik_routerboard-760igs
941 DEVICE_MODEL
:= RouterBOARD
760iGS
942 DEVICE_PACKAGES
+= kmod-sfp
-wpad-basic-wolfssl
944 TARGET_DEVICES
+= mikrotik_routerboard-760igs
946 define Device
/mikrotik_routerboard-m11g
948 DEVICE_MODEL
:= RouterBOARD M11G
949 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
950 SUPPORTED_DEVICES
+= mikrotik
,rbm11g
952 TARGET_DEVICES
+= mikrotik_routerboard-m11g
954 define Device
/mikrotik_routerboard-m33g
956 DEVICE_MODEL
:= RouterBOARD M33G
957 DEVICE_PACKAGES
:= -wpad-basic-wolfssl
958 SUPPORTED_DEVICES
+= mikrotik
,rbm33g
960 TARGET_DEVICES
+= mikrotik_routerboard-m33g
962 define Device
/mqmaker_witi
963 $(Device
/dsa-migration
)
964 $(Device
/uimage-lzma-loader
)
966 DEVICE_VENDOR
:= MQmaker
968 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
969 kmod-usb-ledtrig-usbport
970 SUPPORTED_DEVICES
+= witi mqmaker
,witi-256m mqmaker
,witi-512m
972 TARGET_DEVICES
+= mqmaker_witi
974 define Device
/mtc_wr1201
975 $(Device
/dsa-migration
)
976 $(Device
/uimage-lzma-loader
)
979 DEVICE_MODEL
:= Wireless Router WR1201
980 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma
-n
'WR1201_8_128'
981 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
982 kmod-usb-ledtrig-usbport
984 TARGET_DEVICES
+= mtc_wr1201
986 define Device
/netgear_ex6150
987 $(Device
/dsa-migration
)
988 DEVICE_VENDOR
:= NETGEAR
989 DEVICE_MODEL
:= EX6150
990 DEVICE_PACKAGES
:= kmod-mt76x2
991 NETGEAR_BOARD_ID
:= U12H318T00_NETGEAR
993 IMAGES
+= factory.chk
994 IMAGE
/factory.chk
:= $$(sysupgrade_bin
) | check-size | netgear-chk
996 TARGET_DEVICES
+= netgear_ex6150
998 define Device
/netgear_sercomm_nand
999 $(Device
/dsa-migration
)
1000 $(Device
/uimage-lzma-loader
)
1003 KERNEL_SIZE
:= 4096k
1004 UBINIZE_OPTS
:= -E
5
1005 IMAGES
+= factory.img kernel.bin rootfs.bin
1006 IMAGE
/factory.img
:= pad-extra
2048k | append-kernel | pad-to
6144k | \
1007 append-ubi | pad-to
$$$$(BLOCKSIZE
) | sercom-footer | pad-to
128 | \
1008 zip
$$$$(SERCOMM_HWNAME
).bin | sercom-seal
1009 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1010 IMAGE
/kernel.bin
:= append-kernel
1011 IMAGE
/rootfs.bin
:= append-ubi | check-size
1012 DEVICE_VENDOR
:= NETGEAR
1013 DEVICE_PACKAGES
:= kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport
1016 define Device
/netgear_r6220
1017 $(Device
/netgear_sercomm_nand
)
1018 DEVICE_MODEL
:= R6220
1019 SERCOMM_HWNAME
:= R6220
1021 SERCOMM_HWVER
:= A001
1022 SERCOMM_SWVER
:= 0x0086
1023 IMAGE_SIZE
:= 28672k
1024 DEVICE_PACKAGES
+= kmod-mt76x2
1025 SUPPORTED_DEVICES
+= r6220
1027 TARGET_DEVICES
+= netgear_r6220
1030 define Device
/netgear_r6260
1031 $(Device
/netgear_sercomm_nand
)
1032 DEVICE_MODEL
:= R6260
1033 SERCOMM_HWNAME
:= R6260
1035 SERCOMM_HWVER
:= A001
1036 SERCOMM_SWVER
:= 0x0052
1037 IMAGE_SIZE
:= 40960k
1038 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1040 TARGET_DEVICES
+= netgear_r6260
1042 define Device
/netgear_r6350
1043 $(Device
/netgear_sercomm_nand
)
1044 DEVICE_MODEL
:= R6350
1045 SERCOMM_HWNAME
:= R6350
1047 SERCOMM_HWVER
:= A001
1048 SERCOMM_SWVER
:= 0x0052
1049 IMAGE_SIZE
:= 40960k
1050 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1052 TARGET_DEVICES
+= netgear_r6350
1054 define Device
/netgear_r6700-v2
1055 $(Device
/netgear_sercomm_nand
)
1056 DEVICE_MODEL
:= R6700
1057 DEVICE_VARIANT
:= v2
1058 DEVICE_ALT0_VENDOR
:= NETGEAR
1059 DEVICE_ALT0_MODEL
:= Nighthawk AC2400
1060 DEVICE_ALT0_VARIANT
:= v1
1061 DEVICE_ALT1_VENDOR
:= NETGEAR
1062 DEVICE_ALT1_MODEL
:= R7200
1063 DEVICE_ALT1_VARIANT
:= v1
1064 SERCOMM_HWNAME
:= R6950
1066 SERCOMM_HWVER
:= A001
1067 SERCOMM_SWVER
:= 0x1032
1068 IMAGE_SIZE
:= 40960k
1069 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1071 TARGET_DEVICES
+= netgear_r6700-v2
1073 define Device
/netgear_r6800
1074 $(Device
/netgear_sercomm_nand
)
1075 DEVICE_MODEL
:= R6800
1076 SERCOMM_HWNAME
:= R6950
1078 SERCOMM_HWVER
:= A001
1079 SERCOMM_SWVER
:= 0x0062
1080 IMAGE_SIZE
:= 40960k
1081 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1083 TARGET_DEVICES
+= netgear_r6800
1085 define Device
/netgear_r6850
1086 $(Device
/netgear_sercomm_nand
)
1087 DEVICE_MODEL
:= R6850
1088 SERCOMM_HWNAME
:= R6850
1090 SERCOMM_HWVER
:= A001
1091 SERCOMM_SWVER
:= 0x0052
1092 IMAGE_SIZE
:= 40960k
1093 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1095 TARGET_DEVICES
+= netgear_r6850
1097 define Device
/netgear_wac104
1098 $(Device
/netgear_sercomm_nand
)
1099 DEVICE_MODEL
:= WAC104
1100 SERCOMM_HWNAME
:= WAC104
1102 SERCOMM_HWVER
:= A001
1103 SERCOMM_SWVER
:= 0x0006
1104 IMAGE_SIZE
:= 28672k
1105 DEVICE_PACKAGES
+= kmod-mt76x2
1107 TARGET_DEVICES
+= netgear_wac104
1109 define Device
/netgear_wac124
1110 $(Device
/netgear_sercomm_nand
)
1111 DEVICE_MODEL
:= WAC124
1112 SERCOMM_HWNAME
:= WAC124
1114 SERCOMM_HWVER
:= A003
1115 SERCOMM_SWVER
:= 0x0402
1116 IMAGE_SIZE
:= 40960k
1117 DEVICE_PACKAGES
+= kmod-mt7615e kmod-mt7615-firmware
1119 TARGET_DEVICES
+= netgear_wac124
1121 define Device
/netgear_wndr3700-v5
1122 $(Device
/dsa-migration
)
1123 $(Device
/netgear_sercomm_nor
)
1124 $(Device
/uimage-lzma-loader
)
1125 IMAGE_SIZE
:= 15232k
1126 DEVICE_MODEL
:= WNDR3700
1127 DEVICE_VARIANT
:= v5
1128 SERCOMM_HWNAME
:= WNDR3700v5
1130 SERCOMM_HWVER
:= A001
1131 SERCOMM_SWVER
:= 0x1054
1133 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1134 kmod-usb-ledtrig-usbport
1135 SUPPORTED_DEVICES
+= wndr3700v5
1137 TARGET_DEVICES
+= netgear_wndr3700-v5
1139 define Device
/netis_wf2881
1140 $(Device
/dsa-migration
)
1143 FILESYSTEMS
:= squashfs
1144 KERNEL_SIZE
:= 4096k
1145 IMAGE_SIZE
:= 129280k
1146 UBINIZE_OPTS
:= -E
5
1147 UIMAGE_NAME
:= WF2881_0.0
.00
1148 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | netis-tail WF2881 | uImage lzma
1149 IMAGES
+= factory.bin
1150 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1151 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
1153 DEVICE_VENDOR
:= NETIS
1154 DEVICE_MODEL
:= WF2881
1155 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
1157 TARGET_DEVICES
+= netis_wf2881
1159 define Device
/phicomm_k2p
1160 $(Device
/dsa-migration
)
1161 IMAGE_SIZE
:= 15744k
1162 DEVICE_VENDOR
:= Phicomm
1164 DEVICE_ALT0_VENDOR
:= Phicomm
1165 DEVICE_ALT0_MODEL
:= KE
2P
1166 SUPPORTED_DEVICES
+= k2p
1167 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1169 TARGET_DEVICES
+= phicomm_k2p
1171 define Device
/planex_vr500
1172 $(Device
/dsa-migration
)
1173 $(Device
/uimage-lzma-loader
)
1174 IMAGE_SIZE
:= 65216k
1175 DEVICE_VENDOR
:= Planex
1176 DEVICE_MODEL
:= VR500
1177 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
1178 SUPPORTED_DEVICES
+= vr500
1180 TARGET_DEVICES
+= planex_vr500
1182 define Device
/samknows_whitebox-v8
1183 $(Device
/dsa-migration
)
1184 IMAGE_SIZE
:= 16064k
1185 DEVICE_VENDOR
:= SamKnows
1186 DEVICE_MODEL
:= Whitebox
8
1187 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1188 kmod-usb-ledtrig-usbport uboot-envtools
1189 SUPPORTED_DEVICES
+= sk-wb8
1191 TARGET_DEVICES
+= samknows_whitebox-v8
1193 define Device
/sercomm_na502
1194 $(Device
/uimage-lzma-loader
)
1197 IMAGE_SIZE
:= 20480k
1198 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1199 UBINIZE_OPTS
:= -E
5
1200 KERNEL_SIZE
:= 4096k
1201 DEVICE_VENDOR
:= SERCOMM
1202 DEVICE_MODEL
:= NA502
1203 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-mt7603 kmod-usb3
1205 TARGET_DEVICES
+= sercomm_na502
1207 define Device
/storylink_sap-g3200u3
1208 $(Device
/dsa-migration
)
1210 DEVICE_VENDOR
:= STORYLiNK
1211 DEVICE_MODEL
:= SAP-G3200U3
1212 DEVICE_PACKAGES
:= kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
1213 SUPPORTED_DEVICES
+= sap-g3200u3
1215 TARGET_DEVICES
+= storylink_sap-g3200u3
1217 define Device
/telco-electronics_x1
1218 $(Device
/dsa-migration
)
1219 IMAGE_SIZE
:= 16064k
1220 DEVICE_VENDOR
:= Telco Electronics
1222 DEVICE_PACKAGES
:= kmod-usb3 kmod-mt76
1224 TARGET_DEVICES
+= telco-electronics_x1
1226 define Device
/tenbay_t-mb5eu-v01
1227 $(Device
/dsa-migration
)
1228 DEVICE_VENDOR
:= Tenbay
1229 DEVICE_MODEL
:= T-MB5EU-V01
1230 DEVICE_DTS_CONFIG
:= config@
1
1231 DEVICE_PACKAGES
+= kmod-mt7915e kmod-usb3
1232 KERNEL
:= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(firstword $$(DEVICE_DTS
)).dtb
1233 IMAGE_SIZE
:= 15808k
1234 SUPPORTED_DEVICES
+= mt7621-dm2-t-mb5eu-v01-nor
1236 TARGET_DEVICES
+= tenbay_t-mb5eu-v01
1238 define Device
/thunder_timecloud
1239 $(Device
/dsa-migration
)
1240 $(Device
/uimage-lzma-loader
)
1241 IMAGE_SIZE
:= 16064k
1242 DEVICE_VENDOR
:= Thunder
1243 DEVICE_MODEL
:= Timecloud
1244 DEVICE_PACKAGES
:= kmod-usb3
-wpad-basic-wolfssl
1245 SUPPORTED_DEVICES
+= timecloud
1247 TARGET_DEVICES
+= thunder_timecloud
1249 define Device
/totolink_a7000r
1250 $(Device
/dsa-migration
)
1251 IMAGE_SIZE
:= 16064k
1252 UIMAGE_NAME
:= C8340R1C-9999
1253 DEVICE_VENDOR
:= TOTOLINK
1254 DEVICE_MODEL
:= A7000R
1255 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1257 TARGET_DEVICES
+= totolink_a7000r
1259 define Device
/totolink_x5000r
1260 $(Device
/dsa-migration
)
1261 IMAGE_SIZE
:= 16064k
1262 UIMAGE_NAME
:= C8343R-9999
1263 DEVICE_VENDOR
:= TOTOLINK
1264 DEVICE_MODEL
:= X5000R
1265 DEVICE_PACKAGES
:= kmod-mt7915e
1267 TARGET_DEVICES
+= totolink_x5000r
1269 define Device
/tplink_archer-a6-v3
1270 $(Device
/dsa-migration
)
1271 $(Device
/tplink-safeloader
)
1272 DEVICE_MODEL
:= Archer A6
1273 DEVICE_VARIANT
:= V3
1274 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e \
1275 kmod-mt7663-firmware-ap kmod-mt7663-firmware-sta
1276 TPLINK_BOARD_ID
:= ARCHER-A6-V3
1277 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1278 IMAGE_SIZE
:= 15744k
1280 TARGET_DEVICES
+= tplink_archer-a6-v3
1282 define Device
/tplink_archer-c6-v3
1283 $(Device
/dsa-migration
)
1284 $(Device
/tplink-safeloader
)
1285 DEVICE_MODEL
:= Archer C6
1286 DEVICE_VARIANT
:= V3
1287 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e \
1288 kmod-mt7663-firmware-ap kmod-mt7663-firmware-sta
1289 TPLINK_BOARD_ID
:= ARCHER-C6-V3
1290 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1291 IMAGE_SIZE
:= 15744k
1293 TARGET_DEVICES
+= tplink_archer-c6-v3
1295 define Device
/tplink_archer-c6u-v1
1296 $(Device
/dsa-migration
)
1297 $(Device
/tplink-safeloader
)
1298 DEVICE_MODEL
:= Archer C6U
1299 DEVICE_VARIANT
:= v1
1300 DEVICE_PACKAGES
:= kmod-mt7603 \
1301 kmod-mt7615e kmod-mt7663-firmware-ap \
1302 kmod-usb3 kmod-usb-ledtrig-usbport
1303 KERNEL
:= $(KERNEL_DTB
) | uImage lzma
1304 TPLINK_BOARD_ID
:= ARCHER-C6U-V1
1305 IMAGE_SIZE
:= 15744k
1307 TARGET_DEVICES
+= tplink_archer-c6u-v1
1309 define Device
/tplink_eap235-wall-v1
1310 $(Device
/dsa-migration
)
1311 $(Device
/tplink-safeloader
)
1312 DEVICE_MODEL
:= EAP235-Wall
1313 DEVICE_VARIANT
:= v1
1314 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
1315 TPLINK_BOARD_ID
:= EAP235-WALL-V1
1316 IMAGE_SIZE
:= 13440k
1317 IMAGE
/factory.bin
:= append-rootfs | tplink-safeloader factory | \
1320 TARGET_DEVICES
+= tplink_eap235-wall-v1
1322 define Device
/tplink_re350-v1
1323 $(Device
/dsa-migration
)
1324 $(Device
/tplink-safeloader
)
1325 DEVICE_MODEL
:= RE350
1326 DEVICE_VARIANT
:= v1
1327 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1328 TPLINK_BOARD_ID
:= RE350-V1
1330 SUPPORTED_DEVICES
+= re350-v1
1332 TARGET_DEVICES
+= tplink_re350-v1
1334 define Device
/tplink_re500-v1
1335 $(Device
/dsa-migration
)
1336 $(Device
/tplink-safeloader
)
1337 DEVICE_MODEL
:= RE500
1338 DEVICE_VARIANT
:= v1
1339 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1340 TPLINK_BOARD_ID
:= RE500-V1
1341 IMAGE_SIZE
:= 14208k
1343 TARGET_DEVICES
+= tplink_re500-v1
1345 define Device
/tplink_re650-v1
1346 $(Device
/dsa-migration
)
1347 $(Device
/tplink-safeloader
)
1348 DEVICE_MODEL
:= RE650
1349 DEVICE_VARIANT
:= v1
1350 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware
1351 TPLINK_BOARD_ID
:= RE650-V1
1352 IMAGE_SIZE
:= 14208k
1354 TARGET_DEVICES
+= tplink_re650-v1
1356 define Device
/ubnt_edgerouter_common
1357 $(Device
/dsa-migration
)
1358 $(Device
/uimage-lzma-loader
)
1359 DEVICE_VENDOR
:= Ubiquiti
1360 IMAGE_SIZE
:= 256768k
1361 FILESYSTEMS
:= squashfs
1362 KERNEL_SIZE
:= 3145728
1363 KERNEL_INITRAMFS
:= $$(KERNEL
) | \
1364 ubnt-erx-factory-image
$(KDIR
)/tmp
/$$(KERNEL_INITRAMFS_PREFIX
)-factory.
tar
1365 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1366 DEVICE_PACKAGES
+= -wpad-basic-wolfssl
1369 define Device
/ubnt_edgerouter-x
1370 $(Device
/ubnt_edgerouter_common
)
1371 DEVICE_MODEL
:= EdgeRouter X
1372 SUPPORTED_DEVICES
+= ubnt-erx ubiquiti
,edgerouterx
1374 TARGET_DEVICES
+= ubnt_edgerouter-x
1376 define Device
/ubnt_edgerouter-x-sfp
1377 $(Device
/ubnt_edgerouter_common
)
1378 DEVICE_MODEL
:= EdgeRouter X SFP
1379 DEVICE_PACKAGES
+= kmod-i2c-algo-pca kmod-gpio-pca953x kmod-sfp
1380 SUPPORTED_DEVICES
+= ubnt-erx-sfp ubiquiti
,edgerouterx-sfp
1382 TARGET_DEVICES
+= ubnt_edgerouter-x-sfp
1384 define Device
/ubnt_unifi-6-lite
1385 $(Device
/dsa-migration
)
1386 DEVICE_VENDOR
:= Ubiquiti
1387 DEVICE_MODEL
:= UniFi
6 Lite
1388 DEVICE_DTS_CONFIG
:= config@
1
1389 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7915e
1390 KERNEL
:= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(firstword $$(DEVICE_DTS
)).dtb
1391 IMAGE_SIZE
:= 15424k
1393 TARGET_DEVICES
+= ubnt_unifi-6-lite
1395 define Device
/ubnt_unifi-nanohd
1396 $(Device
/dsa-migration
)
1397 DEVICE_VENDOR
:= Ubiquiti
1398 DEVICE_MODEL
:= UniFi nanoHD
1399 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1400 IMAGE_SIZE
:= 15552k
1402 TARGET_DEVICES
+= ubnt_unifi-nanohd
1404 define Device
/unielec_u7621-01-16m
1405 $(Device
/dsa-migration
)
1406 $(Device
/uimage-lzma-loader
)
1407 IMAGE_SIZE
:= 16064k
1408 DEVICE_VENDOR
:= UniElec
1409 DEVICE_MODEL
:= U7621-01
1410 DEVICE_VARIANT
:= 16M
1411 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3
1413 TARGET_DEVICES
+= unielec_u7621-01-16m
1415 define Device
/unielec_u7621-06-16m
1416 $(Device
/dsa-migration
)
1417 $(Device
/uimage-lzma-loader
)
1418 IMAGE_SIZE
:= 16064k
1419 DEVICE_VENDOR
:= UniElec
1420 DEVICE_MODEL
:= U7621-06
1421 DEVICE_VARIANT
:= 16M
1422 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1423 SUPPORTED_DEVICES
+= u7621-06-256M-16M unielec
,u7621-06-256m-16m
1425 TARGET_DEVICES
+= unielec_u7621-06-16m
1427 define Device
/unielec_u7621-06-64m
1428 $(Device
/dsa-migration
)
1429 $(Device
/uimage-lzma-loader
)
1430 IMAGE_SIZE
:= 65216k
1431 DEVICE_VENDOR
:= UniElec
1432 DEVICE_MODEL
:= U7621-06
1433 DEVICE_VARIANT
:= 64M
1434 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-wpad-basic-wolfssl
1435 SUPPORTED_DEVICES
+= unielec
,u7621-06-512m-64m
1437 TARGET_DEVICES
+= unielec_u7621-06-64m
1439 define Device
/wavlink_wl-wn531a6
1440 $(Device
/dsa-migration
)
1441 DEVICE_VENDOR
:= Wavlink
1442 DEVICE_MODEL
:= WL-WN531A6
1443 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-usb3
1444 IMAGE_SIZE
:= 15040k
1446 TARGET_DEVICES
+= wavlink_wl-wn531a6
1448 define Device
/wevo_11acnas
1449 $(Device
/dsa-migration
)
1450 $(Device
/uimage-lzma-loader
)
1451 IMAGE_SIZE
:= 16064k
1452 UIMAGE_NAME
:= 11AC-NAS-Router
(0.0.0)
1453 DEVICE_VENDOR
:= WeVO
1454 DEVICE_MODEL
:= 11AC NAS Router
1455 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1456 kmod-usb-ledtrig-usbport
1457 SUPPORTED_DEVICES
+= 11acnas
1459 TARGET_DEVICES
+= wevo_11acnas
1461 define Device
/wevo_w2914ns-v2
1462 $(Device
/dsa-migration
)
1463 $(Device
/uimage-lzma-loader
)
1464 IMAGE_SIZE
:= 16064k
1465 UIMAGE_NAME
:= W2914NS-V2
(0.0.0)
1466 DEVICE_VENDOR
:= WeVO
1467 DEVICE_MODEL
:= W2914NS
1468 DEVICE_VARIANT
:= v2
1469 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1470 kmod-usb-ledtrig-usbport
1471 SUPPORTED_DEVICES
+= w2914nsv2
1473 TARGET_DEVICES
+= wevo_w2914ns-v2
1475 define Device
/winstars_ws-wn583a6
1476 $(Device
/dsa-migration
)
1477 $(Device
/uimage-lzma-loader
)
1479 DEVICE_VENDOR
:= Winstars
1480 DEVICE_MODEL
:= WS-WN583A6
1481 DEVICE_ALT0_VENDOR
:= Gemeita
1482 DEVICE_ALT0_MODEL
:= AC2100
1483 KERNEL_INITRAMFS_SUFFIX
:= -WN583A6
$$(KERNEL_SUFFIX
)
1484 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1486 TARGET_DEVICES
+= winstars_ws-wn583a6
1488 define Device
/xiaomi_nand_separate
1489 $(Device
/dsa-migration
)
1490 $(Device
/uimage-lzma-loader
)
1491 DEVICE_VENDOR
:= Xiaomi
1492 DEVICE_PACKAGES
:= uboot-envtools
1495 KERNEL_SIZE
:= 4096k
1496 UBINIZE_OPTS
:= -E
5
1497 IMAGES
+= kernel1.bin rootfs0.bin
1498 IMAGE
/kernel1.bin
:= append-kernel
1499 IMAGE
/rootfs0.bin
:= append-ubi | check-size
1500 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1503 define Device
/xiaomi_mi-router-3g
1504 $(Device
/xiaomi_nand_separate
)
1505 DEVICE_MODEL
:= Mi Router
3G
1506 IMAGE_SIZE
:= 124416k
1507 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1508 kmod-usb-ledtrig-usbport
1509 SUPPORTED_DEVICES
+= R3G mir3g xiaomi
,mir3g
1511 TARGET_DEVICES
+= xiaomi_mi-router-3g
1513 define Device
/xiaomi_mi-router-3g-v2
1514 $(Device
/dsa-migration
)
1515 $(Device
/uimage-lzma-loader
)
1516 IMAGE_SIZE
:= 14848k
1517 DEVICE_VENDOR
:= Xiaomi
1518 DEVICE_MODEL
:= Mi Router
3G
1519 DEVICE_VARIANT
:= v2
1520 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1521 SUPPORTED_DEVICES
+= xiaomi
,mir3g-v2
1523 TARGET_DEVICES
+= xiaomi_mi-router-3g-v2
1525 define Device
/xiaomi_mi-router-3-pro
1526 $(Device
/dsa-migration
)
1527 $(Device
/uimage-lzma-loader
)
1531 UBINIZE_OPTS
:= -E
5
1532 IMAGE_SIZE
:= 255488k
1533 DEVICE_VENDOR
:= Xiaomi
1534 DEVICE_MODEL
:= Mi Router
3 Pro
1535 IMAGES
+= factory.bin
1536 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1537 IMAGE
/factory.bin
:= append-kernel | pad-to
$$(KERNEL_SIZE
) | append-ubi | \
1539 DEVICE_PACKAGES
:= kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
1540 kmod-usb-ledtrig-usbport uboot-envtools
1541 SUPPORTED_DEVICES
+= xiaomi
,mir3p
1543 TARGET_DEVICES
+= xiaomi_mi-router-3-pro
1545 define Device
/xiaomi_mi-router-4
1546 $(Device
/xiaomi_nand_separate
)
1547 DEVICE_MODEL
:= Mi Router
4
1548 IMAGE_SIZE
:= 124416k
1549 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt76x2
1551 TARGET_DEVICES
+= xiaomi_mi-router-4
1553 define Device
/xiaomi_mi-router-4a-gigabit
1554 $(Device
/dsa-migration
)
1555 $(Device
/uimage-lzma-loader
)
1556 IMAGE_SIZE
:= 14848k
1557 DEVICE_VENDOR
:= Xiaomi
1558 DEVICE_MODEL
:= Mi Router
4A
1559 DEVICE_VARIANT
:= Gigabit Edition
1560 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2
1562 TARGET_DEVICES
+= xiaomi_mi-router-4a-gigabit
1564 define Device
/xiaomi_mi-router-ac2100
1565 $(Device
/xiaomi_nand_separate
)
1566 DEVICE_MODEL
:= Mi Router AC2100
1567 IMAGE_SIZE
:= 120320k
1568 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1570 TARGET_DEVICES
+= xiaomi_mi-router-ac2100
1572 define Device
/xiaomi_redmi-router-ac2100
1573 $(Device
/xiaomi_nand_separate
)
1574 DEVICE_MODEL
:= Redmi Router AC2100
1575 IMAGE_SIZE
:= 120320k
1576 DEVICE_PACKAGES
+= kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
1578 TARGET_DEVICES
+= xiaomi_redmi-router-ac2100
1580 define Device
/xiaoyu_xy-c5
1581 $(Device
/dsa-migration
)
1582 IMAGE_SIZE
:= 32448k
1583 DEVICE_VENDOR
:= XiaoYu
1584 DEVICE_MODEL
:= XY-C5
1585 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-usb3
-wpad-basic-wolfssl
1587 TARGET_DEVICES
+= xiaoyu_xy-c5
1589 define Device
/xzwifi_creativebox-v1
1590 $(Device
/dsa-migration
)
1591 IMAGE_SIZE
:= 32448k
1592 DEVICE_VENDOR
:= CreativeBox
1594 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
1595 kmod-usb3
-wpad-basic-wolfssl
1597 TARGET_DEVICES
+= xzwifi_creativebox-v1
1599 define Device
/youhua_wr1200js
1600 $(Device
/dsa-migration
)
1601 IMAGE_SIZE
:= 16064k
1602 DEVICE_VENDOR
:= YouHua
1603 DEVICE_MODEL
:= WR1200JS
1604 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1605 kmod-usb-ledtrig-usbport
1607 TARGET_DEVICES
+= youhua_wr1200js
1609 define Device
/youku_yk-l2
1610 $(Device
/dsa-migration
)
1611 IMAGE_SIZE
:= 16064k
1612 DEVICE_VENDOR
:= Youku
1613 DEVICE_MODEL
:= YK-L2
1614 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1615 kmod-usb-ledtrig-usbport
1617 TARGET_DEVICES
+= youku_yk-l2
1619 define Device
/zbtlink_zbt-we1326
1620 $(Device
/dsa-migration
)
1621 $(Device
/uimage-lzma-loader
)
1622 IMAGE_SIZE
:= 16064k
1623 DEVICE_VENDOR
:= Zbtlink
1624 DEVICE_MODEL
:= ZBT-WE1326
1625 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620
1626 SUPPORTED_DEVICES
+= zbt-we1326
1628 TARGET_DEVICES
+= zbtlink_zbt-we1326
1630 define Device
/zbtlink_zbt-we3526
1631 $(Device
/dsa-migration
)
1632 $(Device
/uimage-lzma-loader
)
1633 IMAGE_SIZE
:= 16064k
1634 DEVICE_VENDOR
:= Zbtlink
1635 DEVICE_MODEL
:= ZBT-WE3526
1636 DEVICE_PACKAGES
:= kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1637 kmod-usb-ledtrig-usbport
1639 TARGET_DEVICES
+= zbtlink_zbt-we3526
1641 define Device
/zbtlink_zbt-wg2626
1642 $(Device
/dsa-migration
)
1643 $(Device
/uimage-lzma-loader
)
1644 IMAGE_SIZE
:= 16064k
1645 DEVICE_VENDOR
:= Zbtlink
1646 DEVICE_MODEL
:= ZBT-WG2626
1647 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
1648 kmod-usb-ledtrig-usbport
1649 SUPPORTED_DEVICES
+= zbt-wg2626
1651 TARGET_DEVICES
+= zbtlink_zbt-wg2626
1653 define Device
/zbtlink_zbt-wg3526-16m
1654 $(Device
/dsa-migration
)
1655 $(Device
/uimage-lzma-loader
)
1656 IMAGE_SIZE
:= 16064k
1657 DEVICE_VENDOR
:= Zbtlink
1658 DEVICE_MODEL
:= ZBT-WG3526
1659 DEVICE_VARIANT
:= 16M
1660 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1661 kmod-usb3 kmod-usb-ledtrig-usbport
1662 SUPPORTED_DEVICES
+= zbt-wg3526 zbt-wg3526-16M
1664 TARGET_DEVICES
+= zbtlink_zbt-wg3526-16m
1666 define Device
/zbtlink_zbt-wg3526-32m
1667 $(Device
/dsa-migration
)
1668 $(Device
/uimage-lzma-loader
)
1669 IMAGE_SIZE
:= 32448k
1670 DEVICE_VENDOR
:= Zbtlink
1671 DEVICE_MODEL
:= ZBT-WG3526
1672 DEVICE_VARIANT
:= 32M
1673 DEVICE_PACKAGES
:= kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
1674 kmod-usb3 kmod-usb-ledtrig-usbport
1675 SUPPORTED_DEVICES
+= ac1200pro zbt-wg3526-32M
1677 TARGET_DEVICES
+= zbtlink_zbt-wg3526-32m
1679 define Device
/zio_freezio
1680 $(Device
/dsa-migration
)
1681 IMAGE_SIZE
:= 16064k
1682 DEVICE_VENDOR
:= ZIO
1683 DEVICE_MODEL
:= FREEZIO
1684 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt76x2 kmod-usb3 \
1685 kmod-usb-ledtrig-usbport
1687 TARGET_DEVICES
+= zio_freezio
1689 define Device
/zyxel_nr7101
1690 $(Device
/dsa-migration
)
1693 UBINIZE_OPTS
:= -E
5
1694 DEVICE_VENDOR
:= ZyXEL
1695 DEVICE_MODEL
:= NR7101
1696 DEVICE_PACKAGES
:= kmod-mt7603 kmod-usb3 uboot-envtools kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
1697 KERNEL
:= $(KERNEL_DTB
) | uImage lzma | zytrx-header
$$(DEVICE_MODEL
) $$(VERSION_DIST
)-$$(REVISION
)
1698 KERNEL_INITRAMFS
:= $(KERNEL_DTB
) | uImage lzma | zytrx-header
$$(DEVICE_MODEL
) 9.99(ABUV
.9)$$(VERSION_DIST
)-recovery
1699 KERNEL_INITRAMFS_SUFFIX
:= -recovery.bin
1700 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1702 TARGET_DEVICES
+= zyxel_nr7101
1704 define Device
/zyxel_wap6805
1705 $(Device
/dsa-migration
)
1708 KERNEL_SIZE
:= 4096k
1709 UBINIZE_OPTS
:= -E
5
1710 IMAGE_SIZE
:= 32448k
1711 DEVICE_VENDOR
:= ZyXEL
1712 DEVICE_MODEL
:= WAP6805
1713 DEVICE_PACKAGES
:= kmod-mt7603 kmod-mt7621-qtn-rgmii
1714 KERNEL
:= $(KERNEL_DTB
) | uImage lzma | uimage-padhdr
160
1715 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
1717 TARGET_DEVICES
+= zyxel_wap6805