blob: 0c62ce559a5435c1309aac476bca734c76c44137 [file] [log] [blame]
developerade6d682021-10-27 17:00:32 +08001KERNEL_LOADADDR := 0x48080000
developerfd40db22021-04-29 10:08:25 +08002
developer765135b2021-12-16 14:14:05 +08003define Device/mt7986a-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +08004 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +08005 DEVICE_MODEL := mt7986a-ax6000-spim-nor-rfb
6 DEVICE_DTS := mt7986a-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +08007 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +08008 SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +08009endef
developer765135b2021-12-16 14:14:05 +080010TARGET_DEVICES += mt7986a-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +080011
developer565bacb2021-09-28 21:26:32 +080012define Device/mt7986a-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080013 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080014 DEVICE_MODEL := mt7986a-ax6000-spim-nand-rfb (SPI-NAND,UBI)
15 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080016 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080017 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +080018 UBINIZE_OPTS := -E 5
19 BLOCKSIZE := 128k
20 PAGESIZE := 2048
21 IMAGE_SIZE := 65536k
22 KERNEL_IN_UBI := 1
23 IMAGES += factory.bin
24 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
25 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
26endef
developer565bacb2021-09-28 21:26:32 +080027TARGET_DEVICES += mt7986a-ax6000-spim-nand-rfb
28
developerbc023af2021-11-01 11:27:36 +080029define Device/mt7986a-ax8400-spim-nand-rfb
30 DEVICE_VENDOR := MediaTek
31 DEVICE_MODEL := mt7986a-ax8400-spim-nand-rfb (SPI-NAND,UBI)
32 DEVICE_DTS := mt7986a-spim-nand-rfb
33 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080034 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
developerbc023af2021-11-01 11:27:36 +080035 UBINIZE_OPTS := -E 5
36 BLOCKSIZE := 128k
37 PAGESIZE := 2048
38 IMAGE_SIZE := 65536k
39 KERNEL_IN_UBI := 1
40 IMAGES += factory.bin
41 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
42 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
43endef
44TARGET_DEVICES += mt7986a-ax8400-spim-nand-rfb
45
developer565bacb2021-09-28 21:26:32 +080046define Device/mt7986a-ax6000-snfi-nand-rfb
47 DEVICE_VENDOR := MediaTek
48 DEVICE_MODEL := mt7986a-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
49 DEVICE_DTS := mt7986a-snfi-nand-rfb
50 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080051 SUPPORTED_DEVICES := mediatek,mt7986a-snfi-snand-rfb
developer565bacb2021-09-28 21:26:32 +080052 UBINIZE_OPTS := -E 5
53 BLOCKSIZE := 128k
54 PAGESIZE := 2048
55 IMAGE_SIZE := 65536k
56 KERNEL_IN_UBI := 1
57 IMAGES += factory.bin
58 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
59 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
60endef
61TARGET_DEVICES += mt7986a-ax6000-snfi-nand-rfb
developerfd40db22021-04-29 10:08:25 +080062
developer19e8ed42021-06-10 19:15:03 +080063define Device/mt7986a-ax6000-emmc-rfb
64 DEVICE_VENDOR := MediaTek
65 DEVICE_MODEL := mt7986a-ax6000-emmc-rfb
66 DEVICE_DTS := mt7986a-emmc-rfb
67 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +080068 SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb
69 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
70 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
71 kmod-nls-iso8859-1
72 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developer19e8ed42021-06-10 19:15:03 +080073endef
74TARGET_DEVICES += mt7986a-ax6000-emmc-rfb
75
developer82b8f4e2022-07-07 11:42:17 +080076define Device/mt7986a-ax7800-emmc-rfb
77 DEVICE_VENDOR := MediaTek
78 DEVICE_MODEL := mt7986a-ax7800-emmc-rfb
79 DEVICE_DTS := mt7986a-emmc-rfb
80 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
81 SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb
82 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
83 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
84 kmod-nls-iso8859-1
85 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
86endef
87TARGET_DEVICES += mt7986a-ax7800-emmc-rfb
88
developer9ff02ca2023-02-23 12:52:33 +080089define Device/mt7986a-ax5400-emmc-rfb
90 DEVICE_VENDOR := MediaTek
91 DEVICE_MODEL := mt7986a-ax5400-emmc-rfb
92 DEVICE_DTS := mt7986a-emmc-rfb
93 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
94 SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb
95 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
96 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
97 kmod-nls-iso8859-1
98 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
99endef
100TARGET_DEVICES += mt7986a-ax5400-emmc-rfb
101
developer765135b2021-12-16 14:14:05 +0800102define Device/mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800103 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800104 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nor-rfb
105 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800106 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800107 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800108endef
developer765135b2021-12-16 14:14:05 +0800109TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800110
developer565bacb2021-09-28 21:26:32 +0800111define Device/mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800112 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800113 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
114 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800115 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800116 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +0800117 UBINIZE_OPTS := -E 5
118 BLOCKSIZE := 128k
119 PAGESIZE := 2048
120 IMAGE_SIZE := 65536k
121 KERNEL_IN_UBI := 1
122 IMAGES += factory.bin
123 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
124 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
125endef
developer565bacb2021-09-28 21:26:32 +0800126TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800127
developer1b76b3f2021-12-22 19:53:19 +0800128define Device/mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
129 DEVICE_VENDOR := MediaTek
130 DEVICE_MODEL := mt7986a-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
131 DEVICE_DTS := mt7986a-2500wan-gsw-spim-nand-rfb
132 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800133 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800134 UBINIZE_OPTS := -E 5
135 BLOCKSIZE := 128k
136 PAGESIZE := 2048
137 IMAGE_SIZE := 65536k
138 KERNEL_IN_UBI := 1
139 IMAGES += factory.bin
140 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
141 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
142endef
143TARGET_DEVICES += mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
144
developerbc838af2022-01-11 15:44:57 +0800145define Device/mt7986a-ax6000-2500wan-sd-rfb
146 DEVICE_VENDOR := MediaTek
147 DEVICE_MODEL := mt7986a-ax6000-2500wan-sd-rfb
148 DEVICE_DTS := mt7986a-2500wan-sd-rfb
149 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
150 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
151 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
152 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
153 kmod-nls-iso8859-1
154 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
155endef
156TARGET_DEVICES += mt7986a-ax6000-2500wan-sd-rfb
157
developerbc023af2021-11-01 11:27:36 +0800158define Device/mt7986a-ax8400-2500wan-spim-nand-rfb
159 DEVICE_VENDOR := MediaTek
160 DEVICE_MODEL := mt7986a-ax8400-2500wan-spim-nand-rfb (SPI-NAND,UBI)
161 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
162 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800163 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developerbc023af2021-11-01 11:27:36 +0800164 UBINIZE_OPTS := -E 5
165 BLOCKSIZE := 128k
166 PAGESIZE := 2048
167 IMAGE_SIZE := 65536k
168 KERNEL_IN_UBI := 1
169 IMAGES += factory.bin
170 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
171 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
172endef
173TARGET_DEVICES += mt7986a-ax8400-2500wan-spim-nand-rfb
174
developer765135b2021-12-16 14:14:05 +0800175define Device/mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800176 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800177 DEVICE_MODEL := mt7986a-ax7800-spim-nor-rfb
178 DEVICE_DTS := mt7986a-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800179 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800180 SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800181endef
developer765135b2021-12-16 14:14:05 +0800182TARGET_DEVICES += mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800183
developer565bacb2021-09-28 21:26:32 +0800184define Device/mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800185 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800186 DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI)
187 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800188 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800189 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800190 UBINIZE_OPTS := -E 5
191 BLOCKSIZE := 128k
192 PAGESIZE := 2048
193 IMAGE_SIZE := 65536k
194 KERNEL_IN_UBI := 1
195 IMAGES += factory.bin
196 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
197 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
198endef
developer565bacb2021-09-28 21:26:32 +0800199TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800200
developer9ff02ca2023-02-23 12:52:33 +0800201define Device/mt7986a-ax5400-spim-nand-rfb
202 DEVICE_VENDOR := MediaTek
203 DEVICE_MODEL := mt7986a-ax5400-spim-nand-rfb (SPI-NAND,UBI)
204 DEVICE_DTS := mt7986a-spim-nand-rfb
205 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
206 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
207 UBINIZE_OPTS := -E 5
208 BLOCKSIZE := 128k
209 PAGESIZE := 2048
210 IMAGE_SIZE := 65536k
211 KERNEL_IN_UBI := 1
212 IMAGES += factory.bin
213 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
214 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
215endef
216TARGET_DEVICES += mt7986a-ax5400-spim-nand-rfb
217
developer765135b2021-12-16 14:14:05 +0800218define Device/mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800219 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800220 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nor-rfb
221 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800222 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800223 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800224endef
developer765135b2021-12-16 14:14:05 +0800225TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800226
developer565bacb2021-09-28 21:26:32 +0800227define Device/mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800228 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800229 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI)
230 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800231 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800232 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +0800233 UBINIZE_OPTS := -E 5
234 BLOCKSIZE := 128k
235 PAGESIZE := 2048
236 IMAGE_SIZE := 65536k
237 KERNEL_IN_UBI := 1
238 IMAGES += factory.bin
239 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
240 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
241endef
developer565bacb2021-09-28 21:26:32 +0800242TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800243
developer9ff02ca2023-02-23 12:52:33 +0800244define Device/mt7986a-ax5400-2500wan-spim-nand-rfb
245 DEVICE_VENDOR := MediaTek
246 DEVICE_MODEL := mt7986a-ax5400-2500wan-spim-nand-rfb (SPI-NAND,UBI)
247 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
248 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
249 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
250 UBINIZE_OPTS := -E 5
251 BLOCKSIZE := 128k
252 PAGESIZE := 2048
253 IMAGE_SIZE := 65536k
254 KERNEL_IN_UBI := 1
255 IMAGES += factory.bin
256 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
257 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
258endef
259TARGET_DEVICES += mt7986a-ax5400-2500wan-spim-nand-rfb
260
developer765135b2021-12-16 14:14:05 +0800261define Device/mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800262 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800263 DEVICE_MODEL := mt7986b-ax6000-spim-nor-rfb
264 DEVICE_DTS := mt7986b-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800265 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800266 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800267endef
developer765135b2021-12-16 14:14:05 +0800268TARGET_DEVICES += mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800269
developer565bacb2021-09-28 21:26:32 +0800270define Device/mt7986b-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800271 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800272 DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI)
273 DEVICE_DTS := mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800274 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800275 SUPPORTED_DEVICES := mediatek,mt7986b-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800276 UBINIZE_OPTS := -E 5
277 BLOCKSIZE := 128k
278 PAGESIZE := 2048
279 IMAGE_SIZE := 65536k
280 KERNEL_IN_UBI := 1
281 IMAGES += factory.bin
282 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
283 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
284endef
developer565bacb2021-09-28 21:26:32 +0800285TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb
286
287define Device/mt7986b-ax6000-snfi-nand-rfb
288 DEVICE_VENDOR := MediaTek
289 DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
290 DEVICE_DTS := mt7986b-snfi-nand-rfb
291 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800292 SUPPORTED_DEVICES := mediatek,mt7986b-snfi-snand-rfb
developer565bacb2021-09-28 21:26:32 +0800293 UBINIZE_OPTS := -E 5
294 BLOCKSIZE := 128k
295 PAGESIZE := 2048
296 IMAGE_SIZE := 65536k
297 KERNEL_IN_UBI := 1
298 IMAGES += factory.bin
299 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
300 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
301endef
302TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800303
developerf1422f62021-09-14 13:59:15 +0800304define Device/mt7986b-ax6000-emmc-rfb
305 DEVICE_VENDOR := MediaTek
306 DEVICE_MODEL := mt7986b-ax6000-emmc-rfb
307 DEVICE_DTS := mt7986b-emmc-rfb
308 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +0800309 SUPPORTED_DEVICES := mediatek,mt7986b-emmc-rfb
310 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
311 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
312 kmod-nls-iso8859-1
313 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developerf1422f62021-09-14 13:59:15 +0800314endef
315TARGET_DEVICES += mt7986b-ax6000-emmc-rfb
316
developer765135b2021-12-16 14:14:05 +0800317define Device/mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800318 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800319 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nor-rfb
320 DEVICE_DTS := mt7986b-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800321 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800322 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800323endef
developer765135b2021-12-16 14:14:05 +0800324TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800325
developer565bacb2021-09-28 21:26:32 +0800326define Device/mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800327 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800328 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
329 DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800330 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800331 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-snand-rfb
developerb7fefc12021-06-10 19:36:07 +0800332 UBINIZE_OPTS := -E 5
333 BLOCKSIZE := 128k
334 PAGESIZE := 2048
335 IMAGE_SIZE := 65536k
336 KERNEL_IN_UBI := 1
337 IMAGES += factory.bin
338 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
339 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
340endef
developer565bacb2021-09-28 21:26:32 +0800341TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800342
developer1b76b3f2021-12-22 19:53:19 +0800343define Device/mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
344 DEVICE_VENDOR := MediaTek
345 DEVICE_MODEL := mt7986b-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
346 DEVICE_DTS := mt7986b-2500wan-gsw-spim-nand-rfb
347 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800348 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800349 UBINIZE_OPTS := -E 5
350 BLOCKSIZE := 128k
351 PAGESIZE := 2048
352 IMAGE_SIZE := 65536k
353 KERNEL_IN_UBI := 1
354 IMAGES += factory.bin
355 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
356 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
357endef
358TARGET_DEVICES += mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
359
developerf9a2c032021-09-30 17:18:10 +0800360define Device/mt7986b-ax6000-2500wan-snfi-nand-rfb
361 DEVICE_VENDOR := MediaTek
362 DEVICE_MODEL := mt7986b-ax6000-2500wan-snfi-nand-rfb (SPI-NAND,UBI)
363 DEVICE_DTS := mt7986b-2500wan-snfi-nand-rfb
364 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800365 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snfi-snand-rfb
developerf9a2c032021-09-30 17:18:10 +0800366 UBINIZE_OPTS := -E 5
367 BLOCKSIZE := 128k
368 PAGESIZE := 2048
369 IMAGE_SIZE := 65536k
370 KERNEL_IN_UBI := 1
371 IMAGES += factory.bin
372 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
373 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
374endef
375TARGET_DEVICES += mt7986b-ax6000-2500wan-snfi-nand-rfb
376
developerbc838af2022-01-11 15:44:57 +0800377define Device/mt7986b-ax6000-2500wan-sd-rfb
378 DEVICE_VENDOR := MediaTek
379 DEVICE_MODEL := mt7986b-ax6000-2500wan-sd-rfb
380 DEVICE_DTS := mt7986b-2500wan-sd-rfb
381 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
382 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
383 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
384 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
385 kmod-nls-iso8859-1
386 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
387endef
388TARGET_DEVICES += mt7986b-ax6000-2500wan-sd-rfb
389
developerfd40db22021-04-29 10:08:25 +0800390define Device/mediatek_mt7986-fpga
391 DEVICE_VENDOR := MediaTek
392 DEVICE_MODEL := MTK7986 FPGA
393 DEVICE_DTS := mt7986-fpga
394 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
395 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
396 append-rootfs | pad-rootfs | append-metadata
397endef
398TARGET_DEVICES += mediatek_mt7986-fpga
399
400define Device/mediatek_mt7986-fpga-ubi
401 DEVICE_VENDOR := MediaTek
402 DEVICE_MODEL := MTK7986 FPGA (UBI)
403 DEVICE_DTS := mt7986-fpga-ubi
404 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
405 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
406 UBINIZE_OPTS := -E 5
407 BLOCKSIZE := 128k
408 PAGESIZE := 2048
409 IMAGE_SIZE := 65536k
410 KERNEL_IN_UBI := 1
411 IMAGES += factory.bin
412 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
413 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
414endef
415TARGET_DEVICES += mediatek_mt7986-fpga-ubi