blob: 679dde207f4aaa2ba4b779a36a91b9d90a7add19 [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
8endef
developer765135b2021-12-16 14:14:05 +08009TARGET_DEVICES += mt7986a-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +080010
developer565bacb2021-09-28 21:26:32 +080011define Device/mt7986a-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080012 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080013 DEVICE_MODEL := mt7986a-ax6000-spim-nand-rfb (SPI-NAND,UBI)
14 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080015 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +080016 SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080017 UBINIZE_OPTS := -E 5
18 BLOCKSIZE := 128k
19 PAGESIZE := 2048
20 IMAGE_SIZE := 65536k
21 KERNEL_IN_UBI := 1
22 IMAGES += factory.bin
23 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
24 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
25endef
developer565bacb2021-09-28 21:26:32 +080026TARGET_DEVICES += mt7986a-ax6000-spim-nand-rfb
27
developerbc023af2021-11-01 11:27:36 +080028define Device/mt7986a-ax8400-spim-nand-rfb
29 DEVICE_VENDOR := MediaTek
30 DEVICE_MODEL := mt7986a-ax8400-spim-nand-rfb (SPI-NAND,UBI)
31 DEVICE_DTS := mt7986a-spim-nand-rfb
32 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
33 SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb
34 UBINIZE_OPTS := -E 5
35 BLOCKSIZE := 128k
36 PAGESIZE := 2048
37 IMAGE_SIZE := 65536k
38 KERNEL_IN_UBI := 1
39 IMAGES += factory.bin
40 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
41 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
42endef
43TARGET_DEVICES += mt7986a-ax8400-spim-nand-rfb
44
developer565bacb2021-09-28 21:26:32 +080045define Device/mt7986a-ax6000-snfi-nand-rfb
46 DEVICE_VENDOR := MediaTek
47 DEVICE_MODEL := mt7986a-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
48 DEVICE_DTS := mt7986a-snfi-nand-rfb
49 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
50 SUPPORTED_DEVICES := mediatek,mt7986a-snfi-nand-rfb
51 UBINIZE_OPTS := -E 5
52 BLOCKSIZE := 128k
53 PAGESIZE := 2048
54 IMAGE_SIZE := 65536k
55 KERNEL_IN_UBI := 1
56 IMAGES += factory.bin
57 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
58 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
59endef
60TARGET_DEVICES += mt7986a-ax6000-snfi-nand-rfb
developerfd40db22021-04-29 10:08:25 +080061
developer19e8ed42021-06-10 19:15:03 +080062define Device/mt7986a-ax6000-emmc-rfb
63 DEVICE_VENDOR := MediaTek
64 DEVICE_MODEL := mt7986a-ax6000-emmc-rfb
65 DEVICE_DTS := mt7986a-emmc-rfb
66 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +080067 SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb
68 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
69 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
70 kmod-nls-iso8859-1
71 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developer19e8ed42021-06-10 19:15:03 +080072endef
73TARGET_DEVICES += mt7986a-ax6000-emmc-rfb
74
developer765135b2021-12-16 14:14:05 +080075define Device/mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080076 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +080077 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nor-rfb
78 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080079 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
80endef
developer765135b2021-12-16 14:14:05 +080081TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +080082
developer565bacb2021-09-28 21:26:32 +080083define Device/mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080084 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080085 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
86 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080087 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +080088 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080089 UBINIZE_OPTS := -E 5
90 BLOCKSIZE := 128k
91 PAGESIZE := 2048
92 IMAGE_SIZE := 65536k
93 KERNEL_IN_UBI := 1
94 IMAGES += factory.bin
95 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
96 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
97endef
developer565bacb2021-09-28 21:26:32 +080098TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080099
developer1b76b3f2021-12-22 19:53:19 +0800100define Device/mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
101 DEVICE_VENDOR := MediaTek
102 DEVICE_MODEL := mt7986a-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
103 DEVICE_DTS := mt7986a-2500wan-gsw-spim-nand-rfb
104 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
105 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-gsw-spim-nand-rfb
106 UBINIZE_OPTS := -E 5
107 BLOCKSIZE := 128k
108 PAGESIZE := 2048
109 IMAGE_SIZE := 65536k
110 KERNEL_IN_UBI := 1
111 IMAGES += factory.bin
112 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
113 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
114endef
115TARGET_DEVICES += mt7986a-ax6000-2500wan-gsw-spim-nand-rfb
116
developerbc838af2022-01-11 15:44:57 +0800117define Device/mt7986a-ax6000-2500wan-sd-rfb
118 DEVICE_VENDOR := MediaTek
119 DEVICE_MODEL := mt7986a-ax6000-2500wan-sd-rfb
120 DEVICE_DTS := mt7986a-2500wan-sd-rfb
121 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
122 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
123 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
124 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
125 kmod-nls-iso8859-1
126 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
127endef
128TARGET_DEVICES += mt7986a-ax6000-2500wan-sd-rfb
129
developerbc023af2021-11-01 11:27:36 +0800130define Device/mt7986a-ax8400-2500wan-spim-nand-rfb
131 DEVICE_VENDOR := MediaTek
132 DEVICE_MODEL := mt7986a-ax8400-2500wan-spim-nand-rfb (SPI-NAND,UBI)
133 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
134 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
135 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb
136 UBINIZE_OPTS := -E 5
137 BLOCKSIZE := 128k
138 PAGESIZE := 2048
139 IMAGE_SIZE := 65536k
140 KERNEL_IN_UBI := 1
141 IMAGES += factory.bin
142 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
143 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
144endef
145TARGET_DEVICES += mt7986a-ax8400-2500wan-spim-nand-rfb
146
developer765135b2021-12-16 14:14:05 +0800147define Device/mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800148 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800149 DEVICE_MODEL := mt7986a-ax7800-spim-nor-rfb
150 DEVICE_DTS := mt7986a-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800151 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
152endef
developer765135b2021-12-16 14:14:05 +0800153TARGET_DEVICES += mt7986a-ax7800-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800154
developer565bacb2021-09-28 21:26:32 +0800155define Device/mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800156 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800157 DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI)
158 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800159 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800160 SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800161 UBINIZE_OPTS := -E 5
162 BLOCKSIZE := 128k
163 PAGESIZE := 2048
164 IMAGE_SIZE := 65536k
165 KERNEL_IN_UBI := 1
166 IMAGES += factory.bin
167 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
168 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
169endef
developer565bacb2021-09-28 21:26:32 +0800170TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800171
developer765135b2021-12-16 14:14:05 +0800172define Device/mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800173 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800174 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nor-rfb
175 DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800176 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
177endef
developer765135b2021-12-16 14:14:05 +0800178TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800179
developer565bacb2021-09-28 21:26:32 +0800180define Device/mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800181 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800182 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI)
183 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800184 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800185 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800186 UBINIZE_OPTS := -E 5
187 BLOCKSIZE := 128k
188 PAGESIZE := 2048
189 IMAGE_SIZE := 65536k
190 KERNEL_IN_UBI := 1
191 IMAGES += factory.bin
192 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
193 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
194endef
developer565bacb2021-09-28 21:26:32 +0800195TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800196
developer765135b2021-12-16 14:14:05 +0800197define Device/mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800198 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800199 DEVICE_MODEL := mt7986b-ax6000-spim-nor-rfb
200 DEVICE_DTS := mt7986b-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800201 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
202endef
developer765135b2021-12-16 14:14:05 +0800203TARGET_DEVICES += mt7986b-ax6000-spim-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800204
developer565bacb2021-09-28 21:26:32 +0800205define Device/mt7986b-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800206 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800207 DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI)
208 DEVICE_DTS := mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800209 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800210 SUPPORTED_DEVICES := mediatek,mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800211 UBINIZE_OPTS := -E 5
212 BLOCKSIZE := 128k
213 PAGESIZE := 2048
214 IMAGE_SIZE := 65536k
215 KERNEL_IN_UBI := 1
216 IMAGES += factory.bin
217 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
218 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
219endef
developer565bacb2021-09-28 21:26:32 +0800220TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb
221
222define Device/mt7986b-ax6000-snfi-nand-rfb
223 DEVICE_VENDOR := MediaTek
224 DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
225 DEVICE_DTS := mt7986b-snfi-nand-rfb
226 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
227 SUPPORTED_DEVICES := mediatek,mt7986b-snfi-nand-rfb
228 UBINIZE_OPTS := -E 5
229 BLOCKSIZE := 128k
230 PAGESIZE := 2048
231 IMAGE_SIZE := 65536k
232 KERNEL_IN_UBI := 1
233 IMAGES += factory.bin
234 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
235 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
236endef
237TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800238
developerf1422f62021-09-14 13:59:15 +0800239define Device/mt7986b-ax6000-emmc-rfb
240 DEVICE_VENDOR := MediaTek
241 DEVICE_MODEL := mt7986b-ax6000-emmc-rfb
242 DEVICE_DTS := mt7986b-emmc-rfb
243 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer8262b0d2021-11-12 09:02:17 +0800244 SUPPORTED_DEVICES := mediatek,mt7986b-emmc-rfb
245 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
246 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
247 kmod-nls-iso8859-1
248 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
developerf1422f62021-09-14 13:59:15 +0800249endef
250TARGET_DEVICES += mt7986b-ax6000-emmc-rfb
251
developer765135b2021-12-16 14:14:05 +0800252define Device/mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800253 DEVICE_VENDOR := MediaTek
developer765135b2021-12-16 14:14:05 +0800254 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nor-rfb
255 DEVICE_DTS := mt7986b-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800256 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
257endef
developer765135b2021-12-16 14:14:05 +0800258TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nor-rfb
developer691e73f2021-06-28 19:41:35 +0800259
developer565bacb2021-09-28 21:26:32 +0800260define Device/mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800261 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800262 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
263 DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800264 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800265 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800266 UBINIZE_OPTS := -E 5
267 BLOCKSIZE := 128k
268 PAGESIZE := 2048
269 IMAGE_SIZE := 65536k
270 KERNEL_IN_UBI := 1
271 IMAGES += factory.bin
272 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
273 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
274endef
developer565bacb2021-09-28 21:26:32 +0800275TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800276
developer1b76b3f2021-12-22 19:53:19 +0800277define Device/mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
278 DEVICE_VENDOR := MediaTek
279 DEVICE_MODEL := mt7986b-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI)
280 DEVICE_DTS := mt7986b-2500wan-gsw-spim-nand-rfb
281 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
282 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-gsw-spim-nand-rfb
283 UBINIZE_OPTS := -E 5
284 BLOCKSIZE := 128k
285 PAGESIZE := 2048
286 IMAGE_SIZE := 65536k
287 KERNEL_IN_UBI := 1
288 IMAGES += factory.bin
289 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
290 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
291endef
292TARGET_DEVICES += mt7986b-ax6000-2500wan-gsw-spim-nand-rfb
293
developerf9a2c032021-09-30 17:18:10 +0800294define Device/mt7986b-ax6000-2500wan-snfi-nand-rfb
295 DEVICE_VENDOR := MediaTek
296 DEVICE_MODEL := mt7986b-ax6000-2500wan-snfi-nand-rfb (SPI-NAND,UBI)
297 DEVICE_DTS := mt7986b-2500wan-snfi-nand-rfb
298 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
299 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snfi-nand-rfb
300 UBINIZE_OPTS := -E 5
301 BLOCKSIZE := 128k
302 PAGESIZE := 2048
303 IMAGE_SIZE := 65536k
304 KERNEL_IN_UBI := 1
305 IMAGES += factory.bin
306 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
307 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
308endef
309TARGET_DEVICES += mt7986b-ax6000-2500wan-snfi-nand-rfb
310
developerbc838af2022-01-11 15:44:57 +0800311define Device/mt7986b-ax6000-2500wan-sd-rfb
312 DEVICE_VENDOR := MediaTek
313 DEVICE_MODEL := mt7986b-ax6000-2500wan-sd-rfb
314 DEVICE_DTS := mt7986b-2500wan-sd-rfb
315 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
316 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb
317 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
318 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
319 kmod-nls-iso8859-1
320 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
321endef
322TARGET_DEVICES += mt7986b-ax6000-2500wan-sd-rfb
323
developerfd40db22021-04-29 10:08:25 +0800324define Device/mediatek_mt7986-fpga
325 DEVICE_VENDOR := MediaTek
326 DEVICE_MODEL := MTK7986 FPGA
327 DEVICE_DTS := mt7986-fpga
328 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
329 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
330 append-rootfs | pad-rootfs | append-metadata
331endef
332TARGET_DEVICES += mediatek_mt7986-fpga
333
334define Device/mediatek_mt7986-fpga-ubi
335 DEVICE_VENDOR := MediaTek
336 DEVICE_MODEL := MTK7986 FPGA (UBI)
337 DEVICE_DTS := mt7986-fpga-ubi
338 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
339 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
340 UBINIZE_OPTS := -E 5
341 BLOCKSIZE := 128k
342 PAGESIZE := 2048
343 IMAGE_SIZE := 65536k
344 KERNEL_IN_UBI := 1
345 IMAGES += factory.bin
346 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
347 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
348endef
349TARGET_DEVICES += mediatek_mt7986-fpga-ubi