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-usb-core 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-core 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-usb-core 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-usb-core 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-e314n-v2
263 DEVICE_VENDOR
:= COMFAST
264 DEVICE_MODEL
:= CF-E314N
266 DEVICE_PACKAGES
:= rssileds
269 TARGET_DEVICES
+= comfast_cf-e314n-v2
271 define Device
/comfast_cf-e5
273 DEVICE_VENDOR
:= COMFAST
274 DEVICE_MODEL
:= CF-E5
/E7
275 DEVICE_PACKAGES
:= rssileds kmod-leds-gpio kmod-usb-core kmod-usb2 kmod-usb-net \
276 kmod-usb-net-qmi-wwan
-swconfig
-uboot-envtools
279 TARGET_DEVICES
+= comfast_cf-e5
281 define Device
/comfast_cf-wr650ac-v1
283 DEVICE_VENDOR
:= COMFAST
284 DEVICE_MODEL
:= CF-WR650AC
286 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
289 TARGET_DEVICES
+= comfast_cf-wr650ac-v1
291 define Device
/comfast_cf-wr650ac-v2
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-v2
301 define Device
/devolo_dvl1200e
303 DEVICE_VENDOR
:= devolo
304 DEVICE_MODEL
:= WiFi pro
1200e
305 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
308 TARGET_DEVICES
+= devolo_dvl1200e
310 define Device
/devolo_dvl1200i
312 DEVICE_VENDOR
:= devolo
313 DEVICE_MODEL
:= WiFi pro
1200i
314 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
317 TARGET_DEVICES
+= devolo_dvl1200i
319 define Device
/devolo_dvl1750c
321 DEVICE_VENDOR
:= devolo
322 DEVICE_MODEL
:= WiFi pro
1750c
323 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
326 TARGET_DEVICES
+= devolo_dvl1750c
328 define Device
/devolo_dvl1750e
330 DEVICE_VENDOR
:= devolo
331 DEVICE_MODEL
:= WiFi pro
1750e
332 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
335 TARGET_DEVICES
+= devolo_dvl1750e
337 define Device
/devolo_dvl1750i
339 DEVICE_VENDOR
:= devolo
340 DEVICE_MODEL
:= WiFi pro
1750i
341 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
344 TARGET_DEVICES
+= devolo_dvl1750i
346 define Device
/devolo_dvl1750x
348 DEVICE_VENDOR
:= devolo
349 DEVICE_MODEL
:= WiFi pro
1750x
350 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
353 TARGET_DEVICES
+= devolo_dvl1750x
355 define Device
/dlink_dir-825-b1
357 DEVICE_VENDOR
:= D-Link
358 DEVICE_MODEL
:= DIR-825
361 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
362 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
363 SUPPORTED_DEVICES
+= dir-825-b1
365 TARGET_DEVICES
+= dlink_dir-825-b1
367 define Device
/dlink_dir-825-c1
369 DEVICE_VENDOR
:= D-Link
370 DEVICE_MODEL
:= DIR-825
372 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
373 SUPPORTED_DEVICES
+= dir-825-c1
375 IMAGES
:= factory.bin sysupgrade.bin
376 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
377 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
378 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
379 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
381 TARGET_DEVICES
+= dlink_dir-825-c1
383 define Device
/dlink_dir-835-a1
385 DEVICE_VENDOR
:= D-Link
386 DEVICE_MODEL
:= DIR-835
388 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-leds-reset kmod-owl-loader
389 SUPPORTED_DEVICES
+= dir-835-a1
391 IMAGES
:= factory.bin sysupgrade.bin
392 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
393 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
394 append-string
00DB120AR9344-RT-101214-00 | check-size
$$$$(IMAGE_SIZE
)
395 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
397 TARGET_DEVICES
+= dlink_dir-835-a1
399 define Device
/dlink_dir-842-c
401 DEVICE_VENDOR
:= D-Link
402 DEVICE_MODEL
:= DIR-842
403 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma
404 KERNEL_INITRAMFS
:= $$(KERNEL
) | seama
405 IMAGES
+= factory.bin
407 SEAMA_SIGNATURE
:= wrgac65_dlink
.2015_dir842
409 # - 28 bytes seama_header
410 # - 36 bytes of META data (4-bytes aligned)
411 IMAGE
/default
:= append-kernel | uImage lzma | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs
412 IMAGE
/sysupgrade.bin
:= \
413 $$(IMAGE
/default
) | seama | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
414 IMAGE
/factory.bin
:= \
415 $$(IMAGE
/default
) | pad-rootfs
-x
64 | seama | seama-seal | check-size
$$$$(IMAGE_SIZE
)
419 define Device
/dlink_dir-842-c1
420 $(Device
/dlink_dir-842-c
)
422 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
424 TARGET_DEVICES
+= dlink_dir-842-c1
426 define Device
/dlink_dir-842-c2
427 $(Device
/dlink_dir-842-c
)
429 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
431 TARGET_DEVICES
+= dlink_dir-842-c2
433 define Device
/dlink_dir-842-c3
434 $(Device
/dlink_dir-842-c
)
436 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9888-ct
438 TARGET_DEVICES
+= dlink_dir-842-c3
440 define Device
/dlink_dir-859-a1
443 DEVICE_VENDOR
:= D-Link
444 DEVICE_MODEL
:= DIR-859
447 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
448 SEAMA_SIGNATURE
:= wrgac37_dlink
.2013gui_dir859
449 SUPPORTED_DEVICES
+= dir-859-a1
451 TARGET_DEVICES
+= dlink_dir-859-a1
453 define Device
/elecom_wrc-1750ghbk2-i
455 DEVICE_VENDOR
:= ELECOM
456 DEVICE_MODEL
:= WRC-1750GHBK2-I
/C
458 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
459 add-elecom-factory-initramfs RN68 WRC-1750GHBK2
460 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
462 TARGET_DEVICES
+= elecom_wrc-1750ghbk2-i
464 define Device
/elecom_wrc-300ghbk2-i
466 DEVICE_VENDOR
:= ELECOM
467 DEVICE_MODEL
:= WRC-300GHBK2-I
469 KERNEL_INITRAMFS
:= $$(KERNEL
) | pad-to
2 | \
470 add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
472 TARGET_DEVICES
+= elecom_wrc-300ghbk2-i
474 define Device
/embeddedwireless_dorin
476 DEVICE_VENDOR
:= Embedded Wireless
477 DEVICE_MODEL
:= Dorin
478 DEVICE_PACKAGES
:= kmod-usb-chipidea2
481 TARGET_DEVICES
+= embeddedwireless_dorin
483 define Device
/engenius_ecb1750
485 DEVICE_VENDOR
:= EnGenius
486 DEVICE_MODEL
:= ECB1750
487 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
489 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
490 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
491 senao-header
-r
0x101 -p
0x6d -t
2
492 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
494 TARGET_DEVICES
+= engenius_ecb1750
496 define Device
/engenius_epg5000
498 DEVICE_VENDOR
:= EnGenius
499 DEVICE_MODEL
:= EPG5000
500 DEVICE_PACKAGES
:= ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2
502 IMAGES
+= factory.dlf
503 IMAGE
/factory.dlf
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
504 append-rootfs | pad-rootfs | check-size
$$$$(IMAGE_SIZE
) | \
505 senao-header
-r
0x101 -p
0x71 -t
2
506 SUPPORTED_DEVICES
+= epg5000
508 TARGET_DEVICES
+= engenius_epg5000
510 define Device
/engenius_ews511ap
512 DEVICE_VENDOR
:= EnGenius
513 DEVICE_MODEL
:= EWS511AP
514 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
517 TARGET_DEVICES
+= engenius_ews511ap
519 define Device
/etactica_eg200
521 DEVICE_VENDOR
:= eTactica
522 DEVICE_MODEL
:= EG200
523 DEVICE_PACKAGES
:= kmod-usb-chipidea2 kmod-ledtrig-oneshot \
524 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
526 SUPPORTED_DEVICES
+= rme-eg200
528 TARGET_DEVICES
+= etactica_eg200
530 define Device
/glinet_gl-ar150
532 DEVICE_VENDOR
:= GL.iNet
533 DEVICE_MODEL
:= GL-AR150
534 DEVICE_PACKAGES
:= kmod-usb-chipidea2
536 SUPPORTED_DEVICES
+= gl-ar150
538 TARGET_DEVICES
+= glinet_gl-ar150
540 define Device
/glinet_gl-ar300m-common-nor
542 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
544 SUPPORTED_DEVICES
+= gl-ar300m
547 define Device
/glinet_gl-ar300m-lite
548 $(Device
/glinet_gl-ar300m-common-nor
)
549 DEVICE_VENDOR
:= GL.iNet
550 DEVICE_MODEL
:= GL-AR300M-Lite
552 TARGET_DEVICES
+= glinet_gl-ar300m-lite
554 define Device
/glinet_gl-ar300m-nor
555 $(Device
/glinet_gl-ar300m-common-nor
)
556 DEVICE_VENDOR
:= GL.iNet
557 DEVICE_MODEL
:= GL-AR300M
559 TARGET_DEVICES
+= glinet_gl-ar300m-nor
561 define Device
/glinet_gl-ar750
563 DEVICE_VENDOR
:= GL.iNet
564 DEVICE_MODEL
:= GL-AR750
565 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
567 SUPPORTED_DEVICES
+= gl-ar750
569 TARGET_DEVICES
+= glinet_gl-ar750
571 define Device
/glinet_gl-ar750s
573 DEVICE_VENDOR
:= GL.iNet
574 DEVICE_MODEL
:= GL-AR750S
575 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct block-mount
577 SUPPORTED_DEVICES
+= gl-ar750s
579 TARGET_DEVICES
+= glinet_gl-ar750s
581 define Device
/glinet_gl-x750
583 DEVICE_VENDOR
:= GL.iNet
584 DEVICE_MODEL
:= GL-X750
585 DEVICE_PACKAGES
:= kmod-usb-core 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-usb-core 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-usb-core 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-usb-core 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-usb-core 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-usb-core 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-core 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
+= wndr3700v2
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
+= wndr3800
774 TARGET_DEVICES
+= netgear_wndr3800
776 define Device
/ocedo_koala
778 DEVICE_VENDOR
:= Ocedo
779 DEVICE_MODEL
:= Koala
780 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
781 SUPPORTED_DEVICES
+= koala
783 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
785 TARGET_DEVICES
+= ocedo_koala
787 define Device
/ocedo_raccoon
789 DEVICE_VENDOR
:= Ocedo
790 DEVICE_MODEL
:= Raccoon
792 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
794 TARGET_DEVICES
+= ocedo_raccoon
796 define Device
/ocedo_ursus
798 DEVICE_VENDOR
:= Ocedo
799 DEVICE_MODEL
:= Ursus
800 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
802 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
804 TARGET_DEVICES
+= ocedo_ursus
806 define Device
/openmesh_om5p-ac-v2
808 DEVICE_VENDOR
:= OpenMesh
809 DEVICE_MODEL
:= OM5P-AC
811 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
813 SUPPORTED_DEVICES
+= om5p-acv2
815 TARGET_DEVICES
+= openmesh_om5p-ac-v2
817 define Device
/pcs_cap324
819 DEVICE_VENDOR
:= PowerCloud Systems
820 DEVICE_MODEL
:= CAP324
822 SUPPORTED_DEVICES
+= cap324
824 TARGET_DEVICES
+= pcs_cap324
826 define Device
/pcs_cr3000
828 DEVICE_VENDOR
:= PowerCloud Systems
829 DEVICE_MODEL
:= CR3000
831 SUPPORTED_DEVICES
+= cr3000
833 TARGET_DEVICES
+= pcs_cr3000
835 define Device
/pcs_cr5000
837 DEVICE_VENDOR
:= PowerCloud Systems
838 DEVICE_MODEL
:= CR5000
839 DEVICE_PACKAGES
:= kmod-usb2 kmod-usb-core
841 SUPPORTED_DEVICES
+= cr5000
843 TARGET_DEVICES
+= pcs_cr5000
845 define Device
/phicomm_k2t
847 DEVICE_VENDOR
:= Phicomm
850 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
$$$$(IMAGE_SIZE
)
851 DEVICE_PACKAGES
:= kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct
853 TARGET_DEVICES
+= phicomm_k2t
855 define Device
/pisen_ts-d084
856 $(Device
/tplink-8mlzma
)
858 DEVICE_VENDOR
:= PISEN
859 DEVICE_MODEL
:= TS-D084
860 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-chipidea2
861 TPLINK_HWID
:= 0x07030101
863 TARGET_DEVICES
+= pisen_ts-d084
865 define Device
/pisen_wmb001n
867 DEVICE_VENDOR
:= PISEN
868 DEVICE_MODEL
:= WMB001N
870 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-usb2
872 LOADER_FLASH_OFFS
:= 0x20000
873 COMPILE
:= loader-
$(1).bin loader-
$(1).uImage
874 COMPILE
/loader-
$(1).bin
:= loader-okli-compile
875 COMPILE
/loader-
$(1).uImage
:= append-loader-okli
$(1) | pad-to
64k | lzma | uImage lzma
876 KERNEL
:= kernel-bin | append-dtb | lzma | uImage lzma
-M
0x4f4b4c49
877 IMAGES
+= factory.bin
878 IMAGE
/factory.bin
:= $$(IMAGE
/sysupgrade.bin
) | pisen_wmb001n-factory
$(1)
880 TARGET_DEVICES
+= pisen_wmb001n
882 define Device
/pisen_wmm003n
883 $(Device
/tplink-8mlzma
)
885 DEVICE_VENDOR
:= PISEN
886 DEVICE_MODEL
:= Cloud Easy Power
(WMM003N
)
887 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-chipidea2
888 TPLINK_HWID
:= 0x07030101
890 TARGET_DEVICES
+= pisen_wmm003n
892 define Device
/qihoo_c301
895 DEVICE_VENDOR
:= Qihoo
897 DEVICE_PACKAGES
:= kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct uboot-envtools
899 SEAMA_SIGNATURE
:= wrgac26_qihoo360_360rg
900 SUPPORTED_DEVICES
+= qihoo-c301
902 TARGET_DEVICES
+= qihoo_c301
904 define Device
/rosinson_wr818
906 DEVICE_VENDOR
:= Rosinson
907 DEVICE_MODEL
:= WR818
909 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
911 TARGET_DEVICES
+= rosinson_wr818
913 define Device
/trendnet_tew-823dru
915 DEVICE_VENDOR
:= Trendnet
916 DEVICE_MODEL
:= TEW-823DRU
917 DEVICE_VARIANT
:= v1.0R
918 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
919 SUPPORTED_DEVICES
+= tew-823dru
921 IMAGES
:= factory.bin sysupgrade.bin
922 IMAGE
/default
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs
923 IMAGE
/factory.bin
:= $$(IMAGE
/default
) | pad-offset
$$$$(IMAGE_SIZE
) 26 | \
924 append-string
00AP135AR9558-RT-131129-00 | check-size
$$$$(IMAGE_SIZE
)
925 IMAGE
/sysupgrade.bin
:= $$(IMAGE
/default
) | append-metadata | check-size
$$$$(IMAGE_SIZE
)
927 TARGET_DEVICES
+= trendnet_tew-823dru
929 define Device
/wd_mynet-n750
932 DEVICE_VENDOR
:= Western Digital
933 DEVICE_MODEL
:= My Net N750
935 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2
936 SEAMA_SIGNATURE
:= wrgnd13_wd_av
937 SUPPORTED_DEVICES
+= mynet-n750
939 TARGET_DEVICES
+= wd_mynet-n750
941 define Device
/wd_mynet-wifi-rangeextender
943 DEVICE_VENDOR
:= Western Digital
944 DEVICE_MODEL
:= My Net Wi-Fi Range Extender
945 DEVICE_PACKAGES
:= rssileds nvram
-swconfig
947 ADDPATTERN_ID
:= mynet-rext
948 ADDPATTERN_VERSION
:= 1.00.01
949 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | cybertan-trx | \
950 addpattern | append-metadata
951 SUPPORTED_DEVICES
+= mynet-rext
953 TARGET_DEVICES
+= wd_mynet-wifi-rangeextender
955 define Device
/winchannel_wb2000
957 DEVICE_VENDOR
:= Winchannel
958 DEVICE_MODEL
:= WB2000
960 DEVICE_PACKAGES
:= kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
962 TARGET_DEVICES
+= winchannel_wb2000
964 define Device
/xiaomi_mi-router-4q
966 DEVICE_VENDOR
:= Xiaomi
967 DEVICE_MODEL
:= Mi Router
4Q
970 TARGET_DEVICES
+= xiaomi_mi-router-4q
972 define Device
/yuncore_a770
974 DEVICE_VENDOR
:= YunCore
976 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca9887-ct
979 TARGET_DEVICES
+= yuncore_a770
981 define Device
/zbtlink_zbt-wd323
984 DEVICE_MODEL
:= WD323
986 DEVICE_PACKAGES
:= kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
987 kmod-usb-serial kmod-usb-serial-cp210x uqmi
989 TARGET_DEVICES
+= zbtlink_zbt-wd323