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 | append-uImage-fakehdr filesystem | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | netgear-dni
30 IMAGE
/sysupgrade.bin
:= append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-uImage-fakehdr filesystem | sysupgrade-tar kernel
=$$$$@ | append-metadata
33 define Device
/TpSafeImage
34 KERNEL_SUFFIX
:= -uImage
35 KERNEL
= kernel-bin | append-dtb | uImage none
39 IMAGE
/factory.bin
:= append-rootfs | tplink-safeloader factory
40 IMAGE
/sysupgrade.bin
:= append-rootfs | tplink-safeloader sysupgrade | append-metadata
43 define Device
/ZyXELImage
44 KERNEL_SUFFIX
:= -uImage
45 KERNEL
= kernel-bin | append-dtb | uImage none | pad-to
$$(KERNEL_SIZE
)
48 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | pad-to
$$$$(BLOCKSIZE
) | zyxel-ras-image separate-kernel
49 IMAGE
/sysupgrade.bin
/squashfs
:= append-rootfs | pad-to
$$$$(BLOCKSIZE
) | sysupgrade-tar rootfs
=$$$$@ | append-metadata
52 define Device
/askey_rt4230w-rev6
53 $(call Device
/LegacyImage
)
54 DEVICE_VENDOR
:= Askey
55 DEVICE_MODEL
:= RT4230W
56 DEVICE_VARIANT
:= REV6
60 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
63 TARGET_DEVICES
+= askey_rt4230w-rev6
65 define Device
/asrock_g10
66 $(call Device
/FitImage
)
69 DEVICE_VENDOR
:= ASRock
74 DEVICE_PACKAGES
:= kmod-i2c-gpio ath10k-firmware-qca99x0-ct
75 IMAGE
/nand-factory.bin
:= append-ubi | edimax-header RN67
77 TARGET_DEVICES
+= asrock_g10
79 define Device
/buffalo_wxr-2533dhp
80 $(call Device
/LegacyImage
)
82 DEVICE_VENDOR
:= Buffalo
83 DEVICE_MODEL
:= WXR-2533DHP
88 IMAGE
/sysupgrade.bin
:= append-rootfs | buffalo-rootfs-cksum | \
89 sysupgrade-tar rootfs
=$$$$@ | append-metadata
90 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
92 TARGET_DEVICES
+= buffalo_wxr-2533dhp
94 define Device
/compex_wpq864
95 $(call Device
/FitImage
)
97 DEVICE_VENDOR
:= Compex
98 DEVICE_MODEL
:= WPQ864
102 DEVICE_PACKAGES
:= kmod-gpio-beeper
104 TARGET_DEVICES
+= compex_wpq864
106 define Device
/edgecore_ecw5410
107 $(call Device
/FitImage
)
108 $(call Device
/UbiFit
)
109 DEVICE_VENDOR
:= Edgecore
110 DEVICE_MODEL
:= ECW5410
114 DEVICE_DTS_CONFIG
:= config@v2.0
-ap160
115 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct ipq-wifi-edgecore_ecw5410
117 TARGET_DEVICES
+= edgecore_ecw5410
119 define Device
/linksys_ea7500-v1
120 $(call Device
/LegacyImage
)
121 DEVICE_VENDOR
:= Linksys
122 DEVICE_MODEL
:= EA7500
128 KERNEL
= kernel-bin | append-dtb | uImage none | append-uImage-fakehdr filesystem
130 IMAGES
:= factory.bin sysupgrade.bin
131 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | pad-to
$$$$(PAGESIZE
)
132 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
134 TARGET_DEVICES
+= linksys_ea7500-v1
136 define Device
/linksys_ea8500
137 $(call Device
/LegacyImage
)
138 DEVICE_VENDOR
:= Linksys
139 DEVICE_MODEL
:= EA8500
144 KERNEL
= kernel-bin | append-dtb | uImage none | append-uImage-fakehdr filesystem
146 SUPPORTED_DEVICES
+= ea8500
148 IMAGES
+= factory.bin
149 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
150 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
152 TARGET_DEVICES
+= linksys_ea8500
154 define Device
/meraki_mr42
155 $(call Device
/FitImage
)
156 DEVICE_VENDOR
:= Cisco Meraki
161 KERNEL_LOADADDR
= 0x44208000
162 DEVICE_PACKAGES
:= -swconfig
-kmod-ata-ahci
-kmod-ata-ahci-platform \
163 -kmod-usb-ohci
-kmod-usb2
-kmod-usb-ledtrig-usbport \
164 -kmod-phy-qcom-ipq806x-usb
-kmod-usb3
-kmod-usb-dwc3-qcom \
165 -uboot-envtools ath10k-firmware-qca9887-ct \
166 ath10k-firmware-qca99x0-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
169 TARGET_DEVICES
+= meraki_mr42
171 define Device
/meraki_mr52
172 $(call Device
/FitImage
)
173 DEVICE_VENDOR
:= Cisco Meraki
178 KERNEL_LOADADDR
= 0x44208000
179 DEVICE_DTS_CONFIG
:= config@
2
180 DEVICE_PACKAGES
:= -swconfig
-kmod-ata-ahci
-kmod-ata-ahci-platform \
181 -kmod-usb-ohci
-kmod-usb2
-kmod-usb-ledtrig-usbport \
182 -kmod-phy-qcom-ipq806x-usb
-kmod-usb3
-kmod-usb-dwc3-qcom \
183 -uboot-envtools ath10k-firmware-qca9887-ct \
184 ath10k-firmware-qca9984-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
187 TARGET_DEVICES
+= meraki_mr52
189 define Device
/nec_wg2600hp
190 $(call Device
/LegacyImage
)
192 DEVICE_MODEL
:= Aterm WG2600HP
195 BOARD_NAME
:= wg2600hp
196 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
197 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
199 TARGET_DEVICES
+= nec_wg2600hp
201 define Device
/nec_wg2600hp3
202 $(call Device
/LegacyImage
)
203 DEVICE_VENDOR
:= NEC Platforms
204 DEVICE_MODEL
:= Aterm WG2600HP3
207 IMAGES
:= sysupgrade.bin
208 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | pad-rootfs | append-metadata
209 DEVICE_PACKAGES
:= -kmod-ata-ahci
-kmod-ata-ahci-platform
-kmod-usb-ohci
-kmod-usb2 \
210 -kmod-usb-ledtrig-usbport
-kmod-usb-phy-qcom-dwc3
-kmod-usb3
-kmod-usb-dwc3-qcom \
211 ath10k-firmware-qca9984-ct ipq-wifi-nec_wg2600hp3
213 TARGET_DEVICES
+= nec_wg2600hp3
215 define Device
/netgear_d7800
216 $(call Device
/DniImage
)
217 DEVICE_VENDOR
:= NETGEAR
218 DEVICE_MODEL
:= Nighthawk X4 D7800
221 NETGEAR_BOARD_ID
:= D7800
222 NETGEAR_HW_ID
:= 29764958+0+128+512+4x4
+4x4
226 SUPPORTED_DEVICES
+= d7800
227 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
229 TARGET_DEVICES
+= netgear_d7800
231 define Device
/netgear_r7500
232 $(call Device
/DniImage
)
233 DEVICE_VENDOR
:= NETGEAR
234 DEVICE_MODEL
:= Nighthawk X4 R7500
238 NETGEAR_BOARD_ID
:= R7500
239 NETGEAR_HW_ID
:= 29764841+0+128+256+3x3
+4x4
243 SUPPORTED_DEVICES
+= r7500
244 DEVICE_PACKAGES
:= ath10k-firmware-qca988x-ct
246 TARGET_DEVICES
+= netgear_r7500
248 define Device
/netgear_r7500v2
249 $(call Device
/DniImage
)
250 DEVICE_VENDOR
:= NETGEAR
251 DEVICE_MODEL
:= Nighthawk X4 R7500
255 NETGEAR_BOARD_ID
:= R7500v2
256 NETGEAR_HW_ID
:= 29764958+0+128+512+3x3
+4x4
259 BOARD_NAME
:= r7500v2
260 SUPPORTED_DEVICES
+= r7500v2
261 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct ath10k-firmware-qca988x-ct
263 TARGET_DEVICES
+= netgear_r7500v2
265 define Device
/netgear_r7800
266 $(call Device
/DniImage
)
267 DEVICE_VENDOR
:= NETGEAR
268 DEVICE_MODEL
:= Nighthawk X4S R7800
271 NETGEAR_BOARD_ID
:= R7800
272 NETGEAR_HW_ID
:= 29764958+0+128+512+4x4
+4x4
+cascade
276 SUPPORTED_DEVICES
+= r7800
277 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
279 TARGET_DEVICES
+= netgear_r7800
281 define Device
/netgear_xr500
282 $(call Device
/DniImage
)
283 DEVICE_VENDOR
:= NETGEAR
284 DEVICE_MODEL
:= Nighthawk XR500
287 NETGEAR_BOARD_ID
:= XR500
288 NETGEAR_HW_ID
:= 29764958+0+256+512+4x4
+4x4
+cascade
291 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
293 TARGET_DEVICES
+= netgear_xr500
295 define Device
/qcom_ipq8064-ap148
296 $(call Device
/FitImage
)
297 $(call Device
/UbiFit
)
298 DEVICE_VENDOR
:= Qualcomm
299 DEVICE_MODEL
:= AP148
300 DEVICE_VARIANT
:= standard
302 DEVICE_DTS
:= qcom-ipq8064-ap148
307 SUPPORTED_DEVICES
+= ap148
308 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
310 TARGET_DEVICES
+= qcom_ipq8064-ap148
312 define Device
/qcom_ipq8064-ap148-legacy
313 $(call Device
/LegacyImage
)
314 $(call Device
/UbiFit
)
315 DEVICE_VENDOR
:= Qualcomm
316 DEVICE_MODEL
:= AP148
317 DEVICE_VARIANT
:= legacy
319 DEVICE_DTS
:= qcom-ipq8064-ap148
323 SUPPORTED_DEVICES
:= qcom
,ipq8064-ap148 ap148
324 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
326 TARGET_DEVICES
+= qcom_ipq8064-ap148-legacy
328 define Device
/qcom_ipq8064-ap161
329 $(call Device
/FitImage
)
330 $(call Device
/UbiFit
)
331 DEVICE_VENDOR
:= Qualcomm
332 DEVICE_MODEL
:= AP161
334 DEVICE_DTS
:= qcom-ipq8064-ap161
339 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
341 TARGET_DEVICES
+= qcom_ipq8064-ap161
343 define Device
/qcom_ipq8064-db149
344 $(call Device
/FitImage
)
345 DEVICE_VENDOR
:= Qualcomm
346 DEVICE_MODEL
:= DB149
348 DEVICE_DTS
:= qcom-ipq8064-db149
351 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
353 TARGET_DEVICES
+= qcom_ipq8064-db149
355 define Device
/tplink_ad7200
356 $(call Device
/TpSafeImage
)
357 DEVICE_VENDOR
:= TP-Link
358 DEVICE_MODEL
:= AD7200
359 DEVICE_VARIANT
:= v1
/v2
360 DEVICE_ALT0_VENDOR
:= TP-Link
361 DEVICE_ALT0_MODEL
:= Talon AD7200
362 DEVICE_ALT0_VARIANT
:= v1
/v2
366 TPLINK_BOARD_ID
:= AD7200
367 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct kmod-wil6210
369 TARGET_DEVICES
+= tplink_ad7200
371 define Device
/tplink_c2600
372 $(call Device
/TpSafeImage
)
373 DEVICE_VENDOR
:= TP-Link
374 DEVICE_MODEL
:= Archer C2600
380 SUPPORTED_DEVICES
+= c2600
381 TPLINK_BOARD_ID
:= C2600
382 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
384 TARGET_DEVICES
+= tplink_c2600
386 define Device
/tplink_vr2600v
387 DEVICE_VENDOR
:= TP-Link
388 DEVICE_MODEL
:= Archer VR2600v
390 KERNEL_SUFFIX
:= -uImage
391 KERNEL
= kernel-bin | append-dtb | uImage none
392 KERNEL_NAME
:= zImage
397 BOARD_NAME
:= vr2600v
398 SUPPORTED_DEVICES
+= vr2600v
399 DEVICE_PACKAGES
:= ath10k-firmware-qca99x0-ct
400 IMAGE
/sysupgrade.bin
:= pad-extra
512 | append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-rootfs | pad-rootfs | append-metadata
402 TARGET_DEVICES
+= tplink_vr2600v
404 define Device
/ubnt_unifi-ac-hd
405 $(call Device
/FitImageLzma
)
406 DEVICE_VENDOR
:= Ubiquiti
407 DEVICE_MODEL
:= UniFi AC HD
411 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct
412 IMAGE
/sysupgrade.bin
:= append-kernel | pad-to
$$$$(BLOCKSIZE
) | append-rootfs | pad-rootfs | check-size | append-metadata
414 TARGET_DEVICES
+= ubnt_unifi-ac-hd
416 define Device
/zyxel_nbg6817
417 DEVICE_VENDOR
:= ZyXEL
418 DEVICE_MODEL
:= NBG6817
422 BOARD_NAME
:= nbg6817
424 RAS_ROOTFS_SIZE
:= 20934k
425 RAS_VERSION
:= "V1.99(OWRT.9999)C0"
426 SUPPORTED_DEVICES
+= nbg6817
427 DEVICE_PACKAGES
:= ath10k-firmware-qca9984-ct e2fsprogs kmod-fs-ext4 losetup
428 $(call Device
/ZyXELImage
)
430 TARGET_DEVICES
+= zyxel_nbg6817