1 include .
/common-buffalo.mk
2 include .
/common-netgear.mk
3 include .
/common-tp-link.mk
5 DEVICE_VARS
+= ADDPATTERN_ID ADDPATTERN_VERSION
6 DEVICE_VARS
+= SEAMA_SIGNATURE SEAMA_MTDBLOCK
7 DEVICE_VARS
+= KERNEL_INITRAMFS_PREFIX
9 define Build
/add-elecom-factory-initramfs
10 $(eval edimax_model
=$(word 1,$(1)))
11 $(eval product
=$(word 2,$(1)))
13 $(STAGING_DIR_HOST
)/bin
/mkedimaximg \
14 -b
-s CSYS
-m
$(edimax_model
) \
15 -f
0x70000 -S
0x01100000 \
19 echo
-n
-e
"ELECOM\x00\x00$(product)" | dd bs
=40 count
=1 conv
=sync
; \
20 echo
-n
"0.00" | dd bs
=16 count
=1 conv
=sync
; \
24 if
[ "$$(stat -c%s $@.factory.new)" -le
$$(($(subst k
,* 1024,$(subst m
, * 1024k
,$(IMAGE_SIZE
))))) ]; then \
25 mv
$@.factory.new
$(BIN_DIR
)/$(KERNEL_INITRAMFS_PREFIX
)-factory.bin
; \
27 echo
"WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
31 define Build
/addpattern
32 -$(STAGING_DIR_HOST
)/bin
/addpattern
-B
$(ADDPATTERN_ID
) \
33 -v v
$(ADDPATTERN_VERSION
) -i
$@
-o
$@.new
37 define Build
/cybertan-trx
38 @echo
-n
'' > $@
-empty.bin
39 -$(STAGING_DIR_HOST
)/bin
/trx
-o
$@.new \
40 -f
$(IMAGE_KERNEL
) -F
$@
-empty.bin \
41 -x
32 -a
0x10000 -x
-32 -f
$@
47 $(STAGING_DIR_HOST
)/bin
/nec-enc \
48 -i
$@
-o
$@.new
-k
$(1)
53 ( stat
-c
%s
$@ | tr
-d
"\n" | dd bs
=16 count
=1 conv
=sync
; ) >> $@
55 echo
-n
-e
"$(1)" | dd bs
=16 count
=1 conv
=sync
; \
56 echo
-n
"0.0.00" | dd bs
=16 count
=1 conv
=sync
; \
62 define Build
/pisen_wmb001n-factory
64 mkdir
-p
"$@.tmp" && \
65 cp
"$(KDIR)/loader-$(word 1,$(1)).uImage" "$@.tmp/uImage" && \
66 mv
"$@" "$@.tmp/rootfs" && \
67 cp
"bin/pisen_wmb001n_factory-header.bin" "$@" && \
68 $(TAR
) -cp
--numeric-owner
--owner
=0 --group
=0 --mode
=a-s
--sort=name \
69 $(if
$(SOURCE_DATE_EPOCH
),--mtime
="@$(SOURCE_DATE_EPOCH)") \
70 -C
"$@.tmp" . | gzip
-9n
>> "$@" && \
75 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma
76 KERNEL_INITRAMFS
:= $$(KERNEL
) | seama
81 # - 28 bytes seama_header
82 # - 36 bytes of META data (4-bytes aligned)
83 IMAGE
/default
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
84 IMAGE
/sysupgrade.bin
:= \
85 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
86 IMAGE
/factory.bin
:= \
87 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | check-size
$$$$(IMAGE_SIZE
)
92 define Device
/8dev_carambola2
94 DEVICE_VENDOR
:= 8devices
95 DEVICE_MODEL
:= Carambola2
96 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2
98 SUPPORTED_DEVICES
+= carambola2
100 TARGET_DEVICES
+= 8dev_carambola2
102 define Device
/adtran_bsap1880
104 DEVICE_VENDOR
:= Adtran
/Bluesocket
105 DEVICE_PACKAGES
+= -swconfig
-uboot-envtools fconfig
106 KERNEL
:= kernel-bin | append-dtb | lzma | pad-to
$$(BLOCKSIZE
)
107 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
109 IMAGES
+= kernel.bin rootfs.bin
110 IMAGE
/kernel.bin
:= append-kernel
111 IMAGE
/rootfs.bin
:= append-rootfs | pad-rootfs
112 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
115 define Device
/adtran_bsap1800-v2
116 $(Device
/adtran_bsap1880
)
117 DEVICE_MODEL
:= BSAP-1800
120 TARGET_DEVICES
+= adtran_bsap1800-v2
122 define Device
/adtran_bsap1840
123 $(Device
/adtran_bsap1880
)
124 DEVICE_MODEL
:= BSAP-1840
126 TARGET_DEVICES
+= adtran_bsap1840
128 define Device
/alfa-network_ap121f
130 DEVICE_VENDOR
:= ALFA Network
131 DEVICE_MODEL
:= AP121F
132 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2 kmod-usb-storage
-swconfig
134 SUPPORTED_DEVICES
+= ap121f
136 TARGET_DEVICES
+= alfa-network_ap121f
138 define Device
/aruba_ap-105
140 DEVICE_VENDOR
:= Aruba
141 DEVICE_MODEL
:= AP-105
143 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-tpm-i2c-atmel
145 TARGET_DEVICES
+= aruba_ap-105
147 define Device
/avm_fritz300e
150 DEVICE_MODEL
:= FRITZ
!WLAN Repeater
300E
151 KERNEL
:= kernel-bin | append-dtb | lzma | eva-image
152 KERNEL_INITRAMFS
:= $$(KERNEL
)
154 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | \
155 append-squashfs-fakeroot-be | pad-to
256 | \
156 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
157 DEVICE_PACKAGES
:= fritz-tffs rssileds
-swconfig
159 TARGET_DEVICES
+= avm_fritz300e
161 define Device
/avm_fritz4020
164 DEVICE_MODEL
:= FRITZ
!Box
4020
166 KERNEL
:= kernel-bin | append-dtb | lzma | eva-image
167 KERNEL_INITRAMFS
:= $$(KERNEL
)
168 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | \
169 append-squashfs-fakeroot-be | pad-to
256 | \
170 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
171 DEVICE_PACKAGES
:= fritz-tffs
172 SUPPORTED_DEVICES
+= fritz4020
174 TARGET_DEVICES
+= avm_fritz4020
176 define Device
/buffalo_bhr-4grv
178 DEVICE_VENDOR
:= Buffalo
179 DEVICE_MODEL
:= BHR-4GRV
180 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
182 IMAGES
+= factory.bin tftp.bin
183 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
184 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc BHR-4GRV
1.99 | buffalo-tag BHR-4GRV
3
185 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
186 SUPPORTED_DEVICES
+= wzr-hp-g450h
188 TARGET_DEVICES
+= buffalo_bhr-4grv
190 define Device
/buffalo_bhr-4grv2
192 DEVICE_VENDOR
:= Buffalo
193 DEVICE_MODEL
:= BHR-4GRV2
196 TARGET_DEVICES
+= buffalo_bhr-4grv2
198 define Device
/buffalo_wzr-hp-ag300h
200 DEVICE_VENDOR
:= Buffalo
201 DEVICE_MODEL
:= WZR-HP-AG300H
203 IMAGES
+= factory.bin tftp.bin
204 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
205 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-AG300H
1.99 | buffalo-tag WZR-HP-AG300H
3
206 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
207 DEVICE_PACKAGES
:= kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
208 SUPPORTED_DEVICES
+= wzr-hp-ag300h
210 TARGET_DEVICES
+= buffalo_wzr-hp-ag300h
212 define Device
/buffalo_wzr-hp-g302h-a1a0
214 DEVICE_VENDOR
:= Buffalo
215 DEVICE_MODEL
:= WZR-HP-G302H
216 DEVICE_VARIANT
:= A1A0
217 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
219 IMAGES
+= factory.bin tftp.bin
220 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
221 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-G302H
1.99 | buffalo-tag WZR-HP-G302H
4
222 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
223 SUPPORTED_DEVICES
+= wzr-hp-g300nh2
225 TARGET_DEVICES
+= buffalo_wzr-hp-g302h-a1a0
227 define Device
/buffalo_wzr-hp-g450h
229 DEVICE_VENDOR
:= Buffalo
230 DEVICE_MODEL
:= WZR-HP-G450H
/WZR-450HP
231 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
233 IMAGES
+= factory.bin tftp.bin
234 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
235 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-G450H
1.99 | buffalo-tag WZR-HP-G450H
3
236 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
237 SUPPORTED_DEVICES
+= wzr-hp-g450h
239 TARGET_DEVICES
+= buffalo_wzr-hp-g450h
241 define Device
/comfast_cf-e110n-v2
243 DEVICE_VENDOR
:= COMFAST
244 DEVICE_MODEL
:= CF-E110N
246 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio
-swconfig
-uboot-envtools
249 TARGET_DEVICES
+= comfast_cf-e110n-v2
251 define Device
/comfast_cf-e120a-v3
253 DEVICE_VENDOR
:= COMFAST
254 DEVICE_MODEL
:= CF-E120A
256 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio
-uboot-envtools
259 TARGET_DEVICES
+= comfast_cf-e120a-v3
261 define Device
/comfast_cf-e313ac
263 DEVICE_VENDOR
:= COMFAST
264 DEVICE_MODEL
:= CF-E313AC
265 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio kmod-ath10k-ct ath10k-firmware-qca9888-ct \
266 -swconfig
-uboot-envtools
269 TARGET_DEVICES
+= comfast_cf-e313ac
271 define Device
/comfast_cf-e314n-v2
273 DEVICE_VENDOR
:= COMFAST
274 DEVICE_MODEL
:= CF-E314N
276 DEVICE_PACKAGES
:= rssileds
279 TARGET_DEVICES
+= comfast_cf-e314n-v2
281 define Device
/comfast_cf-e5
283 DEVICE_VENDOR
:= COMFAST
284 DEVICE_MODEL
:= CF-E5
/E7
285 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio kmod-usb2 kmod-usb-net \
286 kmod-usb-net-qmi-wwan
-swconfig
-uboot-envtools
289 TARGET_DEVICES
+= comfast_cf-e5
291 define Device
/comfast_cf-wr650ac-v1
293 DEVICE_VENDOR
:= COMFAST
294 DEVICE_MODEL
:= CF-WR650AC
296 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
299 TARGET_DEVICES
+= comfast_cf-wr650ac-v1
301 define Device
/comfast_cf-wr650ac-v2
303 DEVICE_VENDOR
:= COMFAST
304 DEVICE_MODEL
:= CF-WR650AC
306 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
309 TARGET_DEVICES
+= comfast_cf-wr650ac-v2
311 define Device
/devolo_dvl1200e
313 DEVICE_VENDOR
:= devolo
314 DEVICE_MODEL
:= WiFi pro
1200e
315 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
318 TARGET_DEVICES
+= devolo_dvl1200e
320 define Device
/devolo_dvl1200i
322 DEVICE_VENDOR
:= devolo
323 DEVICE_MODEL
:= WiFi pro
1200i
324 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
327 TARGET_DEVICES
+= devolo_dvl1200i
329 define Device
/devolo_dvl1750c
331 DEVICE_VENDOR
:= devolo
332 DEVICE_MODEL
:= WiFi pro
1750c
333 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
336 TARGET_DEVICES
+= devolo_dvl1750c
338 define Device
/devolo_dvl1750e
340 DEVICE_VENDOR
:= devolo
341 DEVICE_MODEL
:= WiFi pro
1750e
342 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
345 TARGET_DEVICES
+= devolo_dvl1750e
347 define Device
/devolo_dvl1750i
349 DEVICE_VENDOR
:= devolo
350 DEVICE_MODEL
:= WiFi pro
1750i
351 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
354 TARGET_DEVICES
+= devolo_dvl1750i
356 define Device
/devolo_dvl1750x
358 DEVICE_VENDOR
:= devolo
359 DEVICE_MODEL
:= WiFi pro
1750x
360 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
363 TARGET_DEVICES
+= devolo_dvl1750x
365 define Device
/dlink_dir-825-b1
367 DEVICE_VENDOR
:= D-Link
368 DEVICE_MODEL
:= DIR-825
371 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
372 DEVICE_PACKAGES
:= kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
373 SUPPORTED_DEVICES
+= dir-825-b1
375 TARGET_DEVICES
+= dlink_dir-825-b1
377 define Device
/dlink_dir-825-c1
379 DEVICE_VENDOR
:= D-Link
380 DEVICE_MODEL
:= DIR-825
382 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
383 SUPPORTED_DEVICES
+= dir-825-c1
385 IMAGES
:= factory.bin sysupgrade.bin
386 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
387 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
388 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
389 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
391 TARGET_DEVICES
+= dlink_dir-825-c1
393 define Device
/dlink_dir-835-a1
395 DEVICE_VENDOR
:= D-Link
396 DEVICE_MODEL
:= DIR-835
398 DEVICE_PACKAGES
:= kmod-usb2 kmod-leds-reset kmod-owl-loader
399 SUPPORTED_DEVICES
+= dir-835-a1
401 IMAGES
:= factory.bin sysupgrade.bin
402 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
403 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
404 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
405 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
407 TARGET_DEVICES
+= dlink_dir-835-a1
409 define Device
/dlink_dir-842-c
411 DEVICE_VENDOR
:= D-Link
412 DEVICE_MODEL
:= DIR-842
413 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma
414 KERNEL_INITRAMFS
:= $$(KERNEL
) | seama
415 IMAGES
+= factory.bin
417 SEAMA_SIGNATURE
:= wrgac65_dlink
.2015_dir842
419 # - 28 bytes seama_header
420 # - 36 bytes of META data (4-bytes aligned)
421 IMAGE
/default
:= append-kernel | uImage lzma | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
422 IMAGE
/sysupgrade.bin
:= \
423 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
424 IMAGE
/factory.bin
:= \
425 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | check-size
$$$$(IMAGE_SIZE
)
429 define Device
/dlink_dir-842-c1
430 $(Device
/dlink_dir-842-c
)
432 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
434 TARGET_DEVICES
+= dlink_dir-842-c1
436 define Device
/dlink_dir-842-c2
437 $(Device
/dlink_dir-842-c
)
439 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
441 TARGET_DEVICES
+= dlink_dir-842-c2
443 define Device
/dlink_dir-842-c3
444 $(Device
/dlink_dir-842-c
)
446 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
448 TARGET_DEVICES
+= dlink_dir-842-c3
450 define Device
/dlink_dir-859-a1
453 DEVICE_VENDOR
:= D-Link
454 DEVICE_MODEL
:= DIR-859
457 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
458 SEAMA_SIGNATURE
:= wrgac37_dlink
.2013gui_dir859
459 SUPPORTED_DEVICES
+= dir-859-a1
461 TARGET_DEVICES
+= dlink_dir-859-a1
463 define Device
/elecom_wrc-1750ghbk2-i
465 DEVICE_VENDOR
:= ELECOM
466 DEVICE_MODEL
:= WRC-1750GHBK2-I
/C
468 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
469 add-elecom-factory-initramfs RN68 WRC-1750GHBK2
470 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
472 TARGET_DEVICES
+= elecom_wrc-1750ghbk2-i
474 define Device
/elecom_wrc-300ghbk2-i
476 DEVICE_VENDOR
:= ELECOM
477 DEVICE_MODEL
:= WRC-300GHBK2-I
479 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
480 add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
482 TARGET_DEVICES
+= elecom_wrc-300ghbk2-i
484 define Device
/embeddedwireless_dorin
486 DEVICE_VENDOR
:= Embedded Wireless
487 DEVICE_MODEL
:= Dorin
488 DEVICE_PACKAGES
:= kmod-usb-chipidea2
491 TARGET_DEVICES
+= embeddedwireless_dorin
493 define Device
/engenius_ecb1750
495 DEVICE_VENDOR
:= EnGenius
496 DEVICE_MODEL
:= ECB1750
497 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
499 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
500 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
501 senao-header
-r
0x101 -p
0x6d -t
2
502 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
504 TARGET_DEVICES
+= engenius_ecb1750
506 define Device
/engenius_epg5000
508 DEVICE_VENDOR
:= EnGenius
509 DEVICE_MODEL
:= EPG5000
510 DEVICE_PACKAGES
:= ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2
512 IMAGES
+= factory.dlf
513 IMAGE
/factory.dlf
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
514 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
515 senao-header
-r
0x101 -p
0x71 -t
2
516 SUPPORTED_DEVICES
+= epg5000
518 TARGET_DEVICES
+= engenius_epg5000
520 define Device
/engenius_ews511ap
522 DEVICE_VENDOR
:= EnGenius
523 DEVICE_MODEL
:= EWS511AP
524 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
527 TARGET_DEVICES
+= engenius_ews511ap
529 define Device
/etactica_eg200
531 DEVICE_VENDOR
:= eTactica
532 DEVICE_MODEL
:= EG200
533 DEVICE_PACKAGES
:= kmod-usb-chipidea2 kmod-ledtrig-oneshot \
534 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
536 SUPPORTED_DEVICES
+= rme-eg200
538 TARGET_DEVICES
+= etactica_eg200
540 define Device
/glinet_gl-ar150
542 DEVICE_VENDOR
:= GL.iNet
543 DEVICE_MODEL
:= GL-AR150
544 DEVICE_PACKAGES
:= kmod-usb-chipidea2
546 SUPPORTED_DEVICES
+= gl-ar150
548 TARGET_DEVICES
+= glinet_gl-ar150
550 define Device
/glinet_gl-ar300m-common-nor
552 DEVICE_VENDOR
:= GL.iNet
553 DEVICE_PACKAGES
:= kmod-usb2
555 SUPPORTED_DEVICES
+= gl-ar300m
558 define Device
/glinet_gl-ar300m-lite
559 $(Device
/glinet_gl-ar300m-common-nor
)
560 DEVICE_MODEL
:= GL-AR300M
561 DEVICE_VARIANT
:= Lite
563 TARGET_DEVICES
+= glinet_gl-ar300m-lite
565 define Device
/glinet_gl-ar300m16
566 $(Device
/glinet_gl-ar300m-common-nor
)
567 DEVICE_MODEL
:= GL-AR300M16
569 TARGET_DEVICES
+= glinet_gl-ar300m16
571 define Device
/glinet_gl-ar750
573 DEVICE_VENDOR
:= GL.iNet
574 DEVICE_MODEL
:= GL-AR750
575 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
577 SUPPORTED_DEVICES
+= gl-ar750
579 TARGET_DEVICES
+= glinet_gl-ar750
581 define Device
/glinet_gl-x750
583 DEVICE_VENDOR
:= GL.iNet
584 DEVICE_MODEL
:= GL-X750
585 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
588 TARGET_DEVICES
+= glinet_gl-x750
590 define Device
/iodata_etg3-r
592 DEVICE_VENDOR
:= I-O DATA
593 DEVICE_MODEL
:= ETG3-R
595 DEVICE_PACKAGES
:= -iwinfo
-kmod-ath9k
-wpad-basic
597 TARGET_DEVICES
+= iodata_etg3-r
599 define Device
/iodata_wn-ac1167dgr
601 DEVICE_VENDOR
:= I-O DATA
602 DEVICE_MODEL
:= WN-AC1167DGR
604 IMAGES
+= factory.bin
605 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
606 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
607 senao-header
-r
0x30a -p
0x61 -t
2
608 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
610 TARGET_DEVICES
+= iodata_wn-ac1167dgr
612 define Device
/iodata_wn-ac1600dgr
614 DEVICE_VENDOR
:= I-O DATA
615 DEVICE_MODEL
:= WN-AC1600DGR
617 IMAGES
+= factory.bin
618 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
619 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
620 senao-header
-r
0x30a -p
0x60 -t
2 -v
200
621 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
623 TARGET_DEVICES
+= iodata_wn-ac1600dgr
625 define Device
/iodata_wn-ac1600dgr2
627 DEVICE_VENDOR
:= I-O DATA
628 DEVICE_MODEL
:= WN-AC1600DGR2
/DGR3
630 IMAGES
+= dgr2-dgr3-factory.bin
631 IMAGE
/dgr2-dgr3-factory.bin
:= \
632 append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
633 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
634 senao-header
-r
0x30a -p
0x60 -t
2 -v
200
635 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
637 TARGET_DEVICES
+= iodata_wn-ac1600dgr2
639 define Device
/iodata_wn-ag300dgr
641 DEVICE_VENDOR
:= I-O DATA
642 DEVICE_MODEL
:= WN-AG300DGR
644 IMAGES
+= factory.bin
645 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
646 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
647 senao-header
-r
0x30a -p
0x47 -t
2
648 DEVICE_PACKAGES
:= kmod-usb2
650 TARGET_DEVICES
+= iodata_wn-ag300dgr
652 define Device
/jjplus_ja76pf2
654 DEVICE_VENDOR
:= jjPlus
655 DEVICE_MODEL
:= JA76PF2
656 DEVICE_PACKAGES
+= -kmod-ath9k
-swconfig
-wpad-mini
-uboot-envtools fconfig
657 IMAGES
:= kernel.bin rootfs.bin
658 IMAGE
/kernel.bin
:= append-kernel
659 IMAGE
/rootfs.bin
:= append-rootfs | pad-rootfs
660 KERNEL
:= kernel-bin | append-dtb | lzma | pad-to
$$(BLOCKSIZE
)
661 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
663 SUPPORTED_DEVICES
+= ja76pf2
665 TARGET_DEVICES
+= jjplus_ja76pf2
667 define Device
/librerouter_librerouter-v1
669 DEVICE_VENDOR
:= Librerouter
670 DEVICE_MODEL
:= LibreRouter
673 DEVICE_PACKAGES
:= kmod-usb2
675 TARGET_DEVICES
+= librerouter_librerouter-v1
677 define Device
/nec_wg1200cr
680 DEVICE_MODEL
:= Aterm WG1200CR
683 SEAMA_SIGNATURE
:= wrgac72_necpf
.2016gui_wg1200cr
684 IMAGES
+= factory.bin
686 append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
687 IMAGE
/sysupgrade.bin
:= \
688 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
689 IMAGE
/factory.bin
:= \
690 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | nec-enc
9gsiy9nzep452pad | \
691 check-size
$$$$(IMAGE_SIZE
)
692 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
694 TARGET_DEVICES
+= nec_wg1200cr
696 define Device
/nec_wg800hp
699 DEVICE_MODEL
:= Aterm WG800HP
701 IMAGES
+= factory.bin
702 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
703 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
704 xor-image
-p
6A57190601121E4C004C1E1201061957
-x | \
706 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct-htt
708 TARGET_DEVICES
+= nec_wg800hp
710 define Device
/netgear_ex6400_ex7300
712 NETGEAR_KERNEL_MAGIC
:= 0x27051956
713 NETGEAR_BOARD_ID
:= EX7300series
714 NETGEAR_HW_ID
:= 29765104+16+0+128
716 IMAGE
/default
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | netgear-rootfs | pad-rootfs
717 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca99x0-ct
718 $(Device
/netgear_ath79
)
721 define Device
/netgear_ex6400
722 $(Device
/netgear_ex6400_ex7300
)
723 DEVICE_MODEL
:= EX6400
725 TARGET_DEVICES
+= netgear_ex6400
727 define Device
/netgear_ex7300
728 $(Device
/netgear_ex6400_ex7300
)
729 DEVICE_MODEL
:= EX7300
731 TARGET_DEVICES
+= netgear_ex7300
733 define Device
/netgear_wndr3x00
735 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | netgear-squashfs | append-rootfs | pad-rootfs
736 DEVICE_PACKAGES
:= kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
737 $(Device
/netgear_ath79
)
740 define Device
/netgear_wndr3700
741 $(Device
/netgear_wndr3x00
)
742 DEVICE_MODEL
:= WNDR3700
744 NETGEAR_KERNEL_MAGIC
:= 0x33373030
745 NETGEAR_BOARD_ID
:= WNDR3700
747 IMAGES
+= factory-NA.img
748 IMAGE
/factory-NA.img
:= $$(IMAGE
/default
) | netgear-dni NA | check-size
$$$$(IMAGE_SIZE
)
749 SUPPORTED_DEVICES
+= wndr3700
751 TARGET_DEVICES
+= netgear_wndr3700
753 define Device
/netgear_wndr3700v2
754 $(Device
/netgear_wndr3x00
)
755 DEVICE_MODEL
:= WNDR3700
757 NETGEAR_KERNEL_MAGIC
:= 0x33373031
758 NETGEAR_BOARD_ID
:= WNDR3700v2
759 NETGEAR_HW_ID
:= 29763654+16+64
761 SUPPORTED_DEVICES
+= wndr3700
763 TARGET_DEVICES
+= netgear_wndr3700v2
765 define Device
/netgear_wndr3800
766 $(Device
/netgear_wndr3x00
)
767 DEVICE_MODEL
:= WNDR3800
768 NETGEAR_KERNEL_MAGIC
:= 0x33373031
769 NETGEAR_BOARD_ID
:= WNDR3800
770 NETGEAR_HW_ID
:= 29763654+16+128
772 SUPPORTED_DEVICES
+= wndr3700
774 TARGET_DEVICES
+= netgear_wndr3800
776 define Device
/netgear_wndr3800ch
777 $(Device
/netgear_wndr3x00
)
778 DEVICE_MODEL
:= WNDR3800CH
779 NETGEAR_KERNEL_MAGIC
:= 0x33373031
780 NETGEAR_BOARD_ID
:= WNDR3800CH
781 NETGEAR_HW_ID
:= 29763654+16+128
783 SUPPORTED_DEVICES
+= wndr3700
785 TARGET_DEVICES
+= netgear_wndr3800ch
787 define Device
/netgear_wnr2200_common
789 DEVICE_MODEL
:= WNR2200
790 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
791 NETGEAR_KERNEL_MAGIC
:= 0x32323030
792 NETGEAR_BOARD_ID
:= wnr2200
793 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | netgear-squashfs | \
794 append-rootfs | pad-rootfs
795 $(Device
/netgear_ath79
)
798 define Device
/netgear_wnr2200-8m
799 $(Device
/netgear_wnr2200_common
)
801 NETGEAR_HW_ID
:= 29763600+08+64
803 IMAGES
+= factory-NA.img
804 IMAGE
/factory-NA.img
:= $$(IMAGE
/default
) | netgear-dni NA | \
805 check-size
$$$$(IMAGE_SIZE
)
806 SUPPORTED_DEVICES
+= wnr2200
808 TARGET_DEVICES
+= netgear_wnr2200-8m
810 define Device
/netgear_wnr2200-16m
811 $(Device
/netgear_wnr2200_common
)
812 DEVICE_VARIANT
:= 16M
813 DEVICE_ALT0_VENDOR
:= NETGEAR
814 DEVICE_ALT0_MODEL
:= WNR2200
815 DEVICE_ALT0_VARIANT
:= CN
/RU
819 TARGET_DEVICES
+= netgear_wnr2200-16m
821 define Device
/ocedo_koala
823 DEVICE_VENDOR
:= Ocedo
824 DEVICE_MODEL
:= Koala
825 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
826 SUPPORTED_DEVICES
+= koala
828 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
830 TARGET_DEVICES
+= ocedo_koala
832 define Device
/ocedo_raccoon
834 DEVICE_VENDOR
:= Ocedo
835 DEVICE_MODEL
:= Raccoon
837 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
839 TARGET_DEVICES
+= ocedo_raccoon
841 define Device
/ocedo_ursus
843 DEVICE_VENDOR
:= Ocedo
844 DEVICE_MODEL
:= Ursus
845 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
847 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
849 TARGET_DEVICES
+= ocedo_ursus
851 define Device
/openmesh_om5p-ac-v2
853 DEVICE_VENDOR
:= OpenMesh
854 DEVICE_MODEL
:= OM5P-AC
856 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
858 SUPPORTED_DEVICES
+= om5p-acv2
860 TARGET_DEVICES
+= openmesh_om5p-ac-v2
862 define Device
/pcs_cap324
864 DEVICE_VENDOR
:= PowerCloud Systems
865 DEVICE_MODEL
:= CAP324
867 SUPPORTED_DEVICES
+= cap324
869 TARGET_DEVICES
+= pcs_cap324
871 define Device
/pcs_cr3000
873 DEVICE_VENDOR
:= PowerCloud Systems
874 DEVICE_MODEL
:= CR3000
876 SUPPORTED_DEVICES
+= cr3000
878 TARGET_DEVICES
+= pcs_cr3000
880 define Device
/pcs_cr5000
882 DEVICE_VENDOR
:= PowerCloud Systems
883 DEVICE_MODEL
:= CR5000
884 DEVICE_PACKAGES
:= kmod-usb2
886 SUPPORTED_DEVICES
+= cr5000
888 TARGET_DEVICES
+= pcs_cr5000
890 define Device
/phicomm_k2t
892 DEVICE_VENDOR
:= Phicomm
895 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
896 DEVICE_PACKAGES
:= kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct
898 TARGET_DEVICES
+= phicomm_k2t
900 define Device
/pisen_ts-d084
901 $(Device
/tplink-8mlzma
)
903 DEVICE_VENDOR
:= PISEN
904 DEVICE_MODEL
:= TS-D084
905 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2
906 TPLINK_HWID
:= 0x07030101
908 TARGET_DEVICES
+= pisen_ts-d084
910 define Device
/pisen_wmb001n
912 DEVICE_VENDOR
:= PISEN
913 DEVICE_MODEL
:= WMB001N
915 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-usb2
917 LOADER_FLASH_OFFS
:= 0x20000
918 COMPILE
:= loader-
$(1).bin loader-
$(1).uImage
919 COMPILE
/loader-
$(1).bin
:= loader-okli-compile
920 COMPILE
/loader-
$(1).uImage
:= append-loader-okli
$(1) | pad-to
64k | lzma | uImage lzma
921 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49
922 IMAGES
+= factory.bin
923 IMAGE
/factory.bin
:= $$(IMAGE
/sysupgrade.bin
) | pisen_wmb001n-factory
$(1)
925 TARGET_DEVICES
+= pisen_wmb001n
927 define Device
/pisen_wmm003n
928 $(Device
/tplink-8mlzma
)
930 DEVICE_VENDOR
:= PISEN
931 DEVICE_MODEL
:= Cloud Easy Power
(WMM003N
)
932 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2
933 TPLINK_HWID
:= 0x07030101
935 TARGET_DEVICES
+= pisen_wmm003n
937 define Device
/qihoo_c301
940 DEVICE_VENDOR
:= Qihoo
942 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct uboot-envtools
944 SEAMA_SIGNATURE
:= wrgac26_qihoo360_360rg
945 SUPPORTED_DEVICES
+= qihoo-c301
947 TARGET_DEVICES
+= qihoo_c301
949 define Device
/rosinson_wr818
951 DEVICE_VENDOR
:= Rosinson
952 DEVICE_MODEL
:= WR818
954 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-ledtrig-usbport
956 TARGET_DEVICES
+= rosinson_wr818
958 define Device
/sitecom_wlr-7100
960 DEVICE_VENDOR
:= Sitecom
961 DEVICE_MODEL
:= WLR-7100
962 DEVICE_VARIANT
:= v1
002
963 DEVICE_PACKAGES
:= ath10k-firmware-qca988x kmod-ath10k kmod-usb2
964 IMAGES
+= factory.dlf
965 IMAGE
/factory.dlf
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
966 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
967 senao-header
-r
0x222 -p
0x53 -t
2
970 TARGET_DEVICES
+= sitecom_wlr-7100
972 define Device
/trendnet_tew-823dru
974 DEVICE_VENDOR
:= Trendnet
975 DEVICE_MODEL
:= TEW-823DRU
976 DEVICE_VARIANT
:= v1.0R
977 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
978 SUPPORTED_DEVICES
+= tew-823dru
980 IMAGES
:= factory.bin sysupgrade.bin
981 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
982 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
983 append-string
00AP135AR9558-RT-131129-00 | check-size
$$$$(IMAGE_SIZE
)
984 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
986 TARGET_DEVICES
+= trendnet_tew-823dru
988 define Device
/wd_mynet-n750
991 DEVICE_VENDOR
:= Western Digital
992 DEVICE_MODEL
:= My Net N750
994 DEVICE_PACKAGES
:= kmod-usb2
995 SEAMA_SIGNATURE
:= wrgnd13_wd_av
996 SUPPORTED_DEVICES
+= mynet-n750
998 TARGET_DEVICES
+= wd_mynet-n750
1000 define Device
/wd_mynet-wifi-rangeextender
1002 DEVICE_VENDOR
:= Western Digital
1003 DEVICE_MODEL
:= My Net Wi-Fi Range Extender
1004 DEVICE_PACKAGES
:= rssileds nvram
-swconfig
1006 ADDPATTERN_ID
:= mynet-rext
1007 ADDPATTERN_VERSION
:= 1.00.01
1008 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | cybertan-trx | \
1009 addpattern | append-metadata
1010 SUPPORTED_DEVICES
+= mynet-rext
1012 TARGET_DEVICES
+= wd_mynet-wifi-rangeextender
1014 define Device
/winchannel_wb2000
1016 DEVICE_VENDOR
:= Winchannel
1017 DEVICE_MODEL
:= WB2000
1018 IMAGE_SIZE
:= 15872k
1019 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
1021 TARGET_DEVICES
+= winchannel_wb2000
1023 define Device
/xiaomi_mi-router-4q
1025 DEVICE_VENDOR
:= Xiaomi
1026 DEVICE_MODEL
:= Mi Router
4Q
1027 IMAGE_SIZE
:= 14336k
1029 TARGET_DEVICES
+= xiaomi_mi-router-4q
1031 define Device
/yuncore_a770
1033 DEVICE_VENDOR
:= YunCore
1034 DEVICE_MODEL
:= A770
1035 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
1036 IMAGE_SIZE
:= 16000k
1038 TARGET_DEVICES
+= yuncore_a770
1040 define Device
/zbtlink_zbt-wd323
1042 DEVICE_VENDOR
:= ZBT
1043 DEVICE_MODEL
:= WD323
1044 IMAGE_SIZE
:= 16000k
1045 DEVICE_PACKAGES
:= kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
1046 kmod-usb-serial kmod-usb-serial-cp210x uqmi
1048 TARGET_DEVICES
+= zbtlink_zbt-wd323