blob: 11f614b5030d8776023ec13d6734ce83f412a1ae [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
110define Device/mediatek_mt7988a-dsa-10g-spim-nand
111 DEVICE_VENDOR := MediaTek
112 DEVICE_MODEL := mt7988a-dsa-10g-spim-nand
113 DEVICE_DTS := mt7988a-dsa-10g-spim-nand
114 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
115 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-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-spim-nand
126
developer0d09a902023-05-05 17:32:24 +0800127define Device/mediatek_mt7988a-88d-10g-spim-nand
128 DEVICE_VENDOR := MediaTek
129 DEVICE_MODEL := mt7988a-88d-10g-spim-nand
130 DEVICE_DTS := mt7988a-88d-10g-spim-nand
131 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
132 SUPPORTED_DEVICES := mediatek,mt7988a-88d-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-88d-10g-spim-nand
143
developer010cc992022-10-19 15:02:34 +0800144define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand
145 DEVICE_VENDOR := MediaTek
146 DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand
147 DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand
148 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
149 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-spim-nand
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-dsa-e2p5g-spim-nand
160
161define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand
162 DEVICE_VENDOR := MediaTek
163 DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand
164 DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand
165 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
166 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-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-i2p5g-spim-nand
177
178define Device/mediatek_mt7988a-dsa-10g-snfi-nand
179 DEVICE_VENDOR := MediaTek
180 DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand
181 DEVICE_DTS := mt7988a-dsa-10g-snfi-nand
182 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
183 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-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-10g-snfi-nand
194
195define Device/mediatek_mt7988a-dsa-10g-spim-nor
196 DEVICE_VENDOR := MediaTek
197 DEVICE_MODEL := mt7988a-dsa-10g-spim-nor
198 DEVICE_DTS := mt7988a-dsa-10g-spim-nor
199 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
200 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor
201endef
202TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor
203
204define Device/mediatek_mt7988a-dsa-10g-emmc
205 DEVICE_VENDOR := MediaTek
206 DEVICE_MODEL := mt7988a-dsa-10g-emmc
207 DEVICE_DTS := mt7988a-dsa-10g-emmc
208 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc
209 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
210 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
211 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
212 kmod-nls-iso8859-1
213 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
214endef
215TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc
216
217define Device/mediatek_mt7988a-dsa-10g-sd
218 DEVICE_VENDOR := MediaTek
219 DEVICE_MODEL := mt7988a-dsa-10g-sd
220 DEVICE_DTS := mt7988a-dsa-10g-sd
221 SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd
222 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
223 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
224 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
225 kmod-nls-iso8859-1
226 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
227endef
developeraa36a392022-10-26 17:30:21 +0800228TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800229
developer3f9a06c2023-05-23 15:16:44 +0800230define Device/mediatek_mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800231 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800232 DEVICE_MODEL := mt7988d-gsw-10g-spim-nand
233 DEVICE_DTS := mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800234 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800235 SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-spim-snand
developerc54ce9d2023-01-03 13:30:49 +0800236 UBINIZE_OPTS := -E 5
237 BLOCKSIZE := 128k
238 PAGESIZE := 2048
239 IMAGE_SIZE := 65536k
240 KERNEL_IN_UBI := 1
241 IMAGES += factory.bin
242 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
243 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
244endef
developer3f9a06c2023-05-23 15:16:44 +0800245TARGET_DEVICES += mediatek_mt7988d-gsw-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800246
developer3f9a06c2023-05-23 15:16:44 +0800247define Device/mediatek_mt7988d-gsw-10g-sfp-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800248 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800249 DEVICE_MODEL := mt7988d-gsw-10g-sfp-spim-nand
250 DEVICE_DTS := mt7988d-gsw-10g-sfp-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-sfp-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-sfp-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800263
developer3f9a06c2023-05-23 15:16:44 +0800264define Device/mediatek_mt7988d-dsa-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800265 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800266 DEVICE_MODEL := mt7988d-dsa-10g-spim-nand
267 DEVICE_DTS := mt7988d-dsa-10g-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-dsa-10g-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-dsa-10g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800280
developer3f9a06c2023-05-23 15:16:44 +0800281define Device/mediatek_mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800282 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800283 DEVICE_MODEL := mt7988d-dsa-e2p5g-spim-nand
284 DEVICE_DTS := mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800285 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3f9a06c2023-05-23 15:16:44 +0800286 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800287 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
developer3f9a06c2023-05-23 15:16:44 +0800296TARGET_DEVICES += mediatek_mt7988d-dsa-e2p5g-spim-nand
developerc54ce9d2023-01-03 13:30:49 +0800297
developer3f9a06c2023-05-23 15:16:44 +0800298define Device/mediatek_mt7988d-dsa-10g-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800299 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800300 DEVICE_MODEL := mt7988d-dsa-10g-snfi-nand
301 DEVICE_DTS := mt7988d-dsa-10g-snfi-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-snfi-nand
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-snfi-nand
developerc54ce9d2023-01-03 13:30:49 +0800314
developer3f9a06c2023-05-23 15:16:44 +0800315define Device/mediatek_mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800316 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800317 DEVICE_MODEL := mt7988d-dsa-10g-spim-nor
318 DEVICE_DTS := mt7988d-dsa-10g-spim-nor
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-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800321endef
developer3f9a06c2023-05-23 15:16:44 +0800322TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nor
developerc54ce9d2023-01-03 13:30:49 +0800323
developer3f9a06c2023-05-23 15:16:44 +0800324define Device/mediatek_mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800325 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800326 DEVICE_MODEL := mt7988d-dsa-10g-emmc
327 DEVICE_DTS := mt7988d-dsa-10g-emmc
328 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800329 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
330 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
331 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
332 kmod-nls-iso8859-1
333 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
334endef
developer3f9a06c2023-05-23 15:16:44 +0800335TARGET_DEVICES += mediatek_mt7988d-dsa-10g-emmc
developerc54ce9d2023-01-03 13:30:49 +0800336
developer3f9a06c2023-05-23 15:16:44 +0800337define Device/mediatek_mt7988d-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800338 DEVICE_VENDOR := MediaTek
developer3f9a06c2023-05-23 15:16:44 +0800339 DEVICE_MODEL := mt7988d-dsa-10g-sd
340 DEVICE_DTS := mt7988d-dsa-10g-sd
341 SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sd
developerc54ce9d2023-01-03 13:30:49 +0800342 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
343 DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \
344 kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \
345 kmod-nls-iso8859-1
346 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
347endef
developer3f9a06c2023-05-23 15:16:44 +0800348TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sd