blob: 0a529a692e3a2be513f4b30b0e1cca0ba19f09f3 [file] [log] [blame]
developer6747cdd2021-09-29 17:00:51 +08001KERNEL_LOADADDR := 0x44080000
2
3define Device/mt7981b-spim-nor-rfb
4 DEVICE_VENDOR := MediaTek
5 DEVICE_MODEL := mt7981b-spim-nor-rfb
6 DEVICE_DTS := mt7981-spim-nor-rfb
7 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
8endef
9TARGET_DEVICES += mt7981b-spim-nor-rfb
10
11define Device/mt7981b-snfi-nand-2500wan-gmac2
12 DEVICE_VENDOR := MediaTek
13 DEVICE_MODEL := mt7981b-snfi-nand-2500wan-gmac2
14 DEVICE_DTS := mt7981-snfi-nand-2500wan-gmac2
15 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
16 SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
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 += mt7981b-snfi-nand-2500wan-gmac2
27
28define Device/mt7981b-spim-nand-rfb
29 DEVICE_VENDOR := MediaTek
30 DEVICE_MODEL := mt7981b-spim-nand-rfb
31 DEVICE_DTS := mt7981-spim-nand-rfb
32 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
33 SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
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 += mt7981b-spim-nand-rfb
44
45define Device/mt7981b-emmc-rfb
46 DEVICE_VENDOR := MediaTek
47 DEVICE_MODEL := mt7981b-emmc-rfb
48 DEVICE_DTS := mt7981-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
52 IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
53endef
54TARGET_DEVICES += mt7981b-emmc-rfb
55
56define Device/mt7981a-spim-nand-rfb
57 DEVICE_VENDOR := MediaTek
58 DEVICE_MODEL := mt7981a-spim-nand-rfb
59 DEVICE_DTS := mt7981a-spim-nand-rfb
60 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
61 SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
62 UBINIZE_OPTS := -E 5
63 BLOCKSIZE := 128k
64 PAGESIZE := 2048
65 IMAGE_SIZE := 65536k
66 KERNEL_IN_UBI := 1
67 IMAGES += factory.bin
68 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
69 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
70endef
71TARGET_DEVICES += mt7981a-spim-nand-rfb
72
73define Device/mt7981a-snfi-nand-2500wan-p5
74 DEVICE_VENDOR := MediaTek
75 DEVICE_MODEL := mt7981a-snfi-nand-2500wan-p5
76 DEVICE_DTS := mt7981a-snfi-nand-2500wan-p5
77 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
78 SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
79 UBINIZE_OPTS := -E 5
80 BLOCKSIZE := 128k
81 PAGESIZE := 2048
82 IMAGE_SIZE := 65536k
83 KERNEL_IN_UBI := 1
84 IMAGES += factory.bin
85 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
86 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
87endef
88TARGET_DEVICES += mt7981a-snfi-nand-2500wan-p5
89
90define Device/mt7981-fpga-spim-nor
91 DEVICE_VENDOR := MediaTek
92 DEVICE_MODEL := mt7981-fpga-spim-nor
93 DEVICE_DTS := mt7981-fpga-spim-nor
94 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
95endef
96TARGET_DEVICES += mt7981-fpga-spim-nor
97
98define Device/mt7981-fpga-snfi-nand
99 DEVICE_VENDOR := MediaTek
100 DEVICE_MODEL := mt7981-fpga-snfi-nand
101 DEVICE_DTS := mt7981-fpga-snfi-nand
102 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
103 SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi
104 UBINIZE_OPTS := -E 5
105 BLOCKSIZE := 128k
106 PAGESIZE := 2048
107 IMAGE_SIZE := 65536k
108 KERNEL_IN_UBI := 1
109 IMAGES += factory.bin
110 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
111 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
112endef
113TARGET_DEVICES += mt7981-fpga-snfi-nand
114
115define Device/mt7981-fpga-spim-nand
116 DEVICE_VENDOR := MediaTek
117 DEVICE_MODEL := mt7981-fpga-spim-nand
118 DEVICE_DTS := mt7981-fpga-spim-nand
119 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
120 SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi
121 UBINIZE_OPTS := -E 5
122 BLOCKSIZE := 128k
123 PAGESIZE := 2048
124 IMAGE_SIZE := 65536k
125 KERNEL_IN_UBI := 1
126 IMAGES += factory.bin
127 IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
128 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
129endef
130TARGET_DEVICES += mt7981-fpga-spim-nand
131
132define Device/mt7981-fpga-emmc
133 DEVICE_VENDOR := MediaTek
134 DEVICE_MODEL := mt7981-fpga-emmc
135 DEVICE_DTS := mt7981-fpga-emmc
136 DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
137 DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
138 IMAGES := sysupgrade-emmc.bin.gz
139 IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
140endef
141TARGET_DEVICES += mt7981-fpga-emmc