1 include $(TOPDIR
)/rules.mk
2 include $(INCLUDE_DIR
)/image.mk
4 DEVICE_VARS
+= NETGEAR_BOARD_ID NETGEAR_HW_ID
5 DEVICE_VARS
+= RAS_BOARD RAS_ROOTFS_SIZE RAS_VERSION
6 DEVICE_VARS
+= WRGG_DEVNAME WRGG_SIGNATURE
10 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
11 KERNEL_INITRAMFS_PREFIX
:= $$(IMG_PREFIX
)-$(1)-initramfs
12 KERNEL_PREFIX
:= $$(IMAGE_PREFIX
)
13 KERNEL_LOADADDR
:= 0x80208000
14 DEVICE_DTS
= $$(SOC
)-$(lastword
$(subst _
, ,$(1)))
15 SUPPORTED_DEVICES
:= $(subst _
,$(comma
),$(1))
16 IMAGE
/sysupgrade.bin
= sysupgrade-tar | append-metadata
17 IMAGE
/sysupgrade.bin
/squashfs
:=
20 define Device
/FitImage
21 KERNEL_SUFFIX
:= -fit-uImage.itb
22 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
26 define Device
/FitImageLzma
27 KERNEL_SUFFIX
:= -fit-uImage.itb
28 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
32 define Device
/FitzImage
33 KERNEL_SUFFIX
:= -fit-zImage.itb
34 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
40 IMAGES
:= nand-factory.ubi nand-sysupgrade.bin
41 IMAGE
/nand-factory.ubi
:= append-ubi
42 IMAGE
/nand-sysupgrade.bin
:= sysupgrade-tar | append-metadata
45 define Device
/DniImage
46 KERNEL_SUFFIX
:= -fit-uImage.itb
47 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
51 IMAGES
:= factory.img sysupgrade.bin
52 IMAGE
/factory.img
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | netgear-dni
53 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | append-metadata
56 define Build
/append-rootfshdr
57 mkimage
-A
$(LINUX_KARCH
) \
58 -O linux
-T filesystem \
59 -C lzma
-a
$(KERNEL_LOADADDR
) -e
$(if
$(KERNEL_ENTRY
),$(KERNEL_ENTRY
),$(KERNEL_LOADADDR
)) \
60 -n root.squashfs
-d
$(IMAGE_ROOTFS
) $@.new
61 dd if
=$@.new bs
=64 count
=1 >> $(IMAGE_KERNEL
)
64 define Build
/mkmylofw_32m
65 $(eval device_id
=$(word 1,$(1)))
66 $(eval revision
=$(word 2,$(1)))
69 size
="$$(stat -c%s $@)" \
70 pad
="$(subst k,* 1024,$(BLOCKSIZE))" \
71 pad
="(pad - (size % pad)) % pad" \
72 newsize
='size + pad'; \
73 $(STAGING_DIR_HOST
)/bin
/mkmylofw \
74 -B WPE72
-i
0x11f6:$(device_id
):0x11f6:$(device_id
) -r
$(revision
) \
75 -s
0x2000000 -p0x180000
:$$newsize:al
:0x80208000:"OpenWrt":$@ \
80 define Build
/qsdk-ipq-factory-nand-askey
81 $(TOPDIR
)/scripts
/mkits-qsdk-ipq-image.sh
$@.its\
82 askey_kernel
$(IMAGE_KERNEL
) \
83 askey_fs
$(IMAGE_ROOTFS
) \
85 PATH
=$(LINUX_DIR
)/scripts
/dtc
:$(PATH
) mkimage
-f
$@.its
$@.new
90 -$(STAGING_DIR_HOST
)/bin
/mksenaofw \
91 -n
$(BOARD_NAME
) -r
$(VENDOR_ID
) -p
$(1) \
92 -c
$(DATECODE
) -w
$(2) -x
$(CW_VER
) -t
0 \
98 define Build
/wrgg-image
101 -d
"$(WRGG_DEVNAME)" \
102 -s
"$(WRGG_SIGNATURE)" \
107 define Device
/8dev_habanero-dvk
108 $(call Device
/FitImageLzma
)
109 DEVICE_VENDOR
:= 8devices
110 DEVICE_MODEL
:= Habanero DVK
113 DEVICE_PACKAGES
:= ipq-wifi-8dev_habanero-dvk
114 IMAGES
:= sysupgrade.bin
115 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | append-rootfs | pad-rootfs | append-metadata | check-size
117 TARGET_DEVICES
+= 8dev_habanero-dvk
119 define Device
/8dev_jalapeno-common
120 $(call Device
/FitImage
)
121 $(call Device
/UbiFit
)
127 define Device
/8dev_jalapeno
128 $(call Device
/8dev_jalapeno-common
)
129 DEVICE_VENDOR
:= 8devices
130 DEVICE_MODEL
:= Jalapeno
132 TARGET_DEVICES
+= 8dev_jalapeno
134 define Device
/alfa-network_ap120c-ac
135 $(call Device
/FitImage
)
136 $(call Device
/UbiFit
)
137 DEVICE_VENDOR
:= ALFA Network
138 DEVICE_MODEL
:= AP120C-AC
140 DEVICE_PACKAGES
:= kmod-usb-acm \
141 kmod-tpm-i2c-atmel uboot-envtools
145 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
146 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
148 TARGET_DEVICES
+= alfa-network_ap120c-ac
150 define Device
/aruba_glenmorangie
151 $(call Device
/FitImageLzma
)
152 DEVICE_VENDOR
:= Aruba
154 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
155 IMAGES
:= sysupgrade.bin
158 define Device
/aruba_ap-303
159 $(call Device
/aruba_glenmorangie
)
160 DEVICE_MODEL
:= AP-303
162 TARGET_DEVICES
+= aruba_ap-303
164 define Device
/aruba_ap-303h
165 $(call Device
/aruba_glenmorangie
)
166 DEVICE_MODEL
:= AP-303H
168 TARGET_DEVICES
+= aruba_ap-303h
170 define Device
/aruba_ap-365
171 $(call Device
/aruba_glenmorangie
)
172 DEVICE_MODEL
:= AP-365
173 DEVICE_PACKAGES
+= kmod-hwmon-ad7418
175 TARGET_DEVICES
+= aruba_ap-365
177 define Device
/asus_map-ac2200
178 $(call Device
/FitImageLzma
)
179 DEVICE_VENDOR
:= ASUS
180 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
182 IMAGES
:= sysupgrade.bin
183 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
185 TARGET_DEVICES
+= asus_map-ac2200
187 define Device
/asus_rt-ac58u
188 $(call Device
/FitImageLzma
)
189 DEVICE_VENDOR
:= ASUS
190 DEVICE_MODEL
:= RT-AC58U
195 IMAGE_SIZE
:= 20439364
196 FILESYSTEMS
:= squashfs
197 # Someone - in their infinite wisdom - decided to put the firmware
198 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
199 # Since u-boot works with strings we either need another fixup step
200 # to add a version... or we are very careful not to add '\0' into that
201 # string and call it a day.... Yeah, we do the latter!
202 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
203 IMAGES
:= sysupgrade.bin
204 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
205 kmod-usb-ledtrig-usbport
207 TARGET_DEVICES
+= asus_rt-ac58u
209 define Device
/avm_fritzbox-4040
210 $(call Device
/FitImageLzma
)
212 DEVICE_MODEL
:= FRITZ
!Box
4040
214 BOARD_NAME
:= fritz4040
216 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
217 UBOOT_PARTITION_SIZE
:= 524288
218 IMAGES
= eva.bin sysupgrade.bin
219 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
220 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
221 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
223 TARGET_DEVICES
+= avm_fritzbox-4040
225 define Device
/avm_fritzbox-7530
226 $(call Device
/FitImageLzma
)
228 DEVICE_MODEL
:= FRITZ
!Box
7530
230 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
231 IMAGES
:= sysupgrade.bin
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
241 IMAGES
:= sysupgrade.bin
243 TARGET_DEVICES
+= avm_fritzrepeater-1200
245 define Device
/avm_fritzrepeater-3000
246 $(call Device
/FitImageLzma
)
248 DEVICE_MODEL
:= FRITZ
!Repeater
3000
250 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
251 IMAGES
:= sysupgrade.bin
253 TARGET_DEVICES
+= avm_fritzrepeater-3000
255 define Device
/cellc_rtl30vw
256 KERNEL_SUFFIX
:= -fit-uImage.itb
257 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
258 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
261 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
262 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
263 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
264 DEVICE_VENDOR
:= Cell C
265 DEVICE_MODEL
:= RTL30VW
267 DEVICE_DTS_CONFIG
:= config@
5
273 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
275 TARGET_DEVICES
+= cellc_rtl30vw
277 define Device
/cilab_meshpoint-one
278 $(call Device
/8dev_jalapeno-common
)
279 DEVICE_VENDOR
:= Crisis Innovation Lab
280 DEVICE_MODEL
:= MeshPoint.One
281 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
283 TARGET_DEVICES
+= cilab_meshpoint-one
285 define Device
/compex_wpj419
286 $(call Device
/FitImage
)
287 $(call Device
/UbiFit
)
288 DEVICE_VENDOR
:= Compex
289 DEVICE_MODEL
:= WPJ419
291 DEVICE_DTS_CONFIG
:= config@
12
295 FILESYSTEMS
:= squashfs
297 TARGET_DEVICES
+= compex_wpj419
299 define Device
/compex_wpj428
300 $(call Device
/FitImage
)
301 DEVICE_VENDOR
:= Compex
302 DEVICE_MODEL
:= WPJ428
304 DEVICE_DTS_CONFIG
:= config@
4
308 IMAGES
= sysupgrade.bin cpximg-6a04.bin
309 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
310 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
311 DEVICE_PACKAGES
:= kmod-gpio-beeper
313 TARGET_DEVICES
+= compex_wpj428
315 define Device
/dlink_dap-2610
316 $(call Device
/FitImageLzma
)
317 DEVICE_VENDOR
:= D-Link
318 DEVICE_MODEL
:= DAP-2610
320 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c1
322 WRGG_DEVNAME
:= /dev
/mtdblock
/8
323 WRGG_SIGNATURE
:= wapac30_dkbs_dap2610
325 IMAGES
:= sysupgrade.bin factory.bin
326 # Bootloader expects a special 160 byte header which is added by
328 # Factory image size must be larger than 6MB, and size in wrgg header must
329 # match actual factory image size to be flashable from D-Link http server.
330 # Bootloader verifies checksum of wrgg image before booting, thus jffs2
331 # cannot be part of the wrgg image. This is solved in the factory image by
332 # having the rootfs at the end of the image (without pad-rootfs). And in
333 # the sysupgrade image only the kernel is included in the wrgg checksum,
334 # but this is not flashable from the D-link http server.
335 # append-rootfs must start on an erase block boundary.
336 IMAGE
/factory.bin
:= append-kernel | pad-offset
6144k
160 | append-rootfs | wrgg-image | check-size
337 IMAGE
/sysupgrade.bin
:= append-kernel | wrgg-image | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
338 DEVICE_PACKAGES
:= ipq-wifi-dlink_dap2610
340 TARGET_DEVICES
+= dlink_dap-2610
342 define Device
/engenius_eap1300
343 $(call Device
/FitImage
)
344 DEVICE_VENDOR
:= EnGenius
345 DEVICE_MODEL
:= EAP1300
346 DEVICE_DTS_CONFIG
:= config@
4
347 BOARD_NAME
:= eap1300
351 IMAGES
:= sysupgrade.bin
352 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
354 TARGET_DEVICES
+= engenius_eap1300
356 define Device
/engenius_eap2200
357 $(call Device
/FitImage
)
358 $(call Device
/UbiFit
)
359 DEVICE_VENDOR
:= EnGenius
360 DEVICE_MODEL
:= EAP2200
364 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
366 TARGET_DEVICES
+= engenius_eap2200
368 define Device
/engenius_emd1
369 $(call Device
/FitImage
)
370 DEVICE_VENDOR
:= EnGenius
372 DEVICE_DTS_CONFIG
:= config@
4
375 IMAGES
:= sysupgrade.bin factory.bin
376 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
377 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
379 TARGET_DEVICES
+= engenius_emd1
381 define Device
/engenius_emr3500
382 $(call Device
/FitImage
)
383 DEVICE_VENDOR
:= EnGenius
384 DEVICE_MODEL
:= EMR3500
385 DEVICE_DTS_CONFIG
:= config@
4
389 IMAGES
:= sysupgrade.bin factory.bin
390 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
391 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
393 TARGET_DEVICES
+= engenius_emr3500
395 define Device
/engenius_ens620ext
396 $(call Device
/FitImage
)
397 DEVICE_VENDOR
:= EnGenius
398 DEVICE_MODEL
:= ENS620EXT
400 DEVICE_DTS_CONFIG
:= config@
4
403 BOARD_NAME
:= ENS620EXT
406 PRODUCT_ID_NEW
:= 0xA4
413 FILESYSTEMS
:= squashfs
414 IMAGES
:= sysupgrade.bin factory_30.bin factory_35.bin
415 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
416 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
417 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
419 TARGET_DEVICES
+= engenius_ens620ext
421 define Device
/ezviz_cs-w3-wd1200g-eup
422 $(call Device
/FitImage
)
423 DEVICE_VENDOR
:= EZVIZ
424 DEVICE_MODEL
:= CS-W3-WD1200G
425 DEVICE_VARIANT
:= EUP
426 DEVICE_DTS_CONFIG
:= config@
4
429 IMAGES
:= sysupgrade.bin
430 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
432 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
433 ipq-wifi-ezviz_cs-w3-wd1200g-eup
435 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
437 define Device
/glinet_gl-b1300
438 $(call Device
/FitImage
)
439 DEVICE_VENDOR
:= GL.iNet
440 DEVICE_MODEL
:= GL-B1300
441 BOARD_NAME
:= gl-b1300
445 IMAGES
:= sysupgrade.bin
446 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
448 TARGET_DEVICES
+= glinet_gl-b1300
450 define Device
/linksys_ea6350v3
451 # The Linksys EA6350v3 has a uboot bootloader that does not
452 # support either booting lzma kernel images nor booting UBI
453 # partitions. This uboot, however, supports raw kernel images and
456 # As for the time of writing this, the device will boot the kernel
457 # from a fixed address with a fixed length of 3MiB. Also, the
458 # device has a hard-coded kernel command line that requieres the
459 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
460 # Oh... and the kernel partition overlaps with the rootfs
461 # partition (the same for alt_kernel and alt_rootfs).
463 # If you are planing re-partitioning the device, you may want to
464 # keep those details in mind:
465 # 1. The kernel adresses you should honor are 0x00000000 and
466 # 0x02800000 respectively.
467 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
468 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
469 # 4. The kernel command line from uboot is harcoded to boot with
470 # rootfs either in mtd11 or mtd13.
471 $(call Device
/FitzImage
)
472 DEVICE_VENDOR
:= Linksys
473 DEVICE_MODEL
:= EA6350
481 IMAGES
:= factory.bin sysupgrade.bin
482 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
483 DEVICE_PACKAGES
:= uboot-envtools
485 TARGET_DEVICES
+= linksys_ea6350v3
487 define Device
/linksys_ea8300
488 $(call Device
/FitzImage
)
489 DEVICE_VENDOR
:= Linksys
490 DEVICE_MODEL
:= EA8300
496 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
497 IMAGES
:= sysupgrade.bin factory.bin
498 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
499 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
501 TARGET_DEVICES
+= linksys_ea8300
503 define Device
/meraki_mr33
504 $(call Device
/FitImage
)
505 DEVICE_VENDOR
:= Cisco Meraki
510 IMAGES
= sysupgrade.bin
511 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
513 TARGET_DEVICES
+= meraki_mr33
515 define Device
/mobipromo_cm520-79f
516 $(call Device
/FitzImage
)
517 $(call Device
/UbiFit
)
518 DEVICE_VENDOR
:= MobiPromo
519 DEVICE_MODEL
:= CM520-79F
523 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
525 TARGET_DEVICES
+= mobipromo_cm520-79f
527 define Device
/netgear_ex61x0v2
528 $(call Device
/DniImage
)
529 DEVICE_DTS_CONFIG
:= config@
4
530 NETGEAR_BOARD_ID
:= EX6150v2series
531 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
535 define Device
/netgear_ex6100v2
536 $(call Device
/netgear_ex61x0v2
)
537 DEVICE_VENDOR
:= Netgear
538 DEVICE_MODEL
:= EX6100
541 TARGET_DEVICES
+= netgear_ex6100v2
543 define Device
/netgear_ex6150v2
544 $(call Device
/netgear_ex61x0v2
)
545 DEVICE_VENDOR
:= Netgear
546 DEVICE_MODEL
:= EX6150
549 TARGET_DEVICES
+= netgear_ex6150v2
551 define Device
/openmesh_a42
552 $(call Device
/FitImageLzma
)
553 DEVICE_VENDOR
:= OpenMesh
556 DEVICE_DTS_CONFIG
:= config@om.a42
558 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
560 IMAGES
= factory.bin sysupgrade.bin
561 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
562 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
563 DEVICE_PACKAGES
:= uboot-envtools
565 TARGET_DEVICES
+= openmesh_a42
567 define Device
/openmesh_a62
568 $(call Device
/FitImageLzma
)
569 DEVICE_VENDOR
:= OpenMesh
572 DEVICE_DTS_CONFIG
:= config@om.a62
574 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
576 IMAGES
= factory.bin sysupgrade.bin
577 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
578 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
579 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct uboot-envtools
582 TARGET_DEVICES
+= openmesh_a62
584 define Device
/qcom_ap-dk01.1
-c1
585 DEVICE_VENDOR
:= Qualcomm Atheros
586 DEVICE_MODEL
:= AP-DK01.1
588 BOARD_NAME
:= ap-dk01.1
-c1
590 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
594 $(call Device
/FitImage
)
595 IMAGES
:= sysupgrade.bin
596 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
598 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
600 define Device
/qcom_ap-dk04.1
-c1
601 $(call Device
/FitImage
)
602 $(call Device
/UbiFit
)
603 DEVICE_VENDOR
:= Qualcomm Atheros
604 DEVICE_MODEL
:= AP-DK04.1
607 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
612 BOARD_NAME
:= ap-dk04.1
-c1
614 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
616 define Device
/qxwlan_e2600ac-c1
617 $(call Device
/FitImage
)
618 DEVICE_VENDOR
:= Qxwlan
619 DEVICE_MODEL
:= E2600AC
621 BOARD_NAME
:= e2600ac-c1
625 IMAGES
:= sysupgrade.bin
626 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
627 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
629 TARGET_DEVICES
+= qxwlan_e2600ac-c1
631 define Device
/qxwlan_e2600ac-c2
632 $(call Device
/FitImage
)
633 $(call Device
/UbiFit
)
634 DEVICE_VENDOR
:= Qxwlan
635 DEVICE_MODEL
:= E2600AC
641 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
643 TARGET_DEVICES
+= qxwlan_e2600ac-c2
645 define Device
/unielec_u4019-32m
646 $(call Device
/FitImage
)
647 DEVICE_VENDOR
:= Unielec
648 DEVICE_MODEL
:= U4019
649 DEVICE_VARIANT
:= 32M
650 BOARD_NAME
:= u4019-32m
654 IMAGES
:= sysupgrade.bin
655 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
657 TARGET_DEVICES
+= unielec_u4019-32m
659 define Device
/zyxel_nbg6617
660 $(call Device
/FitImageLzma
)
661 DEVICE_VENDOR
:= ZyXEL
662 DEVICE_MODEL
:= NBG6617
664 ROOTFS_SIZE
:= 24960k
666 RAS_ROOTFS_SIZE
:= 19840k
667 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
668 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
669 IMAGES
:= sysupgrade.bin factory.bin
670 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
671 # at least as large as the one of the initial firmware image (not the current
672 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
673 # this minimum-size. However, the larger image can be flashed both ways.
674 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
675 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
676 DEVICE_PACKAGES
:= uboot-envtools kmod-usb-ledtrig-usbport
678 TARGET_DEVICES
+= zyxel_nbg6617
680 define Device
/zyxel_wre6606
681 $(call Device
/FitImage
)
682 DEVICE_VENDOR
:= ZyXEL
683 DEVICE_MODEL
:= WRE6606
684 DEVICE_DTS_CONFIG
:= config@
4
686 IMAGES
:= sysupgrade.bin
687 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
688 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
690 TARGET_DEVICES
+= zyxel_wre6606
692 $(eval
$(call BuildImage
))