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
/buffalo_wxr-5950ax12
37 $(call Device
/FitImage
)
38 DEVICE_VENDOR
:= Buffalo
39 DEVICE_MODEL
:= WXR-5950AX12
42 DEVICE_DTS_CONFIG
:= config@hk01
44 IMAGES
:= sysupgrade.bin
45 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
46 DEVICE_PACKAGES
:= ipq-wifi-buffalo_wxr-5950ax12
48 TARGET_DEVICES
+= buffalo_wxr-5950ax12
50 define Device
/compex_wpq873
51 $(call Device
/FitImage
)
53 DEVICE_VENDOR
:= Compex
54 DEVICE_MODEL
:= WPQ873
57 DEVICE_DTS_CONFIG
:= config@hk09.wpq873
59 DEVICE_PACKAGES
:= ipq-wifi-compex_wpq873
60 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
62 TARGET_DEVICES
+= compex_wpq873
64 define Device
/dynalink_dl-wrx36
65 $(call Device
/FitImage
)
67 DEVICE_VENDOR
:= Dynalink
68 DEVICE_MODEL
:= DL-WRX36
71 DEVICE_DTS_CONFIG
:= config@rt5010w-d350-rev0
73 DEVICE_PACKAGES
:= ipq-wifi-dynalink_dl-wrx36
75 TARGET_DEVICES
+= dynalink_dl-wrx36
77 define Device
/edgecore_eap102
78 $(call Device
/FitImage
)
80 DEVICE_VENDOR
:= Edgecore
81 DEVICE_MODEL
:= EAP102
84 DEVICE_DTS_CONFIG
:= config@ac02
86 DEVICE_PACKAGES
:= ipq-wifi-edgecore_eap102
87 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
89 TARGET_DEVICES
+= edgecore_eap102
91 define Device
/edimax_cax1800
92 $(call Device
/FitImage
)
94 DEVICE_VENDOR
:= Edimax
95 DEVICE_MODEL
:= CAX1800
98 DEVICE_DTS_CONFIG
:= config@ac03
100 DEVICE_PACKAGES
:= ipq-wifi-edimax_cax1800
102 TARGET_DEVICES
+= edimax_cax1800
104 define Device
/netgear_rax120v2
105 $(call Device
/FitImage
)
106 $(call Device
/UbiFit
)
107 DEVICE_VENDOR
:= Netgear
108 DEVICE_MODEL
:= RAX120v2
111 DEVICE_DTS_CONFIG
:= config@hk01
113 KERNEL_SIZE
:= 29696k
114 NETGEAR_BOARD_ID
:= RAX120
115 NETGEAR_HW_ID
:= 29765589+0+512+1024+4x4
+8x8
116 DEVICE_PACKAGES
:= ipq-wifi-netgear_rax120v2 kmod-spi-gpio \
117 kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g761
118 IMAGES
= web-ui-factory.img sysupgrade.bin
119 IMAGE
/web-ui-factory.img
:= append-image initramfs-uImage.itb | \
120 pad-offset
$$$$(BLOCKSIZE
) 64 | append-uImage-fakehdr filesystem | \
122 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
123 append-uImage-fakehdr filesystem | sysupgrade-tar kernel
=$$$$@ | \
126 TARGET_DEVICES
+= netgear_rax120v2
128 define Device
/netgear_wax218
129 $(call Device
/FitImage
)
130 $(call Device
/UbiFit
)
131 DEVICE_VENDOR
:= Netgear
132 DEVICE_MODEL
:= WAX218
133 DEVICE_DTS_CONFIG
:= config@hk07
137 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
138 ARTIFACTS
:= web-ui-factory.fit
139 ARTIFACT
/web-ui-factory.fit
:= append-image initramfs-uImage.itb | \
140 ubinize-kernel | qsdk-ipq-factory-nand
142 DEVICE_PACKAGES
:= kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
143 ipq-wifi-netgear_wax218
145 TARGET_DEVICES
+= netgear_wax218
147 define Device
/netgear_wax620
148 $(call Device
/FitImage
)
149 $(call Device
/UbiFit
)
150 DEVICE_VENDOR
:= Netgear
151 DEVICE_MODEL
:= WAX620
152 DEVICE_DTS_CONFIG
:= config@hk07
156 DEVICE_PACKAGES
+= kmod-spi-gpio kmod-gpio-nxp-74hc164 \
157 ipq-wifi-netgear_wax620
159 TARGET_DEVICES
+= netgear_wax620
161 define Device
/netgear_wax630
162 $(call Device
/FitImage
)
163 $(call Device
/UbiFit
)
164 DEVICE_VENDOR
:= Netgear
165 DEVICE_MODEL
:= WAX630
166 DEVICE_DTS_CONFIG
:= config@hk01
170 IMAGES
:= ui-factory.
tar factory.ubi sysupgrade.bin
171 IMAGE
/ui-factory.
tar := append-ubi | wax6xx-netgear-tar
172 DEVICE_PACKAGES
+= kmod-spi-gpio ipq-wifi-netgear_wax630
174 TARGET_DEVICES
+= netgear_wax630
176 define Device
/prpl_haze
177 $(call Device
/FitImage
)
178 $(call Device
/EmmcImage
)
179 DEVICE_VENDOR
:= prpl Foundation
181 DEVICE_DTS_CONFIG
:= config@hk09
183 DEVICE_PACKAGES
+= ath11k-firmware-qcn9074 ipq-wifi-prpl_haze kmod-ath11k-pci \
184 mkf2fs f2fsck kmod-fs-f2fs
186 TARGET_DEVICES
+= prpl_haze
188 define Device
/qnap_301w
189 $(call Device
/FitImage
)
190 $(call Device
/EmmcImage
)
191 DEVICE_VENDOR
:= QNAP
193 DEVICE_DTS_CONFIG
:= config@hk01
194 KERNEL_SIZE
:= 16384k
196 DEVICE_PACKAGES
+= ipq-wifi-qnap_301w
198 TARGET_DEVICES
+= qnap_301w
200 define Device
/redmi_ax6
201 $(call Device
/xiaomi_ax3600
)
202 DEVICE_VENDOR
:= Redmi
204 DEVICE_PACKAGES
:= ipq-wifi-redmi_ax6
206 TARGET_DEVICES
+= redmi_ax6
208 define Device
/xiaomi_ax3600
209 $(call Device
/FitImage
)
210 $(call Device
/UbiFit
)
211 DEVICE_VENDOR
:= Xiaomi
212 DEVICE_MODEL
:= AX3600
215 DEVICE_DTS_CONFIG
:= config@ac04
217 KERNEL_SIZE
:= 36608k
218 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax3600 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
219 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
220 ARTIFACTS
:= initramfs-factory.ubi
221 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
224 TARGET_DEVICES
+= xiaomi_ax3600
226 define Device
/xiaomi_ax9000
227 $(call Device
/FitImage
)
228 $(call Device
/UbiFit
)
229 DEVICE_VENDOR
:= Xiaomi
230 DEVICE_MODEL
:= AX9000
233 DEVICE_DTS_CONFIG
:= config@hk14
235 KERNEL_SIZE
:= 57344k
236 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax9000 kmod-ath11k-pci ath11k-firmware-qcn9074 \
237 kmod-ath10k-ct ath10k-firmware-qca9887-ct
238 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
239 ARTIFACTS
:= initramfs-factory.ubi
240 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
243 TARGET_DEVICES
+= xiaomi_ax9000
245 define Device
/zyxel_nbg7815
246 $(call Device
/FitImage
)
247 $(call Device
/EmmcImage
)
248 DEVICE_VENDOR
:= ZYXEL
249 DEVICE_MODEL
:= NBG7815
250 DEVICE_DTS_CONFIG
:= config@nbg7815
252 DEVICE_PACKAGES
+= ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci kmod-hwmon-tmp103 \
255 TARGET_DEVICES
+= zyxel_nbg7815
257 define Device
/yuncore_ax880
258 $(call Device
/FitImage
)
259 $(call Device
/UbiFit
)
260 DEVICE_VENDOR
:= Yuncore
261 DEVICE_MODEL
:= AX880
264 DEVICE_DTS_CONFIG
:= config@hk09
266 DEVICE_PACKAGES
:= ipq-wifi-yuncore_ax880
267 IMAGES
+= factory.bin
268 IMAGE
/factory.bin
:= append-ubi | qsdk-ipq-factory-nand
270 TARGET_DEVICES
+= yuncore_ax880