generic.mk 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
  2. DEVICE_VARS += TPLINK_BOARD_ID
  3. define Device/kernel-size-migration
  4. DEVICE_COMPAT_VERSION := 2.0
  5. DEVICE_COMPAT_MESSAGE := *** Kernel partition size has changed from earlier \
  6. versions. You need to sysupgrade with the OpenWrt factory image and \
  7. use the force flag when image check fails. Settings will be lost. ***
  8. endef
  9. define Build/buffalo-rootfs-cksum
  10. ( \
  11. echo -ne "\x$$(od -A n -t u1 $@ | tr -s ' ' '\n' | \
  12. $(STAGING_DIR_HOST)/bin/awk '{s+=$$0}END{printf "%x", 255-s%256}')"; \
  13. ) >> $@
  14. endef
  15. define Build/edimax-header
  16. $(eval edimax_model=$(word 1,$(1)))
  17. $(STAGING_DIR_HOST)/bin/mkedimaximg \
  18. -b -s CSYS -m $(edimax_model) \
  19. -f 0x70000 -S 0x1200000 \
  20. -i $@ -o [email protected]
  21. @mv [email protected] $@
  22. endef
  23. define Device/DniImage
  24. KERNEL_SUFFIX := -uImage
  25. KERNEL = kernel-bin | append-dtb | uImage none
  26. KERNEL_NAME := zImage
  27. NETGEAR_BOARD_ID :=
  28. NETGEAR_HW_ID :=
  29. UBINIZE_OPTS := -E 5
  30. IMAGES += factory.img
  31. IMAGE/factory.img := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  32. append-uImage-fakehdr filesystem | pad-to $$$$(KERNEL_SIZE) | \
  33. append-ubi | netgear-dni
  34. IMAGE/sysupgrade.bin := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  35. append-uImage-fakehdr filesystem | sysupgrade-tar kernel=$$$$@ | \
  36. append-metadata
  37. endef
  38. define Device/TpSafeImage
  39. KERNEL_SUFFIX := -uImage
  40. KERNEL = kernel-bin | append-dtb | uImage none
  41. KERNEL_NAME := zImage
  42. TPLINK_BOARD_ID :=
  43. IMAGES += factory.bin
  44. IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
  45. IMAGE/sysupgrade.bin := append-rootfs | \
  46. tplink-safeloader sysupgrade | append-metadata
  47. endef
  48. define Device/ZyXELImage
  49. KERNEL_SUFFIX := -uImage
  50. KERNEL = kernel-bin | append-dtb | uImage none | \
  51. pad-to $$(KERNEL_SIZE)
  52. KERNEL_NAME := zImage
  53. IMAGES += factory.bin
  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=$$$$@ | \
  58. append-metadata
  59. endef
  60. define Device/arris_tr4400-v2
  61. $(call Device/LegacyImage)
  62. DEVICE_VENDOR := Arris
  63. DEVICE_MODEL := TR4400
  64. DEVICE_VARIANT := v2
  65. SOC := qcom-ipq8065
  66. BLOCKSIZE := 128k
  67. PAGESIZE := 2048
  68. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct ath10k-firmware-qca99x0-ct
  69. KERNEL_IN_UBI := 1
  70. endef
  71. TARGET_DEVICES += arris_tr4400-v2
  72. define Device/askey_rt4230w-rev6
  73. $(call Device/LegacyImage)
  74. DEVICE_VENDOR := Askey
  75. DEVICE_MODEL := RT4230W
  76. DEVICE_VARIANT := REV6
  77. SOC := qcom-ipq8065
  78. BLOCKSIZE := 128k
  79. PAGESIZE := 2048
  80. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
  81. KERNEL_IN_UBI := 1
  82. endef
  83. TARGET_DEVICES += askey_rt4230w-rev6
  84. define Device/asrock_g10
  85. $(call Device/FitImage)
  86. $(call Device/UbiFit)
  87. SOC := qcom-ipq8064
  88. DEVICE_VENDOR := ASRock
  89. DEVICE_MODEL := G10
  90. BLOCKSIZE := 128k
  91. PAGESIZE := 2048
  92. KERNEL_SIZE := 5332k
  93. DEVICE_PACKAGES := kmod-i2c-gpio ath10k-firmware-qca99x0-ct
  94. IMAGE/nand-factory.bin := append-ubi | edimax-header RN67
  95. endef
  96. TARGET_DEVICES += asrock_g10
  97. define Device/buffalo_wxr-2533dhp
  98. $(call Device/LegacyImage)
  99. SOC := qcom-ipq8064
  100. DEVICE_VENDOR := Buffalo
  101. DEVICE_MODEL := WXR-2533DHP
  102. BLOCKSIZE := 128k
  103. PAGESIZE := 2048
  104. IMAGE_SIZE := 65536k
  105. KERNEL_IN_UBI := 1
  106. IMAGE/sysupgrade.bin := append-rootfs | buffalo-rootfs-cksum | \
  107. sysupgrade-tar rootfs=$$$$@ | append-metadata
  108. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  109. endef
  110. TARGET_DEVICES += buffalo_wxr-2533dhp
  111. define Device/compex_wpq864
  112. $(call Device/FitImage)
  113. $(call Device/UbiFit)
  114. DEVICE_VENDOR := Compex
  115. DEVICE_MODEL := WPQ864
  116. BLOCKSIZE := 128k
  117. PAGESIZE := 2048
  118. SOC := qcom-ipq8064
  119. DEVICE_PACKAGES := kmod-gpio-beeper
  120. endef
  121. TARGET_DEVICES += compex_wpq864
  122. define Device/edgecore_ecw5410
  123. $(call Device/FitImage)
  124. $(call Device/UbiFit)
  125. DEVICE_VENDOR := Edgecore
  126. DEVICE_MODEL := ECW5410
  127. SOC := qcom-ipq8068
  128. BLOCKSIZE := 128k
  129. PAGESIZE := 2048
  130. DEVICE_DTS_CONFIG := [email protected]
  131. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
  132. endef
  133. TARGET_DEVICES += edgecore_ecw5410
  134. define Device/linksys_ea7500-v1
  135. $(call Device/LegacyImage)
  136. $(Device/kernel-size-migration)
  137. DEVICE_VENDOR := Linksys
  138. DEVICE_MODEL := EA7500
  139. DEVICE_VARIANT := v1
  140. SOC := qcom-ipq8064
  141. PAGESIZE := 2048
  142. BLOCKSIZE := 128k
  143. KERNEL_SIZE := 4096k
  144. KERNEL = kernel-bin | append-dtb | uImage none | \
  145. append-uImage-fakehdr filesystem
  146. UBINIZE_OPTS := -E 5
  147. IMAGES := factory.bin sysupgrade.bin
  148. IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
  149. append-ubi | pad-to $$$$(PAGESIZE)
  150. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  151. endef
  152. TARGET_DEVICES += linksys_ea7500-v1
  153. define Device/linksys_ea8500
  154. $(call Device/LegacyImage)
  155. $(Device/kernel-size-migration)
  156. DEVICE_VENDOR := Linksys
  157. DEVICE_MODEL := EA8500
  158. SOC := qcom-ipq8064
  159. PAGESIZE := 2048
  160. BLOCKSIZE := 128k
  161. KERNEL_SIZE := 4096k
  162. KERNEL = kernel-bin | append-dtb | uImage none | \
  163. append-uImage-fakehdr filesystem
  164. BOARD_NAME := ea8500
  165. SUPPORTED_DEVICES += ea8500
  166. UBINIZE_OPTS := -E 5
  167. IMAGES += factory.bin
  168. IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
  169. append-ubi
  170. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  171. endef
  172. TARGET_DEVICES += linksys_ea8500
  173. define Device/meraki_mr42
  174. $(call Device/FitImage)
  175. DEVICE_VENDOR := Cisco Meraki
  176. DEVICE_MODEL := MR42
  177. SOC := qcom-ipq8068
  178. BLOCKSIZE := 128k
  179. PAGESIZE := 2048
  180. KERNEL_LOADADDR = 0x44208000
  181. DEVICE_PACKAGES := -swconfig -kmod-ata-ahci -kmod-ata-ahci-platform \
  182. -kmod-usb-ohci -kmod-usb2 -kmod-usb-ledtrig-usbport \
  183. -kmod-phy-qcom-ipq806x-usb -kmod-usb3 -kmod-usb-dwc3-qcom \
  184. -uboot-envtools ath10k-firmware-qca9887-ct \
  185. ath10k-firmware-qca99x0-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
  186. kmod-leds-tlc591xx
  187. endef
  188. TARGET_DEVICES += meraki_mr42
  189. define Device/meraki_mr52
  190. $(call Device/FitImage)
  191. DEVICE_VENDOR := Cisco Meraki
  192. DEVICE_MODEL := MR52
  193. SOC := qcom-ipq8068
  194. BLOCKSIZE := 128k
  195. PAGESIZE := 2048
  196. KERNEL_LOADADDR = 0x44208000
  197. DEVICE_DTS_CONFIG := config@2
  198. DEVICE_PACKAGES := -swconfig -kmod-ata-ahci -kmod-ata-ahci-platform \
  199. -kmod-usb-ohci -kmod-usb2 -kmod-usb-ledtrig-usbport \
  200. -kmod-phy-qcom-ipq806x-usb -kmod-usb3 -kmod-usb-dwc3-qcom \
  201. -uboot-envtools ath10k-firmware-qca9887-ct \
  202. ath10k-firmware-qca9984-ct kmod-eeprom-at24 kmod-hwmon-ina2xx \
  203. kmod-leds-tlc591xx
  204. endef
  205. TARGET_DEVICES += meraki_mr52
  206. define Device/nec_wg2600hp
  207. $(call Device/LegacyImage)
  208. DEVICE_VENDOR := NEC
  209. DEVICE_MODEL := Aterm WG2600HP
  210. SOC := qcom-ipq8064
  211. BLOCKSIZE := 64k
  212. BOARD_NAME := wg2600hp
  213. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
  214. pad-rootfs | append-metadata
  215. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  216. endef
  217. TARGET_DEVICES += nec_wg2600hp
  218. define Device/nec_wg2600hp3
  219. $(call Device/LegacyImage)
  220. DEVICE_VENDOR := NEC Platforms
  221. DEVICE_MODEL := Aterm WG2600HP3
  222. SOC := qcom-ipq8062
  223. BLOCKSIZE := 64k
  224. IMAGES := sysupgrade.bin
  225. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
  226. pad-rootfs | append-metadata
  227. DEVICE_PACKAGES := -kmod-ata-ahci -kmod-ata-ahci-platform \
  228. -kmod-usb-ohci -kmod-usb2 -kmod-usb-ledtrig-usbport \
  229. -kmod-phy-qcom-ipq806x-usb -kmod-usb3 -kmod-usb-dwc3-qcom \
  230. ath10k-firmware-qca9984-ct
  231. endef
  232. TARGET_DEVICES += nec_wg2600hp3
  233. define Device/netgear_d7800
  234. $(call Device/DniImage)
  235. DEVICE_VENDOR := NETGEAR
  236. DEVICE_MODEL := Nighthawk X4 D7800
  237. SOC := qcom-ipq8064
  238. KERNEL_SIZE := 4096k
  239. NETGEAR_BOARD_ID := D7800
  240. NETGEAR_HW_ID := 29764958+0+128+512+4x4+4x4
  241. BLOCKSIZE := 128k
  242. PAGESIZE := 2048
  243. BOARD_NAME := d7800
  244. SUPPORTED_DEVICES += d7800
  245. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  246. DEVICE_COMPAT_VERSION := 2.0
  247. DEVICE_COMPAT_MESSAGE := Sysupgrade does not work due to rootfs ubi partition size change. \
  248. Use factory image with the TFTP recovery flash routine.
  249. endef
  250. TARGET_DEVICES += netgear_d7800
  251. define Device/netgear_r7500
  252. $(call Device/DniImage)
  253. DEVICE_VENDOR := NETGEAR
  254. DEVICE_MODEL := Nighthawk X4 R7500
  255. DEVICE_VARIANT := v1
  256. SOC := qcom-ipq8064
  257. KERNEL_SIZE := 4096k
  258. NETGEAR_BOARD_ID := R7500
  259. NETGEAR_HW_ID := 29764841+0+128+256+3x3+4x4
  260. BLOCKSIZE := 128k
  261. PAGESIZE := 2048
  262. BOARD_NAME := r7500
  263. SUPPORTED_DEVICES += r7500
  264. DEVICE_PACKAGES := ath10k-firmware-qca988x-ct
  265. endef
  266. TARGET_DEVICES += netgear_r7500
  267. define Device/netgear_r7500v2
  268. $(call Device/DniImage)
  269. DEVICE_VENDOR := NETGEAR
  270. DEVICE_MODEL := Nighthawk X4 R7500
  271. DEVICE_VARIANT := v2
  272. SOC := qcom-ipq8064
  273. KERNEL_SIZE := 4096k
  274. NETGEAR_BOARD_ID := R7500v2
  275. NETGEAR_HW_ID := 29764958+0+128+512+3x3+4x4
  276. BLOCKSIZE := 128k
  277. PAGESIZE := 2048
  278. BOARD_NAME := r7500v2
  279. SUPPORTED_DEVICES += r7500v2
  280. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct \
  281. ath10k-firmware-qca988x-ct
  282. endef
  283. TARGET_DEVICES += netgear_r7500v2
  284. define Device/netgear_r7800
  285. $(call Device/DniImage)
  286. DEVICE_VENDOR := NETGEAR
  287. DEVICE_MODEL := Nighthawk X4S R7800
  288. SOC := qcom-ipq8065
  289. KERNEL_SIZE := 4096k
  290. NETGEAR_BOARD_ID := R7800
  291. NETGEAR_HW_ID := 29764958+0+128+512+4x4+4x4+cascade
  292. BLOCKSIZE := 128k
  293. PAGESIZE := 2048
  294. BOARD_NAME := r7800
  295. SUPPORTED_DEVICES += r7800
  296. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct kmod-ramoops
  297. endef
  298. TARGET_DEVICES += netgear_r7800
  299. define Device/netgear_xr450
  300. $(call Device/DniImage)
  301. DEVICE_VENDOR := NETGEAR
  302. DEVICE_MODEL := Nighthawk XR450
  303. SOC := qcom-ipq8065
  304. KERNEL_SIZE := 4096k
  305. NETGEAR_BOARD_ID := XR450
  306. NETGEAR_HW_ID := 29764958+0+256+512+4x4+4x4+cascade
  307. BLOCKSIZE := 128k
  308. PAGESIZE := 2048
  309. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct kmod-ramoops
  310. endef
  311. TARGET_DEVICES += netgear_xr450
  312. define Device/netgear_xr500
  313. $(call Device/DniImage)
  314. DEVICE_VENDOR := NETGEAR
  315. DEVICE_MODEL := Nighthawk XR500
  316. SOC := qcom-ipq8065
  317. KERNEL_SIZE := 4096k
  318. NETGEAR_BOARD_ID := XR500
  319. NETGEAR_HW_ID := 29764958+0+256+512+4x4+4x4+cascade
  320. BLOCKSIZE := 128k
  321. PAGESIZE := 2048
  322. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct kmod-ramoops
  323. endef
  324. TARGET_DEVICES += netgear_xr500
  325. define Device/nokia_ac400i
  326. $(call Device/FitImage)
  327. $(call Device/UbiFit)
  328. DEVICE_VENDOR := Nokia
  329. DEVICE_MODEL := AC400i
  330. SOC := qcom-ipq8065
  331. DEVICE_DTS := qcom-ipq8065-ac400i
  332. BLOCKSIZE := 128k
  333. PAGESIZE := 2048
  334. BOARD_NAME := ac400i
  335. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
  336. endef
  337. TARGET_DEVICES += nokia_ac400i
  338. define Device/qcom_ipq8064-ap148
  339. $(call Device/FitImage)
  340. $(call Device/UbiFit)
  341. DEVICE_VENDOR := Qualcomm
  342. DEVICE_MODEL := AP148
  343. DEVICE_VARIANT := standard
  344. SOC := qcom-ipq8064
  345. DEVICE_DTS := qcom-ipq8064-ap148
  346. KERNEL_INSTALL := 1
  347. BLOCKSIZE := 128k
  348. PAGESIZE := 2048
  349. BOARD_NAME := ap148
  350. SUPPORTED_DEVICES += ap148
  351. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  352. endef
  353. TARGET_DEVICES += qcom_ipq8064-ap148
  354. define Device/qcom_ipq8064-ap148-legacy
  355. $(call Device/LegacyImage)
  356. $(call Device/UbiFit)
  357. DEVICE_VENDOR := Qualcomm
  358. DEVICE_MODEL := AP148
  359. DEVICE_VARIANT := legacy
  360. SOC := qcom-ipq8064
  361. DEVICE_DTS := qcom-ipq8064-ap148
  362. BLOCKSIZE := 128k
  363. PAGESIZE := 2048
  364. BOARD_NAME := ap148
  365. SUPPORTED_DEVICES := qcom,ipq8064-ap148 ap148
  366. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  367. endef
  368. TARGET_DEVICES += qcom_ipq8064-ap148-legacy
  369. define Device/qcom_ipq8064-ap161
  370. $(call Device/FitImage)
  371. $(call Device/UbiFit)
  372. DEVICE_VENDOR := Qualcomm
  373. DEVICE_MODEL := AP161
  374. SOC := qcom-ipq8064
  375. DEVICE_DTS := qcom-ipq8064-ap161
  376. KERNEL_INSTALL := 1
  377. BLOCKSIZE := 128k
  378. PAGESIZE := 2048
  379. BOARD_NAME := ap161
  380. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  381. endef
  382. TARGET_DEVICES += qcom_ipq8064-ap161
  383. define Device/qcom_ipq8064-db149
  384. $(call Device/FitImage)
  385. DEVICE_VENDOR := Qualcomm
  386. DEVICE_MODEL := DB149
  387. SOC := qcom-ipq8064
  388. DEVICE_DTS := qcom-ipq8064-db149
  389. KERNEL_INSTALL := 1
  390. BOARD_NAME := db149
  391. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  392. endef
  393. TARGET_DEVICES += qcom_ipq8064-db149
  394. define Device/tplink_ad7200
  395. $(call Device/TpSafeImage)
  396. DEVICE_VENDOR := TP-Link
  397. DEVICE_MODEL := AD7200
  398. DEVICE_VARIANT := v1/v2
  399. DEVICE_ALT0_VENDOR := TP-Link
  400. DEVICE_ALT0_MODEL := Talon AD7200
  401. DEVICE_ALT0_VARIANT := v1/v2
  402. SOC := qcom-ipq8064
  403. BLOCKSIZE := 128k
  404. PAGESIZE := 2048
  405. TPLINK_BOARD_ID := AD7200
  406. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops kmod-wil6210
  407. endef
  408. TARGET_DEVICES += tplink_ad7200
  409. define Device/tplink_c2600
  410. $(call Device/TpSafeImage)
  411. DEVICE_VENDOR := TP-Link
  412. DEVICE_MODEL := Archer C2600
  413. DEVICE_VARIANT := v1
  414. SOC := qcom-ipq8064
  415. BLOCKSIZE := 128k
  416. PAGESIZE := 2048
  417. BOARD_NAME := c2600
  418. SUPPORTED_DEVICES += c2600
  419. TPLINK_BOARD_ID := C2600
  420. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops
  421. endef
  422. TARGET_DEVICES += tplink_c2600
  423. define Device/tplink_vr2600v
  424. DEVICE_VENDOR := TP-Link
  425. DEVICE_MODEL := Archer VR2600v
  426. DEVICE_VARIANT := v1
  427. KERNEL_SUFFIX := -uImage
  428. KERNEL = kernel-bin | append-dtb | uImage none
  429. KERNEL_NAME := zImage
  430. IMAGE_SIZE := 12672k
  431. SOC := qcom-ipq8064
  432. BLOCKSIZE := 128k
  433. PAGESIZE := 2048
  434. BOARD_NAME := vr2600v
  435. SUPPORTED_DEVICES += vr2600v
  436. DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
  437. IMAGE/sysupgrade.bin := pad-extra 512 | append-kernel | \
  438. append-rootfs | pad-rootfs | append-metadata
  439. endef
  440. TARGET_DEVICES += tplink_vr2600v
  441. define Device/ubnt_unifi-ac-hd
  442. $(call Device/FitImageLzma)
  443. DEVICE_VENDOR := Ubiquiti
  444. DEVICE_MODEL := UniFi AC HD
  445. SOC := qcom-ipq8064
  446. BLOCKSIZE := 64k
  447. IMAGE_SIZE := 14784k
  448. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
  449. IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
  450. append-rootfs | pad-rootfs | check-size | append-metadata
  451. endef
  452. TARGET_DEVICES += ubnt_unifi-ac-hd
  453. define Device/zyxel_nbg6817
  454. DEVICE_VENDOR := ZyXEL
  455. DEVICE_MODEL := NBG6817
  456. SOC := qcom-ipq8065
  457. KERNEL_SIZE := 4096k
  458. BLOCKSIZE := 64k
  459. BOARD_NAME := nbg6817
  460. RAS_BOARD := NBG6817
  461. RAS_ROOTFS_SIZE := 20934k
  462. RAS_VERSION := "V1.99(OWRT.9999)C0"
  463. SUPPORTED_DEVICES += nbg6817
  464. DEVICE_PACKAGES := ath10k-firmware-qca9984-ct e2fsprogs \
  465. kmod-fs-ext4 losetup
  466. $(call Device/ZyXELImage)
  467. endef
  468. TARGET_DEVICES += zyxel_nbg6817