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
; \
61 define Build
/pisen_wmb001n-factory
63 mkdir
-p
"$@.tmp" && \
64 cp
"$(KDIR)/loader-$(word 1,$(1)).uImage" "$@.tmp/uImage" && \
65 mv
"$@" "$@.tmp/rootfs" && \
66 cp
"bin/pisen_wmb001n_factory-header.bin" "$@" && \
67 $(TAR
) -cp
--numeric-owner
--owner
=0 --group
=0 --mode
=a-s
--sort=name \
68 $(if
$(SOURCE_DATE_EPOCH
),--mtime
="@$(SOURCE_DATE_EPOCH)") \
69 -C
"$@.tmp" . | gzip
-9n
>> "$@" && \
74 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma
75 KERNEL_INITRAMFS
:= $$(KERNEL
) | seama
80 # - 28 bytes seama_header
81 # - 36 bytes of META data (4-bytes aligned)
82 IMAGE
/default
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
83 IMAGE
/sysupgrade.bin
:= \
84 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
85 IMAGE
/factory.bin
:= \
86 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | check-size
$$$$(IMAGE_SIZE
)
90 define Device
/8dev_carambola2
92 DEVICE_VENDOR
:= 8devices
93 DEVICE_MODEL
:= Carambola2
94 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2
96 SUPPORTED_DEVICES
+= carambola2
98 TARGET_DEVICES
+= 8dev_carambola2
100 define Device
/adtran_bsap1880
102 DEVICE_VENDOR
:= Adtran
/Bluesocket
103 DEVICE_PACKAGES
+= -swconfig
-uboot-envtools fconfig
104 KERNEL
:= kernel-bin | append-dtb | lzma
105 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
107 IMAGES
+= kernel.bin rootfs.bin
108 IMAGE
/kernel.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
)
109 IMAGE
/rootfs.bin
:= append-rootfs | pad-rootfs
110 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | combined-image | append-metadata | check-size
$$$$(IMAGE_SIZE
)
113 define Device
/adtran_bsap1800-v2
114 $(Device
/adtran_bsap1880
)
115 DEVICE_MODEL
:= BSAP-1800
118 TARGET_DEVICES
+= adtran_bsap1800-v2
120 define Device
/adtran_bsap1840
121 $(Device
/adtran_bsap1880
)
122 DEVICE_MODEL
:= BSAP-1840
124 TARGET_DEVICES
+= adtran_bsap1840
126 define Device
/alfa-network_ap121f
128 DEVICE_VENDOR
:= ALFA Network
129 DEVICE_MODEL
:= AP121F
130 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-chipidea2 kmod-usb-storage
-swconfig
132 SUPPORTED_DEVICES
+= ap121f
134 TARGET_DEVICES
+= alfa-network_ap121f
136 define Device
/aruba_ap-105
138 DEVICE_VENDOR
:= Aruba
139 DEVICE_MODEL
:= AP-105
141 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-tpm-i2c-atmel
143 TARGET_DEVICES
+= aruba_ap-105
145 define Device
/avm_fritz300e
148 DEVICE_MODEL
:= FRITZ
!WLAN Repeater
300E
149 KERNEL
:= kernel-bin | append-dtb | lzma | eva-image
150 KERNEL_INITRAMFS
:= $$(KERNEL
)
152 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | \
153 append-squashfs-fakeroot-be | pad-to
256 | \
154 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
155 DEVICE_PACKAGES
:= fritz-tffs rssileds
-swconfig
157 TARGET_DEVICES
+= avm_fritz300e
159 define Device
/avm_fritz4020
162 DEVICE_MODEL
:= FRITZ
!Box
4020
164 KERNEL
:= kernel-bin | append-dtb | lzma | eva-image
165 KERNEL_INITRAMFS
:= $$(KERNEL
)
166 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | \
167 append-squashfs-fakeroot-be | pad-to
256 | \
168 append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
169 DEVICE_PACKAGES
:= fritz-tffs
170 SUPPORTED_DEVICES
+= fritz4020
172 TARGET_DEVICES
+= avm_fritz4020
174 define Device
/buffalo_bhr-4grv
176 DEVICE_VENDOR
:= Buffalo
177 DEVICE_MODEL
:= BHR-4GRV
178 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
180 IMAGES
+= factory.bin tftp.bin
181 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
182 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc BHR-4GRV
1.99 | buffalo-tag BHR-4GRV
3
183 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
184 SUPPORTED_DEVICES
+= wzr-hp-g450h
186 TARGET_DEVICES
+= buffalo_bhr-4grv
188 define Device
/buffalo_bhr-4grv2
190 DEVICE_VENDOR
:= Buffalo
191 DEVICE_MODEL
:= BHR-4GRV2
194 TARGET_DEVICES
+= buffalo_bhr-4grv2
196 define Device
/buffalo_wzr-hp-ag300h
198 DEVICE_VENDOR
:= Buffalo
199 DEVICE_MODEL
:= WZR-HP-AG300H
201 IMAGES
+= factory.bin tftp.bin
202 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
203 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-AG300H
1.99 | buffalo-tag WZR-HP-AG300H
3
204 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
205 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
206 SUPPORTED_DEVICES
+= wzr-hp-ag300h
208 TARGET_DEVICES
+= buffalo_wzr-hp-ag300h
210 define Device
/buffalo_wzr-hp-g302h-a1a0
212 DEVICE_VENDOR
:= Buffalo
213 DEVICE_MODEL
:= WZR-HP-G302H
214 DEVICE_VARIANT
:= A1A0
215 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
217 IMAGES
+= factory.bin tftp.bin
218 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
219 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-G302H
1.99 | buffalo-tag WZR-HP-G302H
4
220 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
221 SUPPORTED_DEVICES
+= wzr-hp-g300nh2
223 TARGET_DEVICES
+= buffalo_wzr-hp-g302h-a1a0
225 define Device
/buffalo_wzr-hp-g450h
227 DEVICE_VENDOR
:= Buffalo
228 DEVICE_MODEL
:= WZR-HP-G450H
/WZR-450HP
229 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
231 IMAGES
+= factory.bin tftp.bin
232 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
233 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | buffalo-enc WZR-HP-G450H
1.99 | buffalo-tag WZR-HP-G450H
3
234 IMAGE
/tftp.bin
:= $$(IMAGE
/default
) | buffalo-tftp-header
235 SUPPORTED_DEVICES
+= wzr-hp-g450h
237 TARGET_DEVICES
+= buffalo_wzr-hp-g450h
239 define Device
/comfast_cf-e110n-v2
241 DEVICE_VENDOR
:= COMFAST
242 DEVICE_MODEL
:= CF-E110N
244 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio
-swconfig
-uboot-envtools
247 TARGET_DEVICES
+= comfast_cf-e110n-v2
249 define Device
/comfast_cf-e120a-v3
251 DEVICE_VENDOR
:= COMFAST
252 DEVICE_MODEL
:= CF-E120A
254 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio
-uboot-envtools
257 TARGET_DEVICES
+= comfast_cf-e120a-v3
259 define Device
/comfast_cf-e314n-v2
261 DEVICE_VENDOR
:= COMFAST
262 DEVICE_MODEL
:= CF-E314N
264 DEVICE_PACKAGES
:= rssileds
266 TARGET_DEVICES
+= comfast_cf-e314n-v2
268 define Device
/comfast_cf-e5
270 DEVICE_VENDOR
:= COMFAST
271 DEVICE_MODEL
:= CF-E5
/E7
272 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio kmod-usb-core kmod-usb2 kmod-usb-net \
273 kmod-usb-net-qmi-wwan
-swconfig
-uboot-envtools
276 TARGET_DEVICES
+= comfast_cf-e5
278 define Device
/devolo_dvl1200e
280 DEVICE_VENDOR
:= devolo
281 DEVICE_MODEL
:= WiFi pro
1200e
282 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
285 TARGET_DEVICES
+= devolo_dvl1200e
287 define Device
/devolo_dvl1200i
289 DEVICE_VENDOR
:= devolo
290 DEVICE_MODEL
:= WiFi pro
1200i
291 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
294 TARGET_DEVICES
+= devolo_dvl1200i
296 define Device
/devolo_dvl1750c
298 DEVICE_VENDOR
:= devolo
299 DEVICE_MODEL
:= WiFi pro
1750c
300 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
303 TARGET_DEVICES
+= devolo_dvl1750c
305 define Device
/devolo_dvl1750e
307 DEVICE_VENDOR
:= devolo
308 DEVICE_MODEL
:= WiFi pro
1750e
309 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
312 TARGET_DEVICES
+= devolo_dvl1750e
314 define Device
/devolo_dvl1750i
316 DEVICE_VENDOR
:= devolo
317 DEVICE_MODEL
:= WiFi pro
1750i
318 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
321 TARGET_DEVICES
+= devolo_dvl1750i
323 define Device
/devolo_dvl1750x
325 DEVICE_VENDOR
:= devolo
326 DEVICE_MODEL
:= WiFi pro
1750x
327 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
330 TARGET_DEVICES
+= devolo_dvl1750x
332 define Device
/dlink_dir-825-b1
334 DEVICE_VENDOR
:= D-Link
335 DEVICE_MODEL
:= DIR-825
338 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
339 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
340 SUPPORTED_DEVICES
+= dir-825-b1
342 TARGET_DEVICES
+= dlink_dir-825-b1
344 define Device
/dlink_dir-825-c1
346 DEVICE_VENDOR
:= D-Link
347 DEVICE_MODEL
:= DIR-825
349 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
350 SUPPORTED_DEVICES
+= dir-825-c1
352 IMAGES
:= factory.bin sysupgrade.bin
353 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
354 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
355 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
356 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
358 TARGET_DEVICES
+= dlink_dir-825-c1
360 define Device
/dlink_dir-835-a1
362 DEVICE_VENDOR
:= D-Link
363 DEVICE_MODEL
:= DIR-835
365 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-leds-reset kmod-owl-loader
366 SUPPORTED_DEVICES
+= dir-835-a1
368 IMAGES
:= factory.bin sysupgrade.bin
369 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
370 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
371 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
372 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
374 TARGET_DEVICES
+= dlink_dir-835-a1
376 define Device
/dlink_dir-859-a1
379 DEVICE_VENDOR
:= D-Link
380 DEVICE_MODEL
:= DIR-859
383 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
384 SEAMA_SIGNATURE
:= wrgac37_dlink
.2013gui_dir859
385 SUPPORTED_DEVICES
+= dir-859-a1
387 TARGET_DEVICES
+= dlink_dir-859-a1
389 define Device
/dlink_dir-842-c
391 DEVICE_VENDOR
:= D-Link
392 DEVICE_MODEL
:= DIR-842
393 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma
394 KERNEL_INITRAMFS
:= $$(KERNEL
) | seama
395 IMAGES
+= factory.bin
397 SEAMA_SIGNATURE
:= wrgac65_dlink
.2015_dir842
399 # - 28 bytes seama_header
400 # - 36 bytes of META data (4-bytes aligned)
401 IMAGE
/default
:= append-kernel | uImage lzma | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
402 IMAGE
/sysupgrade.bin
:= \
403 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
404 IMAGE
/factory.bin
:= \
405 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | check-size
$$$$(IMAGE_SIZE
)
409 define Device
/dlink_dir-842-c1
410 $(Device
/dlink_dir-842-c
)
412 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
414 TARGET_DEVICES
+= dlink_dir-842-c1
416 define Device
/dlink_dir-842-c2
417 $(Device
/dlink_dir-842-c
)
419 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
421 TARGET_DEVICES
+= dlink_dir-842-c2
423 define Device
/dlink_dir-842-c3
424 $(Device
/dlink_dir-842-c
)
426 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
428 TARGET_DEVICES
+= dlink_dir-842-c3
430 define Device
/elecom_wrc-1750ghbk2-i
432 DEVICE_VENDOR
:= ELECOM
433 DEVICE_MODEL
:= WRC-1750GHBK2-I
/C
435 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
436 add-elecom-factory-initramfs RN68 WRC-1750GHBK2
437 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
439 TARGET_DEVICES
+= elecom_wrc-1750ghbk2-i
441 define Device
/elecom_wrc-300ghbk2-i
443 DEVICE_VENDOR
:= ELECOM
444 DEVICE_MODEL
:= WRC-300GHBK2-I
446 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
447 add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
449 TARGET_DEVICES
+= elecom_wrc-300ghbk2-i
451 define Device
/embeddedwireless_dorin
453 DEVICE_VENDOR
:= Embedded Wireless
454 DEVICE_MODEL
:= Dorin
455 DEVICE_PACKAGES
:= kmod-usb-chipidea2
458 TARGET_DEVICES
+= embeddedwireless_dorin
460 define Device
/engenius_ecb1750
462 DEVICE_VENDOR
:= EnGenius
463 DEVICE_MODEL
:= ECB1750
464 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
466 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
467 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
468 senao-header
-r
0x101 -p
0x6d -t
2
469 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
471 TARGET_DEVICES
+= engenius_ecb1750
473 define Device
/engenius_epg5000
475 DEVICE_VENDOR
:= EnGenius
476 DEVICE_MODEL
:= EPG5000
477 DEVICE_PACKAGES
:= ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2
479 IMAGES
+= factory.dlf
480 IMAGE
/factory.dlf
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
481 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
482 senao-header
-r
0x101 -p
0x71 -t
2
483 SUPPORTED_DEVICES
+= epg5000
485 TARGET_DEVICES
+= engenius_epg5000
487 define Device
/engenius_ews511ap
489 DEVICE_VENDOR
:= EnGenius
490 DEVICE_MODEL
:= EWS511AP
491 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
494 TARGET_DEVICES
+= engenius_ews511ap
496 define Device
/etactica_eg200
498 DEVICE_VENDOR
:= eTactica
499 DEVICE_MODEL
:= EG200
500 DEVICE_PACKAGES
:= kmod-usb-chipidea2 kmod-ledtrig-oneshot \
501 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
503 SUPPORTED_DEVICES
+= rme-eg200
505 TARGET_DEVICES
+= etactica_eg200
507 define Device
/glinet_gl-ar150
509 DEVICE_VENDOR
:= GL.iNet
510 DEVICE_MODEL
:= GL-AR150
511 DEVICE_PACKAGES
:= kmod-usb-chipidea2
513 SUPPORTED_DEVICES
+= gl-ar150
515 TARGET_DEVICES
+= glinet_gl-ar150
517 define Device
/glinet_gl-ar300m-common-nor
519 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
521 SUPPORTED_DEVICES
+= gl-ar300m
524 define Device
/glinet_gl-ar300m-lite
525 $(Device
/glinet_gl-ar300m-common-nor
)
526 DEVICE_VENDOR
:= GL.iNet
527 DEVICE_MODEL
:= GL-AR300M-Lite
529 TARGET_DEVICES
+= glinet_gl-ar300m-lite
531 define Device
/glinet_gl-ar300m-nor
532 $(Device
/glinet_gl-ar300m-common-nor
)
533 DEVICE_VENDOR
:= GL.iNet
534 DEVICE_MODEL
:= GL-AR300M
536 TARGET_DEVICES
+= glinet_gl-ar300m-nor
538 define Device
/glinet_gl-ar750s
540 DEVICE_VENDOR
:= GL.iNet
541 DEVICE_MODEL
:= GL-AR750S
542 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct block-mount
544 SUPPORTED_DEVICES
+= gl-ar750s
546 TARGET_DEVICES
+= glinet_gl-ar750s
548 define Device
/glinet_gl-x750
550 DEVICE_VENDOR
:= GL.iNet
551 DEVICE_MODEL
:= GL-X750
552 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
555 TARGET_DEVICES
+= glinet_gl-x750
557 define Device
/iodata_etg3-r
559 DEVICE_VENDOR
:= I-O DATA
560 DEVICE_MODEL
:= ETG3-R
562 DEVICE_PACKAGES
:= -iwinfo
-kmod-ath9k
-wpad-basic
564 TARGET_DEVICES
+= iodata_etg3-r
566 define Device
/iodata_wn-ac1167dgr
568 DEVICE_VENDOR
:= I-O DATA
569 DEVICE_MODEL
:= WN-AC1167DGR
571 IMAGES
+= factory.bin
572 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
573 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
574 senao-header
-r
0x30a -p
0x61 -t
2
575 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
577 TARGET_DEVICES
+= iodata_wn-ac1167dgr
579 define Device
/iodata_wn-ac1600dgr
581 DEVICE_VENDOR
:= I-O DATA
582 DEVICE_MODEL
:= WN-AC1600DGR
584 IMAGES
+= factory.bin
585 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
586 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
587 senao-header
-r
0x30a -p
0x60 -t
2 -v
200
588 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
590 TARGET_DEVICES
+= iodata_wn-ac1600dgr
592 define Device
/iodata_wn-ac1600dgr2
594 DEVICE_VENDOR
:= I-O DATA
595 DEVICE_MODEL
:= WN-AC1600DGR2
/DGR3
597 IMAGES
+= dgr2-dgr3-factory.bin
598 IMAGE
/dgr2-dgr3-factory.bin
:= \
599 append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
600 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
601 senao-header
-r
0x30a -p
0x60 -t
2 -v
200
602 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
604 TARGET_DEVICES
+= iodata_wn-ac1600dgr2
606 define Device
/iodata_wn-ag300dgr
608 DEVICE_VENDOR
:= I-O DATA
609 DEVICE_MODEL
:= WN-AG300DGR
611 IMAGES
+= factory.bin
612 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
613 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
614 senao-header
-r
0x30a -p
0x47 -t
2
615 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
617 TARGET_DEVICES
+= iodata_wn-ag300dgr
619 define Device
/jjplus_ja76pf2
621 DEVICE_VENDOR
:= jjPlus
622 DEVICE_MODEL
:= JA76PF2
623 DEVICE_PACKAGES
+= -kmod-ath9k
-swconfig
-wpad-mini
-uboot-envtools fconfig
624 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | combined-image | check-size
$$$$(IMAGE_SIZE
)
625 # IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
626 KERNEL
:= kernel-bin | append-dtb | lzma | pad-to
$$(BLOCKSIZE
)
627 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
630 TARGET_DEVICES
+= jjplus_ja76pf2
632 define Device
/librerouter_librerouter-v1
634 DEVICE_VENDOR
:= Librerouter
635 DEVICE_MODEL
:= LibreRouter
638 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
640 TARGET_DEVICES
+= librerouter_librerouter-v1
642 define Device
/nec_wg1200cr
645 DEVICE_MODEL
:= Aterm WG1200CR
648 SEAMA_SIGNATURE
:= wrgac72_necpf
.2016gui_wg1200cr
649 IMAGES
+= factory.bin
651 append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
652 IMAGE
/sysupgrade.bin
:= \
653 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
654 IMAGE
/factory.bin
:= \
655 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | nec-enc
9gsiy9nzep452pad | \
656 check-size
$$$$(IMAGE_SIZE
)
657 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
659 TARGET_DEVICES
+= nec_wg1200cr
661 define Device
/nec_wg800hp
664 DEVICE_MODEL
:= Aterm WG800HP
666 IMAGES
+= factory.bin
667 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
668 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
669 xor-image
-p
6A57190601121E4C004C1E1201061957
-x | \
671 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct-htt
673 TARGET_DEVICES
+= nec_wg800hp
675 define Device
/ocedo_koala
677 DEVICE_VENDOR
:= Ocedo
678 DEVICE_MODEL
:= Koala
679 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
680 SUPPORTED_DEVICES
+= koala
682 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
684 TARGET_DEVICES
+= ocedo_koala
686 define Device
/ocedo_raccoon
688 DEVICE_VENDOR
:= Ocedo
689 DEVICE_MODEL
:= Raccoon
691 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
693 TARGET_DEVICES
+= ocedo_raccoon
695 define Device
/ocedo_ursus
697 DEVICE_VENDOR
:= Ocedo
698 DEVICE_MODEL
:= Ursus
699 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
701 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
703 TARGET_DEVICES
+= ocedo_ursus
705 define Device
/openmesh_om5p-ac-v2
707 DEVICE_VENDOR
:= OpenMesh
708 DEVICE_MODEL
:= OM5P-AC
710 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
712 SUPPORTED_DEVICES
+= om5p-acv2
714 TARGET_DEVICES
+= openmesh_om5p-ac-v2
716 define Device
/pcs_cap324
718 DEVICE_VENDOR
:= PowerCloud Systems
719 DEVICE_MODEL
:= CAP324
721 SUPPORTED_DEVICES
+= cap324
723 TARGET_DEVICES
+= pcs_cap324
725 define Device
/pcs_cr3000
727 DEVICE_VENDOR
:= PowerCloud Systems
728 DEVICE_MODEL
:= CR3000
730 SUPPORTED_DEVICES
+= cr3000
732 TARGET_DEVICES
+= pcs_cr3000
734 define Device
/pcs_cr5000
736 DEVICE_VENDOR
:= PowerCloud Systems
737 DEVICE_MODEL
:= CR5000
738 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-core
740 SUPPORTED_DEVICES
+= cr5000
742 TARGET_DEVICES
+= pcs_cr5000
744 define Device
/netgear_wndr3x00
746 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | netgear-squashfs | append-rootfs | pad-rootfs
747 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
748 $(Device
/netgear_ath79
)
751 define Device
/netgear_ex7300_ex6400
753 NETGEAR_KERNEL_MAGIC
:= 0x27051956
754 NETGEAR_BOARD_ID
:= EX7300series
755 NETGEAR_HW_ID
:= 29765104+16+0+128
757 IMAGE
/default
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | netgear-rootfs | pad-rootfs
758 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca99x0-ct
759 $(Device
/netgear_ath79
)
762 define Device
/netgear_ex6400
763 $(Device
/netgear_ex7300_ex6400
)
764 DEVICE_MODEL
:= EX6400
766 TARGET_DEVICES
+= netgear_ex6400
768 define Device
/netgear_ex7300
769 $(Device
/netgear_ex7300_ex6400
)
770 DEVICE_MODEL
:= EX7300
772 TARGET_DEVICES
+= netgear_ex7300
774 define Device
/netgear_wndr3700
775 $(Device
/netgear_wndr3x00
)
776 DEVICE_MODEL
:= WNDR3700
778 NETGEAR_KERNEL_MAGIC
:= 0x33373030
779 NETGEAR_BOARD_ID
:= WNDR3700
781 IMAGES
+= factory-NA.img
782 IMAGE
/factory-NA.img
:= $$(IMAGE
/default
) | netgear-dni NA | check-size
$$$$(IMAGE_SIZE
)
783 SUPPORTED_DEVICES
+= wndr3700
785 TARGET_DEVICES
+= netgear_wndr3700
787 define Device
/netgear_wndr3700v2
788 $(Device
/netgear_wndr3x00
)
789 DEVICE_MODEL
:= WNDR3700
791 NETGEAR_KERNEL_MAGIC
:= 0x33373031
792 NETGEAR_BOARD_ID
:= WNDR3700v2
793 NETGEAR_HW_ID
:= 29763654+16+64
795 SUPPORTED_DEVICES
+= wndr3700v2
797 TARGET_DEVICES
+= netgear_wndr3700v2
799 define Device
/pisen_wmb001n
801 DEVICE_VENDOR
:= PISEN
802 DEVICE_MODEL
:= WMB001N
804 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-usb2
806 LOADER_FLASH_OFFS
:= 0x20000
807 COMPILE
:= loader-
$(1).bin loader-
$(1).uImage
808 COMPILE
/loader-
$(1).bin
:= loader-okli-compile
809 COMPILE
/loader-
$(1).uImage
:= append-loader-okli
$(1) | pad-to
64k | lzma | uImage lzma
810 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49
811 IMAGES
+= factory.bin
812 IMAGE
/factory.bin
:= $$(IMAGE
/sysupgrade.bin
) | pisen_wmb001n-factory
$(1)
814 TARGET_DEVICES
+= pisen_wmb001n
816 define Device
/pisen_wmm003n
817 $(Device
/tplink-8mlzma
)
819 DEVICE_VENDOR
:= PISEN
820 DEVICE_MODEL
:= Cloud Easy Power
(WMM003N
)
821 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-chipidea2
822 TPLINK_HWID
:= 0x07030101
824 TARGET_DEVICES
+= pisen_wmm003n
826 define Device
/netgear_wndr3800
827 $(Device
/netgear_wndr3x00
)
828 DEVICE_MODEL
:= WNDR3800
829 NETGEAR_KERNEL_MAGIC
:= 0x33373031
830 NETGEAR_BOARD_ID
:= WNDR3800
831 NETGEAR_HW_ID
:= 29763654+16+128
833 SUPPORTED_DEVICES
+= wndr3800
835 TARGET_DEVICES
+= netgear_wndr3800
837 define Device
/phicomm_k2t
839 DEVICE_VENDOR
:= Phicomm
842 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
843 DEVICE_PACKAGES
:= kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct
845 TARGET_DEVICES
+= phicomm_k2t
847 define Device
/qihoo_c301
850 DEVICE_VENDOR
:= Qihoo
852 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct uboot-envtools
854 SEAMA_SIGNATURE
:= wrgac26_qihoo360_360rg
855 SUPPORTED_DEVICES
+= qihoo-c301
857 TARGET_DEVICES
+= qihoo_c301
859 define Device
/rosinson_wr818
861 DEVICE_VENDOR
:= Rosinson
862 DEVICE_MODEL
:= WR818
864 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
866 TARGET_DEVICES
+= rosinson_wr818
868 define Device
/trendnet_tew-823dru
870 DEVICE_VENDOR
:= Trendnet
871 DEVICE_MODEL
:= TEW-823DRU
872 DEVICE_VARIANT
:= v1.0R
873 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
874 SUPPORTED_DEVICES
+= tew-823dru
876 IMAGES
:= factory.bin sysupgrade.bin
877 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
878 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
879 append-string
00AP135AR9558-RT-131129-00 | check-size
$$$$(IMAGE_SIZE
)
880 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
882 TARGET_DEVICES
+= trendnet_tew-823dru
884 define Device
/wd_mynet-n750
887 DEVICE_VENDOR
:= Western Digital
888 DEVICE_MODEL
:= My Net N750
890 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
891 SEAMA_SIGNATURE
:= wrgnd13_wd_av
892 SUPPORTED_DEVICES
+= mynet-n750
894 TARGET_DEVICES
+= wd_mynet-n750
896 define Device
/wd_mynet-wifi-rangeextender
898 DEVICE_VENDOR
:= Western Digital
899 DEVICE_MODEL
:= My Net Wi-Fi Range Extender
900 DEVICE_PACKAGES
:= rssileds nvram
-swconfig
902 ADDPATTERN_ID
:= mynet-rext
903 ADDPATTERN_VERSION
:= 1.00.01
904 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | cybertan-trx | \
905 addpattern | append-metadata
906 SUPPORTED_DEVICES
+= mynet-rext
908 TARGET_DEVICES
+= wd_mynet-wifi-rangeextender
910 define Device
/winchannel_wb2000
912 DEVICE_VENDOR
:= Winchannel
913 DEVICE_MODEL
:= WB2000
915 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
917 TARGET_DEVICES
+= winchannel_wb2000
919 define Device
/xiaomi_mi-router-4q
921 DEVICE_VENDOR
:= Xiaomi
922 DEVICE_MODEL
:= Mi Router
4Q
925 TARGET_DEVICES
+= xiaomi_mi-router-4q
927 define Device
/yuncore_a770
929 DEVICE_VENDOR
:= YunCore
931 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
934 TARGET_DEVICES
+= yuncore_a770
936 define Device
/zbtlink_zbt-wd323
939 DEVICE_MODEL
:= WD323
941 DEVICE_PACKAGES
:= kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
942 kmod-usb-serial kmod-usb-serial-cp210x uqmi
944 TARGET_DEVICES
+= zbtlink_zbt-wd323