blob: 1720a66da7d43464371270b08045b1c09ae39ea5 [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
developer3395eb42021-06-15 16:01:34 +080011define Device/mt7986a-ax6000-snand-rfb
developerfd40db22021-04-29 10:08:25 +080012 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +080013 DEVICE_MODEL := mt7986a-ax6000-snand-rfb (SPI-NAND,UBI)
14 DEVICE_DTS := mt7986a-snand-rfb
developerfd40db22021-04-29 10:08:25 +080015 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3395eb42021-06-15 16:01:34 +080016 SUPPORTED_DEVICES := mediatek,mt7986a-snand-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
developer3395eb42021-06-15 16:01:34 +080026TARGET_DEVICES += mt7986a-ax6000-snand-rfb
developerfd40db22021-04-29 10:08:25 +080027
developer19e8ed42021-06-10 19:15:03 +080028define Device/mt7986a-ax6000-emmc-rfb
29 DEVICE_VENDOR := MediaTek
30 DEVICE_MODEL := mt7986a-ax6000-emmc-rfb
31 DEVICE_DTS := mt7986a-emmc-rfb
32 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
33 DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
34 IMAGES := sysupgrade-emmc.bin.gz
35 IMAGE/sysupgrade.bin.gz := sysupgrade-emmc | gzip | append-metadata
36endef
37TARGET_DEVICES += mt7986a-ax6000-emmc-rfb
38
developer691e73f2021-06-28 19:41:35 +080039define Device/mt7986a-ax6000-2500wan-nor-rfb
40 DEVICE_VENDOR := MediaTek
41 DEVICE_MODEL := mt7986a-ax6000-2500wan-nor-rfb
42 DEVICE_DTS := mt7986a-2500wan-nor-rfb
43 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
44endef
45TARGET_DEVICES += mt7986a-ax6000-2500wan-nor-rfb
46
47define Device/mt7986a-ax6000-2500wan-snand-rfb
48 DEVICE_VENDOR := MediaTek
49 DEVICE_MODEL := mt7986a-ax6000-2500wan-snand-rfb (SPI-NAND,UBI)
50 DEVICE_DTS := mt7986a-2500wan-snand-rfb
51 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
52 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-snand-rfb
53 UBINIZE_OPTS := -E 5
54 BLOCKSIZE := 128k
55 PAGESIZE := 2048
56 IMAGE_SIZE := 65536k
57 KERNEL_IN_UBI := 1
58 IMAGES += factory.bin
59 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
60 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
61endef
62TARGET_DEVICES += mt7986a-ax6000-2500wan-snand-rfb
63
developer3395eb42021-06-15 16:01:34 +080064define Device/mt7986a-ax7800-nor-rfb
developerfd40db22021-04-29 10:08:25 +080065 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +080066 DEVICE_MODEL := mt7986a-ax7800-nor-rfb
67 DEVICE_DTS := mt7986a-nor-rfb
developerfd40db22021-04-29 10:08:25 +080068 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
69endef
developer3395eb42021-06-15 16:01:34 +080070TARGET_DEVICES += mt7986a-ax7800-nor-rfb
developerfd40db22021-04-29 10:08:25 +080071
developer3395eb42021-06-15 16:01:34 +080072define Device/mt7986a-ax7800-snand-rfb
developerfd40db22021-04-29 10:08:25 +080073 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +080074 DEVICE_MODEL := mt7986a-ax7800-snand-rfb (SPI-NAND,UBI)
75 DEVICE_DTS := mt7986a-snand-rfb
developerfd40db22021-04-29 10:08:25 +080076 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3395eb42021-06-15 16:01:34 +080077 SUPPORTED_DEVICES := mediatek,mt7986a-snand-rfb
developerfd40db22021-04-29 10:08:25 +080078 UBINIZE_OPTS := -E 5
79 BLOCKSIZE := 128k
80 PAGESIZE := 2048
81 IMAGE_SIZE := 65536k
82 KERNEL_IN_UBI := 1
83 IMAGES += factory.bin
84 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
85 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
86endef
developer3395eb42021-06-15 16:01:34 +080087TARGET_DEVICES += mt7986a-ax7800-snand-rfb
developerfd40db22021-04-29 10:08:25 +080088
developer691e73f2021-06-28 19:41:35 +080089define Device/mt7986a-ax7800-2500wan-nor-rfb
90 DEVICE_VENDOR := MediaTek
91 DEVICE_MODEL := mt7986a-ax7800-2500wan-nor-rfb
92 DEVICE_DTS := mt7986a-2500wan-nor-rfb
93 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
94endef
95TARGET_DEVICES += mt7986a-ax7800-2500wan-nor-rfb
96
97define Device/mt7986a-ax7800-2500wan-snand-rfb
98 DEVICE_VENDOR := MediaTek
99 DEVICE_MODEL := mt7986a-ax7800-2500wan-snand-rfb (SPI-NAND,UBI)
100 DEVICE_DTS := mt7986a-2500wan-snand-rfb
101 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
102 SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-snand-rfb
103 UBINIZE_OPTS := -E 5
104 BLOCKSIZE := 128k
105 PAGESIZE := 2048
106 IMAGE_SIZE := 65536k
107 KERNEL_IN_UBI := 1
108 IMAGES += factory.bin
109 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
110 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
111endef
112TARGET_DEVICES += mt7986a-ax7800-2500wan-snand-rfb
113
developer3395eb42021-06-15 16:01:34 +0800114define Device/mt7986b-ax6000-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800115 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +0800116 DEVICE_MODEL := mt7986b-ax6000-nor-rfb
117 DEVICE_DTS := mt7986b-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800118 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
119endef
developer3395eb42021-06-15 16:01:34 +0800120TARGET_DEVICES += mt7986b-ax6000-nor-rfb
developerfd40db22021-04-29 10:08:25 +0800121
developer3395eb42021-06-15 16:01:34 +0800122define Device/mt7986b-ax6000-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800123 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +0800124 DEVICE_MODEL := mt7986b-ax6000-snand-rfb (SPI-NAND,UBI)
125 DEVICE_DTS := mt7986b-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800126 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3395eb42021-06-15 16:01:34 +0800127 SUPPORTED_DEVICES := mediatek,mt7986b-snand-rfb
developerfd40db22021-04-29 10:08:25 +0800128 UBINIZE_OPTS := -E 5
129 BLOCKSIZE := 128k
130 PAGESIZE := 2048
131 IMAGE_SIZE := 65536k
132 KERNEL_IN_UBI := 1
133 IMAGES += factory.bin
134 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
135 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
136endef
developer3395eb42021-06-15 16:01:34 +0800137TARGET_DEVICES += mt7986b-ax6000-snand-rfb
developerb7fefc12021-06-10 19:36:07 +0800138
developer691e73f2021-06-28 19:41:35 +0800139define Device/mt7986b-ax6000-2500wan-nor-rfb
140 DEVICE_VENDOR := MediaTek
141 DEVICE_MODEL := mt7986b-ax6000-2500wan-nor-rfb
142 DEVICE_DTS := mt7986b-2500wan-nor-rfb
143 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
144endef
145TARGET_DEVICES += mt7986b-ax6000-2500wan-nor-rfb
146
147define Device/mt7986b-ax6000-2500wan-snand-rfb
148 DEVICE_VENDOR := MediaTek
149 DEVICE_MODEL := mt7986b-ax6000-2500wan-snand-rfb (SPI-NAND,UBI)
150 DEVICE_DTS := mt7986b-2500wan-snand-rfb
151 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
152 SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snand-rfb
153 UBINIZE_OPTS := -E 5
154 BLOCKSIZE := 128k
155 PAGESIZE := 2048
156 IMAGE_SIZE := 65536k
157 KERNEL_IN_UBI := 1
158 IMAGES += factory.bin
159 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
160 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
161endef
162TARGET_DEVICES += mt7986b-ax6000-2500wan-snand-rfb
163
developerb7fefc12021-06-10 19:36:07 +0800164define Device/mt7986b-mt7976-ax6000-rfb4-snand
165 DEVICE_VENDOR := MediaTek
developer3395eb42021-06-15 16:01:34 +0800166 DEVICE_MODEL := mt7986b-mt7976-ax6000-rfb4-snand (SPI-NAND,UBI)
developerb7fefc12021-06-10 19:36:07 +0800167 DEVICE_DTS := mt7986b-mt7976-ax6000-rfb4
168 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
developer3395eb42021-06-15 16:01:34 +0800169 SUPPORTED_DEVICES := mediatek,mt7986b-snand-rfb
developerb7fefc12021-06-10 19:36:07 +0800170 UBINIZE_OPTS := -E 5
171 BLOCKSIZE := 128k
172 PAGESIZE := 2048
173 IMAGE_SIZE := 65536k
174 KERNEL_IN_UBI := 1
175 IMAGES += factory.bin
176 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
177 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
178endef
179TARGET_DEVICES += mt7986b-mt7976-ax6000-rfb4-snand
180
181
developerfd40db22021-04-29 10:08:25 +0800182define Device/mediatek_mt7986-fpga
183 DEVICE_VENDOR := MediaTek
184 DEVICE_MODEL := MTK7986 FPGA
185 DEVICE_DTS := mt7986-fpga
186 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
187 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
188 append-rootfs | pad-rootfs | append-metadata
189endef
190TARGET_DEVICES += mediatek_mt7986-fpga
191
192define Device/mediatek_mt7986-fpga-ubi
193 DEVICE_VENDOR := MediaTek
194 DEVICE_MODEL := MTK7986 FPGA (UBI)
195 DEVICE_DTS := mt7986-fpga-ubi
196 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
197 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
198 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
207TARGET_DEVICES += mediatek_mt7986-fpga-ubi