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 Device
/buffalo_wxr-5950ax12
27 $(call Device
/FitImage
)
28 DEVICE_VENDOR
:= Buffalo
29 DEVICE_MODEL
:= WXR-5950AX12
32 DEVICE_DTS_CONFIG
:= config@hk01
34 IMAGES
:= sysupgrade.bin
35 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
36 DEVICE_PACKAGES
:= ipq-wifi-buffalo_wxr-5950ax12
38 TARGET_DEVICES
+= buffalo_wxr-5950ax12
40 define Device
/compex_wpq873
41 $(call Device
/FitImage
)
43 DEVICE_VENDOR
:= Compex
44 DEVICE_MODEL
:= WPQ873
47 DEVICE_DTS_CONFIG
:= config@hk09.wpq873
49 DEVICE_PACKAGES
:= ipq-wifi-compex_wpq873
50 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
52 TARGET_DEVICES
+= compex_wpq873
54 define Device
/dynalink_dl-wrx36
55 $(call Device
/FitImage
)
57 DEVICE_VENDOR
:= Dynalink
58 DEVICE_MODEL
:= DL-WRX36
61 DEVICE_DTS_CONFIG
:= config@rt5010w-d350-rev0
63 DEVICE_PACKAGES
:= ipq-wifi-dynalink_dl-wrx36
65 TARGET_DEVICES
+= dynalink_dl-wrx36
67 define Device
/edgecore_eap102
68 $(call Device
/FitImage
)
70 DEVICE_VENDOR
:= Edgecore
71 DEVICE_MODEL
:= EAP102
74 DEVICE_DTS_CONFIG
:= config@ac02
76 DEVICE_PACKAGES
:= ipq-wifi-edgecore_eap102
77 IMAGE
/factory.ubi
:= append-ubi | qsdk-ipq-factory-nand
79 TARGET_DEVICES
+= edgecore_eap102
81 define Device
/edimax_cax1800
82 $(call Device
/FitImage
)
84 DEVICE_VENDOR
:= Edimax
85 DEVICE_MODEL
:= CAX1800
88 DEVICE_DTS_CONFIG
:= config@ac03
90 DEVICE_PACKAGES
:= ipq-wifi-edimax_cax1800
92 TARGET_DEVICES
+= edimax_cax1800
94 define Device
/netgear_rax120v2
95 $(call Device
/FitImage
)
97 DEVICE_VENDOR
:= Netgear
98 DEVICE_MODEL
:= RAX120v2
101 DEVICE_DTS_CONFIG
:= config@hk01
103 KERNEL_SIZE
:= 29696k
104 NETGEAR_BOARD_ID
:= RAX120
105 NETGEAR_HW_ID
:= 29765589+0+512+1024+4x4
+8x8
106 DEVICE_PACKAGES
:= ipq-wifi-netgear_rax120v2 kmod-spi-gpio \
107 kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g761
108 IMAGES
= web-ui-factory.img sysupgrade.bin
109 IMAGE
/web-ui-factory.img
:= append-image initramfs-uImage.itb | \
110 pad-offset
$$$$(BLOCKSIZE
) 64 | append-uImage-fakehdr filesystem | \
112 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
113 append-uImage-fakehdr filesystem | sysupgrade-tar kernel
=$$$$@ | \
116 TARGET_DEVICES
+= netgear_rax120v2
118 define Device
/netgear_wax620
119 $(call Device
/FitImage
)
120 $(call Device
/UbiFit
)
121 DEVICE_VENDOR
:= Netgear
122 DEVICE_MODEL
:= WAX620
123 DEVICE_DTS_CONFIG
:= config@hk07
127 DEVICE_PACKAGES
+= kmod-spi-gpio kmod-gpio-nxp-74hc164 \
128 ipq-wifi-netgear_wax620
130 TARGET_DEVICES
+= netgear_wax620
132 define Device
/netgear_wax218
133 $(call Device
/FitImage
)
134 $(call Device
/UbiFit
)
135 ARTIFACTS
:= web-ui-factory.fit
136 DEVICE_VENDOR
:= Netgear
137 DEVICE_MODEL
:= WAX218
138 DEVICE_DTS_CONFIG
:= config@hk07
142 ARTIFACT
/web-ui-factory.fit
:= append-image initramfs-uImage.itb | \
143 ubinize-kernel | qsdk-ipq-factory-nand
144 DEVICE_PACKAGES
:= kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
145 ipq-wifi-netgear_wax218
147 TARGET_DEVICES
+= netgear_wax218
149 define Device
/prpl_haze
150 $(call Device
/FitImage
)
151 $(call Device
/EmmcImage
)
152 DEVICE_VENDOR
:= prpl Foundation
154 DEVICE_DTS_CONFIG
:= config@hk09
156 DEVICE_PACKAGES
+= ath11k-firmware-qcn9074 ipq-wifi-prpl_haze kmod-ath11k-pci \
157 mkf2fs f2fsck kmod-fs-f2fs
159 TARGET_DEVICES
+= prpl_haze
161 define Device
/qnap_301w
162 $(call Device
/FitImage
)
163 $(call Device
/EmmcImage
)
164 DEVICE_VENDOR
:= QNAP
166 DEVICE_DTS_CONFIG
:= config@hk01
167 KERNEL_SIZE
:= 16384k
169 DEVICE_PACKAGES
+= ipq-wifi-qnap_301w
171 TARGET_DEVICES
+= qnap_301w
173 define Device
/redmi_ax6
174 $(call Device
/xiaomi_ax3600
)
175 DEVICE_VENDOR
:= Redmi
177 DEVICE_PACKAGES
:= ipq-wifi-redmi_ax6
179 TARGET_DEVICES
+= redmi_ax6
181 define Device
/xiaomi_ax3600
182 $(call Device
/FitImage
)
183 $(call Device
/UbiFit
)
184 DEVICE_VENDOR
:= Xiaomi
185 DEVICE_MODEL
:= AX3600
188 DEVICE_DTS_CONFIG
:= config@ac04
190 KERNEL_SIZE
:= 36608k
191 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax3600 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
192 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
193 ARTIFACTS
:= initramfs-factory.ubi
194 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
197 TARGET_DEVICES
+= xiaomi_ax3600
199 define Device
/xiaomi_ax9000
200 $(call Device
/FitImage
)
201 $(call Device
/UbiFit
)
202 DEVICE_VENDOR
:= Xiaomi
203 DEVICE_MODEL
:= AX9000
206 DEVICE_DTS_CONFIG
:= config@hk14
208 KERNEL_SIZE
:= 57344k
209 DEVICE_PACKAGES
:= ipq-wifi-xiaomi_ax9000 kmod-ath11k-pci ath11k-firmware-qcn9074 \
210 kmod-ath10k-ct ath10k-firmware-qca9887-ct
211 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
212 ARTIFACTS
:= initramfs-factory.ubi
213 ARTIFACT
/initramfs-factory.ubi
:= append-image-stage initramfs-uImage.itb | ubinize-kernel
216 TARGET_DEVICES
+= xiaomi_ax9000
218 define Device
/zyxel_nbg7815
219 $(call Device
/FitImage
)
220 $(call Device
/EmmcImage
)
221 DEVICE_VENDOR
:= ZYXEL
222 DEVICE_MODEL
:= NBG7815
223 DEVICE_DTS_CONFIG
:= config@nbg7815
225 DEVICE_PACKAGES
+= ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci kmod-hwmon-tmp103 \
228 TARGET_DEVICES
+= zyxel_nbg7815