1 include ./common-buffalo.mk
2 include ./common-netgear.mk
4 DEVICE_VARS += ADDPATTERN_ID ADDPATTERN_VERSION
5 DEVICE_VARS += SEAMA_SIGNATURE SEAMA_MTDBLOCK
6 DEVICE_VARS += KERNEL_INITRAMFS_PREFIX
8 define Build/cybertan-trx
9 @echo -n '' > $@-empty.bin
10 -$(STAGING_DIR_HOST)/bin/trx -o $@.new \
11 -f $(IMAGE_KERNEL) -F $@-empty.bin \
12 -x 32 -a 0x10000 -x -32 -f $@
17 define Build/addpattern
18 -$(STAGING_DIR_HOST)/bin/addpattern -B $(ADDPATTERN_ID) \
19 -v v$(ADDPATTERN_VERSION) -i $@ -o $@.new
23 define Build/add-elecom-factory-initramfs
24 $(eval edimax_model=$(word 1,$(1)))
25 $(eval product=$(word 2,$(1)))
27 $(STAGING_DIR_HOST)/bin/mkedimaximg \
28 -b -s CSYS -m $(edimax_model) \
29 -f 0x70000 -S 0x01100000 \
33 echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \
34 echo -n "0.00" | dd bs=16 count=1 conv=sync; \
38 if [ "$$(stat -c%s $@.factory.new)" -le $$(($(subst k,* 1024,$(subst m, * 1024k,$(IMAGE_SIZE))))) ]; then \
39 mv $@.factory.new $(BIN_DIR)/$(KERNEL_INITRAMFS_PREFIX)-factory.bin; \
41 echo "WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
46 $(STAGING_DIR_HOST)/bin/nec-enc \
47 -i $@ -o $@.new -k $(1)
52 ( stat -c%s $@ | tr -d "\n" | dd bs=16 count=1 conv=sync; ) >> $@
54 echo -n -e "$(1)" | dd bs=16 count=1 conv=sync; \
55 echo -n "0.0.00" | dd bs=16 count=1 conv=sync; \
62 KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
63 KERNEL_INITRAMFS := $$(KERNEL) | seama
68 # - 28 bytes seama_header
69 # - 36 bytes of META data (4-bytes aligned)
70 IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
71 IMAGE/sysupgrade.bin := \
72 $$(IMAGE/default) | seama | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
73 IMAGE/factory.bin := \
74 $$(IMAGE/default) | pad-rootfs -x 64 | seama | seama-seal | check-size $$$$(IMAGE_SIZE)
78 define Device/8dev_carambola2
80 DEVICE_VENDOR := 8devices
81 DEVICE_MODEL := Carambola2
82 DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2
84 SUPPORTED_DEVICES += carambola2
86 TARGET_DEVICES += 8dev_carambola2
88 define Device/aruba_ap-105
90 DEVICE_VENDOR := Aruba
91 DEVICE_MODEL := AP-105
93 DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-tpm-i2c-atmel
95 TARGET_DEVICES += aruba_ap-105
97 define Device/avm_fritz300e
100 DEVICE_MODEL := FRITZ!WLAN Repeater 300E
101 KERNEL := kernel-bin | append-dtb | lzma | eva-image
102 KERNEL_INITRAMFS := $$(KERNEL)
104 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
105 append-squashfs-fakeroot-be | pad-to 256 | \
106 append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
107 DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
109 TARGET_DEVICES += avm_fritz300e
111 define Device/avm_fritz4020
114 DEVICE_MODEL := FRITZ!Box 4020
116 KERNEL := kernel-bin | append-dtb | lzma | eva-image
117 KERNEL_INITRAMFS := $$(KERNEL)
118 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
119 append-squashfs-fakeroot-be | pad-to 256 | \
120 append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
121 DEVICE_PACKAGES := fritz-tffs
122 SUPPORTED_DEVICES += fritz4020
124 TARGET_DEVICES += avm_fritz4020
126 define Device/buffalo_bhr-4grv
128 DEVICE_VENDOR := Buffalo
129 DEVICE_MODEL := BHR-4GRV
130 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
132 IMAGES += factory.bin tftp.bin
133 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
134 IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc BHR-4GRV 1.99 | buffalo-tag BHR-4GRV 3
135 IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
136 SUPPORTED_DEVICES += wzr-hp-g450h
138 TARGET_DEVICES += buffalo_bhr-4grv
140 define Device/buffalo_bhr-4grv2
142 DEVICE_VENDOR := Buffalo
143 DEVICE_MODEL := BHR-4GRV2
146 TARGET_DEVICES += buffalo_bhr-4grv2
148 define Device/buffalo_wzr-hp-ag300h
150 DEVICE_VENDOR := Buffalo
151 DEVICE_MODEL := WZR-HP-AG300H
153 IMAGES += factory.bin tftp.bin
154 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
155 IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-AG300H 1.99 | buffalo-tag WZR-HP-AG300H 3
156 IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
157 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
158 SUPPORTED_DEVICES += wzr-hp-ag300h
160 TARGET_DEVICES += buffalo_wzr-hp-ag300h
162 define Device/buffalo_wzr-hp-g302h-a1a0
164 DEVICE_VENDOR := Buffalo
165 DEVICE_MODEL := WZR-HP-G302H
166 DEVICE_VARIANT := A1A0
167 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
169 IMAGES += factory.bin tftp.bin
170 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
171 IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G302H 1.99 | buffalo-tag WZR-HP-G302H 4
172 IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
173 SUPPORTED_DEVICES += wzr-hp-g300nh2
175 TARGET_DEVICES += buffalo_wzr-hp-g302h-a1a0
177 define Device/buffalo_wzr-hp-g450h
179 DEVICE_VENDOR := Buffalo
180 DEVICE_MODEL := WZR-HP-G450H/WZR-450HP
181 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
183 IMAGES += factory.bin tftp.bin
184 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
185 IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G450H 1.99 | buffalo-tag WZR-HP-G450H 3
186 IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
187 SUPPORTED_DEVICES += wzr-hp-g450h
189 TARGET_DEVICES += buffalo_wzr-hp-g450h
191 define Device/comfast_cf-e110n-v2
193 DEVICE_VENDOR := COMFAST
194 DEVICE_MODEL := CF-E110N
196 DEVICE_PACKAGES := rssileds kmod-leds-gpio -swconfig -uboot-envtools
199 TARGET_DEVICES += comfast_cf-e110n-v2
201 define Device/comfast_cf-e120a-v3
203 DEVICE_VENDOR := COMFAST
204 DEVICE_MODEL := CF-E120A
206 DEVICE_PACKAGES := rssileds kmod-leds-gpio -uboot-envtools
209 TARGET_DEVICES += comfast_cf-e120a-v3
211 define Device/comfast_cf-e5
213 DEVICE_VENDOR := COMFAST
214 DEVICE_MODEL := CF-E5/E7
215 DEVICE_PACKAGES := rssileds kmod-leds-gpio kmod-usb-core kmod-usb2 kmod-usb-net \
216 kmod-usb-net-qmi-wwan -swconfig -uboot-envtools
219 TARGET_DEVICES += comfast_cf-e5
221 define Device/devolo_dvl1200e
223 DEVICE_VENDOR := devolo
224 DEVICE_MODEL := WiFi pro 1200e
225 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
228 TARGET_DEVICES += devolo_dvl1200e
230 define Device/devolo_dvl1200i
232 DEVICE_VENDOR := devolo
233 DEVICE_MODEL := WiFi pro 1200i
234 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
237 TARGET_DEVICES += devolo_dvl1200i
239 define Device/devolo_dvl1750c
241 DEVICE_VENDOR := devolo
242 DEVICE_MODEL := WiFi pro 1750c
243 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
246 TARGET_DEVICES += devolo_dvl1750c
248 define Device/devolo_dvl1750e
250 DEVICE_VENDOR := devolo
251 DEVICE_MODEL := WiFi pro 1750e
252 DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
255 TARGET_DEVICES += devolo_dvl1750e
257 define Device/devolo_dvl1750i
259 DEVICE_VENDOR := devolo
260 DEVICE_MODEL := WiFi pro 1750i
261 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
264 TARGET_DEVICES += devolo_dvl1750i
266 define Device/dlink_dir-825-b1
268 DEVICE_VENDOR := D-Link
269 DEVICE_MODEL := DIR-825
272 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
273 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
274 SUPPORTED_DEVICES += dir-825-b1
276 TARGET_DEVICES += dlink_dir-825-b1
278 define Device/dlink_dir-825-c1
280 DEVICE_VENDOR := D-Link
281 DEVICE_MODEL := DIR-825
283 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
284 SUPPORTED_DEVICES += dir-825-c1
286 IMAGES := factory.bin sysupgrade.bin
287 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
288 IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
289 append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
290 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
292 TARGET_DEVICES += dlink_dir-825-c1
294 define Device/dlink_dir-835-a1
296 DEVICE_VENDOR := D-Link
297 DEVICE_MODEL := DIR-835
299 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-leds-reset kmod-owl-loader
300 SUPPORTED_DEVICES += dir-835-a1
302 IMAGES := factory.bin sysupgrade.bin
303 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
304 IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
305 append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
306 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
308 TARGET_DEVICES += dlink_dir-835-a1
310 define Device/dlink_dir-859-a1
313 DEVICE_VENDOR := D-Link
314 DEVICE_MODEL := DIR-859
317 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
318 SEAMA_SIGNATURE := wrgac37_dlink.2013gui_dir859
319 SUPPORTED_DEVICES += dir-859-a1
321 TARGET_DEVICES += dlink_dir-859-a1
323 define Device/elecom_wrc-1750ghbk2-i
325 DEVICE_VENDOR := ELECOM
326 DEVICE_MODEL := WRC-1750GHBK2-I/C
328 KERNEL_INITRAMFS := $$(KERNEL) | pad-to 2 | \
329 add-elecom-factory-initramfs RN68 WRC-1750GHBK2
330 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
332 TARGET_DEVICES += elecom_wrc-1750ghbk2-i
334 define Device/elecom_wrc-300ghbk2-i
336 DEVICE_VENDOR := ELECOM
337 DEVICE_MODEL := WRC-300GHBK2-I
339 KERNEL_INITRAMFS := $$(KERNEL) | pad-to 2 | \
340 add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
342 TARGET_DEVICES += elecom_wrc-300ghbk2-i
344 define Device/embeddedwireless_dorin
346 DEVICE_VENDOR := Embedded Wireless
347 DEVICE_MODEL := Dorin
348 DEVICE_PACKAGES := kmod-usb-chipidea2
351 TARGET_DEVICES += embeddedwireless_dorin
353 define Device/engenius_ecb1750
355 DEVICE_VENDOR := EnGenius
356 DEVICE_MODEL := ECB1750
357 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
359 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
360 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
361 senao-header -r 0x101 -p 0x6d -t 2
362 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
364 TARGET_DEVICES += engenius_ecb1750
366 define Device/engenius_epg5000
368 DEVICE_VENDOR := EnGenius
369 DEVICE_MODEL := EPG5000
370 DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2
372 IMAGES += factory.dlf
373 IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
374 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
375 senao-header -r 0x101 -p 0x71 -t 2
376 SUPPORTED_DEVICES += epg5000
378 TARGET_DEVICES += engenius_epg5000
380 define Device/engenius_ews511ap
382 DEVICE_VENDOR := EnGenius
383 DEVICE_MODEL := EWS511AP
384 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
387 TARGET_DEVICES += engenius_ews511ap
389 define Device/etactica_eg200
391 DEVICE_VENDOR := eTactica
392 DEVICE_MODEL := EG200
393 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
394 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
396 SUPPORTED_DEVICES += rme-eg200
398 TARGET_DEVICES += etactica_eg200
400 define Device/glinet_gl-ar150
402 DEVICE_VENDOR := GL.iNet
403 DEVICE_MODEL := GL-AR150
404 DEVICE_PACKAGES := kmod-usb-chipidea2
406 SUPPORTED_DEVICES += gl-ar150
408 TARGET_DEVICES += glinet_gl-ar150
410 define Device/glinet_gl-ar300m-common-nor
412 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
414 SUPPORTED_DEVICES += gl-ar300m
417 define Device/glinet_gl-ar300m-lite
418 $(Device/glinet_gl-ar300m-common-nor)
419 DEVICE_VENDOR := GL.iNet
420 DEVICE_MODEL := GL-AR300M-Lite
422 TARGET_DEVICES += glinet_gl-ar300m-lite
424 define Device/glinet_gl-ar300m-nor
425 $(Device/glinet_gl-ar300m-common-nor)
426 DEVICE_VENDOR := GL.iNet
427 DEVICE_MODEL := GL-AR300M
429 TARGET_DEVICES += glinet_gl-ar300m-nor
431 define Device/glinet_gl-ar750s
433 DEVICE_VENDOR := GL.iNet
434 DEVICE_MODEL := GL-AR750S
435 DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct block-mount
437 SUPPORTED_DEVICES += gl-ar750s
439 TARGET_DEVICES += glinet_gl-ar750s
441 define Device/glinet_gl-x750
443 DEVICE_VENDOR := GL.iNet
444 DEVICE_MODEL := GL-X750
445 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
448 TARGET_DEVICES += glinet_gl-x750
450 define Device/iodata_etg3-r
452 DEVICE_VENDOR := I-O DATA
453 DEVICE_MODEL := ETG3-R
455 DEVICE_PACKAGES := -iwinfo -kmod-ath9k -wpad-basic
457 TARGET_DEVICES += iodata_etg3-r
459 define Device/iodata_wn-ac1167dgr
461 DEVICE_VENDOR := I-O DATA
462 DEVICE_MODEL := WN-AC1167DGR
464 IMAGES += factory.bin
465 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
466 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
467 senao-header -r 0x30a -p 0x61 -t 2
468 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
470 TARGET_DEVICES += iodata_wn-ac1167dgr
472 define Device/iodata_wn-ac1600dgr
474 DEVICE_VENDOR := I-O DATA
475 DEVICE_MODEL := WN-AC1600DGR
477 IMAGES += factory.bin
478 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
479 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
480 senao-header -r 0x30a -p 0x60 -t 2 -v 200
481 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
483 TARGET_DEVICES += iodata_wn-ac1600dgr
485 define Device/iodata_wn-ac1600dgr2
487 DEVICE_VENDOR := I-O DATA
488 DEVICE_MODEL := WN-AC1600DGR2
490 IMAGES += factory.bin
491 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
492 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
493 senao-header -r 0x30a -p 0x60 -t 2 -v 200
494 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
496 TARGET_DEVICES += iodata_wn-ac1600dgr2
498 define Device/iodata_wn-ag300dgr
500 DEVICE_VENDOR := I-O DATA
501 DEVICE_MODEL := WN-AG300DGR
503 IMAGES += factory.bin
504 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
505 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
506 senao-header -r 0x30a -p 0x47 -t 2
507 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
509 TARGET_DEVICES += iodata_wn-ag300dgr
511 define Device/jjplus_ja76pf2
513 DEVICE_VENDOR := jjPlus
514 DEVICE_MODEL := JA76PF2
515 DEVICE_PACKAGES += -kmod-ath9k -swconfig -wpad-mini -uboot-envtools fconfig
516 IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | combined-image | check-size $$$$(IMAGE_SIZE)
517 # IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
518 KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
519 KERNEL_INITRAMFS := kernel-bin | append-dtb
522 TARGET_DEVICES += jjplus_ja76pf2
524 define Device/librerouter_librerouter-v1
526 DEVICE_VENDOR := Librerouter
527 DEVICE_MODEL := LibreRouter
530 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
532 TARGET_DEVICES += librerouter_librerouter-v1
534 define Device/nec_wg1200cr
537 DEVICE_MODEL := Aterm WG1200CR
540 SEAMA_SIGNATURE := wrgac72_necpf.2016gui_wg1200cr
541 IMAGES += factory.bin
543 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
544 IMAGE/sysupgrade.bin := \
545 $$(IMAGE/default) | seama | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
546 IMAGE/factory.bin := \
547 $$(IMAGE/default) | pad-rootfs -x 64 | seama | seama-seal | nec-enc 9gsiy9nzep452pad | \
548 check-size $$$$(IMAGE_SIZE)
549 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
551 TARGET_DEVICES += nec_wg1200cr
553 define Device/nec_wg800hp
556 DEVICE_MODEL := Aterm WG800HP
558 IMAGES += factory.bin
559 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
560 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
561 xor-image -p 6A57190601121E4C004C1E1201061957 -x | \
563 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct-htt
565 TARGET_DEVICES += nec_wg800hp
567 define Device/ocedo_koala
569 DEVICE_VENDOR := Ocedo
570 DEVICE_MODEL := Koala
571 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
572 SUPPORTED_DEVICES += koala
574 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
576 TARGET_DEVICES += ocedo_koala
578 define Device/ocedo_raccoon
580 DEVICE_VENDOR := Ocedo
581 DEVICE_MODEL := Raccoon
583 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
585 TARGET_DEVICES += ocedo_raccoon
587 define Device/ocedo_ursus
589 DEVICE_VENDOR := Ocedo
590 DEVICE_MODEL := Ursus
591 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
593 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
595 TARGET_DEVICES += ocedo_ursus
597 define Device/openmesh_om5p-ac-v2
599 DEVICE_VENDOR := OpenMesh
600 DEVICE_MODEL := OM5P-AC
602 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
604 SUPPORTED_DEVICES += om5p-acv2
606 TARGET_DEVICES += openmesh_om5p-ac-v2
608 define Device/pcs_cap324
610 DEVICE_VENDOR := PowerCloud Systems
611 DEVICE_MODEL := CAP324
613 SUPPORTED_DEVICES += cap324
615 TARGET_DEVICES += pcs_cap324
617 define Device/pcs_cr3000
619 DEVICE_VENDOR := PowerCloud Systems
620 DEVICE_MODEL := CR3000
622 SUPPORTED_DEVICES += cr3000
624 TARGET_DEVICES += pcs_cr3000
626 define Device/pcs_cr5000
628 DEVICE_VENDOR := PowerCloud Systems
629 DEVICE_MODEL := CR5000
630 DEVICE_PACKAGES := kmod-usb2 kmod-usb-core
632 SUPPORTED_DEVICES += cr5000
634 TARGET_DEVICES += pcs_cr5000
636 define Device/netgear_wndr3x00
638 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
639 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
640 $(Device/netgear_ath79)
643 define Device/netgear_ex7300_ex6400
645 NETGEAR_KERNEL_MAGIC := 0x27051956
646 NETGEAR_BOARD_ID := EX7300series
647 NETGEAR_HW_ID := 29765104+16+0+128
649 IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | netgear-rootfs | pad-rootfs
650 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca99x0-ct
651 $(Device/netgear_ath79)
654 define Device/netgear_ex6400
655 $(Device/netgear_ex7300_ex6400)
656 DEVICE_MODEL := EX6400
658 TARGET_DEVICES += netgear_ex6400
660 define Device/netgear_ex7300
661 $(Device/netgear_ex7300_ex6400)
662 DEVICE_MODEL := EX7300
664 TARGET_DEVICES += netgear_ex7300
666 define Device/netgear_wndr3700
667 $(Device/netgear_wndr3x00)
668 DEVICE_MODEL := WNDR3700
670 NETGEAR_KERNEL_MAGIC := 0x33373030
671 NETGEAR_BOARD_ID := WNDR3700
673 IMAGES += factory-NA.img
674 IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | check-size $$$$(IMAGE_SIZE)
675 SUPPORTED_DEVICES += wndr3700
677 TARGET_DEVICES += netgear_wndr3700
679 define Device/netgear_wndr3700v2
680 $(Device/netgear_wndr3x00)
681 DEVICE_MODEL := WNDR3700
683 NETGEAR_KERNEL_MAGIC := 0x33373031
684 NETGEAR_BOARD_ID := WNDR3700v2
685 NETGEAR_HW_ID := 29763654+16+64
687 SUPPORTED_DEVICES += wndr3700v2
689 TARGET_DEVICES += netgear_wndr3700v2
691 define Device/pisen_wmm003n
692 $(Device/tplink-8mlzma)
694 DEVICE_VENDOR := PISEN
695 DEVICE_MODEL := Cloud Easy Power (WMM003N)
696 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-chipidea2
697 TPLINK_HWID := 0x07030101
699 TARGET_DEVICES += pisen_wmm003n
701 define Device/netgear_wndr3800
702 $(Device/netgear_wndr3x00)
703 DEVICE_MODEL := WNDR3800
704 NETGEAR_KERNEL_MAGIC := 0x33373031
705 NETGEAR_BOARD_ID := WNDR3800
706 NETGEAR_HW_ID := 29763654+16+128
708 SUPPORTED_DEVICES += wndr3800
710 TARGET_DEVICES += netgear_wndr3800
712 define Device/phicomm_k2t
714 DEVICE_VENDOR := Phicomm
717 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
718 DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct
720 TARGET_DEVICES += phicomm_k2t
722 define Device/rosinson_wr818
724 DEVICE_VENDOR := Rosinson
725 DEVICE_MODEL := WR818
727 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
729 TARGET_DEVICES += rosinson_wr818
731 define Device/wd_mynet-n750
734 DEVICE_VENDOR := Western Digital
735 DEVICE_MODEL := My Net N750
737 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
738 SEAMA_SIGNATURE := wrgnd13_wd_av
739 SUPPORTED_DEVICES += mynet-n750
741 TARGET_DEVICES += wd_mynet-n750
743 define Device/wd_mynet-wifi-rangeextender
745 DEVICE_VENDOR := Western Digital
746 DEVICE_MODEL := My Net Wi-Fi Range Extender
747 DEVICE_PACKAGES := rssileds nvram -swconfig
749 ADDPATTERN_ID := mynet-rext
750 ADDPATTERN_VERSION := 1.00.01
751 IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | cybertan-trx | \
752 addpattern | append-metadata
753 SUPPORTED_DEVICES += mynet-rext
755 TARGET_DEVICES += wd_mynet-wifi-rangeextender
757 define Device/winchannel_wb2000
759 DEVICE_VENDOR := Winchannel
760 DEVICE_MODEL := WB2000
762 DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
764 TARGET_DEVICES += winchannel_wb2000
766 define Device/xiaomi_mi-router-4q
768 DEVICE_VENDOR := Xiaomi
769 DEVICE_MODEL := Mi Router 4Q
772 TARGET_DEVICES += xiaomi_mi-router-4q
774 define Device/yuncore_a770
776 DEVICE_VENDOR := YunCore
778 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
781 TARGET_DEVICES += yuncore_a770
783 define Device/zbtlink_zbt-wd323
786 DEVICE_MODEL := WD323
788 DEVICE_PACKAGES := kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
789 kmod-usb-serial kmod-usb-serial-cp210x uqmi
791 TARGET_DEVICES += zbtlink_zbt-wd323