ipq807x.mk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID TPLINK_SUPPORT_STRING
  2. define Build/asus-fake-ramdisk
  3. rm -rf $(KDIR)/tmp/fakerd
  4. dd if=/dev/zero bs=32 count=1 > $(KDIR)/tmp/fakerd
  5. $(info KERNEL_INITRAMFS is $(KERNEL_INITRAMFS))
  6. endef
  7. define Build/asus-fake-rootfs
  8. $(eval comp=$(word 1,$(1)))
  9. $(eval filepath=$(word 2,$(1)))
  10. $(eval filecont=$(word 3,$(1)))
  11. rm -rf $(KDIR)/tmp/fakefs $(KDIR)/tmp/fakehsqs
  12. mkdir -p $(KDIR)/tmp/fakefs/$$(dirname $(filepath))
  13. echo '$(filecont)' > $(KDIR)/tmp/fakefs/$(filepath)
  14. $(STAGING_DIR_HOST)/bin/mksquashfs4 $(KDIR)/tmp/fakefs $(KDIR)/tmp/fakehsqs -comp $(comp) \
  15. -b 4096 -no-exports -no-sparse -no-xattrs -all-root -noappend \
  16. $(wordlist 4,$(words $(1)),$(1))
  17. endef
  18. define Build/asus-trx
  19. $(STAGING_DIR_HOST)/bin/asusuimage $(wordlist 1,$(words $(1)),$(1)) -i $@ -o [email protected]
  20. mv [email protected] $@
  21. endef
  22. define Build/wax6xx-netgear-tar
  23. mkdir [email protected]
  24. mv $@ [email protected]/nand-ipq807x-apps.img
  25. md5sum [email protected]/nand-ipq807x-apps.img | cut -c 1-32 > [email protected]/nand-ipq807x-apps.md5sum
  26. echo $(DEVICE_MODEL) > [email protected]/metadata.txt
  27. echo $(DEVICE_MODEL)"_V99.9.9.9" > [email protected]/version
  28. tar -C [email protected]/ -cf $@ .
  29. rm -rf [email protected]
  30. endef
  31. define Build/zyxel-nwa210ax-fit
  32. $(TOPDIR)/scripts/mkits-zyxel-fit-filogic.sh \
  33. [email protected] $@ "5c e1 ff ff ff ff ff ff ff ff"
  34. PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f [email protected] [email protected]
  35. @mv [email protected] $@
  36. endef
  37. define Device/aliyun_ap8220
  38. $(call Device/FitImage)
  39. $(call Device/UbiFit)
  40. DEVICE_VENDOR := Aliyun
  41. DEVICE_MODEL := AP8220
  42. BLOCKSIZE := 128k
  43. PAGESIZE := 2048
  44. DEVICE_DTS_CONFIG := config@ac02
  45. SOC := ipq8071
  46. DEVICE_PACKAGES := ipq-wifi-aliyun_ap8220
  47. endef
  48. TARGET_DEVICES += aliyun_ap8220
  49. define Device/arcadyan_aw1000
  50. $(call Device/FitImage)
  51. $(call Device/UbiFit)
  52. DEVICE_VENDOR := Arcadyan
  53. DEVICE_MODEL := AW1000
  54. BLOCKSIZE := 256k
  55. PAGESIZE := 4096
  56. DEVICE_DTS_CONFIG := config@hk09
  57. SOC := ipq8072
  58. DEVICE_PACKAGES := ipq-wifi-arcadyan_aw1000 kmod-spi-gpio \
  59. kmod-gpio-nxp-74hc164 kmod-usb-serial-option uqmi
  60. endef
  61. TARGET_DEVICES += arcadyan_aw1000
  62. define Device/asus_rt-ax89x
  63. DEVICE_VENDOR := Asus
  64. DEVICE_MODEL := RT-AX89X
  65. BLOCKSIZE := 128k
  66. PAGESIZE := 2048
  67. DEVICE_DTS_CONFIG := config@hk01
  68. SOC := ipq8074
  69. DEVICE_PACKAGES := kmod-hwmon-gpiofan ipq-wifi-asus_rt-ax89x
  70. KERNEL_NAME := vmlinux
  71. KERNEL := kernel-bin | libdeflate-gzip
  72. KERNEL_IN_UBI := 1
  73. IMAGE/sysupgrade.bin/squashfs := \
  74. append-kernel | asus-fake-ramdisk |\
  75. multiImage gzip $$(KDIR)/tmp/fakerd $$(KDIR)/image-$$(DEVICE_DTS).dtb |\
  76. sysupgrade-tar kernel=$$$$@ | append-metadata
  77. ifeq ($(IB),)
  78. ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
  79. ARTIFACTS := initramfs-factory.trx initramfs-uImage.itb
  80. ARTIFACT/initramfs-uImage.itb := \
  81. append-image-stage initramfs-kernel.bin | fit gzip $$(KDIR)/image-$$(DEVICE_DTS).dtb
  82. ARTIFACT/initramfs-factory.trx := \
  83. append-image-stage initramfs-kernel.bin |\
  84. asus-fake-rootfs xz /lib/firmware/IPQ8074A/fw_version.txt "fake" -no-compression |\
  85. multiImage gzip $$(KDIR)/tmp/fakehsqs $$(KDIR)/image-$$(DEVICE_DTS).dtb |\
  86. asus-trx -v 2 -n RT-AX89U -b 388 -e 49000
  87. endif
  88. endif
  89. endef
  90. TARGET_DEVICES += asus_rt-ax89x
  91. define Device/buffalo_wxr-5950ax12
  92. $(call Device/FitImage)
  93. DEVICE_VENDOR := Buffalo
  94. DEVICE_MODEL := WXR-5950AX12
  95. BLOCKSIZE := 128k
  96. PAGESIZE := 2048
  97. DEVICE_DTS_CONFIG := config@hk01
  98. SOC := ipq8074
  99. DEVICE_PACKAGES := ipq-wifi-buffalo_wxr-5950ax12
  100. endef
  101. TARGET_DEVICES += buffalo_wxr-5950ax12
  102. define Device/cmcc_rm2-6
  103. $(call Device/FitImage)
  104. $(call Device/UbiFit)
  105. DEVICE_VENDOR := CMCC
  106. DEVICE_MODEL := RM2-6
  107. BLOCKSIZE := 128k
  108. PAGESIZE := 2048
  109. DEVICE_DTS_CONFIG := config@ac02
  110. SOC := ipq8070
  111. IMAGES += factory.bin
  112. IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
  113. DEVICE_PACKAGES := ipq-wifi-cmcc_rm2-6 kmod-hwmon-gpiofan
  114. endef
  115. TARGET_DEVICES += cmcc_rm2-6
  116. define Device/compex_wpq873
  117. $(call Device/FitImage)
  118. $(call Device/UbiFit)
  119. DEVICE_VENDOR := Compex
  120. DEVICE_MODEL := WPQ873
  121. BLOCKSIZE := 128k
  122. PAGESIZE := 2048
  123. DEVICE_DTS_CONFIG := [email protected]
  124. SOC := ipq8072
  125. DEVICE_PACKAGES := ipq-wifi-compex_wpq873
  126. IMAGE/factory.ubi := append-ubi | qsdk-ipq-factory-nand
  127. endef
  128. TARGET_DEVICES += compex_wpq873
  129. define Device/dynalink_dl-wrx36
  130. $(call Device/FitImage)
  131. $(call Device/UbiFit)
  132. DEVICE_VENDOR := Dynalink
  133. DEVICE_MODEL := DL-WRX36
  134. BLOCKSIZE := 128k
  135. PAGESIZE := 2048
  136. DEVICE_DTS_CONFIG := config@rt5010w-d350-rev0
  137. SOC := ipq8072
  138. DEVICE_PACKAGES := ipq-wifi-dynalink_dl-wrx36
  139. endef
  140. TARGET_DEVICES += dynalink_dl-wrx36
  141. define Device/edgecore_eap102
  142. $(call Device/FitImage)
  143. $(call Device/UbiFit)
  144. DEVICE_VENDOR := Edgecore
  145. DEVICE_MODEL := EAP102
  146. BLOCKSIZE := 128k
  147. PAGESIZE := 2048
  148. DEVICE_DTS_CONFIG := config@ac02
  149. SOC := ipq8071
  150. DEVICE_PACKAGES := ipq-wifi-edgecore_eap102
  151. IMAGE/factory.ubi := append-ubi | qsdk-ipq-factory-nand
  152. endef
  153. TARGET_DEVICES += edgecore_eap102
  154. define Device/edimax_cax1800
  155. $(call Device/FitImage)
  156. $(call Device/UbiFit)
  157. DEVICE_VENDOR := Edimax
  158. DEVICE_MODEL := CAX1800
  159. BLOCKSIZE := 128k
  160. PAGESIZE := 2048
  161. DEVICE_DTS_CONFIG := config@ac03
  162. SOC := ipq8070
  163. DEVICE_PACKAGES := ipq-wifi-edimax_cax1800
  164. endef
  165. TARGET_DEVICES += edimax_cax1800
  166. define Device/linksys_homewrk
  167. $(call Device/FitImage)
  168. $(call Device/UbiFit)
  169. DEVICE_VENDOR := Linksys
  170. DEVICE_MODEL := HomeWRK
  171. DEVICE_DTS_CONFIG := config@oak03
  172. BLOCKSIZE := 256k
  173. PAGESIZE := 4096
  174. IMAGE_SIZE := 475m
  175. NAND_SIZE := 1024m
  176. SOC := ipq8174
  177. DEVICE_PACKAGES += kmod-leds-pca963x ipq-wifi-linksys_homewrk
  178. endef
  179. TARGET_DEVICES += linksys_homewrk
  180. define Device/linksys_mx
  181. $(call Device/FitImage)
  182. DEVICE_VENDOR := Linksys
  183. BLOCKSIZE := 128k
  184. PAGESIZE := 2048
  185. KERNEL_SIZE := 6144k
  186. IMAGE_SIZE := 147456k
  187. NAND_SIZE := 512m
  188. SOC := ipq8072
  189. IMAGES += factory.bin
  190. IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=$$$$(DEVICE_MODEL)
  191. DEVICE_PACKAGES := kmod-leds-pca963x
  192. endef
  193. define Device/linksys_mx4x00
  194. $(call Device/linksys_mx)
  195. SOC := ipq8174
  196. DEVICE_PACKAGES += ipq-wifi-linksys_mx4200
  197. endef
  198. define Device/linksys_mx4200v1
  199. $(call Device/linksys_mx4x00)
  200. DEVICE_MODEL := MX4200
  201. DEVICE_VARIANT := v1
  202. DEVICE_PACKAGES += kmod-hci-uart
  203. endef
  204. TARGET_DEVICES += linksys_mx4200v1
  205. define Device/linksys_mx4200v2
  206. $(call Device/linksys_mx4200v1)
  207. DEVICE_VARIANT := v2
  208. endef
  209. TARGET_DEVICES += linksys_mx4200v2
  210. define Device/linksys_mx4300
  211. $(call Device/linksys_mx4x00)
  212. DEVICE_MODEL := MX4300
  213. BLOCKSIZE := 256k
  214. PAGESIZE := 4096
  215. KERNEL_SIZE := 8192k
  216. IMAGE_SIZE := 171264k
  217. NAND_SIZE := 1024m
  218. endef
  219. TARGET_DEVICES += linksys_mx4300
  220. define Device/linksys_mx5300
  221. $(call Device/linksys_mx)
  222. DEVICE_MODEL := MX5300
  223. DEVICE_PACKAGES += kmod-rtc-ds1307 ipq-wifi-linksys_mx5300 \
  224. kmod-ath10k-ct ath10k-firmware-qca9984-ct
  225. endef
  226. TARGET_DEVICES += linksys_mx5300
  227. define Device/linksys_mx8500
  228. $(call Device/linksys_mx)
  229. DEVICE_MODEL := MX8500
  230. DEVICE_PACKAGES += ipq-wifi-linksys_mx8500 kmod-ath11k-pci \
  231. ath11k-firmware-qcn9074 kmod-hci-uart
  232. endef
  233. TARGET_DEVICES += linksys_mx8500
  234. define Device/netgear_rax120v2
  235. $(call Device/FitImage)
  236. $(call Device/UbiFit)
  237. DEVICE_VENDOR := Netgear
  238. DEVICE_MODEL := RAX120v2
  239. BLOCKSIZE := 128k
  240. PAGESIZE := 2048
  241. DEVICE_DTS_CONFIG := config@hk01
  242. SOC := ipq8074
  243. KERNEL_SIZE := 29696k
  244. NETGEAR_BOARD_ID := RAX120
  245. NETGEAR_HW_ID := 29765589+0+512+1024+4x4+8x8
  246. DEVICE_PACKAGES := ipq-wifi-netgear_rax120v2 kmod-spi-gpio \
  247. kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g762
  248. ifeq ($(IB),)
  249. ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
  250. IMAGES += web-ui-factory.img
  251. IMAGE/web-ui-factory.img := append-image initramfs-uImage.itb | \
  252. pad-offset $$$$(BLOCKSIZE) 64 | append-uImage-fakehdr filesystem | \
  253. netgear-dni
  254. endif
  255. endif
  256. IMAGE/sysupgrade.bin := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  257. append-uImage-fakehdr filesystem | sysupgrade-tar kernel=$$$$@ | \
  258. append-metadata
  259. endef
  260. TARGET_DEVICES += netgear_rax120v2
  261. define Device/netgear_sxk80
  262. $(call Device/FitImage)
  263. $(call Device/UbiFit)
  264. DEVICE_PACKAGES += ipq-wifi-netgear_sxk80
  265. DEVICE_VENDOR := Netgear
  266. BLOCKSIZE := 128k
  267. PAGESIZE := 2048
  268. DEVICE_DTS_CONFIG := config@hk01
  269. SOC := ipq8074
  270. KERNEL_SIZE := 6272k
  271. NETGEAR_HW_ID := 29766265+0+512+1024+4x4+4x4+4x4
  272. endef
  273. define Device/netgear_sxr80
  274. $(call Device/netgear_sxk80)
  275. DEVICE_MODEL := SXR80
  276. NETGEAR_BOARD_ID := SXR80
  277. endef
  278. TARGET_DEVICES += netgear_sxr80
  279. define Device/netgear_sxs80
  280. $(call Device/netgear_sxk80)
  281. DEVICE_MODEL := SXS80
  282. NETGEAR_BOARD_ID := SXS80
  283. endef
  284. TARGET_DEVICES += netgear_sxs80
  285. define Device/netgear_wax218
  286. $(call Device/FitImage)
  287. $(call Device/UbiFit)
  288. DEVICE_VENDOR := Netgear
  289. DEVICE_MODEL := WAX218
  290. DEVICE_DTS_CONFIG := config@hk07
  291. BLOCKSIZE := 128k
  292. PAGESIZE := 2048
  293. SOC := ipq8072
  294. ifeq ($(IB),)
  295. ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
  296. ARTIFACTS := web-ui-factory.fit
  297. ARTIFACT/web-ui-factory.fit := append-image initramfs-uImage.itb | \
  298. ubinize-kernel | qsdk-ipq-factory-nand
  299. endif
  300. endif
  301. DEVICE_PACKAGES := kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
  302. ipq-wifi-netgear_wax218
  303. endef
  304. TARGET_DEVICES += netgear_wax218
  305. define Device/netgear_wax620
  306. $(call Device/FitImage)
  307. $(call Device/UbiFit)
  308. DEVICE_VENDOR := Netgear
  309. DEVICE_MODEL := WAX620
  310. DEVICE_DTS_CONFIG := config@hk07
  311. BLOCKSIZE := 128k
  312. PAGESIZE := 2048
  313. SOC := ipq8072
  314. IMAGES += ui-factory.tar
  315. IMAGE/ui-factory.tar := append-ubi | qsdk-ipq-factory-nand | pad-to 4096 | wax6xx-netgear-tar
  316. DEVICE_PACKAGES := kmod-spi-gpio kmod-gpio-nxp-74hc164 \
  317. ipq-wifi-netgear_wax620
  318. endef
  319. TARGET_DEVICES += netgear_wax620
  320. define Device/netgear_wax630
  321. $(call Device/FitImage)
  322. $(call Device/UbiFit)
  323. DEVICE_VENDOR := Netgear
  324. DEVICE_MODEL := WAX630
  325. DEVICE_DTS_CONFIG := config@hk01
  326. BLOCKSIZE := 128k
  327. PAGESIZE := 2048
  328. SOC := ipq8074
  329. IMAGES += ui-factory.tar
  330. IMAGE/ui-factory.tar := append-ubi | qsdk-ipq-factory-nand | pad-to 4096 | wax6xx-netgear-tar
  331. DEVICE_PACKAGES := kmod-spi-gpio ipq-wifi-netgear_wax630
  332. endef
  333. TARGET_DEVICES += netgear_wax630
  334. define Device/prpl_haze
  335. $(call Device/FitImage)
  336. $(call Device/EmmcImage)
  337. DEVICE_VENDOR := prpl Foundation
  338. DEVICE_MODEL := Haze
  339. DEVICE_DTS_CONFIG := config@hk09
  340. SOC := ipq8072
  341. DEVICE_PACKAGES := ath11k-firmware-qcn9074 ipq-wifi-prpl_haze kmod-ath11k-pci \
  342. kmod-fs-f2fs f2fs-tools kmod-leds-lp5562
  343. endef
  344. TARGET_DEVICES += prpl_haze
  345. define Device/qnap_301w
  346. $(call Device/FitImage)
  347. $(call Device/EmmcImage)
  348. DEVICE_VENDOR := QNAP
  349. DEVICE_MODEL := 301w
  350. DEVICE_DTS_CONFIG := config@hk01
  351. KERNEL_SIZE := 16384k
  352. SOC := ipq8072
  353. DEVICE_PACKAGES := kmod-fs-f2fs f2fs-tools ipq-wifi-qnap_301w
  354. endef
  355. TARGET_DEVICES += qnap_301w
  356. define Device/redmi_ax6
  357. $(call Device/xiaomi_ax3600)
  358. DEVICE_VENDOR := Redmi
  359. DEVICE_MODEL := AX6
  360. DEVICE_PACKAGES := ipq-wifi-redmi_ax6
  361. endef
  362. TARGET_DEVICES += redmi_ax6
  363. define Device/spectrum_sax1v1k
  364. $(call Device/FitImage)
  365. $(call Device/EmmcImage)
  366. DEVICE_VENDOR := Spectrum
  367. DEVICE_MODEL := SAX1V1K
  368. DEVICE_DTS_CONFIG := config@rt5010w-d187-rev6
  369. SOC := ipq8072
  370. IMAGES := sysupgrade.bin
  371. DEVICE_PACKAGES := kmod-fs-f2fs f2fs-tools ipq-wifi-spectrum_sax1v1k
  372. endef
  373. TARGET_DEVICES += spectrum_sax1v1k
  374. define Device/tplink_deco-x80-5g
  375. $(call Device/FitImage)
  376. $(call Device/UbiFit)
  377. DEVICE_VENDOR := TP-Link
  378. DEVICE_MODEL := Deco X80-5G
  379. BLOCKSIZE := 128k
  380. PAGESIZE := 2048
  381. DEVICE_DTS_CONFIG := [email protected]
  382. SOC := ipq8074
  383. DEVICE_PACKAGES := kmod-hwmon-gpiofan ipq-wifi-tplink_deco-x80-5g \
  384. kmod-usb-serial-option kmod-usb-net-qmi-wwan
  385. endef
  386. TARGET_DEVICES += tplink_deco-x80-5g
  387. define Device/tplink_eap620hd-v1
  388. $(call Device/FitImage)
  389. $(call Device/UbiFit)
  390. DEVICE_VENDOR := TP-Link
  391. DEVICE_MODEL := EAP620 HD
  392. DEVICE_VARIANT := v1
  393. BLOCKSIZE := 128k
  394. PAGESIZE := 2048
  395. SOC := ipq8072
  396. DEVICE_PACKAGES := ipq-wifi-tplink_eap620hd-v1
  397. IMAGES += web-ui-factory.bin
  398. IMAGE/web-ui-factory.bin := append-ubi | tplink-image-2022
  399. TPLINK_SUPPORT_STRING := SupportList:\r\nEAP620 HD(TP-Link|UN|AX1800-D):1.0\r\n
  400. endef
  401. TARGET_DEVICES += tplink_eap620hd-v1
  402. define Device/tplink_eap660hd-v1
  403. $(call Device/FitImage)
  404. $(call Device/UbiFit)
  405. DEVICE_VENDOR := TP-Link
  406. DEVICE_MODEL := EAP660 HD
  407. DEVICE_VARIANT := v1
  408. BLOCKSIZE := 128k
  409. PAGESIZE := 2048
  410. SOC := ipq8072
  411. DEVICE_PACKAGES := ipq-wifi-tplink_eap660hd-v1
  412. IMAGES += web-ui-factory.bin
  413. IMAGE/web-ui-factory.bin := append-ubi | tplink-image-2022
  414. TPLINK_SUPPORT_STRING := SupportList:\r\nEAP660 HD(TP-Link|UN|AX3600-D):1.0\r\n
  415. endef
  416. TARGET_DEVICES += tplink_eap660hd-v1
  417. define Device/xiaomi_ax3600
  418. $(call Device/FitImage)
  419. $(call Device/UbiFit)
  420. DEVICE_VENDOR := Xiaomi
  421. DEVICE_MODEL := AX3600
  422. BLOCKSIZE := 128k
  423. PAGESIZE := 2048
  424. DEVICE_DTS_CONFIG := config@ac04
  425. SOC := ipq8071
  426. KERNEL_SIZE := 36608k
  427. DEVICE_PACKAGES := ipq-wifi-xiaomi_ax3600 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
  428. ifeq ($(IB),)
  429. ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
  430. ARTIFACTS := initramfs-factory.ubi
  431. ARTIFACT/initramfs-factory.ubi := append-image-stage initramfs-uImage.itb | ubinize-kernel
  432. endif
  433. endif
  434. endef
  435. TARGET_DEVICES += xiaomi_ax3600
  436. define Device/xiaomi_ax9000
  437. $(call Device/FitImage)
  438. $(call Device/UbiFit)
  439. DEVICE_VENDOR := Xiaomi
  440. DEVICE_MODEL := AX9000
  441. BLOCKSIZE := 128k
  442. PAGESIZE := 2048
  443. DEVICE_DTS_CONFIG := config@hk14
  444. SOC := ipq8072
  445. KERNEL_SIZE := 57344k
  446. DEVICE_PACKAGES := ipq-wifi-xiaomi_ax9000 kmod-ath11k-pci ath11k-firmware-qcn9074 \
  447. kmod-ath10k-ct ath10k-firmware-qca9887-ct
  448. ifeq ($(IB),)
  449. ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
  450. ARTIFACTS := initramfs-factory.ubi
  451. ARTIFACT/initramfs-factory.ubi := append-image-stage initramfs-uImage.itb | ubinize-kernel
  452. endif
  453. endif
  454. endef
  455. TARGET_DEVICES += xiaomi_ax9000
  456. define Device/yuncore_ax880
  457. $(call Device/FitImage)
  458. $(call Device/UbiFit)
  459. DEVICE_VENDOR := Yuncore
  460. DEVICE_MODEL := AX880
  461. BLOCKSIZE := 128k
  462. PAGESIZE := 2048
  463. DEVICE_DTS_CONFIG := config@hk09
  464. SOC := ipq8072
  465. DEVICE_PACKAGES := ipq-wifi-yuncore_ax880
  466. IMAGES += factory.bin
  467. IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
  468. endef
  469. TARGET_DEVICES += yuncore_ax880
  470. define Device/zbtlink_zbt-z800ax
  471. $(call Device/FitImage)
  472. $(call Device/UbiFit)
  473. DEVICE_VENDOR := Zbtlink
  474. DEVICE_MODEL := ZBT-Z800AX
  475. BLOCKSIZE := 128k
  476. PAGESIZE := 2048
  477. DEVICE_DTS_CONFIG := config@hk09
  478. SOC := ipq8072
  479. DEVICE_PACKAGES := ipq-wifi-zbtlink_zbt-z800ax
  480. IMAGES += factory.bin
  481. IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
  482. endef
  483. TARGET_DEVICES += zbtlink_zbt-z800ax
  484. define Device/zte_mf269
  485. $(call Device/FitImage)
  486. $(call Device/UbiFit)
  487. DEVICE_VENDOR := ZTE
  488. DEVICE_MODEL := MF269
  489. BLOCKSIZE := 128k
  490. PAGESIZE := 2048
  491. DEVICE_DTS_CONFIG := config@ac04
  492. SOC := ipq8071
  493. KERNEL_SIZE := 53248k
  494. DEVICE_PACKAGES := ipq-wifi-zte_mf269
  495. endef
  496. TARGET_DEVICES += zte_mf269
  497. define Device/zyxel_nbg7815
  498. $(call Device/FitImage)
  499. $(call Device/EmmcImage)
  500. DEVICE_VENDOR := ZYXEL
  501. DEVICE_MODEL := NBG7815
  502. DEVICE_DTS_CONFIG := config@nbg7815
  503. SOC := ipq8074
  504. DEVICE_PACKAGES := kmod-fs-f2fs f2fs-tools ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci \
  505. kmod-hci-uart kmod-hwmon-tmp103
  506. endef
  507. TARGET_DEVICES += zyxel_nbg7815
  508. define Device/zyxel_nwa210ax
  509. $(call Device/FitImage)
  510. $(call Device/UbiFit)
  511. DEVICE_VENDOR := ZYXEL
  512. DEVICE_MODEL := NWA210AX
  513. DEVICE_DTS_CONFIG := config@ac02
  514. SOC := ipq8071
  515. DEVICE_PACKAGES := ipq-wifi-zyxel_nwa210ax zyxel-bootconfig-ipq807x kmod-leds-lp5562
  516. BLOCKSIZE := 128k
  517. PAGESIZE := 2048
  518. IMAGE_SIZE := 61440k
  519. IMAGES += factory.bin
  520. IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) | zyxel-nwa210ax-fit
  521. endef
  522. TARGET_DEVICES += zyxel_nwa210ax