blob: e01ac404594103919a6d8cf1f6c8926e6c532d1d [file] [log] [blame]
developer010cc992022-10-19 15:02:34 +08001KERNEL_LOADADDR := 0x48080000
2
3define Device/mediatek_mt7988a-gsw-10g-spim-nand
4 DEVICE_VENDOR := MediaTek
5 DEVICE_MODEL := mt7988a-gsw-10g-spim-nand
6 DEVICE_DTS := mt7988a-gsw-10g-spim-nand
7 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
8 SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-spim-snand
9 UBINIZE_OPTS := -E 5
10 BLOCKSIZE := 128k
11 PAGESIZE := 2048
12 IMAGE_SIZE := 65536k
13 KERNEL_IN_UBI := 1
14 IMAGES += factory.bin
15 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
16 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
17endef
18TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand
19
developeraa36a392022-10-26 17:30:21 +080020define Device/mediatek_mt7988a-gsw-10g-spim-nand-sb
21 DEVICE_VENDOR := MediaTek
22 DEVICE_MODEL := mt7988a-gsw-10g-spim-nand-sb
23 DEVICE_DTS := mt7988a-gsw-10g-spim-nand
24 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
25 SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-spim-snand
26 DEVICE_PACKAGES := uboot-envtools dmsetup
27 UBINIZE_OPTS := -E 5
28 BLOCKSIZE := 128k
29 PAGESIZE := 2048
30 IMAGE_SIZE := 65536k
31 KERNEL_IN_UBI := 1
32 IMAGES += factory.bin
developer9c3f59e2023-04-27 19:32:20 +080033 IMAGE/factory.bin := append-ubi rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | check-size $$$$(IMAGE_SIZE)
developer0b66a352023-03-17 19:40:40 +080034 IMAGE/sysupgrade.bin := sysupgrade-tar rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | \
developeraa36a392022-10-26 17:30:21 +080035 append-metadata
36 FIT_KEY_DIR := $(TOPDIR)/../../keys
37 FIT_KEY_NAME := fit_key
38 ANTI_ROLLBACK_TABLE := $(TOPDIR)/../../fw_ar_table.xml
39 AUTO_AR_CONF := $(TOPDIR)/../../auto_ar_conf.mk
40 HASHED_BOOT_DEVICE := 253:0
41 BASIC_KERNEL_CMDLINE := console=ttyS0,115200n1 rootfstype=squashfs loglevel=8
developer2622d462023-06-08 09:28:30 +080042 KERNEL = append-opteenode $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
43 kernel-bin | lzma | squashfs-hashed | fw-ar-ver | \
developeraa36a392022-10-26 17:30:21 +080044 fit-sign lzma $$(KDIR)/image-sb-$$(firstword $$(DEVICE_DTS)).dtb
45 KERNEL_INITRAMFS =
46endef
47TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-sb
48DEFAULT_DEVICE_VARS += FIT_KEY_DIR FIT_KEY_NAME ANTI_ROLLBACK_TABLE \
49 AUTO_AR_CONF HASHED_BOOT_DEVICE BASIC_KERNEL_CMDLINE
50
developera0ea3012023-03-14 20:09:06 +080051define Device/mediatek_mt7988a-dsa-10g-emmc-sb
52 DEVICE_VENDOR := MediaTek
53 DEVICE_MODEL := mt7988a-dsa-10g-emmc-sb
54 DEVICE_DTS := mt7988a-dsa-10g-emmc
55 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
56 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc
57 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
58 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
59 kmod-nls-iso8859-1 uboot-envtools dmsetup
developer0b66a352023-03-17 19:40:40 +080060 IMAGE/sysupgrade.bin := sysupgrade-tar rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | \
developera0ea3012023-03-14 20:09:06 +080061 append-metadata
62 FIT_KEY_DIR := $(TOPDIR)/../../keys
63 FIT_KEY_NAME := fit_key
64 ANTI_ROLLBACK_TABLE := $(TOPDIR)/../../fw_ar_table.xml
65 AUTO_AR_CONF := $(TOPDIR)/../../auto_ar_conf.mk
66 BASIC_KERNEL_CMDLINE := console=ttyS0,115200n1 rootfstype=squashfs,f2fs loglevel=8
developer2622d462023-06-08 09:28:30 +080067 KERNEL = append-opteenode $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
68 kernel-bin | lzma | squashfs-hashed | fw-ar-ver | \
developera0ea3012023-03-14 20:09:06 +080069 fit-sign lzma $$(KDIR)/image-sb-$$(firstword $$(DEVICE_DTS)).dtb
70 KERNEL_INITRAMFS =
71endef
72TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc-sb
73DEFAULT_DEVICE_VARS += FIT_KEY_DIR FIT_KEY_NAME ANTI_ROLLBACK_TABLE \
74 AUTO_AR_CONF BASIC_KERNEL_CMDLINE
75
developer010cc992022-10-19 15:02:34 +080076define Device/mediatek_mt7988a-gsw-10g-spim-nand-4pcie
77 DEVICE_VENDOR := MediaTek
78 DEVICE_MODEL := mt7988a-gsw-10g-spim-nand-4pcie
79 DEVICE_DTS := mt7988a-gsw-10g-spim-nand-4pcie
80 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
81 SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-spim-snand-4pcie
82 UBINIZE_OPTS := -E 5
83 BLOCKSIZE := 128k
84 PAGESIZE := 2048
85 IMAGE_SIZE := 65536k
86 KERNEL_IN_UBI := 1
87 IMAGES += factory.bin
88 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
89 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
90endef
91TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-4pcie
92
93define Device/mediatek_mt7988a-gsw-10g-sfp-spim-nand
94 DEVICE_VENDOR := MediaTek
95 DEVICE_MODEL := mt7988a-gsw-10g-sfp-spim-nand
96 DEVICE_DTS := mt7988a-gsw-10g-sfp-spim-nand
97 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
98 SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-sfp-spim-snand
99 UBINIZE_OPTS := -E 5
100 BLOCKSIZE := 128k
101 PAGESIZE := 2048
102 IMAGE_SIZE := 65536k
103 KERNEL_IN_UBI := 1
104 IMAGES += factory.bin
105 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
106 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
107endef
108TARGET_DEVICES += mediatek_mt7988a-gsw-10g-sfp-spim-nand
109
developerd4f92102023-09-11 09:26:54 +0800110define Device/mediatek_mt7988a-dsa-10g-sfp-spim-nand
111 DEVICE_VENDOR := MediaTek
112 DEVICE_MODEL := mt7988a-dsa-10g-sfp-spim-nand
113 DEVICE_DTS := mt7988a-dsa-10g-sfp-spim-nand
114 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
115 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sfp-spim-snand
116 UBINIZE_OPTS := -E 5
117 BLOCKSIZE := 128k
118 PAGESIZE := 2048
119 IMAGE_SIZE := 65536k
120 KERNEL_IN_UBI := 1
121 IMAGES += factory.bin
122 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
123 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
124endef
125TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sfp-spim-nand
126
developer010cc992022-10-19 15:02:34 +0800127define Device/mediatek_mt7988a-dsa-10g-spim-nand
128 DEVICE_VENDOR := MediaTek
129 DEVICE_MODEL := mt7988a-dsa-10g-spim-nand
130 DEVICE_DTS := mt7988a-dsa-10g-spim-nand
131 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
132 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-snand
133 UBINIZE_OPTS := -E 5
134 BLOCKSIZE := 128k
135 PAGESIZE := 2048
136 IMAGE_SIZE := 65536k
137 KERNEL_IN_UBI := 1
138 IMAGES += factory.bin
139 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
140 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
141endef
142TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nand
143
developer0d09a902023-05-05 17:32:24 +0800144define Device/mediatek_mt7988a-88d-10g-spim-nand
145 DEVICE_VENDOR := MediaTek
146 DEVICE_MODEL := mt7988a-88d-10g-spim-nand
147 DEVICE_DTS := mt7988a-88d-10g-spim-nand
148 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
149 SUPPORTED_DEVICES := mediatek,mt7988a-88d-10g-spim-snand
150 UBINIZE_OPTS := -E 5
151 BLOCKSIZE := 128k
152 PAGESIZE := 2048
153 IMAGE_SIZE := 65536k
154 KERNEL_IN_UBI := 1
155 IMAGES += factory.bin
156 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
157 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
158endef
159TARGET_DEVICES += mediatek_mt7988a-88d-10g-spim-nand
160
developer010cc992022-10-19 15:02:34 +0800161define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand
162 DEVICE_VENDOR := MediaTek
163 DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand
164 DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand
165 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
166 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-spim-nand
167 UBINIZE_OPTS := -E 5
168 BLOCKSIZE := 128k
169 PAGESIZE := 2048
170 IMAGE_SIZE := 65536k
171 KERNEL_IN_UBI := 1
172 IMAGES += factory.bin
173 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
174 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
175endef
176TARGET_DEVICES += mediatek_mt7988a-dsa-e2p5g-spim-nand
177
178define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand
179 DEVICE_VENDOR := MediaTek
180 DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand
181 DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand
182 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
183 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-spim-nand
184 UBINIZE_OPTS := -E 5
185 BLOCKSIZE := 128k
186 PAGESIZE := 2048
187 IMAGE_SIZE := 65536k
188 KERNEL_IN_UBI := 1
189 IMAGES += factory.bin
190 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
191 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
192endef
193TARGET_DEVICES += mediatek_mt7988a-dsa-i2p5g-spim-nand
194
195define Device/mediatek_mt7988a-dsa-10g-snfi-nand
196 DEVICE_VENDOR := MediaTek
197 DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand
198 DEVICE_DTS := mt7988a-dsa-10g-snfi-nand
199 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
200 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-nand
201 UBINIZE_OPTS := -E 5
202 BLOCKSIZE := 128k
203 PAGESIZE := 2048
204 IMAGE_SIZE := 65536k
205 KERNEL_IN_UBI := 1
206 IMAGES += factory.bin
207 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
208 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
209endef
210TARGET_DEVICES += mediatek_mt7988a-dsa-10g-snfi-nand
211
212define Device/mediatek_mt7988a-dsa-10g-spim-nor
213 DEVICE_VENDOR := MediaTek
214 DEVICE_MODEL := mt7988a-dsa-10g-spim-nor
215 DEVICE_DTS := mt7988a-dsa-10g-spim-nor
216 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
217 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor
218endef
219TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor
220
221define Device/mediatek_mt7988a-dsa-10g-emmc
222 DEVICE_VENDOR := MediaTek
223 DEVICE_MODEL := mt7988a-dsa-10g-emmc
224 DEVICE_DTS := mt7988a-dsa-10g-emmc
225 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc
226 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
227 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
228 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
229 kmod-nls-iso8859-1
230 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
231endef
232TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc
233
234define Device/mediatek_mt7988a-dsa-10g-sd
235 DEVICE_VENDOR := MediaTek
236 DEVICE_MODEL := mt7988a-dsa-10g-sd
237 DEVICE_DTS := mt7988a-dsa-10g-sd
238 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd
239 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
240 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
241 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
242 kmod-nls-iso8859-1
243 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
244endef
developeraa36a392022-10-26 17:30:21 +0800245TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800246
developer3f9a06c2023-05-23 15:16:44 +0800247define Device/mediatek_mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800248 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800249 DEVICE_MODEL := mt7988d-gsw-10g-spim-nand
250 DEVICE_DTS := mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800251 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800252 SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-spim-snand
developerc54ce9d2023-01-03 13:30:49 +0800253 UBINIZE_OPTS := -E 5
254 BLOCKSIZE := 128k
255 PAGESIZE := 2048
256 IMAGE_SIZE := 65536k
257 KERNEL_IN_UBI := 1
258 IMAGES += factory.bin
259 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
260 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
261endef
developer3f9a06c2023-05-23 15:16:44 +0800262TARGET_DEVICES += mediatek_mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800263
developer3f9a06c2023-05-23 15:16:44 +0800264define Device/mediatek_mt7988d-gsw-10g-sfp-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800265 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800266 DEVICE_MODEL := mt7988d-gsw-10g-sfp-spim-nand
267 DEVICE_DTS := mt7988d-gsw-10g-sfp-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800268 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800269 SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-sfp-spim-snand
developerc54ce9d2023-01-03 13:30:49 +0800270 UBINIZE_OPTS := -E 5
271 BLOCKSIZE := 128k
272 PAGESIZE := 2048
273 IMAGE_SIZE := 65536k
274 KERNEL_IN_UBI := 1
275 IMAGES += factory.bin
276 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
277 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
278endef
developer3f9a06c2023-05-23 15:16:44 +0800279TARGET_DEVICES += mediatek_mt7988d-gsw-10g-sfp-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800280
developerd4f92102023-09-11 09:26:54 +0800281define Device/mediatek_mt7988d-dsa-10g-sfp-spim-nand
282 DEVICE_VENDOR := MediaTek
283 DEVICE_MODEL := mt7988d-dsa-10g-sfp-spim-nand
284 DEVICE_DTS := mt7988d-dsa-10g-sfp-spim-nand
285 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
286 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sfp-spim-snand
287 UBINIZE_OPTS := -E 5
288 BLOCKSIZE := 128k
289 PAGESIZE := 2048
290 IMAGE_SIZE := 65536k
291 KERNEL_IN_UBI := 1
292 IMAGES += factory.bin
293 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
294 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
295endef
296TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sfp-spim-nand
297
developer3f9a06c2023-05-23 15:16:44 +0800298define Device/mediatek_mt7988d-dsa-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800299 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800300 DEVICE_MODEL := mt7988d-dsa-10g-spim-nand
301 DEVICE_DTS := mt7988d-dsa-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800302 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800303 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-snand
developerc54ce9d2023-01-03 13:30:49 +0800304 UBINIZE_OPTS := -E 5
305 BLOCKSIZE := 128k
306 PAGESIZE := 2048
307 IMAGE_SIZE := 65536k
308 KERNEL_IN_UBI := 1
309 IMAGES += factory.bin
310 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
311 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
312endef
developer3f9a06c2023-05-23 15:16:44 +0800313TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800314
developer3f9a06c2023-05-23 15:16:44 +0800315define Device/mediatek_mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800316 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800317 DEVICE_MODEL := mt7988d-dsa-e2p5g-spim-nand
318 DEVICE_DTS := mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800319 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800320 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800321 UBINIZE_OPTS := -E 5
322 BLOCKSIZE := 128k
323 PAGESIZE := 2048
324 IMAGE_SIZE := 65536k
325 KERNEL_IN_UBI := 1
326 IMAGES += factory.bin
327 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
328 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
329endef
developer3f9a06c2023-05-23 15:16:44 +0800330TARGET_DEVICES += mediatek_mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800331
developer3f9a06c2023-05-23 15:16:44 +0800332define Device/mediatek_mt7988d-dsa-10g-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800333 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800334 DEVICE_MODEL := mt7988d-dsa-10g-snfi-nand
335 DEVICE_DTS := mt7988d-dsa-10g-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800336 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800337 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800338 UBINIZE_OPTS := -E 5
339 BLOCKSIZE := 128k
340 PAGESIZE := 2048
341 IMAGE_SIZE := 65536k
342 KERNEL_IN_UBI := 1
343 IMAGES += factory.bin
344 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
345 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
346endef
developer3f9a06c2023-05-23 15:16:44 +0800347TARGET_DEVICES += mediatek_mt7988d-dsa-10g-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800348
developer3f9a06c2023-05-23 15:16:44 +0800349define Device/mediatek_mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800350 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800351 DEVICE_MODEL := mt7988d-dsa-10g-spim-nor
352 DEVICE_DTS := mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800353 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800354 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800355endef
developer3f9a06c2023-05-23 15:16:44 +0800356TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800357
developer3f9a06c2023-05-23 15:16:44 +0800358define Device/mediatek_mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800359 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800360 DEVICE_MODEL := mt7988d-dsa-10g-emmc
361 DEVICE_DTS := mt7988d-dsa-10g-emmc
362 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800363 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
364 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
365 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
366 kmod-nls-iso8859-1
367 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
368endef
developer3f9a06c2023-05-23 15:16:44 +0800369TARGET_DEVICES += mediatek_mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800370
developer3f9a06c2023-05-23 15:16:44 +0800371define Device/mediatek_mt7988d-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800372 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800373 DEVICE_MODEL := mt7988d-dsa-10g-sd
374 DEVICE_DTS := mt7988d-dsa-10g-sd
375 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800376 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
377 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
378 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
379 kmod-nls-iso8859-1
380 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
381endef
developer3f9a06c2023-05-23 15:16:44 +0800382TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sd