ipq807x.mk 14 KB

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