2 KERNEL_SUFFIX
:= -uImage.itb
3 KERNEL
= kernel-bin | libdeflate-gzip | fit gzip
$$(KDIR
)/image-
$$(DEVICE_DTS
).dtb
7 define Device
/FitImageLzma
8 KERNEL_SUFFIX
:= -uImage.itb
9 KERNEL
= kernel-bin | lzma | fit lzma
$$(KDIR
)/image-
$$(DEVICE_DTS
).dtb
13 define Device
/EmmcImage
14 IMAGES
+= factory.bin sysupgrade.bin
15 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
64k
16 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-to
64k | sysupgrade-tar rootfs
=$$$$@ | append-metadata
21 IMAGES
:= factory.ubi sysupgrade.bin
22 IMAGE
/factory.ubi
:= append-ubi
23 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
26 define Build
/wax6xx-netgear-tar
28 mv
$@
$@.tmp
/nand-ipq807x-apps.img
29 md5sum
$@.tmp
/nand-ipq807x-apps.img | cut
-c
1-32 > $@.tmp
/nand-ipq807x-apps.md5sum
30 echo
$(DEVICE_MODEL
) > $@.tmp
/metadata.txt
31 echo
$(DEVICE_MODEL
)"_V9.9.9.9" > $@.tmp
/version
32 tar -C
$@.tmp
/ -cf
$@ .
36 define Device
/arcadyan_aw1000
37 $(call Device
/FitImage
)
39 DEVICE_VENDOR
:= Arcadyan
40 DEVICE_MODEL
:= AW1000
43 DEVICE_DTS_CONFIG
:= config@hk09
45 DEVICE_PACKAGES
:= ipq-wifi-arcadyan_aw1000 kmod-spi-gpio \
46 kmod-gpio-nxp-74hc164 kmod-usb-serial-option uqmi
48 TARGET_DEVICES
+= arcadyan_aw1000
50 define Device
/buffalo_wxr-5950ax12
51 $(call Device
/FitImage
)
52 DEVICE_VENDOR
:= Buffalo
53 DEVICE_MODEL
:= WXR-5950AX12
56 DEVICE_DTS_CONFIG
:= config@hk01
58 IMAGES
:= sysupgrade.bin
59 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
60 DEVICE_PACKAGES
:= ipq-wifi-buffalo_wxr-5950ax12
62 TARGET_DEVICES
+= buffalo_wxr-5950ax12
64 define Device
/compex_wpq873
65 $(call Device
/FitImage
)
67 DEVICE_VENDOR
:= Compex
68 DEVICE_MODEL
:= WPQ873
71 DEVICE_DTS_CONFIG
:= config@hk09.wpq873
73 DEVICE_PACKAGES
:= ipq-wifi-compex_wpq873
74 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
76 TARGET_DEVICES
+= compex_wpq873
78 define Device
/dynalink_dl-wrx36
79 $(call Device
/FitImage
)
81 DEVICE_VENDOR
:= Dynalink
82 DEVICE_MODEL
:= DL-WRX36
85 DEVICE_DTS_CONFIG
:= config@rt5010w-d350-rev0
87 DEVICE_PACKAGES
:= ipq-wifi-dynalink_dl-wrx36
89 TARGET_DEVICES
+= dynalink_dl-wrx36
91 define Device
/edgecore_eap102
92 $(call Device
/FitImage
)
94 DEVICE_VENDOR
:= Edgecore
95 DEVICE_MODEL
:= EAP102
98 DEVICE_DTS_CONFIG
:= config@ac02
100 DEVICE_PACKAGES
:= ipq-wifi-edgecore_eap102
101 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
103 TARGET_DEVICES
+= edgecore_eap102
105 define Device
/edimax_cax1800
106 $(call Device
/FitImage
)
107 $(call Device
/UbiFit
)
108 DEVICE_VENDOR
:= Edimax
109 DEVICE_MODEL
:= CAX1800
112 DEVICE_DTS_CONFIG
:= config@ac03
114 DEVICE_PACKAGES
:= ipq-wifi-edimax_cax1800
116 TARGET_DEVICES
+= edimax_cax1800
118 define Device
/linksys_mx4200v1
119 $(call Device
/FitImage
)
120 $(call Device
/UbiFit
)
121 DEVICE_VENDOR
:= Linksys
122 DEVICE_MODEL
:= MX4200
127 IMAGE_SIZE
:= 147456k
131 IMAGES
+= factory.bin
132 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | linksys-image type
=MX4200
133 DEVICE_PACKAGES
:= kmod-leds-pca963x ipq-wifi-linksys_mx4200 kmod-bluetooth
135 TARGET_DEVICES
+= linksys_mx4200v1
137 define Device
/linksys_mx4200v2
138 $(call Device
/linksys_mx4200v1
)
141 TARGET_DEVICES
+= linksys_mx4200v2
143 define Device
/netgear_rax120v2
144 $(call Device
/FitImage
)
145 $(call Device
/UbiFit
)
146 DEVICE_VENDOR
:= Netgear
147 DEVICE_MODEL
:= RAX120v2
150 DEVICE_DTS_CONFIG
:= config@hk01
152 KERNEL_SIZE
:= 29696k
153 NETGEAR_BOARD_ID
:= RAX120
154 NETGEAR_HW_ID
:= 29765589+0+512+1024+4x4
+8x8
155 DEVICE_PACKAGES
:= ipq-wifi-netgear_rax120v2 kmod-spi-gpio \
156 kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g761
157 IMAGES
= web-ui-factory.img sysupgrade.bin
158 IMAGE
/web-ui-factory.img
:= append-image initramfs-uImage.itb | \
159 pad-offset
$$$$(BLOCKSIZE
) 64 | append-uImage-fakehdr filesystem | \
161 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
162 append-uImage-fakehdr filesystem | sysupgrade-tar kernel
=$$$$@ | \
165 TARGET_DEVICES
+= netgear_rax120v2
167 define Device
/netgear_wax218
168 $(call Device
/FitImage
)
169 $(call Device
/UbiFit
)
170 DEVICE_VENDOR
:= Netgear
171 DEVICE_MODEL
:= WAX218
172 DEVICE_DTS_CONFIG
:= config@hk07
176 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
177 ARTIFACTS
:= web-ui-factory.fit
178 ARTIFACT
/web-ui-factory.fit
:= append-image initramfs-uImage.itb | \
179 ubinize-kernel | qsdk-ipq-factory-nand
181 DEVICE_PACKAGES
:= kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
182 ipq-wifi-netgear_wax218
184 TARGET_DEVICES
+= netgear_wax218
186 define Device
/netgear_wax620
187 $(call Device
/FitImage
)
188 $(call Device
/UbiFit
)
189 DEVICE_VENDOR
:= Netgear
190 DEVICE_MODEL
:= WAX620
191 DEVICE_DTS_CONFIG
:= config@hk07
195 DEVICE_PACKAGES
+= kmod-spi-gpio kmod-gpio-nxp-74hc164 \
196 ipq-wifi-netgear_wax620
198 TARGET_DEVICES
+= netgear_wax620
200 define Device
/netgear_wax630
201 $(call Device
/FitImage
)
202 $(call Device
/UbiFit
)
203 DEVICE_VENDOR
:= Netgear
204 DEVICE_MODEL
:= WAX630
205 DEVICE_DTS_CONFIG
:= config@hk01
209 IMAGES
:= ui-factory.
tar factory.ubi sysupgrade.bin
210 IMAGE
/ui-factory.
tar := append-ubi | wax6xx-netgear-tar
211 DEVICE_PACKAGES
+= kmod-spi-gpio ipq-wifi-netgear_wax630
213 TARGET_DEVICES
+= netgear_wax630
215 define Device
/prpl_haze
216 $(call Device
/FitImage
)
217 $(call Device
/EmmcImage
)
218 DEVICE_VENDOR
:= prpl Foundation
220 DEVICE_DTS_CONFIG
:= config@hk09
222 DEVICE_PACKAGES
+= ath11k-firmware-qcn9074 ipq-wifi-prpl_haze kmod-ath11k-pci \
223 mkf2fs f2fsck kmod-fs-f2fs
225 TARGET_DEVICES
+= prpl_haze
227 define Device
/qnap_301w
228 $(call Device
/FitImage
)
229 $(call Device
/EmmcImage
)
230 DEVICE_VENDOR
:= QNAP
232 DEVICE_DTS_CONFIG
:= config@hk01
233 KERNEL_SIZE
:= 16384k
235 DEVICE_PACKAGES
+= ipq-wifi-qnap_301w
237 TARGET_DEVICES
+= qnap_301w
239 define Device
/redmi_ax6
240 $(call Device
/xiaomi_ax3600
)
241 DEVICE_VENDOR
:= Redmi
243 DEVICE_PACKAGES
:= ipq-wifi-redmi_ax6
245 TARGET_DEVICES
+= redmi_ax6
247 define Device
/xiaomi_ax3600
248 $(call Device
/FitImage
)
249 $(call Device
/UbiFit
)
250 DEVICE_VENDOR
:= Xiaomi
251 DEVICE_MODEL
:= AX3600
254 DEVICE_DTS_CONFIG
:= config@ac04
256 KERNEL_SIZE
:= 36608k
257 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax3600 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
258 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
259 ARTIFACTS
:= initramfs-factory.ubi
260 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
263 TARGET_DEVICES
+= xiaomi_ax3600
265 define Device
/xiaomi_ax9000
266 $(call Device
/FitImage
)
267 $(call Device
/UbiFit
)
268 DEVICE_VENDOR
:= Xiaomi
269 DEVICE_MODEL
:= AX9000
272 DEVICE_DTS_CONFIG
:= config@hk14
274 KERNEL_SIZE
:= 57344k
275 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax9000 kmod-ath11k-pci ath11k-firmware-qcn9074 \
276 kmod-ath10k-ct ath10k-firmware-qca9887-ct
277 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
278 ARTIFACTS
:= initramfs-factory.ubi
279 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
282 TARGET_DEVICES
+= xiaomi_ax9000
284 define Device
/yuncore_ax880
285 $(call Device
/FitImage
)
286 $(call Device
/UbiFit
)
287 DEVICE_VENDOR
:= Yuncore
288 DEVICE_MODEL
:= AX880
291 DEVICE_DTS_CONFIG
:= config@hk09
293 DEVICE_PACKAGES
:= ipq-wifi-yuncore_ax880
294 IMAGES
+= factory.bin
295 IMAGE
/factory.bin
:= append-ubi | qsdk-ipq-factory-nand
297 TARGET_DEVICES
+= yuncore_ax880
299 define Device
/zte_mf269
300 $(call Device
/FitImage
)
301 $(call Device
/UbiFit
)
303 DEVICE_MODEL
:= MF269
306 DEVICE_DTS_CONFIG
:= config@ac04
308 KERNEL_SIZE
:= 53248k
309 DEVICE_PACKAGES
:= ipq-wifi-zte_mf269
311 TARGET_DEVICES
+= zte_mf269
313 define Device
/zyxel_nbg7815
314 $(call Device
/FitImage
)
315 $(call Device
/EmmcImage
)
316 DEVICE_VENDOR
:= ZYXEL
317 DEVICE_MODEL
:= NBG7815
318 DEVICE_DTS_CONFIG
:= config@nbg7815
320 DEVICE_PACKAGES
+= ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci \
321 kmod-bluetooth kmod-hwmon-tmp103
323 TARGET_DEVICES
+= zyxel_nbg7815