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
/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 | check-size | append-metadata
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 kmod-tpm-i2c-atmel
138 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
139 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
141 TARGET_DEVICES
+= alfa-network_ap120c-ac
143 define Device
/aruba_glenmorangie
144 $(call Device
/FitImageLzma
)
145 DEVICE_VENDOR
:= Aruba
147 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
150 define Device
/aruba_ap-303
151 $(call Device
/aruba_glenmorangie
)
152 DEVICE_MODEL
:= AP-303
154 TARGET_DEVICES
+= aruba_ap-303
156 define Device
/aruba_ap-303h
157 $(call Device
/aruba_glenmorangie
)
158 DEVICE_MODEL
:= AP-303H
160 TARGET_DEVICES
+= aruba_ap-303h
162 define Device
/aruba_ap-365
163 $(call Device
/aruba_glenmorangie
)
164 DEVICE_MODEL
:= AP-365
165 DEVICE_PACKAGES
+= kmod-hwmon-ad7418
167 TARGET_DEVICES
+= aruba_ap-365
169 define Device
/asus_map-ac2200
170 $(call Device
/FitImageLzma
)
171 DEVICE_VENDOR
:= ASUS
172 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
174 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
176 TARGET_DEVICES
+= asus_map-ac2200
178 define Device
/asus_rt-ac58u
179 $(call Device
/FitImageLzma
)
180 DEVICE_VENDOR
:= ASUS
181 DEVICE_MODEL
:= RT-AC58U
186 IMAGE_SIZE
:= 20439364
187 FILESYSTEMS
:= squashfs
188 # Someone - in their infinite wisdom - decided to put the firmware
189 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
190 # Since u-boot works with strings we either need another fixup step
191 # to add a version... or we are very careful not to add '\0' into that
192 # string and call it a day.... Yeah, we do the latter!
193 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
194 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
195 kmod-usb-ledtrig-usbport
197 TARGET_DEVICES
+= asus_rt-ac58u
199 define Device
/avm_fritzbox-4040
200 $(call Device
/FitImageLzma
)
202 DEVICE_MODEL
:= FRITZ
!Box
4040
204 BOARD_NAME
:= fritz4040
206 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
207 UBOOT_PARTITION_SIZE
:= 524288
209 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
210 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
211 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
213 TARGET_DEVICES
+= avm_fritzbox-4040
215 define Device
/avm_fritzbox-7530
216 $(call Device
/FitImageLzma
)
218 DEVICE_MODEL
:= FRITZ
!Box
7530
220 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
222 TARGET_DEVICES
+= avm_fritzbox-7530
224 define Device
/avm_fritzrepeater-1200
225 $(call Device
/FitImageLzma
)
227 DEVICE_MODEL
:= FRITZ
!Repeater
1200
229 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand ipq-wifi-avm_fritzrepeater-1200
231 TARGET_DEVICES
+= avm_fritzrepeater-1200
233 define Device
/avm_fritzrepeater-3000
234 $(call Device
/FitImageLzma
)
236 DEVICE_MODEL
:= FRITZ
!Repeater
3000
238 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
240 TARGET_DEVICES
+= avm_fritzrepeater-3000
242 define Device
/buffalo_wtr-m2133hp
243 $(call Device
/FitImage
)
244 $(call Device
/UbiFit
)
245 DEVICE_VENDOR
:= Buffalo
246 DEVICE_MODEL
:= WTR-M2133HP
248 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct ipq-wifi-buffalo_wtr-m2133hp
252 TARGET_DEVICES
+= buffalo_wtr-m2133hp
254 define Device
/cellc_rtl30vw
255 KERNEL_SUFFIX
:= -fit-zImage.itb
256 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
257 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
258 KERNEL_NAME
:= zImage
260 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
261 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
262 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
263 DEVICE_VENDOR
:= Cell C
264 DEVICE_MODEL
:= RTL30VW
266 DEVICE_DTS_CONFIG
:= config@
5
272 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
274 TARGET_DEVICES
+= cellc_rtl30vw
276 define Device
/cilab_meshpoint-one
277 $(call Device
/8dev_jalapeno-common
)
278 DEVICE_VENDOR
:= Crisis Innovation Lab
279 DEVICE_MODEL
:= MeshPoint.One
280 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
282 TARGET_DEVICES
+= cilab_meshpoint-one
284 define Device
/compex_wpj419
285 $(call Device
/FitImage
)
286 $(call Device
/UbiFit
)
287 DEVICE_VENDOR
:= Compex
288 DEVICE_MODEL
:= WPJ419
290 DEVICE_DTS_CONFIG
:= config@
12
294 FILESYSTEMS
:= squashfs
296 TARGET_DEVICES
+= compex_wpj419
298 define Device
/compex_wpj428
299 $(call Device
/FitImage
)
300 DEVICE_VENDOR
:= Compex
301 DEVICE_MODEL
:= WPJ428
303 DEVICE_DTS_CONFIG
:= config@
4
307 IMAGES
+= cpximg-6a04.bin
308 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
309 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
310 DEVICE_PACKAGES
:= kmod-gpio-beeper
313 TARGET_DEVICES
+= compex_wpj428
315 define Device
/devolo_magic-2-wifi-next
316 $(call Device
/FitImage
)
317 DEVICE_VENDOR
:= devolo
318 DEVICE_MODEL
:= Magic
2 WiFi next
322 # If the bootloader sees 0xDEADC0DE and this trailer at the 64k boundary of a TFTP image
323 # it will bootm it, just like we want for the initramfs.
324 KERNEL_INITRAMFS
:= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
64k |\
325 append-string
-e
'\xDE\xAD\xC0\xDE{"fl_initramfs":""}\x00'
328 IMAGES
:= sysupgrade.bin
329 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
330 DEVICE_PACKAGES
:= ipq-wifi-devolo_magic-2-wifi-next
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_DTS_CONFIG
:= config@ap.dk01.1
-c2
371 DEVICE_PACKAGES
:= kmod-tpm-i2c-atmel kmod-usb-acm
373 TARGET_DEVICES
+= edgecore_ecw5211
375 define Device
/edgecore_oap100
376 $(call Device
/FitImage
)
377 $(call Device
/UbiFit
)
378 DEVICE_VENDOR
:= Edgecore
379 DEVICE_MODEL
:= OAP100
383 IMAGES
:= nand-sysupgrade.bin
384 DEVICE_DTS_CONFIG
:= config@ap.dk07.1
-c1
385 DEVICE_PACKAGES
:= ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
387 TARGET_DEVICES
+= edgecore_oap100
389 define Device
/engenius_eap1300
390 $(call Device
/FitImage
)
391 DEVICE_VENDOR
:= EnGenius
392 DEVICE_MODEL
:= EAP1300
393 DEVICE_DTS_CONFIG
:= config@
4
394 BOARD_NAME
:= eap1300
398 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
400 TARGET_DEVICES
+= engenius_eap1300
402 define Device
/engenius_eap2200
403 $(call Device
/FitImage
)
404 $(call Device
/UbiFit
)
405 DEVICE_VENDOR
:= EnGenius
406 DEVICE_MODEL
:= EAP2200
410 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
412 TARGET_DEVICES
+= engenius_eap2200
414 define Device
/engenius_emd1
415 $(call Device
/FitImage
)
416 DEVICE_VENDOR
:= EnGenius
418 DEVICE_DTS_CONFIG
:= config@
4
421 IMAGES
+= factory.bin
422 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
423 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
424 DEVICE_PACKAGES
:= ipq-wifi-engenius_emd1
426 TARGET_DEVICES
+= engenius_emd1
428 define Device
/engenius_emr3500
429 $(call Device
/FitImage
)
430 DEVICE_VENDOR
:= EnGenius
431 DEVICE_MODEL
:= EMR3500
432 DEVICE_DTS_CONFIG
:= config@
4
436 IMAGES
+= factory.bin
437 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
438 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
439 DEVICE_PACKAGES
:= ipq-wifi-engenius_emr3500
442 TARGET_DEVICES
+= engenius_emr3500
444 define Device
/engenius_ens620ext
445 $(call Device
/FitImage
)
446 DEVICE_VENDOR
:= EnGenius
447 DEVICE_MODEL
:= ENS620EXT
449 DEVICE_DTS_CONFIG
:= config@
4
452 BOARD_NAME
:= ENS620EXT
455 PRODUCT_ID_NEW
:= 0xA4
462 FILESYSTEMS
:= squashfs
463 IMAGES
+= factory_30.bin factory_35.bin
464 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
465 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
466 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
468 TARGET_DEVICES
+= engenius_ens620ext
470 define Device
/ezviz_cs-w3-wd1200g-eup
471 $(call Device
/FitImage
)
472 DEVICE_VENDOR
:= EZVIZ
473 DEVICE_MODEL
:= CS-W3-WD1200G
474 DEVICE_VARIANT
:= EUP
475 DEVICE_DTS_CONFIG
:= config@
4
478 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
480 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
481 ipq-wifi-ezviz_cs-w3-wd1200g-eup
483 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
485 define Device
/glinet_gl-ap1300
486 $(call Device
/FitImage
)
487 $(call Device
/UbiFit
)
488 DEVICE_VENDOR
:= GL.iNet
489 DEVICE_MODEL
:= GL-AP1300
491 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
494 IMAGE_SIZE
:= 131072k
496 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-ap1300
498 TARGET_DEVICES
+= glinet_gl-ap1300
500 define Device
/glinet_gl-b1300
501 $(call Device
/FitzImage
)
502 DEVICE_VENDOR
:= GL.iNet
503 DEVICE_MODEL
:= GL-B1300
504 BOARD_NAME
:= gl-b1300
508 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
510 TARGET_DEVICES
+= glinet_gl-b1300
512 define Device
/glinet_gl-s1300
513 $(call Device
/FitzImage
)
514 DEVICE_VENDOR
:= GL.iNet
515 DEVICE_MODEL
:= GL-S1300
519 IMAGES
:= sysupgrade.bin
520 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
521 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-s1300 kmod-fs-ext4 kmod-mmc kmod-spi-dev
523 TARGET_DEVICES
+= glinet_gl-s1300
525 define Device
/linksys_ea6350v3
526 # The Linksys EA6350v3 has a uboot bootloader that does not
527 # support either booting lzma kernel images nor booting UBI
528 # partitions. This uboot, however, supports raw kernel images and
531 # As for the time of writing this, the device will boot the kernel
532 # from a fixed address with a fixed length of 3MiB. Also, the
533 # device has a hard-coded kernel command line that requieres the
534 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
535 # Oh... and the kernel partition overlaps with the rootfs
536 # partition (the same for alt_kernel and alt_rootfs).
538 # If you are planing re-partitioning the device, you may want to
539 # keep those details in mind:
540 # 1. The kernel adresses you should honor are 0x00000000 and
541 # 0x02800000 respectively.
542 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
543 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
544 # 4. The kernel command line from uboot is harcoded to boot with
545 # rootfs either in mtd11 or mtd13.
546 $(call Device
/FitzImage
)
547 DEVICE_VENDOR
:= Linksys
548 DEVICE_MODEL
:= EA6350
556 IMAGES
+= factory.bin
557 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
559 TARGET_DEVICES
+= linksys_ea6350v3
561 define Device
/linksys_ea8300
562 $(call Device
/FitzImage
)
563 DEVICE_VENDOR
:= Linksys
564 DEVICE_MODEL
:= EA8300
570 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
571 IMAGES
+= factory.bin
572 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
573 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
575 TARGET_DEVICES
+= linksys_ea8300
577 define Device
/linksys_mr8300
578 $(call Device
/FitzImage
)
579 DEVICE_VENDOR
:= Linksys
580 DEVICE_MODEL
:= MR8300
586 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
587 IMAGES
+= factory.bin
588 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MR8300
589 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_mr8300-v0 kmod-usb-ledtrig-usbport
591 TARGET_DEVICES
+= linksys_mr8300
593 define Device
/luma_wrtq-329acn
594 $(call Device
/FitImage
)
595 DEVICE_VENDOR
:= Luma Home
596 DEVICE_MODEL
:= WRTQ-329ACN
598 DEVICE_PACKAGES
:= ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio
603 TARGET_DEVICES
+= luma_wrtq-329acn
605 define Device
/meraki_mr33
606 $(call Device
/FitImage
)
607 DEVICE_VENDOR
:= Cisco Meraki
612 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
614 TARGET_DEVICES
+= meraki_mr33
616 define Device
/mobipromo_cm520-79f
617 $(call Device
/FitzImage
)
618 $(call Device
/UbiFit
)
619 DEVICE_VENDOR
:= MobiPromo
620 DEVICE_MODEL
:= CM520-79F
624 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
626 TARGET_DEVICES
+= mobipromo_cm520-79f
628 define Device
/netgear_ex61x0v2
629 $(call Device
/DniImage
)
630 DEVICE_VENDOR
:= NETGEAR
631 DEVICE_DTS_CONFIG
:= config@
4
632 NETGEAR_BOARD_ID
:= EX6150v2series
633 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
638 define Device
/netgear_ex6100v2
639 $(call Device
/netgear_ex61x0v2
)
640 DEVICE_MODEL
:= EX6100
643 TARGET_DEVICES
+= netgear_ex6100v2
645 define Device
/netgear_ex6150v2
646 $(call Device
/netgear_ex61x0v2
)
647 DEVICE_MODEL
:= EX6150
650 TARGET_DEVICES
+= netgear_ex6150v2
652 define Device
/netgear_orbi
653 $(call Device
/DniImage
)
655 DEVICE_VENDOR
:= NETGEAR
656 IMAGE
/factory.img
:= append-kernel | pad-offset
128k
64 | \
657 append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | \
658 append-rootfs | pad-rootfs | netgear-dni
659 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-to
64k | \
660 sysupgrade-tar rootfs
=$$$$@ | append-metadata
661 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct e2fsprogs kmod-fs-ext4 losetup
664 define Device
/netgear_rbx50
665 $(call Device
/netgear_orbi
)
666 NETGEAR_HW_ID
:= 29765352+0+4000+512+2x2
+2x2
+4x4
667 KERNEL_SIZE
:= 3932160
668 ROOTFS_SIZE
:= 32243712
669 IMAGE_SIZE
:= 36175872
672 define Device
/netgear_rbr50
673 $(call Device
/netgear_rbx50
)
674 DEVICE_MODEL
:= RBR50
676 NETGEAR_BOARD_ID
:= RBR50
678 TARGET_DEVICES
+= netgear_rbr50
680 define Device
/netgear_rbs50
681 $(call Device
/netgear_rbx50
)
682 DEVICE_MODEL
:= RBS50
684 NETGEAR_BOARD_ID
:= RBS50
686 TARGET_DEVICES
+= netgear_rbs50
688 define Device
/netgear_srx60
689 $(call Device
/netgear_orbi
)
690 NETGEAR_HW_ID
:= 29765352+0+4096+512+2x2
+2x2
+4x4
691 KERNEL_SIZE
:= 3932160
692 ROOTFS_SIZE
:= 32243712
693 IMAGE_SIZE
:= 36175872
696 define Device
/netgear_srr60
697 $(call Device
/netgear_srx60
)
698 DEVICE_MODEL
:= SRR60
699 NETGEAR_BOARD_ID
:= SRR60
701 TARGET_DEVICES
+= netgear_srr60
703 define Device
/netgear_srs60
704 $(call Device
/netgear_srx60
)
705 DEVICE_MODEL
:= SRS60
706 NETGEAR_BOARD_ID
:= SRS60
708 TARGET_DEVICES
+= netgear_srs60
710 define Device
/netgear_wac510
711 $(call Device
/FitImage
)
712 $(call Device
/UbiFit
)
713 DEVICE_VENDOR
:= Netgear
714 DEVICE_MODEL
:= WAC510
716 DEVICE_DTS_CONFIG
:= config@
5
719 IMAGES
+= nand-factory.
tar
720 IMAGE
/nand-factory.
tar := append-ubi | wac5xx-netgear-tar
721 DEVICE_PACKAGES
:= uboot-envtools
723 TARGET_DEVICES
+= netgear_wac510
725 define Device
/openmesh_a42
726 $(call Device
/FitImageLzma
)
727 DEVICE_VENDOR
:= OpenMesh
730 DEVICE_DTS_CONFIG
:= config@om.a42
732 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
734 IMAGES
+= factory.bin
735 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
736 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
738 TARGET_DEVICES
+= openmesh_a42
740 define Device
/openmesh_a62
741 $(call Device
/FitImageLzma
)
742 DEVICE_VENDOR
:= OpenMesh
745 DEVICE_DTS_CONFIG
:= config@om.a62
747 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
749 IMAGES
+= factory.bin
750 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
751 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
752 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct
754 TARGET_DEVICES
+= openmesh_a62
756 define Device
/plasmacloud_pa1200
757 $(call Device
/FitImageLzma
)
758 DEVICE_VENDOR
:= Plasma Cloud
759 DEVICE_MODEL
:= PA1200
761 DEVICE_DTS_CONFIG
:= config@
pc.pa1200
763 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
765 IMAGES
+= factory.bin
766 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA1200
767 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
768 DEVICE_PACKAGES
:= ipq-wifi-plasmacloud_pa1200
770 TARGET_DEVICES
+= plasmacloud_pa1200
772 define Device
/plasmacloud_pa2200
773 $(call Device
/FitImageLzma
)
774 DEVICE_VENDOR
:= Plasma Cloud
775 DEVICE_MODEL
:= PA2200
777 DEVICE_DTS_CONFIG
:= config@
pc.pa2200
779 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
781 IMAGES
+= factory.bin
782 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA2200
783 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
784 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-plasmacloud_pa2200
786 TARGET_DEVICES
+= plasmacloud_pa2200
788 define Device
/qcom_ap-dk01.1
-c1
789 DEVICE_VENDOR
:= Qualcomm Atheros
790 DEVICE_MODEL
:= AP-DK01.1
792 BOARD_NAME
:= ap-dk01.1
-c1
794 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
798 $(call Device
/FitImage
)
799 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
802 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
804 define Device
/qcom_ap-dk04.1
-c1
805 $(call Device
/FitImage
)
806 $(call Device
/UbiFit
)
807 DEVICE_VENDOR
:= Qualcomm Atheros
808 DEVICE_MODEL
:= AP-DK04.1
811 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
816 BOARD_NAME
:= ap-dk04.1
-c1
819 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
821 define Device
/qxwlan_e2600ac-c1
822 $(call Device
/FitImage
)
823 DEVICE_VENDOR
:= Qxwlan
824 DEVICE_MODEL
:= E2600AC
826 BOARD_NAME
:= e2600ac-c1
830 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
831 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
834 TARGET_DEVICES
+= qxwlan_e2600ac-c1
836 define Device
/qxwlan_e2600ac-c2
837 $(call Device
/FitImage
)
838 $(call Device
/UbiFit
)
839 DEVICE_VENDOR
:= Qxwlan
840 DEVICE_MODEL
:= E2600AC
846 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
848 TARGET_DEVICES
+= qxwlan_e2600ac-c2
850 define Device
/unielec_u4019-32m
851 $(call Device
/FitImage
)
852 DEVICE_VENDOR
:= Unielec
853 DEVICE_MODEL
:= U4019
854 DEVICE_VARIANT
:= 32M
855 BOARD_NAME
:= u4019-32m
859 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
862 TARGET_DEVICES
+= unielec_u4019-32m
864 define Device
/zyxel_nbg6617
865 $(call Device
/FitImageLzma
)
866 DEVICE_VENDOR
:= ZyXEL
867 DEVICE_MODEL
:= NBG6617
870 ROOTFS_SIZE
:= 24960k
872 RAS_ROOTFS_SIZE
:= 19840k
873 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
874 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
875 IMAGES
+= factory.bin
876 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
877 # at least as large as the one of the initial firmware image (not the current
878 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
879 # this minimum-size. However, the larger image can be flashed both ways.
880 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
881 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
882 DEVICE_PACKAGES
:= kmod-usb-ledtrig-usbport
885 TARGET_DEVICES
+= zyxel_nbg6617
887 define Device
/zyxel_wre6606
888 $(call Device
/FitImage
)
889 DEVICE_VENDOR
:= ZyXEL
890 DEVICE_MODEL
:= WRE6606
891 DEVICE_DTS_CONFIG
:= config@
4
894 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
895 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
897 TARGET_DEVICES
+= zyxel_wre6606