1 DEVICE_VARS
+= NETGEAR_BOARD_ID NETGEAR_HW_ID
2 DEVICE_VARS
+= TPLINK_BOARD_ID
4 define Build
/buffalo-rootfs-cksum
6 echo
-ne
"\x$$(od -A n -t u1 $@ | tr -s ' ' '\n' | \
7 $(STAGING_DIR_HOST)/bin/awk '{s+=$$0}END{printf "%x
", 255-s%256}')"; \
11 define Build
/edimax-header
12 $(eval edimax_model
=$(word 1,$(1)))
14 $(STAGING_DIR_HOST
)/bin
/mkedimaximg \
15 -b
-s CSYS
-m
$(edimax_model
) \
16 -f
0x70000 -S
0x1200000 \
21 define Device
/DniImage
22 KERNEL_SUFFIX
:= -uImage
23 KERNEL
= kernel-bin | append-dtb | uImage none
29 IMAGE
/factory.img
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
30 append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | \
31 append-ubi | netgear-dni
32 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
33 append-uImage-fakehdr filesystem | sysupgrade-tar kernel
=$$$$@ | \
37 define Device
/TpSafeImage
38 KERNEL_SUFFIX
:= -uImage
39 KERNEL
= kernel-bin | append-dtb | uImage none
43 IMAGE
/factory.bin
:= append-rootfs | tplink-safeloader factory
44 IMAGE
/sysupgrade.bin
:= append-rootfs | \
45 tplink-safeloader sysupgrade | append-metadata
48 define Device
/ZyXELImage
49 KERNEL_SUFFIX
:= -uImage
50 KERNEL
= kernel-bin | append-dtb | uImage none | \
51 pad-to
$$(KERNEL_SIZE
)
54 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | \
55 pad-to
$$$$(BLOCKSIZE
) | zyxel-ras-image separate-kernel
56 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | \
57 pad-to
$$$$(BLOCKSIZE
) | sysupgrade-tar rootfs
=$$$$@ | \
61 define Device
/askey_rt4230w-rev6
62 $(call Device
/LegacyImage
)
63 DEVICE_VENDOR
:= Askey
64 DEVICE_MODEL
:= RT4230W
65 DEVICE_VARIANT
:= REV6
69 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
72 TARGET_DEVICES
+= askey_rt4230w-rev6
74 define Device
/asrock_g10
75 $(call Device
/FitImage
)
78 DEVICE_VENDOR
:= ASRock
83 DEVICE_PACKAGES
:= kmod-i2c-gpio ath10k-firmware-qca99x0-ct
84 IMAGE
/nand-factory.bin
:= append-ubi | edimax-header RN67
86 TARGET_DEVICES
+= asrock_g10
88 define Device
/buffalo_wxr-2533dhp
89 $(call Device
/LegacyImage
)
91 DEVICE_VENDOR
:= Buffalo
92 DEVICE_MODEL
:= WXR-2533DHP
97 IMAGE
/sysupgrade.bin
:= append-rootfs | buffalo-rootfs-cksum | \
98 sysupgrade-tar rootfs
=$$$$@ | append-metadata
99 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
101 TARGET_DEVICES
+= buffalo_wxr-2533dhp
103 define Device
/compex_wpq864
104 $(call Device
/FitImage
)
105 $(call Device
/UbiFit
)
106 DEVICE_VENDOR
:= Compex
107 DEVICE_MODEL
:= WPQ864
111 DEVICE_PACKAGES
:= kmod-gpio-beeper
113 TARGET_DEVICES
+= compex_wpq864
115 define Device
/edgecore_ecw5410
116 $(call Device
/FitImage
)
117 $(call Device
/UbiFit
)
118 DEVICE_VENDOR
:= Edgecore
119 DEVICE_MODEL
:= ECW5410
123 DEVICE_DTS_CONFIG
:= config@v2.0
-ap160
124 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct \
125 ipq-wifi-edgecore_ecw5410
127 TARGET_DEVICES
+= edgecore_ecw5410
129 define Device
/linksys_ea7500-v1
130 $(call Device
/LegacyImage
)
131 DEVICE_VENDOR
:= Linksys
132 DEVICE_MODEL
:= EA7500
138 KERNEL
= kernel-bin | append-dtb | uImage none | \
139 append-uImage-fakehdr filesystem
141 IMAGES
:= factory.bin sysupgrade.bin
142 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
143 append-ubi | pad-to
$$$$(PAGESIZE
)
144 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
146 TARGET_DEVICES
+= linksys_ea7500-v1
148 define Device
/linksys_ea8500
149 $(call Device
/LegacyImage
)
150 DEVICE_VENDOR
:= Linksys
151 DEVICE_MODEL
:= EA8500
156 KERNEL
= kernel-bin | append-dtb | uImage none | \
157 append-uImage-fakehdr filesystem
159 SUPPORTED_DEVICES
+= ea8500
161 IMAGES
+= factory.bin
162 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | \
164 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
166 TARGET_DEVICES
+= linksys_ea8500
168 define Device
/meraki_mr42
169 $(call Device
/FitImage
)
170 DEVICE_VENDOR
:= Cisco Meraki
175 KERNEL_LOADADDR
= 0x44208000
176 DEVICE_PACKAGES
:= -swconfig
-kmod-ata-ahci
-kmod-ata-ahci-platform \
177 -kmod-usb-ohci
-kmod-usb2
-kmod-usb-ledtrig-usbport \
178 -kmod-phy-qcom-ipq806x-usb
-kmod-usb3
-kmod-usb-dwc3-qcom \
179 -uboot-envtools ath10k-firmware-qca9887-ct \
180 ath10k-firmware-qca99x0-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
183 TARGET_DEVICES
+= meraki_mr42
185 define Device
/meraki_mr52
186 $(call Device
/FitImage
)
187 DEVICE_VENDOR
:= Cisco Meraki
192 KERNEL_LOADADDR
= 0x44208000
193 DEVICE_DTS_CONFIG
:= config@
2
194 DEVICE_PACKAGES
:= -swconfig
-kmod-ata-ahci
-kmod-ata-ahci-platform \
195 -kmod-usb-ohci
-kmod-usb2
-kmod-usb-ledtrig-usbport \
196 -kmod-phy-qcom-ipq806x-usb
-kmod-usb3
-kmod-usb-dwc3-qcom \
197 -uboot-envtools ath10k-firmware-qca9887-ct \
198 ath10k-firmware-qca9984-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
201 TARGET_DEVICES
+= meraki_mr52
203 define Device
/nec_wg2600hp
204 $(call Device
/LegacyImage
)
206 DEVICE_MODEL
:= Aterm WG2600HP
209 BOARD_NAME
:= wg2600hp
210 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
211 pad-rootfs | append-metadata
212 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
214 TARGET_DEVICES
+= nec_wg2600hp
216 define Device
/nec_wg2600hp3
217 $(call Device
/LegacyImage
)
218 DEVICE_VENDOR
:= NEC Platforms
219 DEVICE_MODEL
:= Aterm WG2600HP3
222 IMAGES
:= sysupgrade.bin
223 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
224 pad-rootfs | append-metadata
225 DEVICE_PACKAGES
:= -kmod-ata-ahci
-kmod-ata-ahci-platform \
226 -kmod-usb-ohci
-kmod-usb2
-kmod-usb-ledtrig-usbport \
227 -kmod-usb-phy-qcom-dwc3
-kmod-usb3
-kmod-usb-dwc3-qcom \
228 ath10k-firmware-qca9984-ct ipq-wifi-nec_wg2600hp3
230 TARGET_DEVICES
+= nec_wg2600hp3
232 define Device
/netgear_d7800
233 $(call Device
/DniImage
)
234 DEVICE_VENDOR
:= NETGEAR
235 DEVICE_MODEL
:= Nighthawk X4 D7800
238 NETGEAR_BOARD_ID
:= D7800
239 NETGEAR_HW_ID
:= 29764958+0+128+512+4x4
+4x4
243 SUPPORTED_DEVICES
+= d7800
244 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
245 DEVICE_COMPAT_VERSION
:= 2.0
246 DEVICE_COMPAT_MESSAGE
:= Sysupgrade does not work due to rootfs ubi partition size change. \
247 Use factory image with the TFTP recovery flash routine.
249 TARGET_DEVICES
+= netgear_d7800
251 define Device
/netgear_r7500
252 $(call Device
/DniImage
)
253 DEVICE_VENDOR
:= NETGEAR
254 DEVICE_MODEL
:= Nighthawk X4 R7500
258 NETGEAR_BOARD_ID
:= R7500
259 NETGEAR_HW_ID
:= 29764841+0+128+256+3x3
+4x4
263 SUPPORTED_DEVICES
+= r7500
264 DEVICE_PACKAGES
:= ath10k-firmware-qca988x-ct
266 TARGET_DEVICES
+= netgear_r7500
268 define Device
/netgear_r7500v2
269 $(call Device
/DniImage
)
270 DEVICE_VENDOR
:= NETGEAR
271 DEVICE_MODEL
:= Nighthawk X4 R7500
275 NETGEAR_BOARD_ID
:= R7500v2
276 NETGEAR_HW_ID
:= 29764958+0+128+512+3x3
+4x4
279 BOARD_NAME
:= r7500v2
280 SUPPORTED_DEVICES
+= r7500v2
281 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct \
282 ath10k-firmware-qca988x-ct
284 TARGET_DEVICES
+= netgear_r7500v2
286 define Device
/netgear_r7800
287 $(call Device
/DniImage
)
288 DEVICE_VENDOR
:= NETGEAR
289 DEVICE_MODEL
:= Nighthawk X4S R7800
292 NETGEAR_BOARD_ID
:= R7800
293 NETGEAR_HW_ID
:= 29764958+0+128+512+4x4
+4x4
+cascade
297 SUPPORTED_DEVICES
+= r7800
298 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
300 TARGET_DEVICES
+= netgear_r7800
302 define Device
/netgear_xr500
303 $(call Device
/DniImage
)
304 DEVICE_VENDOR
:= NETGEAR
305 DEVICE_MODEL
:= Nighthawk XR500
308 NETGEAR_BOARD_ID
:= XR500
309 NETGEAR_HW_ID
:= 29764958+0+256+512+4x4
+4x4
+cascade
312 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
314 TARGET_DEVICES
+= netgear_xr500
316 define Device
/qcom_ipq8064-ap148
317 $(call Device
/FitImage
)
318 $(call Device
/UbiFit
)
319 DEVICE_VENDOR
:= Qualcomm
320 DEVICE_MODEL
:= AP148
321 DEVICE_VARIANT
:= standard
323 DEVICE_DTS
:= qcom-ipq8064-ap148
328 SUPPORTED_DEVICES
+= ap148
329 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
331 TARGET_DEVICES
+= qcom_ipq8064-ap148
333 define Device
/qcom_ipq8064-ap148-legacy
334 $(call Device
/LegacyImage
)
335 $(call Device
/UbiFit
)
336 DEVICE_VENDOR
:= Qualcomm
337 DEVICE_MODEL
:= AP148
338 DEVICE_VARIANT
:= legacy
340 DEVICE_DTS
:= qcom-ipq8064-ap148
344 SUPPORTED_DEVICES
:= qcom
,ipq8064-ap148 ap148
345 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
347 TARGET_DEVICES
+= qcom_ipq8064-ap148-legacy
349 define Device
/qcom_ipq8064-ap161
350 $(call Device
/FitImage
)
351 $(call Device
/UbiFit
)
352 DEVICE_VENDOR
:= Qualcomm
353 DEVICE_MODEL
:= AP161
355 DEVICE_DTS
:= qcom-ipq8064-ap161
360 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
362 TARGET_DEVICES
+= qcom_ipq8064-ap161
364 define Device
/qcom_ipq8064-db149
365 $(call Device
/FitImage
)
366 DEVICE_VENDOR
:= Qualcomm
367 DEVICE_MODEL
:= DB149
369 DEVICE_DTS
:= qcom-ipq8064-db149
372 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
374 TARGET_DEVICES
+= qcom_ipq8064-db149
376 define Device
/tplink_ad7200
377 $(call Device
/TpSafeImage
)
378 DEVICE_VENDOR
:= TP-Link
379 DEVICE_MODEL
:= AD7200
380 DEVICE_VARIANT
:= v1
/v2
381 DEVICE_ALT0_VENDOR
:= TP-Link
382 DEVICE_ALT0_MODEL
:= Talon AD7200
383 DEVICE_ALT0_VARIANT
:= v1
/v2
387 TPLINK_BOARD_ID
:= AD7200
388 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct kmod-wil6210
390 TARGET_DEVICES
+= tplink_ad7200
392 define Device
/tplink_c2600
393 $(call Device
/TpSafeImage
)
394 DEVICE_VENDOR
:= TP-Link
395 DEVICE_MODEL
:= Archer C2600
401 SUPPORTED_DEVICES
+= c2600
402 TPLINK_BOARD_ID
:= C2600
403 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
405 TARGET_DEVICES
+= tplink_c2600
407 define Device
/tplink_vr2600v
408 DEVICE_VENDOR
:= TP-Link
409 DEVICE_MODEL
:= Archer VR2600v
411 KERNEL_SUFFIX
:= -uImage
412 KERNEL
= kernel-bin | append-dtb | uImage none
413 KERNEL_NAME
:= zImage
418 BOARD_NAME
:= vr2600v
419 SUPPORTED_DEVICES
+= vr2600v
420 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
421 IMAGE
/sysupgrade.bin
:= pad-extra
512 | append-kernel | \
422 append-rootfs | pad-rootfs | append-metadata
424 TARGET_DEVICES
+= tplink_vr2600v
426 define Device
/ubnt_unifi-ac-hd
427 $(call Device
/FitImageLzma
)
428 DEVICE_VENDOR
:= Ubiquiti
429 DEVICE_MODEL
:= UniFi AC HD
433 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
434 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | \
435 append-rootfs | pad-rootfs | check-size | append-metadata
437 TARGET_DEVICES
+= ubnt_unifi-ac-hd
439 define Device
/zyxel_nbg6817
440 DEVICE_VENDOR
:= ZyXEL
441 DEVICE_MODEL
:= NBG6817
445 BOARD_NAME
:= nbg6817
447 RAS_ROOTFS_SIZE
:= 20934k
448 RAS_VERSION
:= "V1.99(OWRT.9999)C0"
449 SUPPORTED_DEVICES
+= nbg6817
450 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct e2fsprogs \
452 $(call Device
/ZyXELImage
)
454 TARGET_DEVICES
+= zyxel_nbg6817