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 IMAGES
:= sysupgrade.bin
17 IMAGE
/sysupgrade.bin
= sysupgrade-tar | append-metadata
18 IMAGE
/sysupgrade.bin
/squashfs
:=
21 define Device
/FitImage
22 KERNEL_SUFFIX
:= -fit-uImage.itb
23 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
27 define Device
/FitImageLzma
28 KERNEL_SUFFIX
:= -fit-uImage.itb
29 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
33 define Device
/FitzImage
34 KERNEL_SUFFIX
:= -fit-zImage.itb
35 KERNEL
= kernel-bin | fit none
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
41 IMAGES
:= nand-factory.ubi nand-sysupgrade.bin
42 IMAGE
/nand-factory.ubi
:= append-ubi
43 IMAGE
/nand-sysupgrade.bin
:= sysupgrade-tar | append-metadata
46 define Device
/DniImage
47 $(call Device
/FitzImage
)
51 IMAGE
/factory.img
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | append-rootfs | pad-rootfs | netgear-dni
52 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
64k
64 | append-uImage-fakehdr filesystem | \
53 append-rootfs | pad-rootfs | append-metadata | check-size
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 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
64k | append-rootfs | pad-rootfs | append-metadata | check-size
116 TARGET_DEVICES
+= 8dev_habanero-dvk
118 define Device
/8dev_jalapeno-common
119 $(call Device
/FitImage
)
120 $(call Device
/UbiFit
)
126 define Device
/8dev_jalapeno
127 $(call Device
/8dev_jalapeno-common
)
128 DEVICE_VENDOR
:= 8devices
129 DEVICE_MODEL
:= Jalapeno
131 TARGET_DEVICES
+= 8dev_jalapeno
133 define Device
/alfa-network_ap120c-ac
134 $(call Device
/FitImage
)
135 $(call Device
/UbiFit
)
136 DEVICE_VENDOR
:= ALFA Network
137 DEVICE_MODEL
:= AP120C-AC
139 DEVICE_PACKAGES
:= kmod-usb-acm \
140 kmod-tpm-i2c-atmel uboot-envtools
144 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
145 IMAGE
/nand-factory.bin
:= append-ubi | qsdk-ipq-factory-nand
147 TARGET_DEVICES
+= alfa-network_ap120c-ac
149 define Device
/aruba_glenmorangie
150 $(call Device
/FitImageLzma
)
151 DEVICE_VENDOR
:= Aruba
153 DEVICE_PACKAGES
:= ipq-wifi-aruba_ap-303
156 define Device
/aruba_ap-303
157 $(call Device
/aruba_glenmorangie
)
158 DEVICE_MODEL
:= AP-303
160 TARGET_DEVICES
+= aruba_ap-303
162 define Device
/aruba_ap-303h
163 $(call Device
/aruba_glenmorangie
)
164 DEVICE_MODEL
:= AP-303H
166 TARGET_DEVICES
+= aruba_ap-303h
168 define Device
/aruba_ap-365
169 $(call Device
/aruba_glenmorangie
)
170 DEVICE_MODEL
:= AP-365
171 DEVICE_PACKAGES
+= kmod-hwmon-ad7418
173 TARGET_DEVICES
+= aruba_ap-365
175 define Device
/asus_map-ac2200
176 $(call Device
/FitImageLzma
)
177 DEVICE_VENDOR
:= ASUS
178 DEVICE_MODEL
:= Lyra
(MAP-AC2200
)
180 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct kmod-ath3k
182 TARGET_DEVICES
+= asus_map-ac2200
184 define Device
/asus_rt-ac58u
185 $(call Device
/FitImageLzma
)
186 DEVICE_VENDOR
:= ASUS
187 DEVICE_MODEL
:= RT-AC58U
192 IMAGE_SIZE
:= 20439364
193 FILESYSTEMS
:= squashfs
194 # Someone - in their infinite wisdom - decided to put the firmware
195 # version in front of the image name \03\00\00\04 => Version 3.0.0.4
196 # Since u-boot works with strings we either need another fixup step
197 # to add a version... or we are very careful not to add '\0' into that
198 # string and call it a day.... Yeah, we do the latter!
199 UIMAGE_NAME
:=$(shell echo
-e
'\03\01\01\01RT-AC58U')
200 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
201 kmod-usb-ledtrig-usbport
203 TARGET_DEVICES
+= asus_rt-ac58u
205 define Device
/avm_fritzbox-4040
206 $(call Device
/FitImageLzma
)
208 DEVICE_MODEL
:= FRITZ
!Box
4040
210 BOARD_NAME
:= fritz4040
212 UBOOT_PATH
:= $(STAGING_DIR_IMAGE
)/uboot-fritz4040.bin
213 UBOOT_PARTITION_SIZE
:= 524288
215 IMAGE
/eva.bin
:= append-uboot | pad-to
$$$$(UBOOT_PARTITION_SIZE
) | append-kernel | append-rootfs | pad-rootfs
216 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
217 DEVICE_PACKAGES
:= fritz-tffs fritz-caldata
219 TARGET_DEVICES
+= avm_fritzbox-4040
221 define Device
/avm_fritzbox-7530
222 $(call Device
/FitImageLzma
)
224 DEVICE_MODEL
:= FRITZ
!Box
7530
226 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand
228 TARGET_DEVICES
+= avm_fritzbox-7530
230 define Device
/avm_fritzrepeater-1200
231 $(call Device
/FitImageLzma
)
233 DEVICE_MODEL
:= FRITZ
!Repeater
1200
235 DEVICE_PACKAGES
:= fritz-caldata fritz-tffs-nand ipq-wifi-avm_fritzrepeater-1200
237 TARGET_DEVICES
+= avm_fritzrepeater-1200
239 define Device
/avm_fritzrepeater-3000
240 $(call Device
/FitImageLzma
)
242 DEVICE_MODEL
:= FRITZ
!Repeater
3000
244 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand
246 TARGET_DEVICES
+= avm_fritzrepeater-3000
248 define Device
/buffalo_wtr-m2133hp
249 $(call Device
/FitImage
)
250 $(call Device
/UbiFit
)
251 DEVICE_VENDOR
:= Buffalo
252 DEVICE_MODEL
:= WTR-M2133HP
254 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9984-ct ipq-wifi-buffalo_wtr-m2133hp
258 TARGET_DEVICES
+= buffalo_wtr-m2133hp
260 define Device
/cellc_rtl30vw
261 KERNEL_SUFFIX
:= -fit-uImage.itb
262 KERNEL_INITRAMFS
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb
263 KERNEL
= kernel-bin | gzip | fit gzip
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | uImage lzma | pad-to
2048
266 IMAGES
:= nand-factory.bin nand-sysupgrade.bin
267 IMAGE
/nand-factory.bin
:= append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey
268 IMAGE
/nand-sysupgrade.bin
:= append-rootfshdr | sysupgrade-tar | append-metadata
269 DEVICE_VENDOR
:= Cell C
270 DEVICE_MODEL
:= RTL30VW
272 DEVICE_DTS_CONFIG
:= config@
5
278 DEVICE_PACKAGES
:= kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw
280 TARGET_DEVICES
+= cellc_rtl30vw
282 define Device
/cilab_meshpoint-one
283 $(call Device
/8dev_jalapeno-common
)
284 DEVICE_VENDOR
:= Crisis Innovation Lab
285 DEVICE_MODEL
:= MeshPoint.One
286 DEVICE_PACKAGES
:= kmod-i2c-gpio kmod-iio-bmp280-i2c kmod-hwmon-ina2xx kmod-rtc-pcf2127
288 TARGET_DEVICES
+= cilab_meshpoint-one
290 define Device
/compex_wpj419
291 $(call Device
/FitImage
)
292 $(call Device
/UbiFit
)
293 DEVICE_VENDOR
:= Compex
294 DEVICE_MODEL
:= WPJ419
296 DEVICE_DTS_CONFIG
:= config@
12
300 FILESYSTEMS
:= squashfs
302 TARGET_DEVICES
+= compex_wpj419
304 define Device
/compex_wpj428
305 $(call Device
/FitImage
)
306 DEVICE_VENDOR
:= Compex
307 DEVICE_MODEL
:= WPJ428
309 DEVICE_DTS_CONFIG
:= config@
4
313 IMAGES
+= cpximg-6a04.bin
314 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
315 IMAGE
/cpximg-6a04.bin
:= append-kernel | append-rootfs | pad-rootfs | mkmylofw_32m
0x8A2 3
316 DEVICE_PACKAGES
:= kmod-gpio-beeper
318 TARGET_DEVICES
+= compex_wpj428
320 define Device
/dlink_dap-2610
321 $(call Device
/FitImageLzma
)
322 DEVICE_VENDOR
:= D-Link
323 DEVICE_MODEL
:= DAP-2610
325 DEVICE_DTS_CONFIG
:= config@ap.dk01.1
-c1
327 WRGG_DEVNAME
:= /dev
/mtdblock
/8
328 WRGG_SIGNATURE
:= wapac30_dkbs_dap2610
330 IMAGES
+= factory.bin
331 # Bootloader expects a special 160 byte header which is added by
333 # Factory image size must be larger than 6MB, and size in wrgg header must
334 # match actual factory image size to be flashable from D-Link http server.
335 # Bootloader verifies checksum of wrgg image before booting, thus jffs2
336 # cannot be part of the wrgg image. This is solved in the factory image by
337 # having the rootfs at the end of the image (without pad-rootfs). And in
338 # the sysupgrade image only the kernel is included in the wrgg checksum,
339 # but this is not flashable from the D-link http server.
340 # append-rootfs must start on an erase block boundary.
341 IMAGE
/factory.bin
:= append-kernel | pad-offset
6144k
160 | append-rootfs | wrgg-image | check-size
342 IMAGE
/sysupgrade.bin
:= append-kernel | wrgg-image | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
343 DEVICE_PACKAGES
:= ipq-wifi-dlink_dap2610
345 TARGET_DEVICES
+= dlink_dap-2610
347 define Device
/edgecore_ecw5211
348 $(call Device
/FitImage
)
349 $(call Device
/UbiFit
)
350 DEVICE_VENDOR
:= Edgecore
351 DEVICE_MODEL
:= ECW5211
355 DEVICE_PACKAGES
:= kmod-tpm-i2c-atmel kmod-usb-acm uboot-envtools
357 TARGET_DEVICES
+= edgecore_ecw5211
359 define Device
/edgecore_oap100
360 $(call Device
/FitImage
)
361 $(call Device
/UbiFit
)
362 DEVICE_VENDOR
:= Edgecore
363 DEVICE_MODEL
:= OAP100
367 IMAGES
:= nand-sysupgrade.bin
368 DEVICE_DTS_CONFIG
:= config@ap.dk07.1
-c1
369 DEVICE_PACKAGES
:= ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
371 TARGET_DEVICES
+= edgecore_oap100
373 define Device
/engenius_eap1300
374 $(call Device
/FitImage
)
375 DEVICE_VENDOR
:= EnGenius
376 DEVICE_MODEL
:= EAP1300
377 DEVICE_DTS_CONFIG
:= config@
4
378 BOARD_NAME
:= eap1300
382 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
384 TARGET_DEVICES
+= engenius_eap1300
386 define Device
/engenius_eap2200
387 $(call Device
/FitImage
)
388 $(call Device
/UbiFit
)
389 DEVICE_VENDOR
:= EnGenius
390 DEVICE_MODEL
:= EAP2200
394 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct ipq-wifi-engenius_eap2200
-kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
396 TARGET_DEVICES
+= engenius_eap2200
398 define Device
/engenius_emd1
399 $(call Device
/FitImage
)
400 DEVICE_VENDOR
:= EnGenius
402 DEVICE_DTS_CONFIG
:= config@
4
405 IMAGES
+= factory.bin
406 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
407 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
409 TARGET_DEVICES
+= engenius_emd1
411 define Device
/engenius_emr3500
412 $(call Device
/FitImage
)
413 DEVICE_VENDOR
:= EnGenius
414 DEVICE_MODEL
:= EMR3500
415 DEVICE_DTS_CONFIG
:= config@
4
419 IMAGES
+= factory.bin
420 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
421 IMAGE
/factory.bin
:= qsdk-ipq-factory-nor | check-size
423 TARGET_DEVICES
+= engenius_emr3500
425 define Device
/engenius_ens620ext
426 $(call Device
/FitImage
)
427 DEVICE_VENDOR
:= EnGenius
428 DEVICE_MODEL
:= ENS620EXT
430 DEVICE_DTS_CONFIG
:= config@
4
433 BOARD_NAME
:= ENS620EXT
436 PRODUCT_ID_NEW
:= 0xA4
443 FILESYSTEMS
:= squashfs
444 IMAGES
+= factory_30.bin factory_35.bin
445 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
446 IMAGE
/factory_30.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | check-size | SenaoFW
$$$$(PRODUCT_ID
) $$$$(FW_VER
)
447 IMAGE
/factory_35.bin
:= qsdk-ipq-factory-nor | check-size | SenaoFW
$$$$(PRODUCT_ID_NEW
) $$$$(FW_VER_NEW
)
449 TARGET_DEVICES
+= engenius_ens620ext
451 define Device
/ezviz_cs-w3-wd1200g-eup
452 $(call Device
/FitImage
)
453 DEVICE_VENDOR
:= EZVIZ
454 DEVICE_MODEL
:= CS-W3-WD1200G
455 DEVICE_VARIANT
:= EUP
456 DEVICE_DTS_CONFIG
:= config@
4
459 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | \
461 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers \
462 ipq-wifi-ezviz_cs-w3-wd1200g-eup
464 TARGET_DEVICES
+= ezviz_cs-w3-wd1200g-eup
466 define Device
/glinet_gl-b1300
467 $(call Device
/FitImage
)
468 DEVICE_VENDOR
:= GL.iNet
469 DEVICE_MODEL
:= GL-B1300
470 BOARD_NAME
:= gl-b1300
474 IMAGE
/sysupgrade.bin
:= append-kernel |append-rootfs | pad-rootfs | append-metadata
476 TARGET_DEVICES
+= glinet_gl-b1300
478 define Device
/glinet_gl-s1300
479 $(call Device
/FitImage
)
480 DEVICE_VENDOR
:= GL.iNet
481 DEVICE_MODEL
:= GL-S1300
485 IMAGES
:= sysupgrade.bin
486 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
487 DEVICE_PACKAGES
:= ipq-wifi-glinet_gl-s1300 kmod-fs-ext4 kmod-mmc kmod-spi-dev
489 TARGET_DEVICES
+= glinet_gl-s1300
491 define Device
/linksys_ea6350v3
492 # The Linksys EA6350v3 has a uboot bootloader that does not
493 # support either booting lzma kernel images nor booting UBI
494 # partitions. This uboot, however, supports raw kernel images and
497 # As for the time of writing this, the device will boot the kernel
498 # from a fixed address with a fixed length of 3MiB. Also, the
499 # device has a hard-coded kernel command line that requieres the
500 # rootfs and alt_rootfs to be in mtd11 and mtd13 respectively.
501 # Oh... and the kernel partition overlaps with the rootfs
502 # partition (the same for alt_kernel and alt_rootfs).
504 # If you are planing re-partitioning the device, you may want to
505 # keep those details in mind:
506 # 1. The kernel adresses you should honor are 0x00000000 and
507 # 0x02800000 respectively.
508 # 2. The kernel size (plus the dtb) cannot exceed 3.00MiB in size.
509 # 3. You can use 'zImage', but not a raw 'Image' packed with lzma.
510 # 4. The kernel command line from uboot is harcoded to boot with
511 # rootfs either in mtd11 or mtd13.
512 $(call Device
/FitzImage
)
513 DEVICE_VENDOR
:= Linksys
514 DEVICE_MODEL
:= EA6350
522 IMAGES
+= factory.bin
523 IMAGE
/factory.bin
:= append-kernel | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA6350v3
524 DEVICE_PACKAGES
:= uboot-envtools
526 TARGET_DEVICES
+= linksys_ea6350v3
528 define Device
/linksys_ea8300
529 $(call Device
/FitzImage
)
530 DEVICE_VENDOR
:= Linksys
531 DEVICE_MODEL
:= EA8300
537 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
538 IMAGES
+= factory.bin
539 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=EA8300
540 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9888-ct ipq-wifi-linksys_ea8300 kmod-usb-ledtrig-usbport
542 TARGET_DEVICES
+= linksys_ea8300
544 define Device
/linksys_mr8300
545 $(call Device
/FitzImage
)
546 DEVICE_VENDOR
:= Linksys
547 DEVICE_MODEL
:= MR8300
553 UBINIZE_OPTS
:= -E
5 # EOD marks to "hide" factory sig at EOF
554 IMAGES
+= factory.bin
555 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MR8300
556 DEVICE_PACKAGES
:= uboot-envtools ath10k-firmware-qca9888-ct ipq-wifi-linksys_mr8300-v0 kmod-usb-ledtrig-usbport
558 TARGET_DEVICES
+= linksys_mr8300
560 define Device
/luma_wrtq-329acn
561 $(call Device
/FitImage
)
562 DEVICE_VENDOR
:= Luma Home
563 DEVICE_MODEL
:= WRTQ-329ACN
565 DEVICE_PACKAGES
:= ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio uboot-envtools
570 TARGET_DEVICES
+= luma_wrtq-329acn
572 define Device
/meraki_mr33
573 $(call Device
/FitImage
)
574 DEVICE_VENDOR
:= Cisco Meraki
579 DEVICE_PACKAGES
:= -swconfig ath10k-firmware-qca9887-ct
581 TARGET_DEVICES
+= meraki_mr33
583 define Device
/mobipromo_cm520-79f
584 $(call Device
/FitzImage
)
585 $(call Device
/UbiFit
)
586 DEVICE_VENDOR
:= MobiPromo
587 DEVICE_MODEL
:= CM520-79F
591 DEVICE_PACKAGES
:= ipq-wifi-mobipromo_cm520-79f kmod-usb-ledtrig-usbport
593 TARGET_DEVICES
+= mobipromo_cm520-79f
595 define Device
/netgear_ex61x0v2
596 $(call Device
/DniImage
)
597 DEVICE_DTS_CONFIG
:= config@
4
598 NETGEAR_BOARD_ID
:= EX6150v2series
599 NETGEAR_HW_ID
:= 29765285+16+0+128+2x2
604 define Device
/netgear_ex6100v2
605 $(call Device
/netgear_ex61x0v2
)
606 DEVICE_VENDOR
:= Netgear
607 DEVICE_MODEL
:= EX6100
610 TARGET_DEVICES
+= netgear_ex6100v2
612 define Device
/netgear_ex6150v2
613 $(call Device
/netgear_ex61x0v2
)
614 DEVICE_VENDOR
:= Netgear
615 DEVICE_MODEL
:= EX6150
618 TARGET_DEVICES
+= netgear_ex6150v2
620 define Device
/openmesh_a42
621 $(call Device
/FitImageLzma
)
622 DEVICE_VENDOR
:= OpenMesh
625 DEVICE_DTS_CONFIG
:= config@om.a42
627 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
629 IMAGES
+= factory.bin
630 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A42
631 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
632 DEVICE_PACKAGES
:= uboot-envtools
634 TARGET_DEVICES
+= openmesh_a42
636 define Device
/openmesh_a62
637 $(call Device
/FitImageLzma
)
638 DEVICE_VENDOR
:= OpenMesh
641 DEVICE_DTS_CONFIG
:= config@om.a62
643 KERNEL
= kernel-bin | lzma | fit lzma
$$(DTS_DIR
)/$$(DEVICE_DTS
).dtb | pad-to
$$(BLOCKSIZE
)
645 IMAGES
+= factory.bin
646 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | openmesh-image ce_type
=A62
647 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | sysupgrade-tar rootfs
=$$$$@ | append-metadata
648 DEVICE_PACKAGES
:= ath10k-firmware-qca9888-ct uboot-envtools
651 TARGET_DEVICES
+= openmesh_a62
653 define Device
/qcom_ap-dk01.1
-c1
654 DEVICE_VENDOR
:= Qualcomm Atheros
655 DEVICE_MODEL
:= AP-DK01.1
657 BOARD_NAME
:= ap-dk01.1
-c1
659 DEVICE_DTS
:= qcom-ipq4019-ap.dk01.1
-c1
663 $(call Device
/FitImage
)
664 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
666 TARGET_DEVICES
+= qcom_ap-dk01.1
-c1
668 define Device
/qcom_ap-dk04.1
-c1
669 $(call Device
/FitImage
)
670 $(call Device
/UbiFit
)
671 DEVICE_VENDOR
:= Qualcomm Atheros
672 DEVICE_MODEL
:= AP-DK04.1
675 DEVICE_DTS
:= qcom-ipq4019-ap.dk04.1
-c1
680 BOARD_NAME
:= ap-dk04.1
-c1
682 TARGET_DEVICES
+= qcom_ap-dk04.1
-c1
684 define Device
/qxwlan_e2600ac-c1
685 $(call Device
/FitImage
)
686 DEVICE_VENDOR
:= Qxwlan
687 DEVICE_MODEL
:= E2600AC
689 BOARD_NAME
:= e2600ac-c1
693 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
694 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
696 TARGET_DEVICES
+= qxwlan_e2600ac-c1
698 define Device
/qxwlan_e2600ac-c2
699 $(call Device
/FitImage
)
700 $(call Device
/UbiFit
)
701 DEVICE_VENDOR
:= Qxwlan
702 DEVICE_MODEL
:= E2600AC
708 DEVICE_PACKAGES
:= ipq-wifi-qxwlan_e2600ac
710 TARGET_DEVICES
+= qxwlan_e2600ac-c2
712 define Device
/unielec_u4019-32m
713 $(call Device
/FitImage
)
714 DEVICE_VENDOR
:= Unielec
715 DEVICE_MODEL
:= U4019
716 DEVICE_VARIANT
:= 32M
717 BOARD_NAME
:= u4019-32m
721 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
723 TARGET_DEVICES
+= unielec_u4019-32m
725 define Device
/zyxel_nbg6617
726 $(call Device
/FitImageLzma
)
727 DEVICE_VENDOR
:= ZyXEL
728 DEVICE_MODEL
:= NBG6617
731 ROOTFS_SIZE
:= 24960k
733 RAS_ROOTFS_SIZE
:= 19840k
734 RAS_VERSION
:= "$(VERSION_DIST) $(REVISION)"
735 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
736 IMAGES
+= factory.bin
737 # The ZyXEL firmware allows flashing thru the web-gui only when the rootfs is
738 # at least as large as the one of the initial firmware image (not the current
739 # one on the device). This only applies to the Web-UI, the bootlaoder ignores
740 # this minimum-size. However, the larger image can be flashed both ways.
741 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k | check-size
$$$$(ROOTFS_SIZE
) | zyxel-ras-image separate-kernel
742 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-rootfs | check-size
$$$$(ROOTFS_SIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
743 DEVICE_PACKAGES
:= uboot-envtools kmod-usb-ledtrig-usbport
745 TARGET_DEVICES
+= zyxel_nbg6617
747 define Device
/zyxel_wre6606
748 $(call Device
/FitImage
)
749 DEVICE_VENDOR
:= ZyXEL
750 DEVICE_MODEL
:= WRE6606
751 DEVICE_DTS_CONFIG
:= config@
4
754 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
755 DEVICE_PACKAGES
:= -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
757 TARGET_DEVICES
+= zyxel_wre6606
759 $(eval
$(call BuildImage
))