blob: d36cafa1fa17108d5553272f9ecafa2445c5790e [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001KERNEL_LOADADDR := 0x44080000
2
3define Device/mt7986a-mt7975-ax6000-rfb1
4 DEVICE_VENDOR := MediaTek
5 DEVICE_MODEL := mt7986a-mt7975-ax6000-rfb1
6 DEVICE_DTS := mt7986a-mt7975-ax6000-rfb1
7 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
8endef
9TARGET_DEVICES += mt7986a-mt7975-ax6000-rfb1
10
11define Device/mt7986a-mt7975-ax6000-rfb1-snand
12 DEVICE_VENDOR := MediaTek
13 DEVICE_MODEL := mt7986a-mt7975-ax6000-rfb1 (SPI-NAND,UBI)
14 DEVICE_DTS := mt7986a-mt7975-ax6000-rfb1
15 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
16 SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand
17 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
26TARGET_DEVICES += mt7986a-mt7975-ax6000-rfb1-snand
27
28define Device/mt7986a-mt7976-ax6000-rfb2
29 DEVICE_VENDOR := MediaTek
30 DEVICE_MODEL := mt7986a-mt7976-ax6000-rfb2
31 DEVICE_DTS := mt7986a-mt7976-ax6000-rfb2
32 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
33endef
34TARGET_DEVICES += mt7986a-mt7976-ax6000-rfb2
35
36define Device/mt7986a-mt7976-ax6000-rfb2-snand
37 DEVICE_VENDOR := MediaTek
38 DEVICE_MODEL := mt7986a-mt7976-ax6000-rfb2 (SPI-NAND,UBI)
39 DEVICE_DTS := mt7986a-mt7976-ax6000-rfb2
40 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
41 SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand
42 UBINIZE_OPTS := -E 5
43 BLOCKSIZE := 128k
44 PAGESIZE := 2048
45 IMAGE_SIZE := 65536k
46 KERNEL_IN_UBI := 1
47 IMAGES += factory.bin
48 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
49 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
50endef
51TARGET_DEVICES += mt7986a-mt7976-ax6000-rfb2-snand
52
53define Device/mt7986a-mt7976-ax7800-rfb2
54 DEVICE_VENDOR := MediaTek
55 DEVICE_MODEL := mt7986a-mt7976-ax7800-rfb2
56 DEVICE_DTS := mt7986a-mt7976-ax7800-rfb2
57 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
58endef
59TARGET_DEVICES += mt7986a-mt7976-ax7800-rfb2
60
61define Device/mt7986a-mt7976-ax7800-rfb2-snand
62 DEVICE_VENDOR := MediaTek
63 DEVICE_MODEL := mt7986a-mt7976-ax7800-rfb2 (SPI-NAND,UBI)
64 DEVICE_DTS := mt7986a-mt7976-ax7800-rfb2
65 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
66 SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand
67 UBINIZE_OPTS := -E 5
68 BLOCKSIZE := 128k
69 PAGESIZE := 2048
70 IMAGE_SIZE := 65536k
71 KERNEL_IN_UBI := 1
72 IMAGES += factory.bin
73 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
74 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
75endef
76TARGET_DEVICES += mt7986a-mt7976-ax7800-rfb2-snand
77
78define Device/mt7986b-mt7975-ax6000-rfb1
79 DEVICE_VENDOR := MediaTek
80 DEVICE_MODEL := mt7986b-mt7975-ax6000-rfb1
81 DEVICE_DTS := mt7986b-mt7975-ax6000-rfb1
82 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
83endef
84TARGET_DEVICES += mt7986b-mt7975-ax6000-rfb1
85
86define Device/mt7986b-mt7975-ax6000-rfb1-snand
87 DEVICE_VENDOR := MediaTek
88 DEVICE_MODEL := mt7986b-mt7975-ax6000-rfb1 (SPI-NAND,UBI)
89 DEVICE_DTS := mt7986b-mt7975-ax6000-rfb1
90 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
91 SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand
92 UBINIZE_OPTS := -E 5
93 BLOCKSIZE := 128k
94 PAGESIZE := 2048
95 IMAGE_SIZE := 65536k
96 KERNEL_IN_UBI := 1
97 IMAGES += factory.bin
98 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
99 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
100endef
101TARGET_DEVICES += mt7986b-mt7975-ax6000-rfb1-snand
102
103define Device/mediatek_mt7986-fpga
104 DEVICE_VENDOR := MediaTek
105 DEVICE_MODEL := MTK7986 FPGA
106 DEVICE_DTS := mt7986-fpga
107 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
108 IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \
109 append-rootfs | pad-rootfs | append-metadata
110endef
111TARGET_DEVICES += mediatek_mt7986-fpga
112
113define Device/mediatek_mt7986-fpga-ubi
114 DEVICE_VENDOR := MediaTek
115 DEVICE_MODEL := MTK7986 FPGA (UBI)
116 DEVICE_DTS := mt7986-fpga-ubi
117 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
118 SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi
119 UBINIZE_OPTS := -E 5
120 BLOCKSIZE := 128k
121 PAGESIZE := 2048
122 IMAGE_SIZE := 65536k
123 KERNEL_IN_UBI := 1
124 IMAGES += factory.bin
125 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
126 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
127endef
128TARGET_DEVICES += mediatek_mt7986-fpga-ubi