blob: 32f90506e92f34ce3bc103e2ba60ed084c73c1aa [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001KERNEL_LOADADDR := 0x44080000
2
developer3395eb42021-06-15 16:01:34 +08003define Device/mt7986a-ax6000-nor-rfb
developerfd40db22021-04-29 10:08:25 +08004 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +08005 DEVICE_MODEL := mt7986a-ax6000-nor-rfb
6 DEVICE_DTS := mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +08007 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
8endef
developer3395eb42021-06-15 16:01:34 +08009TARGET_DEVICES += mt7986a-ax6000-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
28define Device/mt7986a-ax6000-snfi-nand-rfb
29 DEVICE_VENDOR := MediaTek
30 DEVICE_MODEL := mt7986a-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
31 DEVICE_DTS := mt7986a-snfi-nand-rfb
32 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
33 SUPPORTED_DEVICES := mediatek,mt7986a-snfi-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-ax6000-snfi-nand-rfb
developerfd40db22021-04-29 10:08:25 +080044
developer19e8ed42021-06-10 19:15:03 +080045define Device/mt7986a-ax6000-emmc-rfb
46 DEVICE_VENDOR := MediaTek
47 DEVICE_MODEL := mt7986a-ax6000-emmc-rfb
48 DEVICE_DTS := mt7986a-emmc-rfb
49 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
50 DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
51 IMAGES := sysupgrade-emmc.bin.gz
developer93b9d082021-09-09 11:16:00 +080052 IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
developer19e8ed42021-06-10 19:15:03 +080053endef
54TARGET_DEVICES += mt7986a-ax6000-emmc-rfb
55
developer691e73f2021-06-28 19:41:35 +080056define Device/mt7986a-ax6000-2500wan-nor-rfb
57 DEVICE_VENDOR := MediaTek
58 DEVICE_MODEL := mt7986a-ax6000-2500wan-nor-rfb
59 DEVICE_DTS := mt7986a-2500wan-nor-rfb
60 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
61endef
62TARGET_DEVICES += mt7986a-ax6000-2500wan-nor-rfb
63
developer565bacb2021-09-28 21:26:32 +080064define Device/mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080065 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080066 DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
67 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080068 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +080069 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080070 UBINIZE_OPTS := -E 5
71 BLOCKSIZE := 128k
72 PAGESIZE := 2048
73 IMAGE_SIZE := 65536k
74 KERNEL_IN_UBI := 1
75 IMAGES += factory.bin
76 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
77 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
78endef
developer565bacb2021-09-28 21:26:32 +080079TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +080080
developer3395eb42021-06-15 16:01:34 +080081define Device/mt7986a-ax7800-nor-rfb
developerfd40db22021-04-29 10:08:25 +080082 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +080083 DEVICE_MODEL := mt7986a-ax7800-nor-rfb
84 DEVICE_DTS := mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +080085 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
86endef
developer3395eb42021-06-15 16:01:34 +080087TARGET_DEVICES += mt7986a-ax7800-nor-rfb
developerfd40db22021-04-29 10:08:25 +080088
developer565bacb2021-09-28 21:26:32 +080089define Device/mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080090 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +080091 DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI)
92 DEVICE_DTS := mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080093 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +080094 SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +080095 UBINIZE_OPTS := -E 5
96 BLOCKSIZE := 128k
97 PAGESIZE := 2048
98 IMAGE_SIZE := 65536k
99 KERNEL_IN_UBI := 1
100 IMAGES += factory.bin
101 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
102 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
103endef
developer565bacb2021-09-28 21:26:32 +0800104TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800105
developer691e73f2021-06-28 19:41:35 +0800106define Device/mt7986a-ax7800-2500wan-nor-rfb
107 DEVICE_VENDOR := MediaTek
108 DEVICE_MODEL := mt7986a-ax7800-2500wan-nor-rfb
109 DEVICE_DTS := mt7986a-2500wan-nor-rfb
110 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
111endef
112TARGET_DEVICES += mt7986a-ax7800-2500wan-nor-rfb
113
developer565bacb2021-09-28 21:26:32 +0800114define Device/mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800115 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800116 DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI)
117 DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800118 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800119 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800120 UBINIZE_OPTS := -E 5
121 BLOCKSIZE := 128k
122 PAGESIZE := 2048
123 IMAGE_SIZE := 65536k
124 KERNEL_IN_UBI := 1
125 IMAGES += factory.bin
126 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
127 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
128endef
developer565bacb2021-09-28 21:26:32 +0800129TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb
developer691e73f2021-06-28 19:41:35 +0800130
developer3395eb42021-06-15 16:01:34 +0800131define Device/mt7986b-ax6000-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800132 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +0800133 DEVICE_MODEL := mt7986b-ax6000-nor-rfb
134 DEVICE_DTS := mt7986b-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800135 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
136endef
developer3395eb42021-06-15 16:01:34 +0800137TARGET_DEVICES += mt7986b-ax6000-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800138
developer565bacb2021-09-28 21:26:32 +0800139define Device/mt7986b-ax6000-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800140 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800141 DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI)
142 DEVICE_DTS := mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800143 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800144 SUPPORTED_DEVICES := mediatek,mt7986b-spim-nand-rfb
developerfd40db22021-04-29 10:08:25 +0800145 UBINIZE_OPTS := -E 5
146 BLOCKSIZE := 128k
147 PAGESIZE := 2048
148 IMAGE_SIZE := 65536k
149 KERNEL_IN_UBI := 1
150 IMAGES += factory.bin
151 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
152 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
153endef
developer565bacb2021-09-28 21:26:32 +0800154TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb
155
156define Device/mt7986b-ax6000-snfi-nand-rfb
157 DEVICE_VENDOR := MediaTek
158 DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI)
159 DEVICE_DTS := mt7986b-snfi-nand-rfb
160 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
161 SUPPORTED_DEVICES := mediatek,mt7986b-snfi-nand-rfb
162 UBINIZE_OPTS := -E 5
163 BLOCKSIZE := 128k
164 PAGESIZE := 2048
165 IMAGE_SIZE := 65536k
166 KERNEL_IN_UBI := 1
167 IMAGES += factory.bin
168 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
169 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
170endef
171TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800172
developerf1422f62021-09-14 13:59:15 +0800173define Device/mt7986b-ax6000-emmc-rfb
174 DEVICE_VENDOR := MediaTek
175 DEVICE_MODEL := mt7986b-ax6000-emmc-rfb
176 DEVICE_DTS := mt7986b-emmc-rfb
177 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
178 DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
179 IMAGES := sysupgrade-emmc.bin.gz
180 IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
181endef
182TARGET_DEVICES += mt7986b-ax6000-emmc-rfb
183
developer691e73f2021-06-28 19:41:35 +0800184define Device/mt7986b-ax6000-2500wan-nor-rfb
185 DEVICE_VENDOR := MediaTek
186 DEVICE_MODEL := mt7986b-ax6000-2500wan-nor-rfb
187 DEVICE_DTS := mt7986b-2500wan-nor-rfb
188 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
189endef
190TARGET_DEVICES += mt7986b-ax6000-2500wan-nor-rfb
191
developer565bacb2021-09-28 21:26:32 +0800192define Device/mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800193 DEVICE_VENDOR := MediaTek
developer565bacb2021-09-28 21:26:32 +0800194 DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI)
195 DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800196 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer565bacb2021-09-28 21:26:32 +0800197 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800198 UBINIZE_OPTS := -E 5
199 BLOCKSIZE := 128k
200 PAGESIZE := 2048
201 IMAGE_SIZE := 65536k
202 KERNEL_IN_UBI := 1
203 IMAGES += factory.bin
204 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
205 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
206endef
developer565bacb2021-09-28 21:26:32 +0800207TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb
developerb7fefc12021-06-10 19:36:07 +0800208
developerfd40db22021-04-29 10:08:25 +0800209define Device/mediatek_mt7986-fpga
210 DEVICE_VENDOR := MediaTek
211 DEVICE_MODEL := MTK7986 FPGA
212 DEVICE_DTS := mt7986-fpga
213 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
214 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
215 append-rootfs | pad-rootfs | append-metadata
216endef
217TARGET_DEVICES += mediatek_mt7986-fpga
218
219define Device/mediatek_mt7986-fpga-ubi
220 DEVICE_VENDOR := MediaTek
221 DEVICE_MODEL := MTK7986 FPGA (UBI)
222 DEVICE_DTS := mt7986-fpga-ubi
223 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
224 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
225 UBINIZE_OPTS := -E 5
226 BLOCKSIZE := 128k
227 PAGESIZE := 2048
228 IMAGE_SIZE := 65536k
229 KERNEL_IN_UBI := 1
230 IMAGES += factory.bin
231 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
232 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
233endef
234TARGET_DEVICES += mediatek_mt7986-fpga-ubi