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 | append-metadata | check-size
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
/mkmylofw_32m
50 $(eval device_id
=$(word 1,$(1)))
51 $(eval revision
=$(word 2,$(1)))
54 size
="$$(stat -c%s $@)" \
55 pad
="$(subst k,* 1024,$(BLOCKSIZE))" \
56 pad
="(pad - (size % pad)) % pad" \
57 newsize
='size + pad'; \
58 $(STAGING_DIR_HOST
)/bin
/mkmylofw \
59 -B WPE72
-i
0x11f6:$(device_id
):0x11f6:$(device_id
) -r
$(revision
) \
60 -s
0x2000000 -p0x180000
:$$newsize:al
:0x80208000:"OpenWrt":$@ \
65 define Build
/wac5xx-netgear-tar
67 mv
$@
$@.tmp
/wac5xx-ubifs-root.img
68 md5sum
$@.tmp
/wac5xx-ubifs-root.img
> $@.tmp
/wac5xx-ubifs-root.md5sum
69 echo
"WAC505 WAC510" > $@.tmp
/metadata.txt
70 echo
"WAC505_V9.9.9.9" > $@.tmp
/version
71 tar -C
$@.tmp
/ -cf
$@ .
75 define Build
/qsdk-ipq-factory-nand-askey
76 $(TOPDIR
)/scripts
/mkits-qsdk-ipq-image.sh
$@.its\
77 askey_kernel
$(IMAGE_KERNEL
) \
78 askey_fs
$(IMAGE_ROOTFS
) \
80 PATH
=$(LINUX_DIR
)/scripts
/dtc
:$(PATH
) mkimage
-f
$@.its
$@.new
85 -$(STAGING_DIR_HOST
)/bin
/mksenaofw \
86 -n
$(BOARD_NAME
) -r
$(VENDOR_ID
) -p
$(1) \
87 -c
$(DATECODE
) -w
$(2) -x
$(CW_VER
) -t
0 \
93 define Build
/wrgg-image
96 -d
"$(WRGG_DEVNAME)" \
97 -s
"$(WRGG_SIGNATURE)" \
102 define Device
/8dev_habanero-dvk
103 $(call Device
/FitImageLzma
)
104 DEVICE_VENDOR
:= 8devices
105 DEVICE_MODEL
:= Habanero DVK
108 DEVICE_PACKAGES
:= ipq-wifi-8dev_habanero-dvk
109 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | append-rootfs | pad-rootfs | append-metadata | check-size
111 TARGET_DEVICES
+= 8dev_habanero-dvk
113 define Device
/8dev_jalapeno-common
114 $(call Device
/FitImage
)
115 $(call Device
/UbiFit
)
121 define Device
/8dev_jalapeno
122 $(call Device
/8dev_jalapeno-common
)
123 DEVICE_VENDOR
:= 8devices
124 DEVICE_MODEL
:= Jalapeno
126 TARGET_DEVICES
+= 8dev_jalapeno
128 define Device
/alfa-network_ap120c-ac
129 $(call Device
/FitImage
)
130 $(call Device
/UbiFit
)
131 DEVICE_VENDOR
:= ALFA Network
132 DEVICE_MODEL
:= AP120C-AC
134 DEVICE_PACKAGES
:= kmod-usb-acm \
135 kmod-tpm-i2c-atmel uboot-envtools
139 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
140 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
142 TARGET_DEVICES
+= alfa-network_ap120c-ac
144 define Device
/aruba_glenmorangie
145 $(call Device
/FitImageLzma
)
146 DEVICE_VENDOR
:= Aruba
148 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
151 define Device
/aruba_ap-303
152 $(call Device
/aruba_glenmorangie
)
153 DEVICE_MODEL
:= AP-303
154 DEVICE_PACKAGES
+= uboot-envtools
156 TARGET_DEVICES
+= aruba_ap-303
158 define Device
/aruba_ap-303h
159 $(call Device
/aruba_glenmorangie
)
160 DEVICE_MODEL
:= AP-303H
162 TARGET_DEVICES
+= aruba_ap-303h
164 define Device
/aruba_ap-365
165 $(call Device
/aruba_glenmorangie
)
166 DEVICE_MODEL
:= AP-365
167 DEVICE_PACKAGES
+= kmod-hwmon-ad7418 uboot-envtools
169 TARGET_DEVICES
+= aruba_ap-365
171 define Device
/asus_map-ac2200
172 $(call Device
/FitImageLzma
)
173 DEVICE_VENDOR
:= ASUS
174 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
176 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
178 TARGET_DEVICES
+= asus_map-ac2200
180 define Device
/asus_rt-ac58u
181 $(call Device
/FitImageLzma
)
182 DEVICE_VENDOR
:= ASUS
183 DEVICE_MODEL
:= RT-AC58U
188 IMAGE_SIZE
:= 20439364
189 FILESYSTEMS
:= squashfs
190 # Someone - in their infinite wisdom - decided to put the firmware
191 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
192 # Since u-boot works with strings we either need another fixup step
193 # to add a version... or we are very careful not to add '\0' into that
194 # string and call it a day.... Yeah, we do the latter!
195 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
196 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
197 kmod-usb-ledtrig-usbport
199 TARGET_DEVICES
+= asus_rt-ac58u
201 define Device
/avm_fritzbox-4040
202 $(call Device
/FitImageLzma
)
204 DEVICE_MODEL
:= FRITZ
!Box
4040
206 BOARD_NAME
:= fritz4040
208 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
209 UBOOT_PARTITION_SIZE
:= 524288
211 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
212 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
213 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
215 TARGET_DEVICES
+= avm_fritzbox-4040
217 define Device
/avm_fritzbox-7530
218 $(call Device
/FitImageLzma
)
220 DEVICE_MODEL
:= FRITZ
!Box
7530
222 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
224 TARGET_DEVICES
+= avm_fritzbox-7530
226 define Device
/avm_fritzrepeater-1200
227 $(call Device
/FitImageLzma
)
229 DEVICE_MODEL
:= FRITZ
!Repeater
1200
231 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand ipq-wifi-avm_fritzrepeater-1200
233 TARGET_DEVICES
+= avm_fritzrepeater-1200
235 define Device
/avm_fritzrepeater-3000
236 $(call Device
/FitImageLzma
)
238 DEVICE_MODEL
:= FRITZ
!Repeater
3000
240 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
242 TARGET_DEVICES
+= avm_fritzrepeater-3000
244 define Device
/buffalo_wtr-m2133hp
245 $(call Device
/FitImage
)
246 $(call Device
/UbiFit
)
247 DEVICE_VENDOR
:= Buffalo
248 DEVICE_MODEL
:= WTR-M2133HP
250 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9984-ct ipq-wifi-buffalo_wtr-m2133hp
254 TARGET_DEVICES
+= buffalo_wtr-m2133hp
256 define Device
/cellc_rtl30vw
257 KERNEL_SUFFIX
:= -fit-uImage.itb
258 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
259 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
262 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
263 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
264 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
265 DEVICE_VENDOR
:= Cell C
266 DEVICE_MODEL
:= RTL30VW
268 DEVICE_DTS_CONFIG
:= config@
5
274 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
276 TARGET_DEVICES
+= cellc_rtl30vw
278 define Device
/cilab_meshpoint-one
279 $(call Device
/8dev_jalapeno-common
)
280 DEVICE_VENDOR
:= Crisis Innovation Lab
281 DEVICE_MODEL
:= MeshPoint.One
282 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
284 TARGET_DEVICES
+= cilab_meshpoint-one
286 define Device
/compex_wpj419
287 $(call Device
/FitImage
)
288 $(call Device
/UbiFit
)
289 DEVICE_VENDOR
:= Compex
290 DEVICE_MODEL
:= WPJ419
292 DEVICE_DTS_CONFIG
:= config@
12
296 FILESYSTEMS
:= squashfs
298 TARGET_DEVICES
+= compex_wpj419
300 define Device
/compex_wpj428
301 $(call Device
/FitImage
)
302 DEVICE_VENDOR
:= Compex
303 DEVICE_MODEL
:= WPJ428
305 DEVICE_DTS_CONFIG
:= config@
4
309 IMAGES
+= cpximg-6a04.bin
310 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
311 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
312 DEVICE_PACKAGES
:= kmod-gpio-beeper
314 TARGET_DEVICES
+= compex_wpj428
316 define Device
/devolo_magic-2-wifi-next
317 $(call Device
/FitImage
)
318 DEVICE_VENDOR
:= devolo
319 DEVICE_MODEL
:= Magic
2 WiFi next
323 # If the bootloader sees 0xDEADC0DE and this trailer at the 64k boundary of a TFTP image
324 # it will bootm it, just like we want for the initramfs.
325 KERNEL_INITRAMFS
:= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
64k |\
326 append-string
-e
'\xDE\xAD\xC0\xDE{"fl_initramfs":""}\x00'
329 IMAGES
:= sysupgrade.bin
330 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
331 DEVICE_PACKAGES
:= ipq-wifi-devolo_magic-2-wifi-next uboot-envtools
333 TARGET_DEVICES
+= devolo_magic-2-wifi-next
335 define Device
/dlink_dap-2610
336 $(call Device
/FitImageLzma
)
337 DEVICE_VENDOR
:= D-Link
338 DEVICE_MODEL
:= DAP-2610
340 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c1
342 WRGG_DEVNAME
:= /dev
/mtdblock
/8
343 WRGG_SIGNATURE
:= wapac30_dkbs_dap2610
345 IMAGES
+= factory.bin
346 # Bootloader expects a special 160 byte header which is added by
348 # Factory image size must be larger than 6MB, and size in wrgg header must
349 # match actual factory image size to be flashable from D-Link http server.
350 # Bootloader verifies checksum of wrgg image before booting, thus jffs2
351 # cannot be part of the wrgg image. This is solved in the factory image by
352 # having the rootfs at the end of the image (without pad-rootfs). And in
353 # the sysupgrade image only the kernel is included in the wrgg checksum,
354 # but this is not flashable from the D-link http server.
355 # append-rootfs must start on an erase block boundary.
356 IMAGE
/factory.bin
:= append-kernel | pad-offset
6144k
160 | append-rootfs | wrgg-image | check-size
357 IMAGE
/sysupgrade.bin
:= append-kernel | wrgg-image | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
358 DEVICE_PACKAGES
:= ipq-wifi-dlink_dap2610
360 TARGET_DEVICES
+= dlink_dap-2610
362 define Device
/edgecore_ecw5211
363 $(call Device
/FitImage
)
364 $(call Device
/UbiFit
)
365 DEVICE_VENDOR
:= Edgecore
366 DEVICE_MODEL
:= ECW5211
370 DEVICE_PACKAGES
:= kmod-tpm-i2c-atmel kmod-usb-acm uboot-envtools
372 TARGET_DEVICES
+= edgecore_ecw5211
374 define Device
/edgecore_oap100
375 $(call Device
/FitImage
)
376 $(call Device
/UbiFit
)
377 DEVICE_VENDOR
:= Edgecore
378 DEVICE_MODEL
:= OAP100
382 IMAGES
:= nand-sysupgrade.bin
383 DEVICE_DTS_CONFIG
:= config@ap.dk07.1
-c1
384 DEVICE_PACKAGES
:= ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
386 TARGET_DEVICES
+= edgecore_oap100
388 define Device
/engenius_eap1300
389 $(call Device
/FitImage
)
390 DEVICE_VENDOR
:= EnGenius
391 DEVICE_MODEL
:= EAP1300
392 DEVICE_DTS_CONFIG
:= config@
4
393 BOARD_NAME
:= eap1300
397 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
399 TARGET_DEVICES
+= engenius_eap1300
401 define Device
/engenius_eap2200
402 $(call Device
/FitImage
)
403 $(call Device
/UbiFit
)
404 DEVICE_VENDOR
:= EnGenius
405 DEVICE_MODEL
:= EAP2200
409 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
411 TARGET_DEVICES
+= engenius_eap2200
413 define Device
/engenius_emd1
414 $(call Device
/FitImage
)
415 DEVICE_VENDOR
:= EnGenius
417 DEVICE_DTS_CONFIG
:= config@
4
420 IMAGES
+= factory.bin
421 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
422 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
424 TARGET_DEVICES
+= engenius_emd1
426 define Device
/engenius_emr3500
427 $(call Device
/FitImage
)
428 DEVICE_VENDOR
:= EnGenius
429 DEVICE_MODEL
:= EMR3500
430 DEVICE_DTS_CONFIG
:= config@
4
434 IMAGES
+= factory.bin
435 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
436 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
438 TARGET_DEVICES
+= engenius_emr3500
440 define Device
/engenius_ens620ext
441 $(call Device
/FitImage
)
442 DEVICE_VENDOR
:= EnGenius
443 DEVICE_MODEL
:= ENS620EXT
445 DEVICE_DTS_CONFIG
:= config@
4
448 BOARD_NAME
:= ENS620EXT
451 PRODUCT_ID_NEW
:= 0xA4
458 FILESYSTEMS
:= squashfs
459 IMAGES
+= factory_30.bin factory_35.bin
460 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
461 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
462 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
464 TARGET_DEVICES
+= engenius_ens620ext
466 define Device
/ezviz_cs-w3-wd1200g-eup
467 $(call Device
/FitImage
)
468 DEVICE_VENDOR
:= EZVIZ
469 DEVICE_MODEL
:= CS-W3-WD1200G
470 DEVICE_VARIANT
:= EUP
471 DEVICE_DTS_CONFIG
:= config@
4
474 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
476 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
477 ipq-wifi-ezviz_cs-w3-wd1200g-eup
479 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
481 define Device
/glinet_gl-ap1300
482 $(call Device
/FitImage
)
483 $(call Device
/UbiFit
)
484 DEVICE_VENDOR
:= GL.iNet
485 DEVICE_MODEL
:= GL-AP1300
487 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
490 IMAGE_SIZE
:= 131072k
492 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-ap1300
494 TARGET_DEVICES
+= glinet_gl-ap1300
496 define Device
/glinet_gl-b1300
497 $(call Device
/FitImage
)
498 DEVICE_VENDOR
:= GL.iNet
499 DEVICE_MODEL
:= GL-B1300
500 BOARD_NAME
:= gl-b1300
504 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
506 TARGET_DEVICES
+= glinet_gl-b1300
508 define Device
/glinet_gl-s1300
509 $(call Device
/FitImage
)
510 DEVICE_VENDOR
:= GL.iNet
511 DEVICE_MODEL
:= GL-S1300
515 IMAGES
:= sysupgrade.bin
516 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
517 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-s1300 kmod-fs-ext4 kmod-mmc kmod-spi-dev
519 TARGET_DEVICES
+= glinet_gl-s1300
521 define Device
/linksys_ea6350v3
522 # The Linksys EA6350v3 has a uboot bootloader that does not
523 # support either booting lzma kernel images nor booting UBI
524 # partitions. This uboot, however, supports raw kernel images and
527 # As for the time of writing this, the device will boot the kernel
528 # from a fixed address with a fixed length of 3MiB. Also, the
529 # device has a hard-coded kernel command line that requieres the
530 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
531 # Oh... and the kernel partition overlaps with the rootfs
532 # partition (the same for alt_kernel and alt_rootfs).
534 # If you are planing re-partitioning the device, you may want to
535 # keep those details in mind:
536 # 1. The kernel adresses you should honor are 0x00000000 and
537 # 0x02800000 respectively.
538 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
539 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
540 # 4. The kernel command line from uboot is harcoded to boot with
541 # rootfs either in mtd11 or mtd13.
542 $(call Device
/FitzImage
)
543 DEVICE_VENDOR
:= Linksys
544 DEVICE_MODEL
:= EA6350
552 IMAGES
+= factory.bin
553 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
554 DEVICE_PACKAGES
:= uboot-envtools
556 TARGET_DEVICES
+= linksys_ea6350v3
558 define Device
/linksys_ea8300
559 $(call Device
/FitzImage
)
560 DEVICE_VENDOR
:= Linksys
561 DEVICE_MODEL
:= EA8300
567 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
568 IMAGES
+= factory.bin
569 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
570 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
572 TARGET_DEVICES
+= linksys_ea8300
574 define Device
/linksys_mr8300
575 $(call Device
/FitzImage
)
576 DEVICE_VENDOR
:= Linksys
577 DEVICE_MODEL
:= MR8300
583 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
584 IMAGES
+= factory.bin
585 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MR8300
586 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9888-ct ipq-wifi-linksys_mr8300-v0 kmod-usb-ledtrig-usbport
588 TARGET_DEVICES
+= linksys_mr8300
590 define Device
/luma_wrtq-329acn
591 $(call Device
/FitImage
)
592 DEVICE_VENDOR
:= Luma Home
593 DEVICE_MODEL
:= WRTQ-329ACN
595 DEVICE_PACKAGES
:= ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio uboot-envtools
600 TARGET_DEVICES
+= luma_wrtq-329acn
602 define Device
/meraki_mr33
603 $(call Device
/FitImage
)
604 DEVICE_VENDOR
:= Cisco Meraki
609 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
611 TARGET_DEVICES
+= meraki_mr33
613 define Device
/mobipromo_cm520-79f
614 $(call Device
/FitzImage
)
615 $(call Device
/UbiFit
)
616 DEVICE_VENDOR
:= MobiPromo
617 DEVICE_MODEL
:= CM520-79F
621 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
623 TARGET_DEVICES
+= mobipromo_cm520-79f
625 define Device
/netgear_ex61x0v2
626 $(call Device
/DniImage
)
627 DEVICE_VENDOR
:= NETGEAR
628 DEVICE_DTS_CONFIG
:= config@
4
629 NETGEAR_BOARD_ID
:= EX6150v2series
630 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
635 define Device
/netgear_ex6100v2
636 $(call Device
/netgear_ex61x0v2
)
637 DEVICE_MODEL
:= EX6100
640 TARGET_DEVICES
+= netgear_ex6100v2
642 define Device
/netgear_ex6150v2
643 $(call Device
/netgear_ex61x0v2
)
644 DEVICE_MODEL
:= EX6150
647 TARGET_DEVICES
+= netgear_ex6150v2
649 define Device
/netgear_wac510
650 $(call Device
/FitImage
)
651 $(call Device
/UbiFit
)
652 DEVICE_VENDOR
:= Netgear
653 DEVICE_MODEL
:= WAC510
655 DEVICE_DTS_CONFIG
:= config@
5
658 IMAGES
+= nand-factory.
tar
659 IMAGE
/nand-factory.
tar := append-ubi | wac5xx-netgear-tar
660 DEVICE_PACKAGES
:= uboot-envtools
662 TARGET_DEVICES
+= netgear_wac510
664 define Device
/openmesh_a42
665 $(call Device
/FitImageLzma
)
666 DEVICE_VENDOR
:= OpenMesh
669 DEVICE_DTS_CONFIG
:= config@om.a42
671 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
673 IMAGES
+= factory.bin
674 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
675 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
676 DEVICE_PACKAGES
:= uboot-envtools
678 TARGET_DEVICES
+= openmesh_a42
680 define Device
/openmesh_a62
681 $(call Device
/FitImageLzma
)
682 DEVICE_VENDOR
:= OpenMesh
685 DEVICE_DTS_CONFIG
:= config@om.a62
687 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
689 IMAGES
+= factory.bin
690 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
691 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
692 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct uboot-envtools
694 TARGET_DEVICES
+= openmesh_a62
696 define Device
/plasmacloud_pa1200
697 $(call Device
/FitImageLzma
)
698 DEVICE_VENDOR
:= Plasma Cloud
699 DEVICE_MODEL
:= PA1200
701 DEVICE_DTS_CONFIG
:= config@
pc.pa1200
703 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
705 IMAGES
+= factory.bin
706 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA1200
707 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
708 DEVICE_PACKAGES
:= uboot-envtools ipq-wifi-plasmacloud-pa1200
710 TARGET_DEVICES
+= plasmacloud_pa1200
712 define Device
/plasmacloud_pa2200
713 $(call Device
/FitImageLzma
)
714 DEVICE_VENDOR
:= Plasma Cloud
715 DEVICE_MODEL
:= PA2200
717 DEVICE_DTS_CONFIG
:= config@
pc.pa2200
719 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
721 IMAGES
+= factory.bin
722 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA2200
723 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
724 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-plasmacloud-pa2200 uboot-envtools
726 TARGET_DEVICES
+= plasmacloud_pa2200
728 define Device
/qcom_ap-dk01.1
-c1
729 DEVICE_VENDOR
:= Qualcomm Atheros
730 DEVICE_MODEL
:= AP-DK01.1
732 BOARD_NAME
:= ap-dk01.1
-c1
734 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
738 $(call Device
/FitImage
)
739 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
741 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
743 define Device
/qcom_ap-dk04.1
-c1
744 $(call Device
/FitImage
)
745 $(call Device
/UbiFit
)
746 DEVICE_VENDOR
:= Qualcomm Atheros
747 DEVICE_MODEL
:= AP-DK04.1
750 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
755 BOARD_NAME
:= ap-dk04.1
-c1
757 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
759 define Device
/qxwlan_e2600ac-c1
760 $(call Device
/FitImage
)
761 DEVICE_VENDOR
:= Qxwlan
762 DEVICE_MODEL
:= E2600AC
764 BOARD_NAME
:= e2600ac-c1
768 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
769 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
771 TARGET_DEVICES
+= qxwlan_e2600ac-c1
773 define Device
/qxwlan_e2600ac-c2
774 $(call Device
/FitImage
)
775 $(call Device
/UbiFit
)
776 DEVICE_VENDOR
:= Qxwlan
777 DEVICE_MODEL
:= E2600AC
783 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
785 TARGET_DEVICES
+= qxwlan_e2600ac-c2
787 define Device
/unielec_u4019-32m
788 $(call Device
/FitImage
)
789 DEVICE_VENDOR
:= Unielec
790 DEVICE_MODEL
:= U4019
791 DEVICE_VARIANT
:= 32M
792 BOARD_NAME
:= u4019-32m
796 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
798 TARGET_DEVICES
+= unielec_u4019-32m
800 define Device
/zyxel_nbg6617
801 $(call Device
/FitImageLzma
)
802 DEVICE_VENDOR
:= ZyXEL
803 DEVICE_MODEL
:= NBG6617
806 ROOTFS_SIZE
:= 24960k
808 RAS_ROOTFS_SIZE
:= 19840k
809 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
810 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
811 IMAGES
+= factory.bin
812 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
813 # at least as large as the one of the initial firmware image (not the current
814 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
815 # this minimum-size. However, the larger image can be flashed both ways.
816 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
817 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
818 DEVICE_PACKAGES
:= uboot-envtools kmod-usb-ledtrig-usbport
820 TARGET_DEVICES
+= zyxel_nbg6617
822 define Device
/zyxel_wre6606
823 $(call Device
/FitImage
)
824 DEVICE_VENDOR
:= ZyXEL
825 DEVICE_MODEL
:= WRE6606
826 DEVICE_DTS_CONFIG
:= config@
4
829 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
830 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
832 TARGET_DEVICES
+= zyxel_wre6606