ipq807x.mk 14 KB

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