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
95 define Build
/qsdk-ipq-app-gpt
96 cp
$@
$@.tmp
2>/dev
/null || true
97 ptgen
-g
-o
$@.tmp
-a
1 -l
1024 \
98 -t
0x2e -N
0:HLOS
-r
-p
32M \
99 -t
0x83 -N rootfs
-r
-p
128M \
100 -N rootfs_data
-p
512M
106 -$(STAGING_DIR_HOST
)/bin
/mksenaofw \
107 -n
$(BOARD_NAME
) -r
$(VENDOR_ID
) -p
$(1) \
108 -c
$(DATECODE
) -w
$(2) -x
$(CW_VER
) -t
0 \
114 define Build
/wrgg-image
117 -d
"$(WRGG_DEVNAME)" \
118 -s
"$(WRGG_SIGNATURE)" \
123 define Device
/8dev_habanero-dvk
124 $(call Device
/FitImageLzma
)
125 DEVICE_VENDOR
:= 8devices
126 DEVICE_MODEL
:= Habanero DVK
129 DEVICE_PACKAGES
:= ipq-wifi-8dev_habanero-dvk
130 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | append-rootfs | pad-rootfs | check-size | append-metadata
132 TARGET_DEVICES
+= 8dev_habanero-dvk
134 define Device
/8dev_jalapeno-common
135 $(call Device
/FitImage
)
136 $(call Device
/UbiFit
)
142 define Device
/8dev_jalapeno
143 $(call Device
/8dev_jalapeno-common
)
144 DEVICE_VENDOR
:= 8devices
145 DEVICE_MODEL
:= Jalapeno
147 TARGET_DEVICES
+= 8dev_jalapeno
149 define Device
/alfa-network_ap120c-ac
150 $(call Device
/FitImage
)
151 $(call Device
/UbiFit
)
152 DEVICE_VENDOR
:= ALFA Network
153 DEVICE_MODEL
:= AP120C-AC
155 DEVICE_PACKAGES
:= kmod-usb-acm kmod-tpm-i2c-atmel
159 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
160 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
162 TARGET_DEVICES
+= alfa-network_ap120c-ac
164 define Device
/aruba_glenmorangie
165 $(call Device
/FitImageLzma
)
166 DEVICE_VENDOR
:= Aruba
168 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
171 define Device
/aruba_ap-303
172 $(call Device
/aruba_glenmorangie
)
173 DEVICE_MODEL
:= AP-303
175 TARGET_DEVICES
+= aruba_ap-303
177 define Device
/aruba_ap-303h
178 $(call Device
/aruba_glenmorangie
)
179 DEVICE_MODEL
:= AP-303H
181 TARGET_DEVICES
+= aruba_ap-303h
183 define Device
/aruba_ap-365
184 $(call Device
/aruba_glenmorangie
)
185 DEVICE_MODEL
:= AP-365
186 DEVICE_PACKAGES
+= kmod-hwmon-ad7418
188 TARGET_DEVICES
+= aruba_ap-365
190 define Device
/asus_map-ac2200
191 $(call Device
/FitImageLzma
)
192 DEVICE_VENDOR
:= ASUS
193 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
195 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
197 TARGET_DEVICES
+= asus_map-ac2200
199 define Device
/asus_rt-ac58u
200 $(call Device
/FitImageLzma
)
201 DEVICE_VENDOR
:= ASUS
202 DEVICE_MODEL
:= RT-AC58U
207 IMAGE_SIZE
:= 20439364
208 FILESYSTEMS
:= squashfs
209 # Someone - in their infinite wisdom - decided to put the firmware
210 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
211 # Since u-boot works with strings we either need another fixup step
212 # to add a version... or we are very careful not to add '\0' into that
213 # string and call it a day.... Yeah, we do the latter!
214 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
215 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
216 kmod-usb-ledtrig-usbport
218 TARGET_DEVICES
+= asus_rt-ac58u
220 define Device
/avm_fritzbox-4040
221 $(call Device
/FitImageLzma
)
223 DEVICE_MODEL
:= FRITZ
!Box
4040
225 BOARD_NAME
:= fritz4040
227 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
228 UBOOT_PARTITION_SIZE
:= 524288
230 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
231 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
232 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
234 TARGET_DEVICES
+= avm_fritzbox-4040
236 define Device
/avm_fritzbox-7530
237 $(call Device
/FitImageLzma
)
239 DEVICE_MODEL
:= FRITZ
!Box
7530
241 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
243 TARGET_DEVICES
+= avm_fritzbox-7530
245 define Device
/avm_fritzrepeater-1200
246 $(call Device
/FitImageLzma
)
248 DEVICE_MODEL
:= FRITZ
!Repeater
1200
250 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand ipq-wifi-avm_fritzrepeater-1200
252 TARGET_DEVICES
+= avm_fritzrepeater-1200
254 define Device
/avm_fritzrepeater-3000
255 $(call Device
/FitImageLzma
)
257 DEVICE_MODEL
:= FRITZ
!Repeater
3000
259 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
261 TARGET_DEVICES
+= avm_fritzrepeater-3000
263 define Device
/buffalo_wtr-m2133hp
264 $(call Device
/FitImage
)
265 $(call Device
/UbiFit
)
266 DEVICE_VENDOR
:= Buffalo
267 DEVICE_MODEL
:= WTR-M2133HP
269 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct ipq-wifi-buffalo_wtr-m2133hp
273 TARGET_DEVICES
+= buffalo_wtr-m2133hp
275 define Device
/cellc_rtl30vw
276 KERNEL_SUFFIX
:= -fit-zImage.itb
277 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
278 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
279 KERNEL_NAME
:= zImage
281 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
282 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
283 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
284 DEVICE_VENDOR
:= Cell C
285 DEVICE_MODEL
:= RTL30VW
287 DEVICE_DTS_CONFIG
:= config@
5
293 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
295 TARGET_DEVICES
+= cellc_rtl30vw
297 define Device
/cilab_meshpoint-one
298 $(call Device
/8dev_jalapeno-common
)
299 DEVICE_VENDOR
:= Crisis Innovation Lab
300 DEVICE_MODEL
:= MeshPoint.One
301 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
303 TARGET_DEVICES
+= cilab_meshpoint-one
305 define Device
/compex_wpj419
306 $(call Device
/FitImage
)
307 $(call Device
/UbiFit
)
308 DEVICE_VENDOR
:= Compex
309 DEVICE_MODEL
:= WPJ419
311 DEVICE_DTS_CONFIG
:= config@
12
315 FILESYSTEMS
:= squashfs
317 TARGET_DEVICES
+= compex_wpj419
319 define Device
/compex_wpj428
320 $(call Device
/FitImage
)
321 DEVICE_VENDOR
:= Compex
322 DEVICE_MODEL
:= WPJ428
324 DEVICE_DTS_CONFIG
:= config@
4
328 IMAGES
+= cpximg-6a04.bin
329 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
330 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
331 DEVICE_PACKAGES
:= kmod-gpio-beeper
334 TARGET_DEVICES
+= compex_wpj428
336 define Device
/devolo_magic-2-wifi-next
337 $(call Device
/FitImage
)
338 DEVICE_VENDOR
:= devolo
339 DEVICE_MODEL
:= Magic
2 WiFi next
343 # If the bootloader sees 0xDEADC0DE and this trailer at the 64k boundary of a TFTP image
344 # it will bootm it, just like we want for the initramfs.
345 KERNEL_INITRAMFS
:= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
64k |\
346 append-string
-e
'\xDE\xAD\xC0\xDE{"fl_initramfs":""}\x00'
349 IMAGES
:= sysupgrade.bin
350 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
351 DEVICE_PACKAGES
:= ipq-wifi-devolo_magic-2-wifi-next
354 TARGET_DEVICES
+= devolo_magic-2-wifi-next
356 define Device
/dlink_dap-2610
357 $(call Device
/FitImageLzma
)
358 DEVICE_VENDOR
:= D-Link
359 DEVICE_MODEL
:= DAP-2610
361 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c1
363 WRGG_DEVNAME
:= /dev
/mtdblock
/8
364 WRGG_SIGNATURE
:= wapac30_dkbs_dap2610
366 IMAGES
+= factory.bin
367 # Bootloader expects a special 160 byte header which is added by
369 # Factory image size must be larger than 6MB, and size in wrgg header must
370 # match actual factory image size to be flashable from D-Link http server.
371 # Bootloader verifies checksum of wrgg image before booting, thus jffs2
372 # cannot be part of the wrgg image. This is solved in the factory image by
373 # having the rootfs at the end of the image (without pad-rootfs). And in
374 # the sysupgrade image only the kernel is included in the wrgg checksum,
375 # but this is not flashable from the D-link http server.
376 # append-rootfs must start on an erase block boundary.
377 IMAGE
/factory.bin
:= append-kernel | pad-offset
6144k
160 | append-rootfs | wrgg-image | check-size
378 IMAGE
/sysupgrade.bin
:= append-kernel | wrgg-image | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
379 DEVICE_PACKAGES
:= ipq-wifi-dlink_dap2610
381 TARGET_DEVICES
+= dlink_dap-2610
383 define Device
/edgecore_ecw5211
384 $(call Device
/FitImage
)
385 $(call Device
/UbiFit
)
386 DEVICE_VENDOR
:= Edgecore
387 DEVICE_MODEL
:= ECW5211
391 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
392 DEVICE_PACKAGES
:= kmod-tpm-i2c-atmel kmod-usb-acm
394 TARGET_DEVICES
+= edgecore_ecw5211
396 define Device
/edgecore_oap100
397 $(call Device
/FitImage
)
398 $(call Device
/UbiFit
)
399 DEVICE_VENDOR
:= Edgecore
400 DEVICE_MODEL
:= OAP100
404 IMAGES
:= nand-sysupgrade.bin
405 DEVICE_DTS_CONFIG
:= config@ap.dk07.1
-c1
406 DEVICE_PACKAGES
:= ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
408 TARGET_DEVICES
+= edgecore_oap100
410 define Device
/engenius_eap1300
411 $(call Device
/FitImage
)
412 DEVICE_VENDOR
:= EnGenius
413 DEVICE_MODEL
:= EAP1300
414 DEVICE_DTS_CONFIG
:= config@
4
415 BOARD_NAME
:= eap1300
419 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
421 TARGET_DEVICES
+= engenius_eap1300
423 define Device
/engenius_eap2200
424 $(call Device
/FitImage
)
425 $(call Device
/UbiFit
)
426 DEVICE_VENDOR
:= EnGenius
427 DEVICE_MODEL
:= EAP2200
431 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
433 TARGET_DEVICES
+= engenius_eap2200
435 define Device
/engenius_emd1
436 $(call Device
/FitImage
)
437 DEVICE_VENDOR
:= EnGenius
439 DEVICE_DTS_CONFIG
:= config@
4
442 IMAGES
+= factory.bin
443 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
444 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
445 DEVICE_PACKAGES
:= ipq-wifi-engenius_emd1
447 TARGET_DEVICES
+= engenius_emd1
449 define Device
/engenius_emr3500
450 $(call Device
/FitImage
)
451 DEVICE_VENDOR
:= EnGenius
452 DEVICE_MODEL
:= EMR3500
453 DEVICE_DTS_CONFIG
:= config@
4
457 IMAGES
+= factory.bin
458 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
459 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
460 DEVICE_PACKAGES
:= ipq-wifi-engenius_emr3500
463 TARGET_DEVICES
+= engenius_emr3500
465 define Device
/engenius_ens620ext
466 $(call Device
/FitImage
)
467 DEVICE_VENDOR
:= EnGenius
468 DEVICE_MODEL
:= ENS620EXT
470 DEVICE_DTS_CONFIG
:= config@
4
473 BOARD_NAME
:= ENS620EXT
476 PRODUCT_ID_NEW
:= 0xA4
483 FILESYSTEMS
:= squashfs
484 IMAGES
+= factory_30.bin factory_35.bin
485 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
486 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
487 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
489 TARGET_DEVICES
+= engenius_ens620ext
491 define Device
/ezviz_cs-w3-wd1200g-eup
492 $(call Device
/FitImage
)
493 DEVICE_VENDOR
:= EZVIZ
494 DEVICE_MODEL
:= CS-W3-WD1200G
495 DEVICE_VARIANT
:= EUP
496 DEVICE_DTS_CONFIG
:= config@
4
499 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
501 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
502 ipq-wifi-ezviz_cs-w3-wd1200g-eup
504 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
506 define Device
/glinet_gl-ap1300
507 $(call Device
/FitImage
)
508 $(call Device
/UbiFit
)
509 DEVICE_VENDOR
:= GL.iNet
510 DEVICE_MODEL
:= GL-AP1300
512 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c2
515 IMAGE_SIZE
:= 131072k
517 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-ap1300
519 TARGET_DEVICES
+= glinet_gl-ap1300
521 define Device
/glinet_gl-b1300
522 $(call Device
/FitzImage
)
523 DEVICE_VENDOR
:= GL.iNet
524 DEVICE_MODEL
:= GL-B1300
525 BOARD_NAME
:= gl-b1300
529 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
531 TARGET_DEVICES
+= glinet_gl-b1300
533 define Device
/glinet_gl-b2200
534 $(call Device
/FitzImage
)
535 DEVICE_VENDOR
:= GL.iNet
536 DEVICE_MODEL
:= GL-B2200
538 DEVICE_DTS_CONFIG
:= config@ap.dk04.1
-c3
539 KERNEL_INITRAMFS_SUFFIX
:= -recovery.itb
540 IMAGES
:= emmc.img.gz sysupgrade.bin
541 IMAGE
/emmc.img.gz
:= qsdk-ipq-app-gpt |\
542 pad-to
1024k | append-kernel |\
543 pad-to
33792k | append-rootfs |\
544 append-metadata | gzip
545 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
546 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-glinet_gl-b2200 \
547 kmod-fs-ext4 kmod-mmc kmod-spi-dev mkf2fs e2fsprogs kmod-fs-f2fs
549 TARGET_DEVICES
+= glinet_gl-b2200
551 define Device
/glinet_gl-s1300
552 $(call Device
/FitzImage
)
553 DEVICE_VENDOR
:= GL.iNet
554 DEVICE_MODEL
:= GL-S1300
558 IMAGES
:= sysupgrade.bin
559 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
560 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-s1300 kmod-fs-ext4 kmod-mmc kmod-spi-dev
562 TARGET_DEVICES
+= glinet_gl-s1300
564 define Device
/linksys_ea6350v3
565 # The Linksys EA6350v3 has a uboot bootloader that does not
566 # support either booting lzma kernel images nor booting UBI
567 # partitions. This uboot, however, supports raw kernel images and
570 # As for the time of writing this, the device will boot the kernel
571 # from a fixed address with a fixed length of 3MiB. Also, the
572 # device has a hard-coded kernel command line that requieres the
573 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
574 # Oh... and the kernel partition overlaps with the rootfs
575 # partition (the same for alt_kernel and alt_rootfs).
577 # If you are planing re-partitioning the device, you may want to
578 # keep those details in mind:
579 # 1. The kernel adresses you should honor are 0x00000000 and
580 # 0x02800000 respectively.
581 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
582 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
583 # 4. The kernel command line from uboot is harcoded to boot with
584 # rootfs either in mtd11 or mtd13.
585 $(call Device
/FitzImage
)
586 DEVICE_VENDOR
:= Linksys
587 DEVICE_MODEL
:= EA6350
595 IMAGES
+= factory.bin
596 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
598 TARGET_DEVICES
+= linksys_ea6350v3
600 define Device
/linksys_ea8300
601 $(call Device
/FitzImage
)
602 DEVICE_VENDOR
:= Linksys
603 DEVICE_MODEL
:= EA8300
609 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
610 IMAGES
+= factory.bin
611 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
612 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
614 TARGET_DEVICES
+= linksys_ea8300
616 define Device
/linksys_mr8300
617 $(call Device
/FitzImage
)
618 DEVICE_VENDOR
:= Linksys
619 DEVICE_MODEL
:= MR8300
625 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
626 IMAGES
+= factory.bin
627 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MR8300
628 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-linksys_mr8300-v0 kmod-usb-ledtrig-usbport
630 TARGET_DEVICES
+= linksys_mr8300
632 define Device
/luma_wrtq-329acn
633 $(call Device
/FitImage
)
634 DEVICE_VENDOR
:= Luma Home
635 DEVICE_MODEL
:= WRTQ-329ACN
637 DEVICE_PACKAGES
:= ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio
642 TARGET_DEVICES
+= luma_wrtq-329acn
644 define Device
/meraki_mr33
645 $(call Device
/FitImage
)
646 DEVICE_VENDOR
:= Cisco Meraki
651 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
653 TARGET_DEVICES
+= meraki_mr33
655 define Device
/mobipromo_cm520-79f
656 $(call Device
/FitzImage
)
657 $(call Device
/UbiFit
)
658 DEVICE_VENDOR
:= MobiPromo
659 DEVICE_MODEL
:= CM520-79F
663 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
665 TARGET_DEVICES
+= mobipromo_cm520-79f
667 define Device
/netgear_ex61x0v2
668 $(call Device
/DniImage
)
669 DEVICE_VENDOR
:= NETGEAR
670 DEVICE_DTS_CONFIG
:= config@
4
671 NETGEAR_BOARD_ID
:= EX6150v2series
672 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
677 define Device
/netgear_ex6100v2
678 $(call Device
/netgear_ex61x0v2
)
679 DEVICE_MODEL
:= EX6100
682 TARGET_DEVICES
+= netgear_ex6100v2
684 define Device
/netgear_ex6150v2
685 $(call Device
/netgear_ex61x0v2
)
686 DEVICE_MODEL
:= EX6150
689 TARGET_DEVICES
+= netgear_ex6150v2
691 define Device
/netgear_orbi
692 $(call Device
/DniImage
)
694 DEVICE_VENDOR
:= NETGEAR
695 IMAGE
/factory.img
:= append-kernel | pad-offset
128k
64 | \
696 append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | \
697 append-rootfs | pad-rootfs | netgear-dni
698 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-to
64k | \
699 sysupgrade-tar rootfs
=$$$$@ | append-metadata
700 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct e2fsprogs kmod-fs-ext4 losetup
703 define Device
/netgear_rbx50
704 $(call Device
/netgear_orbi
)
705 NETGEAR_HW_ID
:= 29765352+0+4000+512+2x2
+2x2
+4x4
706 KERNEL_SIZE
:= 3932160
707 ROOTFS_SIZE
:= 32243712
708 IMAGE_SIZE
:= 36175872
711 define Device
/netgear_rbr50
712 $(call Device
/netgear_rbx50
)
713 DEVICE_MODEL
:= RBR50
715 NETGEAR_BOARD_ID
:= RBR50
717 TARGET_DEVICES
+= netgear_rbr50
719 define Device
/netgear_rbs50
720 $(call Device
/netgear_rbx50
)
721 DEVICE_MODEL
:= RBS50
723 NETGEAR_BOARD_ID
:= RBS50
725 TARGET_DEVICES
+= netgear_rbs50
727 define Device
/netgear_srx60
728 $(call Device
/netgear_orbi
)
729 NETGEAR_HW_ID
:= 29765352+0+4096+512+2x2
+2x2
+4x4
730 KERNEL_SIZE
:= 3932160
731 ROOTFS_SIZE
:= 32243712
732 IMAGE_SIZE
:= 36175872
735 define Device
/netgear_srr60
736 $(call Device
/netgear_srx60
)
737 DEVICE_MODEL
:= SRR60
738 NETGEAR_BOARD_ID
:= SRR60
740 TARGET_DEVICES
+= netgear_srr60
742 define Device
/netgear_srs60
743 $(call Device
/netgear_srx60
)
744 DEVICE_MODEL
:= SRS60
745 NETGEAR_BOARD_ID
:= SRS60
747 TARGET_DEVICES
+= netgear_srs60
749 define Device
/netgear_wac510
750 $(call Device
/FitImage
)
751 $(call Device
/UbiFit
)
752 DEVICE_VENDOR
:= Netgear
753 DEVICE_MODEL
:= WAC510
755 DEVICE_DTS_CONFIG
:= config@
5
758 IMAGES
+= nand-factory.
tar
759 IMAGE
/nand-factory.
tar := append-ubi | wac5xx-netgear-tar
760 DEVICE_PACKAGES
:= uboot-envtools
762 TARGET_DEVICES
+= netgear_wac510
764 define Device
/openmesh_a42
765 $(call Device
/FitImageLzma
)
766 DEVICE_VENDOR
:= OpenMesh
769 DEVICE_DTS_CONFIG
:= config@om.a42
771 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
773 IMAGES
+= factory.bin
774 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
775 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
777 TARGET_DEVICES
+= openmesh_a42
779 define Device
/openmesh_a62
780 $(call Device
/FitImageLzma
)
781 DEVICE_VENDOR
:= OpenMesh
784 DEVICE_DTS_CONFIG
:= config@om.a62
786 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
788 IMAGES
+= factory.bin
789 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
790 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
791 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct
793 TARGET_DEVICES
+= openmesh_a62
795 define Device
/p2w_r619ac
796 $(call Device
/FitzImage
)
797 $(call Device
/UbiFit
)
799 DEVICE_MODEL
:= R619AC
801 DEVICE_DTS_CONFIG
:= config@
10
804 DEVICE_PACKAGES
:= ipq-wifi-p2w_r619ac
807 define Device
/p2w_r619ac-64m
808 $(call Device
/p2w_r619ac
)
809 DEVICE_VARIANT
:= 64M NAND
810 IMAGES
+= nand-factory.bin
811 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
813 TARGET_DEVICES
+= p2w_r619ac-64m
815 define Device
/p2w_r619ac-128m
816 $(call Device
/p2w_r619ac
)
817 DEVICE_VARIANT
:= 128M NAND
819 TARGET_DEVICES
+= p2w_r619ac-128m
821 define Device
/plasmacloud_pa1200
822 $(call Device
/FitImageLzma
)
823 DEVICE_VENDOR
:= Plasma Cloud
824 DEVICE_MODEL
:= PA1200
826 DEVICE_DTS_CONFIG
:= config@
pc.pa1200
828 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
830 IMAGES
+= factory.bin
831 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA1200
832 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
833 DEVICE_PACKAGES
:= ipq-wifi-plasmacloud_pa1200
835 TARGET_DEVICES
+= plasmacloud_pa1200
837 define Device
/plasmacloud_pa2200
838 $(call Device
/FitImageLzma
)
839 DEVICE_VENDOR
:= Plasma Cloud
840 DEVICE_MODEL
:= PA2200
842 DEVICE_DTS_CONFIG
:= config@
pc.pa2200
844 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
846 IMAGES
+= factory.bin
847 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=PA2200
848 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
849 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-plasmacloud_pa2200
851 TARGET_DEVICES
+= plasmacloud_pa2200
853 define Device
/qcom_ap-dk01.1
-c1
854 DEVICE_VENDOR
:= Qualcomm Atheros
855 DEVICE_MODEL
:= AP-DK01.1
857 BOARD_NAME
:= ap-dk01.1
-c1
859 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
863 $(call Device
/FitImage
)
864 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
867 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
869 define Device
/qcom_ap-dk04.1
-c1
870 $(call Device
/FitImage
)
871 $(call Device
/UbiFit
)
872 DEVICE_VENDOR
:= Qualcomm Atheros
873 DEVICE_MODEL
:= AP-DK04.1
876 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
881 BOARD_NAME
:= ap-dk04.1
-c1
884 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
886 define Device
/qxwlan_e2600ac-c1
887 $(call Device
/FitImage
)
888 DEVICE_VENDOR
:= Qxwlan
889 DEVICE_MODEL
:= E2600AC
891 BOARD_NAME
:= e2600ac-c1
895 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
896 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
899 TARGET_DEVICES
+= qxwlan_e2600ac-c1
901 define Device
/qxwlan_e2600ac-c2
902 $(call Device
/FitImage
)
903 $(call Device
/UbiFit
)
904 DEVICE_VENDOR
:= Qxwlan
905 DEVICE_MODEL
:= E2600AC
911 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
913 TARGET_DEVICES
+= qxwlan_e2600ac-c2
915 define Device
/teltonika_rutx10
916 $(call Device
/FitImage
)
917 $(call Device
/UbiFit
)
918 DEVICE_VENDOR
:= Teltonika
919 DEVICE_MODEL
:= RUTX10
921 DEVICE_DTS_CONFIG
:= config@
5
925 FILESYSTEMS
:= squashfs
926 IMAGE
/nand-factory.ubi
:= append-ubi | qsdk-ipq-factory-nand | append-rutx-metadata
927 DEVICE_PACKAGES
:= ipq-wifi-teltonika_rutx kmod-bluetooth
929 TARGET_DEVICES
+= teltonika_rutx10
931 define Device
/unielec_u4019-32m
932 $(call Device
/FitImage
)
933 DEVICE_VENDOR
:= Unielec
934 DEVICE_MODEL
:= U4019
935 DEVICE_VARIANT
:= 32M
936 BOARD_NAME
:= u4019-32m
940 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
943 TARGET_DEVICES
+= unielec_u4019-32m
945 define Device
/zyxel_nbg6617
946 $(call Device
/FitImageLzma
)
947 DEVICE_VENDOR
:= ZyXEL
948 DEVICE_MODEL
:= NBG6617
951 ROOTFS_SIZE
:= 24960k
953 RAS_ROOTFS_SIZE
:= 19840k
954 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
955 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
956 IMAGES
+= factory.bin
957 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
958 # at least as large as the one of the initial firmware image (not the current
959 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
960 # this minimum-size. However, the larger image can be flashed both ways.
961 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
962 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
963 DEVICE_PACKAGES
:= kmod-usb-ledtrig-usbport
965 TARGET_DEVICES
+= zyxel_nbg6617
967 define Device
/zyxel_wre6606
968 $(call Device
/FitImage
)
969 DEVICE_VENDOR
:= ZyXEL
970 DEVICE_MODEL
:= WRE6606
971 DEVICE_DTS_CONFIG
:= config@
4
974 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
975 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
977 TARGET_DEVICES
+= zyxel_wre6606