blob: 8ca134a811634dd020939d9c7731769bf615d5c6 [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
developer765135b2021-12-16 14:14:05 +080076define Device/mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080077 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +080078 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nor-rfb
79 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080080 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080081 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +080082endef
developer765135b2021-12-16 14:14:05 +080083TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080084
developer565bacb2021-09-28 21:26:32 +080085define Device/mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080086 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080087 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
88 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080089 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +080090 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +080091 UBINIZE_OPTS := -E 5
92 BLOCKSIZE := 128k
93 PAGESIZE := 2048
94 IMAGE_SIZE := 65536k
95 KERNEL_IN_UBI := 1
96 IMAGES += factory.bin
97 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
98 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
99endef
developer565bacb2021-09-28 21:26:32 +0800100TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800101
developer1b76b3f2021-12-22 19:53:19 +0800102define Device/mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
103 DEVICE_VENDOR := MediaTek
104 DEVICE_MODEL := mt7986a-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
105 DEVICE_DTS := mt7986a-2500wan-gsw-spim-nand-rfb
106 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800107 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800108 UBINIZE_OPTS := -E 5
109 BLOCKSIZE := 128k
110 PAGESIZE := 2048
111 IMAGE_SIZE := 65536k
112 KERNEL_IN_UBI := 1
113 IMAGES += factory.bin
114 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
115 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
116endef
117TARGET_DEVICES += mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
118
developerbc838af2022-01-11 15:44:57 +0800119define Device/mt7986a-ax6000-2500wan-sd-rfb
120 DEVICE_VENDOR := MediaTek
121 DEVICE_MODEL := mt7986a-ax6000-2500wan-sd-rfb
122 DEVICE_DTS := mt7986a-2500wan-sd-rfb
123 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
124 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
125 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
126 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
127 kmod-nls-iso8859-1
128 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
129endef
130TARGET_DEVICES += mt7986a-ax6000-2500wan-sd-rfb
131
developerbc023af2021-11-01 11:27:36 +0800132define Device/mt7986a-ax8400-2500wan-spim-nand-rfb
133 DEVICE_VENDOR := MediaTek
134 DEVICE_MODEL := mt7986a-ax8400-2500wan-spim-nand-rfb (SPI-NAND,UBI)
135 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
136 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800137 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developerbc023af2021-11-01 11:27:36 +0800138 UBINIZE_OPTS := -E 5
139 BLOCKSIZE := 128k
140 PAGESIZE := 2048
141 IMAGE_SIZE := 65536k
142 KERNEL_IN_UBI := 1
143 IMAGES += factory.bin
144 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
145 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
146endef
147TARGET_DEVICES += mt7986a-ax8400-2500wan-spim-nand-rfb
148
developer765135b2021-12-16 14:14:05 +0800149define Device/mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800150 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800151 DEVICE_MODEL := mt7986a-ax7800-spim-nor-rfb
152 DEVICE_DTS := mt7986a-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800153 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800154 SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800155endef
developer765135b2021-12-16 14:14:05 +0800156TARGET_DEVICES += mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800157
developer565bacb2021-09-28 21:26:32 +0800158define Device/mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800159 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800160 DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI)
161 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800162 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800163 SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +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
developer565bacb2021-09-28 21:26:32 +0800173TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800174
developer765135b2021-12-16 14:14:05 +0800175define Device/mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800176 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800177 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nor-rfb
178 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800179 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800180 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800181endef
developer765135b2021-12-16 14:14:05 +0800182TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800183
developer565bacb2021-09-28 21:26:32 +0800184define Device/mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800185 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800186 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI)
187 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800188 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800189 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb
developer691e73f2021-06-28 19:41:35 +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-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800200
developer765135b2021-12-16 14:14:05 +0800201define Device/mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800202 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800203 DEVICE_MODEL := mt7986b-ax6000-spim-nor-rfb
204 DEVICE_DTS := mt7986b-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800205 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800206 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800207endef
developer765135b2021-12-16 14:14:05 +0800208TARGET_DEVICES += mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800209
developer565bacb2021-09-28 21:26:32 +0800210define Device/mt7986b-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800211 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800212 DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI)
213 DEVICE_DTS := mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800214 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800215 SUPPORTED_DEVICES := mediatek,mt7986b-spim-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800216 UBINIZE_OPTS := -E 5
217 BLOCKSIZE := 128k
218 PAGESIZE := 2048
219 IMAGE_SIZE := 65536k
220 KERNEL_IN_UBI := 1
221 IMAGES += factory.bin
222 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
223 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
224endef
developer565bacb2021-09-28 21:26:32 +0800225TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb
226
227define Device/mt7986b-ax6000-snfi-nand-rfb
228 DEVICE_VENDOR := MediaTek
229 DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
230 DEVICE_DTS := mt7986b-snfi-nand-rfb
231 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800232 SUPPORTED_DEVICES := mediatek,mt7986b-snfi-snand-rfb
developer565bacb2021-09-28 21:26:32 +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
242TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800243
developerf1422f62021-09-14 13:59:15 +0800244define Device/mt7986b-ax6000-emmc-rfb
245 DEVICE_VENDOR := MediaTek
246 DEVICE_MODEL := mt7986b-ax6000-emmc-rfb
247 DEVICE_DTS := mt7986b-emmc-rfb
248 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +0800249 SUPPORTED_DEVICES := mediatek,mt7986b-emmc-rfb
250 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
251 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
252 kmod-nls-iso8859-1
253 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developerf1422f62021-09-14 13:59:15 +0800254endef
255TARGET_DEVICES += mt7986b-ax6000-emmc-rfb
256
developer765135b2021-12-16 14:14:05 +0800257define Device/mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800258 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800259 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nor-rfb
260 DEVICE_DTS := mt7986b-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800261 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800262 SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800263endef
developer765135b2021-12-16 14:14:05 +0800264TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800265
developer565bacb2021-09-28 21:26:32 +0800266define Device/mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800267 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800268 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
269 DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800270 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800271 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-snand-rfb
developerb7fefc12021-06-10 19:36:07 +0800272 UBINIZE_OPTS := -E 5
273 BLOCKSIZE := 128k
274 PAGESIZE := 2048
275 IMAGE_SIZE := 65536k
276 KERNEL_IN_UBI := 1
277 IMAGES += factory.bin
278 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
279 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
280endef
developer565bacb2021-09-28 21:26:32 +0800281TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800282
developer1b76b3f2021-12-22 19:53:19 +0800283define Device/mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
284 DEVICE_VENDOR := MediaTek
285 DEVICE_MODEL := mt7986b-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
286 DEVICE_DTS := mt7986b-2500wan-gsw-spim-nand-rfb
287 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800288 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-gsw-spim-snand-rfb
developer1b76b3f2021-12-22 19:53:19 +0800289 UBINIZE_OPTS := -E 5
290 BLOCKSIZE := 128k
291 PAGESIZE := 2048
292 IMAGE_SIZE := 65536k
293 KERNEL_IN_UBI := 1
294 IMAGES += factory.bin
295 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
296 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
297endef
298TARGET_DEVICES += mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
299
developerf9a2c032021-09-30 17:18:10 +0800300define Device/mt7986b-ax6000-2500wan-snfi-nand-rfb
301 DEVICE_VENDOR := MediaTek
302 DEVICE_MODEL := mt7986b-ax6000-2500wan-snfi-nand-rfb (SPI-NAND,UBI)
303 DEVICE_DTS := mt7986b-2500wan-snfi-nand-rfb
304 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developerbd0dd0e2022-04-18 18:28:19 +0800305 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snfi-snand-rfb
developerf9a2c032021-09-30 17:18:10 +0800306 UBINIZE_OPTS := -E 5
307 BLOCKSIZE := 128k
308 PAGESIZE := 2048
309 IMAGE_SIZE := 65536k
310 KERNEL_IN_UBI := 1
311 IMAGES += factory.bin
312 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
313 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
314endef
315TARGET_DEVICES += mt7986b-ax6000-2500wan-snfi-nand-rfb
316
developerbc838af2022-01-11 15:44:57 +0800317define Device/mt7986b-ax6000-2500wan-sd-rfb
318 DEVICE_VENDOR := MediaTek
319 DEVICE_MODEL := mt7986b-ax6000-2500wan-sd-rfb
320 DEVICE_DTS := mt7986b-2500wan-sd-rfb
321 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
322 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
323 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
324 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
325 kmod-nls-iso8859-1
326 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
327endef
328TARGET_DEVICES += mt7986b-ax6000-2500wan-sd-rfb
329
developerfd40db22021-04-29 10:08:25 +0800330define Device/mediatek_mt7986-fpga
331 DEVICE_VENDOR := MediaTek
332 DEVICE_MODEL := MTK7986 FPGA
333 DEVICE_DTS := mt7986-fpga
334 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
335 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
336 append-rootfs | pad-rootfs | append-metadata
337endef
338TARGET_DEVICES += mediatek_mt7986-fpga
339
340define Device/mediatek_mt7986-fpga-ubi
341 DEVICE_VENDOR := MediaTek
342 DEVICE_MODEL := MTK7986 FPGA (UBI)
343 DEVICE_DTS := mt7986-fpga-ubi
344 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
345 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
346 UBINIZE_OPTS := -E 5
347 BLOCKSIZE := 128k
348 PAGESIZE := 2048
349 IMAGE_SIZE := 65536k
350 KERNEL_IN_UBI := 1
351 IMAGES += factory.bin
352 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
353 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
354endef
355TARGET_DEVICES += mediatek_mt7986-fpga-ubi