blob: 392283382083faf9f99aac46d56fb075bad0e095 [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
developer765135b2021-12-16 14:14:05 +080089define Device/mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080090 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +080091 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nor-rfb
92 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080093 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080094 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +080095endef
developer765135b2021-12-16 14:14:05 +080096TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080097
developer565bacb2021-09-28 21:26:32 +080098define Device/mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080099 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800100 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
101 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800102 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800103 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +0800104 UBINIZE_OPTS := -E 5
105 BLOCKSIZE := 128k
106 PAGESIZE := 2048
107 IMAGE_SIZE := 65536k
108 KERNEL_IN_UBI := 1
109 IMAGES += factory.bin
110 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
111 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
112endef
developer565bacb2021-09-28 21:26:32 +0800113TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800114
developer1b76b3f2021-12-22 19:53:19 +0800115define Device/mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
116 DEVICE_VENDOR := MediaTek
117 DEVICE_MODEL := mt7986a-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
118 DEVICE_DTS := mt7986a-2500wan-gsw-spim-nand-rfb
119 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800120 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800121 UBINIZE_OPTS := -E 5
122 BLOCKSIZE := 128k
123 PAGESIZE := 2048
124 IMAGE_SIZE := 65536k
125 KERNEL_IN_UBI := 1
126 IMAGES += factory.bin
127 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
128 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
129endef
130TARGET_DEVICES += mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
131
developerbc838af2022-01-11 15:44:57 +0800132define Device/mt7986a-ax6000-2500wan-sd-rfb
133 DEVICE_VENDOR := MediaTek
134 DEVICE_MODEL := mt7986a-ax6000-2500wan-sd-rfb
135 DEVICE_DTS := mt7986a-2500wan-sd-rfb
136 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
137 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
138 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
139 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
140 kmod-nls-iso8859-1
141 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
142endef
143TARGET_DEVICES += mt7986a-ax6000-2500wan-sd-rfb
144
developerbc023af2021-11-01 11:27:36 +0800145define Device/mt7986a-ax8400-2500wan-spim-nand-rfb
146 DEVICE_VENDOR := MediaTek
147 DEVICE_MODEL := mt7986a-ax8400-2500wan-spim-nand-rfb (SPI-NAND,UBI)
148 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
149 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800150 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developerbc023af2021-11-01 11:27:36 +0800151 UBINIZE_OPTS := -E 5
152 BLOCKSIZE := 128k
153 PAGESIZE := 2048
154 IMAGE_SIZE := 65536k
155 KERNEL_IN_UBI := 1
156 IMAGES += factory.bin
157 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
158 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
159endef
160TARGET_DEVICES += mt7986a-ax8400-2500wan-spim-nand-rfb
161
developer765135b2021-12-16 14:14:05 +0800162define Device/mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800163 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800164 DEVICE_MODEL := mt7986a-ax7800-spim-nor-rfb
165 DEVICE_DTS := mt7986a-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800166 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800167 SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800168endef
developer765135b2021-12-16 14:14:05 +0800169TARGET_DEVICES += mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800170
developer565bacb2021-09-28 21:26:32 +0800171define Device/mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800172 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800173 DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI)
174 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800175 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800176 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800177 UBINIZE_OPTS := -E 5
178 BLOCKSIZE := 128k
179 PAGESIZE := 2048
180 IMAGE_SIZE := 65536k
181 KERNEL_IN_UBI := 1
182 IMAGES += factory.bin
183 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
184 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
185endef
developer565bacb2021-09-28 21:26:32 +0800186TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800187
developer765135b2021-12-16 14:14:05 +0800188define Device/mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800189 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800190 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nor-rfb
191 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800192 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800193 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800194endef
developer765135b2021-12-16 14:14:05 +0800195TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800196
developer565bacb2021-09-28 21:26:32 +0800197define Device/mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800198 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800199 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI)
200 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800201 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800202 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +0800203 UBINIZE_OPTS := -E 5
204 BLOCKSIZE := 128k
205 PAGESIZE := 2048
206 IMAGE_SIZE := 65536k
207 KERNEL_IN_UBI := 1
208 IMAGES += factory.bin
209 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
210 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
211endef
developer565bacb2021-09-28 21:26:32 +0800212TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800213
developer765135b2021-12-16 14:14:05 +0800214define Device/mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800215 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800216 DEVICE_MODEL := mt7986b-ax6000-spim-nor-rfb
217 DEVICE_DTS := mt7986b-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800218 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800219 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800220endef
developer765135b2021-12-16 14:14:05 +0800221TARGET_DEVICES += mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800222
developer565bacb2021-09-28 21:26:32 +0800223define Device/mt7986b-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800224 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800225 DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI)
226 DEVICE_DTS := mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800227 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800228 SUPPORTED_DEVICES := mediatek,mt7986b-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800229 UBINIZE_OPTS := -E 5
230 BLOCKSIZE := 128k
231 PAGESIZE := 2048
232 IMAGE_SIZE := 65536k
233 KERNEL_IN_UBI := 1
234 IMAGES += factory.bin
235 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
236 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
237endef
developer565bacb2021-09-28 21:26:32 +0800238TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb
239
240define Device/mt7986b-ax6000-snfi-nand-rfb
241 DEVICE_VENDOR := MediaTek
242 DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
243 DEVICE_DTS := mt7986b-snfi-nand-rfb
244 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800245 SUPPORTED_DEVICES := mediatek,mt7986b-snfi-snand-rfb
developer565bacb2021-09-28 21:26:32 +0800246 UBINIZE_OPTS := -E 5
247 BLOCKSIZE := 128k
248 PAGESIZE := 2048
249 IMAGE_SIZE := 65536k
250 KERNEL_IN_UBI := 1
251 IMAGES += factory.bin
252 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
253 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
254endef
255TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800256
developerf1422f62021-09-14 13:59:15 +0800257define Device/mt7986b-ax6000-emmc-rfb
258 DEVICE_VENDOR := MediaTek
259 DEVICE_MODEL := mt7986b-ax6000-emmc-rfb
260 DEVICE_DTS := mt7986b-emmc-rfb
261 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +0800262 SUPPORTED_DEVICES := mediatek,mt7986b-emmc-rfb
263 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
264 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
265 kmod-nls-iso8859-1
266 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developerf1422f62021-09-14 13:59:15 +0800267endef
268TARGET_DEVICES += mt7986b-ax6000-emmc-rfb
269
developer765135b2021-12-16 14:14:05 +0800270define Device/mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800271 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800272 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nor-rfb
273 DEVICE_DTS := mt7986b-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800274 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800275 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800276endef
developer765135b2021-12-16 14:14:05 +0800277TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800278
developer565bacb2021-09-28 21:26:32 +0800279define Device/mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800280 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800281 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
282 DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800283 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800284 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-snand-rfb
developerb7fefc12021-06-10 19:36:07 +0800285 UBINIZE_OPTS := -E 5
286 BLOCKSIZE := 128k
287 PAGESIZE := 2048
288 IMAGE_SIZE := 65536k
289 KERNEL_IN_UBI := 1
290 IMAGES += factory.bin
291 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
292 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
293endef
developer565bacb2021-09-28 21:26:32 +0800294TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800295
developer1b76b3f2021-12-22 19:53:19 +0800296define Device/mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
297 DEVICE_VENDOR := MediaTek
298 DEVICE_MODEL := mt7986b-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
299 DEVICE_DTS := mt7986b-2500wan-gsw-spim-nand-rfb
300 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800301 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800302 UBINIZE_OPTS := -E 5
303 BLOCKSIZE := 128k
304 PAGESIZE := 2048
305 IMAGE_SIZE := 65536k
306 KERNEL_IN_UBI := 1
307 IMAGES += factory.bin
308 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
309 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
310endef
311TARGET_DEVICES += mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
312
developerf9a2c032021-09-30 17:18:10 +0800313define Device/mt7986b-ax6000-2500wan-snfi-nand-rfb
314 DEVICE_VENDOR := MediaTek
315 DEVICE_MODEL := mt7986b-ax6000-2500wan-snfi-nand-rfb (SPI-NAND,UBI)
316 DEVICE_DTS := mt7986b-2500wan-snfi-nand-rfb
317 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800318 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snfi-snand-rfb
developerf9a2c032021-09-30 17:18:10 +0800319 UBINIZE_OPTS := -E 5
320 BLOCKSIZE := 128k
321 PAGESIZE := 2048
322 IMAGE_SIZE := 65536k
323 KERNEL_IN_UBI := 1
324 IMAGES += factory.bin
325 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
326 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
327endef
328TARGET_DEVICES += mt7986b-ax6000-2500wan-snfi-nand-rfb
329
developerbc838af2022-01-11 15:44:57 +0800330define Device/mt7986b-ax6000-2500wan-sd-rfb
331 DEVICE_VENDOR := MediaTek
332 DEVICE_MODEL := mt7986b-ax6000-2500wan-sd-rfb
333 DEVICE_DTS := mt7986b-2500wan-sd-rfb
334 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
335 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
336 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
337 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
338 kmod-nls-iso8859-1
339 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
340endef
341TARGET_DEVICES += mt7986b-ax6000-2500wan-sd-rfb
342
developerfd40db22021-04-29 10:08:25 +0800343define Device/mediatek_mt7986-fpga
344 DEVICE_VENDOR := MediaTek
345 DEVICE_MODEL := MTK7986 FPGA
346 DEVICE_DTS := mt7986-fpga
347 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
348 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
349 append-rootfs | pad-rootfs | append-metadata
350endef
351TARGET_DEVICES += mediatek_mt7986-fpga
352
353define Device/mediatek_mt7986-fpga-ubi
354 DEVICE_VENDOR := MediaTek
355 DEVICE_MODEL := MTK7986 FPGA (UBI)
356 DEVICE_DTS := mt7986-fpga-ubi
357 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
358 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
359 UBINIZE_OPTS := -E 5
360 BLOCKSIZE := 128k
361 PAGESIZE := 2048
362 IMAGE_SIZE := 65536k
363 KERNEL_IN_UBI := 1
364 IMAGES += factory.bin
365 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
366 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
367endef
368TARGET_DEVICES += mediatek_mt7986-fpga-ubi