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
395 SUPPORTED_DEVICES += rme-eg200
397 TARGET_DEVICES += etactica_eg200
399 define Device/glinet_gl-ar150
401 DEVICE_VENDOR := GL.iNet
402 DEVICE_MODEL := GL-AR150
403 DEVICE_PACKAGES := kmod-usb-chipidea2
405 SUPPORTED_DEVICES += gl-ar150
407 TARGET_DEVICES += glinet_gl-ar150
409 define Device/glinet_gl-ar300m-common-nor
411 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
413 SUPPORTED_DEVICES += gl-ar300m
416 define Device/glinet_gl-ar300m-lite
417 $(Device/glinet_gl-ar300m-common-nor)
418 DEVICE_VENDOR := GL.iNet
419 DEVICE_MODEL := GL-AR300M-Lite
421 TARGET_DEVICES += glinet_gl-ar300m-lite
423 define Device/glinet_gl-ar300m-nor
424 $(Device/glinet_gl-ar300m-common-nor)
425 DEVICE_VENDOR := GL.iNet
426 DEVICE_MODEL := GL-AR300M
428 TARGET_DEVICES += glinet_gl-ar300m-nor
430 define Device/glinet_gl-ar750s
432 DEVICE_VENDOR := GL.iNet
433 DEVICE_MODEL := GL-AR750S
434 DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct block-mount
436 SUPPORTED_DEVICES += gl-ar750s
438 TARGET_DEVICES += glinet_gl-ar750s
440 define Device/glinet_gl-x750
442 DEVICE_VENDOR := GL.iNet
443 DEVICE_MODEL := GL-X750
444 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
447 TARGET_DEVICES += glinet_gl-x750
449 define Device/iodata_etg3-r
451 DEVICE_VENDOR := I-O DATA
452 DEVICE_MODEL := ETG3-R
454 DEVICE_PACKAGES := -iwinfo -kmod-ath9k -wpad-basic
456 TARGET_DEVICES += iodata_etg3-r
458 define Device/iodata_wn-ac1167dgr
460 DEVICE_VENDOR := I-O DATA
461 DEVICE_MODEL := WN-AC1167DGR
463 IMAGES += factory.bin
464 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
465 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
466 senao-header -r 0x30a -p 0x61 -t 2
467 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
469 TARGET_DEVICES += iodata_wn-ac1167dgr
471 define Device/iodata_wn-ac1600dgr
473 DEVICE_VENDOR := I-O DATA
474 DEVICE_MODEL := WN-AC1600DGR
476 IMAGES += factory.bin
477 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
478 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
479 senao-header -r 0x30a -p 0x60 -t 2 -v 200
480 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
482 TARGET_DEVICES += iodata_wn-ac1600dgr
484 define Device/iodata_wn-ac1600dgr2
486 DEVICE_VENDOR := I-O DATA
487 DEVICE_MODEL := WN-AC1600DGR2
489 IMAGES += factory.bin
490 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
491 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
492 senao-header -r 0x30a -p 0x60 -t 2 -v 200
493 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
495 TARGET_DEVICES += iodata_wn-ac1600dgr2
497 define Device/iodata_wn-ag300dgr
499 DEVICE_VENDOR := I-O DATA
500 DEVICE_MODEL := WN-AG300DGR
502 IMAGES += factory.bin
503 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
504 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
505 senao-header -r 0x30a -p 0x47 -t 2
506 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
508 TARGET_DEVICES += iodata_wn-ag300dgr
510 define Device/jjplus_ja76pf2
512 DEVICE_VENDOR := jjPlus
513 DEVICE_MODEL := JA76PF2
514 DEVICE_PACKAGES += -kmod-ath9k -swconfig -wpad-mini -uboot-envtools fconfig
515 IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | combined-image | check-size $$$$(IMAGE_SIZE)
516 # IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
517 KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
518 KERNEL_INITRAMFS := kernel-bin | append-dtb
521 TARGET_DEVICES += jjplus_ja76pf2
523 define Device/librerouter_librerouter-v1
525 DEVICE_VENDOR := Librerouter
526 DEVICE_MODEL := LibreRouter
529 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
531 TARGET_DEVICES += librerouter_librerouter-v1
533 define Device/nec_wg1200cr
536 DEVICE_MODEL := Aterm WG1200CR
539 SEAMA_SIGNATURE := wrgac72_necpf.2016gui_wg1200cr
540 IMAGES += factory.bin
542 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
543 IMAGE/sysupgrade.bin := \
544 $$(IMAGE/default) | seama | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
545 IMAGE/factory.bin := \
546 $$(IMAGE/default) | pad-rootfs -x 64 | seama | seama-seal | nec-enc 9gsiy9nzep452pad | \
547 check-size $$$$(IMAGE_SIZE)
548 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
550 TARGET_DEVICES += nec_wg1200cr
552 define Device/nec_wg800hp
555 DEVICE_MODEL := Aterm WG800HP
557 IMAGES += factory.bin
558 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
559 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
560 xor-image -p 6A57190601121E4C004C1E1201061957 -x | \
562 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct-htt
564 TARGET_DEVICES += nec_wg800hp
566 define Device/ocedo_koala
568 DEVICE_VENDOR := Ocedo
569 DEVICE_MODEL := Koala
570 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
571 SUPPORTED_DEVICES += koala
573 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
575 TARGET_DEVICES += ocedo_koala
577 define Device/ocedo_raccoon
579 DEVICE_VENDOR := Ocedo
580 DEVICE_MODEL := Raccoon
582 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
584 TARGET_DEVICES += ocedo_raccoon
586 define Device/ocedo_ursus
588 DEVICE_VENDOR := Ocedo
589 DEVICE_MODEL := Ursus
590 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
592 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
594 TARGET_DEVICES += ocedo_ursus
596 define Device/openmesh_om5p-ac-v2
598 DEVICE_VENDOR := OpenMesh
599 DEVICE_MODEL := OM5P-AC
601 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
603 SUPPORTED_DEVICES += om5p-acv2
605 TARGET_DEVICES += openmesh_om5p-ac-v2
607 define Device/pcs_cap324
609 DEVICE_VENDOR := PowerCloud Systems
610 DEVICE_MODEL := CAP324
612 SUPPORTED_DEVICES += cap324
614 TARGET_DEVICES += pcs_cap324
616 define Device/pcs_cr3000
618 DEVICE_VENDOR := PowerCloud Systems
619 DEVICE_MODEL := CR3000
621 SUPPORTED_DEVICES += cr3000
623 TARGET_DEVICES += pcs_cr3000
625 define Device/pcs_cr5000
627 DEVICE_VENDOR := PowerCloud Systems
628 DEVICE_MODEL := CR5000
629 DEVICE_PACKAGES := kmod-usb2 kmod-usb-core
631 SUPPORTED_DEVICES += cr5000
633 TARGET_DEVICES += pcs_cr5000
635 define Device/netgear_wndr3x00
637 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
638 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
639 $(Device/netgear_ath79)
642 define Device/netgear_ex7300_ex6400
644 NETGEAR_KERNEL_MAGIC := 0x27051956
645 NETGEAR_BOARD_ID := EX7300series
646 NETGEAR_HW_ID := 29765104+16+0+128
648 IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | netgear-rootfs | pad-rootfs
649 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca99x0-ct
650 $(Device/netgear_ath79)
653 define Device/netgear_ex6400
654 $(Device/netgear_ex7300_ex6400)
655 DEVICE_MODEL := EX6400
657 TARGET_DEVICES += netgear_ex6400
659 define Device/netgear_ex7300
660 $(Device/netgear_ex7300_ex6400)
661 DEVICE_MODEL := EX7300
663 TARGET_DEVICES += netgear_ex7300
665 define Device/netgear_wndr3700
666 $(Device/netgear_wndr3x00)
667 DEVICE_MODEL := WNDR3700
668 NETGEAR_KERNEL_MAGIC := 0x33373030
669 NETGEAR_BOARD_ID := WNDR3700
671 IMAGES += factory-NA.img
672 IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | check-size $$$$(IMAGE_SIZE)
673 SUPPORTED_DEVICES += wndr3700
675 TARGET_DEVICES += netgear_wndr3700
677 define Device/netgear_wndr3700v2
678 $(Device/netgear_wndr3x00)
679 DEVICE_MODEL := WNDR3700v2
680 NETGEAR_KERNEL_MAGIC := 0x33373031
681 NETGEAR_BOARD_ID := WNDR3700v2
682 NETGEAR_HW_ID := 29763654+16+64
684 SUPPORTED_DEVICES += wndr3700v2
686 TARGET_DEVICES += netgear_wndr3700v2
688 define Device/pisen_wmm003n
689 $(Device/tplink-8mlzma)
691 DEVICE_VENDOR := PISEN
692 DEVICE_MODEL := Cloud Easy Power (WMM003N)
693 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-chipidea2
694 TPLINK_HWID := 0x07030101
696 TARGET_DEVICES += pisen_wmm003n
698 define Device/netgear_wndr3800
699 $(Device/netgear_wndr3x00)
700 DEVICE_MODEL := WNDR3800
701 NETGEAR_KERNEL_MAGIC := 0x33373031
702 NETGEAR_BOARD_ID := WNDR3800
703 NETGEAR_HW_ID := 29763654+16+128
705 SUPPORTED_DEVICES += wndr3800
707 TARGET_DEVICES += netgear_wndr3800
709 define Device/phicomm_k2t
711 DEVICE_VENDOR := Phicomm
714 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
715 DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct
717 TARGET_DEVICES += phicomm_k2t
719 define Device/rosinson_wr818
721 DEVICE_VENDOR := Rosinson
722 DEVICE_MODEL := WR818
724 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
726 TARGET_DEVICES += rosinson_wr818
728 define Device/wd_mynet-n750
731 DEVICE_VENDOR := Western Digital
732 DEVICE_MODEL := My Net N750
734 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
735 SEAMA_SIGNATURE := wrgnd13_wd_av
736 SUPPORTED_DEVICES += mynet-n750
738 TARGET_DEVICES += wd_mynet-n750
740 define Device/wd_mynet-wifi-rangeextender
742 DEVICE_VENDOR := Western Digital
743 DEVICE_MODEL := My Net Wi-Fi Range Extender
744 DEVICE_PACKAGES := rssileds nvram -swconfig
746 ADDPATTERN_ID := mynet-rext
747 ADDPATTERN_VERSION := 1.00.01
748 IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | cybertan-trx | \
749 addpattern | append-metadata
750 SUPPORTED_DEVICES += mynet-rext
752 TARGET_DEVICES += wd_mynet-wifi-rangeextender
754 define Device/winchannel_wb2000
756 DEVICE_VENDOR := Winchannel
757 DEVICE_MODEL := WB2000
759 DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
761 TARGET_DEVICES += winchannel_wb2000
763 define Device/xiaomi_mi-router-4q
765 DEVICE_VENDOR := Xiaomi
766 DEVICE_MODEL := Mi Router 4Q
769 TARGET_DEVICES += xiaomi_mi-router-4q
771 define Device/yuncore_a770
773 DEVICE_VENDOR := YunCore
775 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
778 TARGET_DEVICES += yuncore_a770
780 define Device/zbtlink_zbt-wd323
783 DEVICE_MODEL := WD323
785 DEVICE_PACKAGES := kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
786 kmod-usb-serial kmod-usb-serial-cp210x uqmi
788 TARGET_DEVICES += zbtlink_zbt-wd323