2 DEVICE_VARS
+= NETGEAR_BOARD_ID NETGEAR_HW_ID
3 DEVICE_VARS
+= RAS_BOARD RAS_ROOTFS_SIZE RAS_VERSION
4 DEVICE_VARS
+= WRGG_DEVNAME WRGG_SIGNATURE
7 KERNEL_SUFFIX
:= -fit-uImage.itb
8 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
12 define Device
/FitImageLzma
13 KERNEL_SUFFIX
:= -fit-uImage.itb
14 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
18 define Device
/FitzImage
19 KERNEL_SUFFIX
:= -fit-zImage.itb
20 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
26 IMAGES
:= nand-factory.ubi nand-sysupgrade.bin
27 IMAGE
/nand-factory.ubi
:= append-ubi
28 IMAGE
/nand-sysupgrade.bin
:= sysupgrade-tar | append-metadata
31 define Device
/DniImage
32 $(call Device
/FitzImage
)
36 IMAGE
/factory.img
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | netgear-dni
37 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | \
38 append-rootfs | pad-rootfs | check-size | append-metadata
41 define Build
/append-rootfshdr
42 mkimage
-A
$(LINUX_KARCH
) \
43 -O linux
-T filesystem \
44 -C lzma
-a
$(KERNEL_LOADADDR
) -e
$(if
$(KERNEL_ENTRY
),$(KERNEL_ENTRY
),$(KERNEL_LOADADDR
)) \
45 -n root.squashfs
-d
$(IMAGE_ROOTFS
) $@.new
46 dd if
=$@.new bs
=64 count
=1 >> $(IMAGE_KERNEL
)
49 define Build
/append-rutx-metadata
52 "device_code": [".*"], \
56 "supported_devices":["teltonika,rutx"] \
60 define Build
/mkmylofw_32m
61 $(eval device_id
=$(word 1,$(1)))
62 $(eval revision
=$(word 2,$(1)))
65 size
="$$(stat -c%s $@)" \
66 pad
="$(subst k,* 1024,$(BLOCKSIZE))" \
67 pad
="(pad - (size % pad)) % pad" \
68 newsize
='size + pad'; \
69 $(STAGING_DIR_HOST
)/bin
/mkmylofw \
70 -B WPE72
-i
0x11f6:$(device_id
):0x11f6:$(device_id
) -r
$(revision
) \
71 -s
0x2000000 -p0x180000
:$$newsize:al
:0x80208000:"OpenWrt":$@ \
76 define Build
/wac5xx-netgear-tar
78 mv
$@
$@.tmp
/wac5xx-ubifs-root.img
79 md5sum
$@.tmp
/wac5xx-ubifs-root.img
> $@.tmp
/wac5xx-ubifs-root.md5sum
80 echo
"WAC505 WAC510" > $@.tmp
/metadata.txt
81 echo
"WAC505_V9.9.9.9" > $@.tmp
/version
82 tar -C
$@.tmp
/ -cf
$@ .
86 define Build
/qsdk-ipq-factory-nand-askey
87 $(TOPDIR
)/scripts
/mkits-qsdk-ipq-image.sh
$@.its\
88 askey_kernel
$(IMAGE_KERNEL
) \
89 askey_fs
$(IMAGE_ROOTFS
) \
91 PATH
=$(LINUX_DIR
)/scripts
/dtc
:$(PATH
) mkimage
-f
$@.its
$@.new
96 -$(STAGING_DIR_HOST
)/bin
/mksenaofw \
97 -n
$(BOARD_NAME
) -r
$(VENDOR_ID
) -p
$(1) \
98 -c
$(DATECODE
) -w
$(2) -x
$(CW_VER
) -t
0 \
104 define Build
/wrgg-image
107 -d
"$(WRGG_DEVNAME)" \
108 -s
"$(WRGG_SIGNATURE)" \
113 define Device
/8dev_habanero-dvk
114 $(call Device
/FitImageLzma
)
115 DEVICE_VENDOR
:= 8devices
116 DEVICE_MODEL
:= Habanero DVK
119 DEVICE_PACKAGES
:= ipq-wifi-8dev_habanero-dvk
120 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | append-rootfs | pad-rootfs | check-size | append-metadata
122 TARGET_DEVICES
+= 8dev_habanero-dvk
124 define Device
/8dev_jalapeno-common
125 $(call Device
/FitImage
)
126 $(call Device
/UbiFit
)
132 define Device
/8dev_jalapeno
133 $(call Device
/8dev_jalapeno-common
)
134 DEVICE_VENDOR
:= 8devices
135 DEVICE_MODEL
:= Jalapeno
137 TARGET_DEVICES
+= 8dev_jalapeno
139 define Device
/alfa-network_ap120c-ac
140 $(call Device
/FitImage
)
141 $(call Device
/UbiFit
)
142 DEVICE_VENDOR
:= ALFA Network
143 DEVICE_MODEL
:= AP120C-AC
145 DEVICE_PACKAGES
:= kmod-usb-acm kmod-tpm-i2c-atmel
149 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
150 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
152 TARGET_DEVICES
+= alfa-network_ap120c-ac
154 define Device
/aruba_glenmorangie
155 $(call Device
/FitImageLzma
)
156 DEVICE_VENDOR
:= Aruba
158 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
161 define Device
/aruba_ap-303
162 $(call Device
/aruba_glenmorangie
)
163 DEVICE_MODEL
:= AP-303
165 TARGET_DEVICES
+= aruba_ap-303
167 define Device
/aruba_ap-303h
168 $(call Device
/aruba_glenmorangie
)
169 DEVICE_MODEL
:= AP-303H
171 TARGET_DEVICES
+= aruba_ap-303h
173 define Device
/aruba_ap-365
174 $(call Device
/aruba_glenmorangie
)
175 DEVICE_MODEL
:= AP-365
176 DEVICE_PACKAGES
+= kmod-hwmon-ad7418
178 TARGET_DEVICES
+= aruba_ap-365
180 define Device
/asus_map-ac2200
181 $(call Device
/FitImageLzma
)
182 DEVICE_VENDOR
:= ASUS
183 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
185 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
187 TARGET_DEVICES
+= asus_map-ac2200
189 define Device
/asus_rt-ac58u
190 $(call Device
/FitImageLzma
)
191 DEVICE_VENDOR
:= ASUS
192 DEVICE_MODEL
:= RT-AC58U
197 IMAGE_SIZE
:= 20439364
198 FILESYSTEMS
:= squashfs
199 # Someone - in their infinite wisdom - decided to put the firmware
200 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
201 # Since u-boot works with strings we either need another fixup step
202 # to add a version... or we are very careful not to add '\0' into that
203 # string and call it a day.... Yeah, we do the latter!
204 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
205 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
206 kmod-usb-ledtrig-usbport
208 TARGET_DEVICES
+= asus_rt-ac58u
210 define Device
/avm_fritzbox-4040
211 $(call Device
/FitImageLzma
)
213 DEVICE_MODEL
:= FRITZ
!Box
4040
215 BOARD_NAME
:= fritz4040
217 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
218 UBOOT_PARTITION_SIZE
:= 524288
220 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
221 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
222 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
224 TARGET_DEVICES
+= avm_fritzbox-4040
226 define Device
/avm_fritzbox-7530
227 $(call Device
/FitImageLzma
)
229 DEVICE_MODEL
:= FRITZ
!Box
7530
231 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
233 TARGET_DEVICES
+= avm_fritzbox-7530
235 define Device
/avm_fritzrepeater-1200
236 $(call Device
/FitImageLzma
)
238 DEVICE_MODEL
:= FRITZ
!Repeater
1200
240 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand ipq-wifi-avm_fritzrepeater-1200
242 TARGET_DEVICES
+= avm_fritzrepeater-1200
244 define Device
/avm_fritzrepeater-3000
245 $(call Device
/FitImageLzma
)
247 DEVICE_MODEL
:= FRITZ
!Repeater
3000
249 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
251 TARGET_DEVICES
+= avm_fritzrepeater-3000
253 define Device
/buffalo_wtr-m2133hp
254 $(call Device
/FitImage
)
255 $(call Device
/UbiFit
)
256 DEVICE_VENDOR
:= Buffalo
257 DEVICE_MODEL
:= WTR-M2133HP
259 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct ipq-wifi-buffalo_wtr-m2133hp
263 TARGET_DEVICES
+= buffalo_wtr-m2133hp
265 define Device
/cellc_rtl30vw
266 KERNEL_SUFFIX
:= -fit-zImage.itb
267 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
268 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
269 KERNEL_NAME
:= zImage
271 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
272 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
273 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
274 DEVICE_VENDOR
:= Cell C
275 DEVICE_MODEL
:= RTL30VW
277 DEVICE_DTS_CONFIG
:= config@
5
283 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
285 TARGET_DEVICES
+= cellc_rtl30vw
287 define Device
/cilab_meshpoint-one
288 $(call Device
/8dev_jalapeno-common
)
289 DEVICE_VENDOR
:= Crisis Innovation Lab
290 DEVICE_MODEL
:= MeshPoint.One
291 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
293 TARGET_DEVICES
+= cilab_meshpoint-one
295 define Device
/compex_wpj419
296 $(call Device
/FitImage
)
297 $(call Device
/UbiFit
)
298 DEVICE_VENDOR
:= Compex
299 DEVICE_MODEL
:= WPJ419
301 DEVICE_DTS_CONFIG
:= config@
12
305 FILESYSTEMS
:= squashfs
307 TARGET_DEVICES
+= compex_wpj419
309 define Device
/compex_wpj428
310 $(call Device
/FitImage
)
311 DEVICE_VENDOR
:= Compex
312 DEVICE_MODEL
:= WPJ428
314 DEVICE_DTS_CONFIG
:= config@
4
318 IMAGES
+= cpximg-6a04.bin
319 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
320 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
321 DEVICE_PACKAGES
:= kmod-gpio-beeper
324 TARGET_DEVICES
+= compex_wpj428
326 define Device
/devolo_magic-2-wifi-next
327 $(call Device
/FitImage
)
328 DEVICE_VENDOR
:= devolo
329 DEVICE_MODEL
:= Magic
2 WiFi next
333 # If the bootloader sees 0xDEADC0DE and this trailer at the 64k boundary of a TFTP image
334 # it will bootm it, just like we want for the initramfs.
335 KERNEL_INITRAMFS
:= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
64k |\
336 append-string
-e
'\xDE\xAD\xC0\xDE{"fl_initramfs":""}\x00'
339 IMAGES
:= sysupgrade.bin
340 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
341 DEVICE_PACKAGES
:= ipq-wifi-devolo_magic-2-wifi-next
344 TARGET_DEVICES
+= devolo_magic-2-wifi-next
346 define Device
/dlink_dap-2610
347 $(call Device
/FitImageLzma
)
348 DEVICE_VENDOR
:= D-Link
349 DEVICE_MODEL
:= DAP-2610
351 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c1
353 WRGG_DEVNAME
:= /dev
/mtdblock
/8
354 WRGG_SIGNATURE
:= wapac30_dkbs_dap2610
356 IMAGES
+= factory.bin
357 # Bootloader expects a special 160 byte header which is added by
359 # Factory image size must be larger than 6MB, and size in wrgg header must
360 # match actual factory image size to be flashable from D-Link http server.
361 # Bootloader verifies checksum of wrgg image before booting, thus jffs2
362 # cannot be part of the wrgg image. This is solved in the factory image by
363 # having the rootfs at the end of the image (without pad-rootfs). And in
364 # the sysupgrade image only the kernel is included in the wrgg checksum,
365 # but this is not flashable from the D-link http server.
366 # append-rootfs must start on an erase block boundary.
367 IMAGE
/factory.bin
:= append-kernel | pad-offset
6144k
160 | append-rootfs | wrgg-image | check-size
368 IMAGE
/sysupgrade.bin
:= append-kernel | wrgg-image | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
369 DEVICE_PACKAGES
:= ipq-wifi-dlink_dap2610
371 TARGET_DEVICES
+= dlink_dap-2610
373 define Device
/edgecore_ecw5211
374 $(call Device
/FitImage
)
375 $(call Device
/UbiFit
)
376 DEVICE_VENDOR
:= Edgecore
377 DEVICE_MODEL
:= ECW5211
381 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
382 DEVICE_PACKAGES
:= kmod-tpm-i2c-atmel kmod-usb-acm
384 TARGET_DEVICES
+= edgecore_ecw5211
386 define Device
/edgecore_oap100
387 $(call Device
/FitImage
)
388 $(call Device
/UbiFit
)
389 DEVICE_VENDOR
:= Edgecore
390 DEVICE_MODEL
:= OAP100
394 IMAGES
:= nand-sysupgrade.bin
395 DEVICE_DTS_CONFIG
:= config@ap.dk07.1
-c1
396 DEVICE_PACKAGES
:= ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
398 TARGET_DEVICES
+= edgecore_oap100
400 define Device
/engenius_eap1300
401 $(call Device
/FitImage
)
402 DEVICE_VENDOR
:= EnGenius
403 DEVICE_MODEL
:= EAP1300
404 DEVICE_DTS_CONFIG
:= config@
4
405 BOARD_NAME
:= eap1300
409 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
411 TARGET_DEVICES
+= engenius_eap1300
413 define Device
/engenius_eap2200
414 $(call Device
/FitImage
)
415 $(call Device
/UbiFit
)
416 DEVICE_VENDOR
:= EnGenius
417 DEVICE_MODEL
:= EAP2200
421 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
423 TARGET_DEVICES
+= engenius_eap2200
425 define Device
/engenius_emd1
426 $(call Device
/FitImage
)
427 DEVICE_VENDOR
:= EnGenius
429 DEVICE_DTS_CONFIG
:= config@
4
432 IMAGES
+= factory.bin
433 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
434 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
435 DEVICE_PACKAGES
:= ipq-wifi-engenius_emd1
437 TARGET_DEVICES
+= engenius_emd1
439 define Device
/engenius_emr3500
440 $(call Device
/FitImage
)
441 DEVICE_VENDOR
:= EnGenius
442 DEVICE_MODEL
:= EMR3500
443 DEVICE_DTS_CONFIG
:= config@
4
447 IMAGES
+= factory.bin
448 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
449 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
450 DEVICE_PACKAGES
:= ipq-wifi-engenius_emr3500
453 TARGET_DEVICES
+= engenius_emr3500
455 define Device
/engenius_ens620ext
456 $(call Device
/FitImage
)
457 DEVICE_VENDOR
:= EnGenius
458 DEVICE_MODEL
:= ENS620EXT
460 DEVICE_DTS_CONFIG
:= config@
4
463 BOARD_NAME
:= ENS620EXT
466 PRODUCT_ID_NEW
:= 0xA4
473 FILESYSTEMS
:= squashfs
474 IMAGES
+= factory_30.bin factory_35.bin
475 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
476 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
477 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
479 TARGET_DEVICES
+= engenius_ens620ext
481 define Device
/ezviz_cs-w3-wd1200g-eup
482 $(call Device
/FitImage
)
483 DEVICE_VENDOR
:= EZVIZ
484 DEVICE_MODEL
:= CS-W3-WD1200G
485 DEVICE_VARIANT
:= EUP
486 DEVICE_DTS_CONFIG
:= config@
4
489 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
491 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
492 ipq-wifi-ezviz_cs-w3-wd1200g-eup
494 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
496 define Device
/glinet_gl-ap1300
497 $(call Device
/FitImage
)
498 $(call Device
/UbiFit
)
499 DEVICE_VENDOR
:= GL.iNet
500 DEVICE_MODEL
:= GL-AP1300
502 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
505 IMAGE_SIZE
:= 131072k
507 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-ap1300
509 TARGET_DEVICES
+= glinet_gl-ap1300
511 define Device
/glinet_gl-b1300
512 $(call Device
/FitzImage
)
513 DEVICE_VENDOR
:= GL.iNet
514 DEVICE_MODEL
:= GL-B1300
515 BOARD_NAME
:= gl-b1300
519 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
521 TARGET_DEVICES
+= glinet_gl-b1300
523 define Device
/glinet_gl-s1300
524 $(call Device
/FitzImage
)
525 DEVICE_VENDOR
:= GL.iNet
526 DEVICE_MODEL
:= GL-S1300
530 IMAGES
:= sysupgrade.bin
531 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
532 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-s1300 kmod-fs-ext4 kmod-mmc kmod-spi-dev
534 TARGET_DEVICES
+= glinet_gl-s1300
536 define Device
/linksys_ea6350v3
537 # The Linksys EA6350v3 has a uboot bootloader that does not
538 # support either booting lzma kernel images nor booting UBI
539 # partitions. This uboot, however, supports raw kernel images and
542 # As for the time of writing this, the device will boot the kernel
543 # from a fixed address with a fixed length of 3MiB. Also, the
544 # device has a hard-coded kernel command line that requieres the
545 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
546 # Oh... and the kernel partition overlaps with the rootfs
547 # partition (the same for alt_kernel and alt_rootfs).
549 # If you are planing re-partitioning the device, you may want to
550 # keep those details in mind:
551 # 1. The kernel adresses you should honor are 0x00000000 and
552 # 0x02800000 respectively.
553 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
554 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
555 # 4. The kernel command line from uboot is harcoded to boot with
556 # rootfs either in mtd11 or mtd13.
557 $(call Device
/FitzImage
)
558 DEVICE_VENDOR
:= Linksys
559 DEVICE_MODEL
:= EA6350
567 IMAGES
+= factory.bin
568 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
570 TARGET_DEVICES
+= linksys_ea6350v3
572 define Device
/linksys_ea8300
573 $(call Device
/FitzImage
)
574 DEVICE_VENDOR
:= Linksys
575 DEVICE_MODEL
:= EA8300
581 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
582 IMAGES
+= factory.bin
583 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
584 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
586 TARGET_DEVICES
+= linksys_ea8300
588 define Device
/linksys_mr8300
589 $(call Device
/FitzImage
)
590 DEVICE_VENDOR
:= Linksys
591 DEVICE_MODEL
:= MR8300
597 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
598 IMAGES
+= factory.bin
599 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MR8300
600 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_mr8300-v0 kmod-usb-ledtrig-usbport
602 TARGET_DEVICES
+= linksys_mr8300
604 define Device
/luma_wrtq-329acn
605 $(call Device
/FitImage
)
606 DEVICE_VENDOR
:= Luma Home
607 DEVICE_MODEL
:= WRTQ-329ACN
609 DEVICE_PACKAGES
:= ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio
614 TARGET_DEVICES
+= luma_wrtq-329acn
616 define Device
/meraki_mr33
617 $(call Device
/FitImage
)
618 DEVICE_VENDOR
:= Cisco Meraki
623 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
625 TARGET_DEVICES
+= meraki_mr33
627 define Device
/mobipromo_cm520-79f
628 $(call Device
/FitzImage
)
629 $(call Device
/UbiFit
)
630 DEVICE_VENDOR
:= MobiPromo
631 DEVICE_MODEL
:= CM520-79F
635 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
637 TARGET_DEVICES
+= mobipromo_cm520-79f
639 define Device
/netgear_ex61x0v2
640 $(call Device
/DniImage
)
641 DEVICE_VENDOR
:= NETGEAR
642 DEVICE_DTS_CONFIG
:= config@
4
643 NETGEAR_BOARD_ID
:= EX6150v2series
644 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
649 define Device
/netgear_ex6100v2
650 $(call Device
/netgear_ex61x0v2
)
651 DEVICE_MODEL
:= EX6100
654 TARGET_DEVICES
+= netgear_ex6100v2
656 define Device
/netgear_ex6150v2
657 $(call Device
/netgear_ex61x0v2
)
658 DEVICE_MODEL
:= EX6150
661 TARGET_DEVICES
+= netgear_ex6150v2
663 define Device
/netgear_orbi
664 $(call Device
/DniImage
)
666 DEVICE_VENDOR
:= NETGEAR
667 IMAGE
/factory.img
:= append-kernel | pad-offset
128k
64 | \
668 append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | \
669 append-rootfs | pad-rootfs | netgear-dni
670 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-to
64k | \
671 sysupgrade-tar rootfs
=$$$$@ | append-metadata
672 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct e2fsprogs kmod-fs-ext4 losetup
675 define Device
/netgear_rbx50
676 $(call Device
/netgear_orbi
)
677 NETGEAR_HW_ID
:= 29765352+0+4000+512+2x2
+2x2
+4x4
678 KERNEL_SIZE
:= 3932160
679 ROOTFS_SIZE
:= 32243712
680 IMAGE_SIZE
:= 36175872
683 define Device
/netgear_rbr50
684 $(call Device
/netgear_rbx50
)
685 DEVICE_MODEL
:= RBR50
687 NETGEAR_BOARD_ID
:= RBR50
689 TARGET_DEVICES
+= netgear_rbr50
691 define Device
/netgear_rbs50
692 $(call Device
/netgear_rbx50
)
693 DEVICE_MODEL
:= RBS50
695 NETGEAR_BOARD_ID
:= RBS50
697 TARGET_DEVICES
+= netgear_rbs50
699 define Device
/netgear_srx60
700 $(call Device
/netgear_orbi
)
701 NETGEAR_HW_ID
:= 29765352+0+4096+512+2x2
+2x2
+4x4
702 KERNEL_SIZE
:= 3932160
703 ROOTFS_SIZE
:= 32243712
704 IMAGE_SIZE
:= 36175872
707 define Device
/netgear_srr60
708 $(call Device
/netgear_srx60
)
709 DEVICE_MODEL
:= SRR60
710 NETGEAR_BOARD_ID
:= SRR60
712 TARGET_DEVICES
+= netgear_srr60
714 define Device
/netgear_srs60
715 $(call Device
/netgear_srx60
)
716 DEVICE_MODEL
:= SRS60
717 NETGEAR_BOARD_ID
:= SRS60
719 TARGET_DEVICES
+= netgear_srs60
721 define Device
/netgear_wac510
722 $(call Device
/FitImage
)
723 $(call Device
/UbiFit
)
724 DEVICE_VENDOR
:= Netgear
725 DEVICE_MODEL
:= WAC510
727 DEVICE_DTS_CONFIG
:= config@
5
730 IMAGES
+= nand-factory.
tar
731 IMAGE
/nand-factory.
tar := append-ubi | wac5xx-netgear-tar
732 DEVICE_PACKAGES
:= uboot-envtools
734 TARGET_DEVICES
+= netgear_wac510
736 define Device
/openmesh_a42
737 $(call Device
/FitImageLzma
)
738 DEVICE_VENDOR
:= OpenMesh
741 DEVICE_DTS_CONFIG
:= config@om.a42
743 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
745 IMAGES
+= factory.bin
746 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
747 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
749 TARGET_DEVICES
+= openmesh_a42
751 define Device
/openmesh_a62
752 $(call Device
/FitImageLzma
)
753 DEVICE_VENDOR
:= OpenMesh
756 DEVICE_DTS_CONFIG
:= config@om.a62
758 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
760 IMAGES
+= factory.bin
761 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
762 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
763 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct
765 TARGET_DEVICES
+= openmesh_a62
767 define Device
/p2w_r619ac
768 $(call Device
/FitzImage
)
769 $(call Device
/UbiFit
)
771 DEVICE_MODEL
:= R619AC
773 DEVICE_DTS_CONFIG
:= config@
10
776 DEVICE_PACKAGES
:= ipq-wifi-p2w_r619ac
779 define Device
/p2w_r619ac-64m
780 $(call Device
/p2w_r619ac
)
781 DEVICE_VARIANT
:= 64M NAND
782 IMAGES
+= nand-factory.bin
783 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
785 TARGET_DEVICES
+= p2w_r619ac-64m
787 define Device
/p2w_r619ac-128m
788 $(call Device
/p2w_r619ac
)
789 DEVICE_VARIANT
:= 128M NAND
791 TARGET_DEVICES
+= p2w_r619ac-128m
793 define Device
/plasmacloud_pa1200
794 $(call Device
/FitImageLzma
)
795 DEVICE_VENDOR
:= Plasma Cloud
796 DEVICE_MODEL
:= PA1200
798 DEVICE_DTS_CONFIG
:= config@
pc.pa1200
800 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
802 IMAGES
+= factory.bin
803 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA1200
804 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
805 DEVICE_PACKAGES
:= ipq-wifi-plasmacloud_pa1200
807 TARGET_DEVICES
+= plasmacloud_pa1200
809 define Device
/plasmacloud_pa2200
810 $(call Device
/FitImageLzma
)
811 DEVICE_VENDOR
:= Plasma Cloud
812 DEVICE_MODEL
:= PA2200
814 DEVICE_DTS_CONFIG
:= config@
pc.pa2200
816 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
818 IMAGES
+= factory.bin
819 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA2200
820 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
821 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-plasmacloud_pa2200
823 TARGET_DEVICES
+= plasmacloud_pa2200
825 define Device
/qcom_ap-dk01.1
-c1
826 DEVICE_VENDOR
:= Qualcomm Atheros
827 DEVICE_MODEL
:= AP-DK01.1
829 BOARD_NAME
:= ap-dk01.1
-c1
831 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
835 $(call Device
/FitImage
)
836 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
839 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
841 define Device
/qcom_ap-dk04.1
-c1
842 $(call Device
/FitImage
)
843 $(call Device
/UbiFit
)
844 DEVICE_VENDOR
:= Qualcomm Atheros
845 DEVICE_MODEL
:= AP-DK04.1
848 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
853 BOARD_NAME
:= ap-dk04.1
-c1
856 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
858 define Device
/qxwlan_e2600ac-c1
859 $(call Device
/FitImage
)
860 DEVICE_VENDOR
:= Qxwlan
861 DEVICE_MODEL
:= E2600AC
863 BOARD_NAME
:= e2600ac-c1
867 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
868 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
871 TARGET_DEVICES
+= qxwlan_e2600ac-c1
873 define Device
/qxwlan_e2600ac-c2
874 $(call Device
/FitImage
)
875 $(call Device
/UbiFit
)
876 DEVICE_VENDOR
:= Qxwlan
877 DEVICE_MODEL
:= E2600AC
883 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
885 TARGET_DEVICES
+= qxwlan_e2600ac-c2
887 define Device
/teltonika_rutx10
888 $(call Device
/FitImage
)
889 $(call Device
/UbiFit
)
890 DEVICE_VENDOR
:= Teltonika
891 DEVICE_MODEL
:= RUTX10
893 DEVICE_DTS_CONFIG
:= config@
5
897 FILESYSTEMS
:= squashfs
898 IMAGE
/nand-factory.ubi
:= append-ubi | qsdk-ipq-factory-nand | append-rutx-metadata
899 DEVICE_PACKAGES
:= ipq-wifi-teltonika_rutx kmod-bluetooth
901 TARGET_DEVICES
+= teltonika_rutx10
903 define Device
/unielec_u4019-32m
904 $(call Device
/FitImage
)
905 DEVICE_VENDOR
:= Unielec
906 DEVICE_MODEL
:= U4019
907 DEVICE_VARIANT
:= 32M
908 BOARD_NAME
:= u4019-32m
912 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
915 TARGET_DEVICES
+= unielec_u4019-32m
917 define Device
/zyxel_nbg6617
918 $(call Device
/FitImageLzma
)
919 DEVICE_VENDOR
:= ZyXEL
920 DEVICE_MODEL
:= NBG6617
923 ROOTFS_SIZE
:= 24960k
925 RAS_ROOTFS_SIZE
:= 19840k
926 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
927 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
928 IMAGES
+= factory.bin
929 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
930 # at least as large as the one of the initial firmware image (not the current
931 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
932 # this minimum-size. However, the larger image can be flashed both ways.
933 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
934 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
935 DEVICE_PACKAGES
:= kmod-usb-ledtrig-usbport
937 TARGET_DEVICES
+= zyxel_nbg6617
939 define Device
/zyxel_wre6606
940 $(call Device
/FitImage
)
941 DEVICE_VENDOR
:= ZyXEL
942 DEVICE_MODEL
:= WRE6606
943 DEVICE_DTS_CONFIG
:= config@
4
946 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
947 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
949 TARGET_DEVICES
+= zyxel_wre6606