developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x48080000 |
| 2 | |
| 3 | define 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 |
| 17 | endef |
| 18 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand |
| 19 | |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 20 | define 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 |
| 33 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 34 | IMAGE/sysupgrade.bin := sysupgrade-tar rootfs=$$$$(IMAGE_ROOTFS)-hashed | \ |
| 35 | 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 |
| 42 | KERNEL = kernel-bin | lzma | squashfs-hashed | fw-ar-ver | \ |
| 43 | fit-sign lzma $$(KDIR)/image-sb-$$(firstword $$(DEVICE_DTS)).dtb |
| 44 | KERNEL_INITRAMFS = |
| 45 | endef |
| 46 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-sb |
| 47 | DEFAULT_DEVICE_VARS += FIT_KEY_DIR FIT_KEY_NAME ANTI_ROLLBACK_TABLE \ |
| 48 | AUTO_AR_CONF HASHED_BOOT_DEVICE BASIC_KERNEL_CMDLINE |
| 49 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 50 | define Device/mediatek_mt7988a-gsw-10g-spim-nand-4pcie |
| 51 | DEVICE_VENDOR := MediaTek |
| 52 | DEVICE_MODEL := mt7988a-gsw-10g-spim-nand-4pcie |
| 53 | DEVICE_DTS := mt7988a-gsw-10g-spim-nand-4pcie |
| 54 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 55 | SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-spim-snand-4pcie |
| 56 | UBINIZE_OPTS := -E 5 |
| 57 | BLOCKSIZE := 128k |
| 58 | PAGESIZE := 2048 |
| 59 | IMAGE_SIZE := 65536k |
| 60 | KERNEL_IN_UBI := 1 |
| 61 | IMAGES += factory.bin |
| 62 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 63 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 64 | endef |
| 65 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-4pcie |
| 66 | |
| 67 | define Device/mediatek_mt7988a-gsw-10g-sfp-spim-nand |
| 68 | DEVICE_VENDOR := MediaTek |
| 69 | DEVICE_MODEL := mt7988a-gsw-10g-sfp-spim-nand |
| 70 | DEVICE_DTS := mt7988a-gsw-10g-sfp-spim-nand |
| 71 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 72 | SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-sfp-spim-snand |
| 73 | UBINIZE_OPTS := -E 5 |
| 74 | BLOCKSIZE := 128k |
| 75 | PAGESIZE := 2048 |
| 76 | IMAGE_SIZE := 65536k |
| 77 | KERNEL_IN_UBI := 1 |
| 78 | IMAGES += factory.bin |
| 79 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 80 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 81 | endef |
| 82 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-sfp-spim-nand |
| 83 | |
| 84 | define Device/mediatek_mt7988a-dsa-10g-spim-nand |
| 85 | DEVICE_VENDOR := MediaTek |
| 86 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nand |
| 87 | DEVICE_DTS := mt7988a-dsa-10g-spim-nand |
| 88 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 89 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-snand |
| 90 | UBINIZE_OPTS := -E 5 |
| 91 | BLOCKSIZE := 128k |
| 92 | PAGESIZE := 2048 |
| 93 | IMAGE_SIZE := 65536k |
| 94 | KERNEL_IN_UBI := 1 |
| 95 | IMAGES += factory.bin |
| 96 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 97 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 98 | endef |
| 99 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nand |
| 100 | |
| 101 | define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 102 | DEVICE_VENDOR := MediaTek |
| 103 | DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand |
| 104 | DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand |
| 105 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 106 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-spim-nand |
| 107 | UBINIZE_OPTS := -E 5 |
| 108 | BLOCKSIZE := 128k |
| 109 | PAGESIZE := 2048 |
| 110 | IMAGE_SIZE := 65536k |
| 111 | KERNEL_IN_UBI := 1 |
| 112 | IMAGES += factory.bin |
| 113 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 114 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 115 | endef |
| 116 | TARGET_DEVICES += mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 117 | |
| 118 | define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 119 | DEVICE_VENDOR := MediaTek |
| 120 | DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand |
| 121 | DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand |
| 122 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 123 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-spim-nand |
| 124 | UBINIZE_OPTS := -E 5 |
| 125 | BLOCKSIZE := 128k |
| 126 | PAGESIZE := 2048 |
| 127 | IMAGE_SIZE := 65536k |
| 128 | KERNEL_IN_UBI := 1 |
| 129 | IMAGES += factory.bin |
| 130 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 131 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 132 | endef |
| 133 | TARGET_DEVICES += mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 134 | |
| 135 | define Device/mediatek_mt7988a-dsa-10g-snfi-nand |
| 136 | DEVICE_VENDOR := MediaTek |
| 137 | DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand |
| 138 | DEVICE_DTS := mt7988a-dsa-10g-snfi-nand |
| 139 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 140 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-nand |
| 141 | UBINIZE_OPTS := -E 5 |
| 142 | BLOCKSIZE := 128k |
| 143 | PAGESIZE := 2048 |
| 144 | IMAGE_SIZE := 65536k |
| 145 | KERNEL_IN_UBI := 1 |
| 146 | IMAGES += factory.bin |
| 147 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 148 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 149 | endef |
| 150 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-snfi-nand |
| 151 | |
| 152 | define Device/mediatek_mt7988a-dsa-10g-spim-nor |
| 153 | DEVICE_VENDOR := MediaTek |
| 154 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nor |
| 155 | DEVICE_DTS := mt7988a-dsa-10g-spim-nor |
| 156 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 157 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor |
| 158 | endef |
| 159 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor |
| 160 | |
| 161 | define Device/mediatek_mt7988a-dsa-10g-emmc |
| 162 | DEVICE_VENDOR := MediaTek |
| 163 | DEVICE_MODEL := mt7988a-dsa-10g-emmc |
| 164 | DEVICE_DTS := mt7988a-dsa-10g-emmc |
| 165 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc |
| 166 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 167 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 168 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 169 | kmod-nls-iso8859-1 |
| 170 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 171 | endef |
| 172 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc |
| 173 | |
| 174 | define Device/mediatek_mt7988a-dsa-10g-sd |
| 175 | DEVICE_VENDOR := MediaTek |
| 176 | DEVICE_MODEL := mt7988a-dsa-10g-sd |
| 177 | DEVICE_DTS := mt7988a-dsa-10g-sd |
| 178 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd |
| 179 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 180 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 181 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 182 | kmod-nls-iso8859-1 |
| 183 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 184 | endef |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 185 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 186 | |
| 187 | define Device/mediatek_mt7988c-gsw-10g-spim-nand |
| 188 | DEVICE_VENDOR := MediaTek |
| 189 | DEVICE_MODEL := mt7988c-gsw-10g-spim-nand |
| 190 | DEVICE_DTS := mt7988c-gsw-10g-spim-nand |
| 191 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 192 | SUPPORTED_DEVICES := mediatek,mt7988c-gsw-10g-spim-snand |
| 193 | UBINIZE_OPTS := -E 5 |
| 194 | BLOCKSIZE := 128k |
| 195 | PAGESIZE := 2048 |
| 196 | IMAGE_SIZE := 65536k |
| 197 | KERNEL_IN_UBI := 1 |
| 198 | IMAGES += factory.bin |
| 199 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 200 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 201 | endef |
| 202 | TARGET_DEVICES += mediatek_mt7988c-gsw-10g-spim-nand |
| 203 | |
| 204 | define Device/mediatek_mt7988c-gsw-10g-sfp-spim-nand |
| 205 | DEVICE_VENDOR := MediaTek |
| 206 | DEVICE_MODEL := mt7988c-gsw-10g-sfp-spim-nand |
| 207 | DEVICE_DTS := mt7988c-gsw-10g-sfp-spim-nand |
| 208 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 209 | SUPPORTED_DEVICES := mediatek,mt7988c-gsw-10g-sfp-spim-snand |
| 210 | UBINIZE_OPTS := -E 5 |
| 211 | BLOCKSIZE := 128k |
| 212 | PAGESIZE := 2048 |
| 213 | IMAGE_SIZE := 65536k |
| 214 | KERNEL_IN_UBI := 1 |
| 215 | IMAGES += factory.bin |
| 216 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 217 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 218 | endef |
| 219 | TARGET_DEVICES += mediatek_mt7988c-gsw-10g-sfp-spim-nand |
| 220 | |
| 221 | define Device/mediatek_mt7988c-dsa-10g-spim-nand |
| 222 | DEVICE_VENDOR := MediaTek |
| 223 | DEVICE_MODEL := mt7988c-dsa-10g-spim-nand |
| 224 | DEVICE_DTS := mt7988c-dsa-10g-spim-nand |
| 225 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 226 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-10g-spim-snand |
| 227 | UBINIZE_OPTS := -E 5 |
| 228 | BLOCKSIZE := 128k |
| 229 | PAGESIZE := 2048 |
| 230 | IMAGE_SIZE := 65536k |
| 231 | KERNEL_IN_UBI := 1 |
| 232 | IMAGES += factory.bin |
| 233 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 234 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 235 | endef |
| 236 | TARGET_DEVICES += mediatek_mt7988c-dsa-10g-spim-nand |
| 237 | |
| 238 | define Device/mediatek_mt7988c-dsa-e2p5g-spim-nand |
| 239 | DEVICE_VENDOR := MediaTek |
| 240 | DEVICE_MODEL := mt7988c-dsa-e2p5g-spim-nand |
| 241 | DEVICE_DTS := mt7988c-dsa-e2p5g-spim-nand |
| 242 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 243 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-e2p5g-spim-nand |
| 244 | UBINIZE_OPTS := -E 5 |
| 245 | BLOCKSIZE := 128k |
| 246 | PAGESIZE := 2048 |
| 247 | IMAGE_SIZE := 65536k |
| 248 | KERNEL_IN_UBI := 1 |
| 249 | IMAGES += factory.bin |
| 250 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 251 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 252 | endef |
| 253 | TARGET_DEVICES += mediatek_mt7988c-dsa-e2p5g-spim-nand |
| 254 | |
| 255 | define Device/mediatek_mt7988c-dsa-i2p5g-spim-nand |
| 256 | DEVICE_VENDOR := MediaTek |
| 257 | DEVICE_MODEL := mt7988c-dsa-i2p5g-spim-nand |
| 258 | DEVICE_DTS := mt7988c-dsa-i2p5g-spim-nand |
| 259 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 260 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-i2p5g-spim-nand |
| 261 | UBINIZE_OPTS := -E 5 |
| 262 | BLOCKSIZE := 128k |
| 263 | PAGESIZE := 2048 |
| 264 | IMAGE_SIZE := 65536k |
| 265 | KERNEL_IN_UBI := 1 |
| 266 | IMAGES += factory.bin |
| 267 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 268 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 269 | endef |
| 270 | TARGET_DEVICES += mediatek_mt7988c-dsa-i2p5g-spim-nand |
| 271 | |
| 272 | define Device/mediatek_mt7988c-dsa-10g-snfi-nand |
| 273 | DEVICE_VENDOR := MediaTek |
| 274 | DEVICE_MODEL := mt7988c-dsa-10g-snfi-nand |
| 275 | DEVICE_DTS := mt7988c-dsa-10g-snfi-nand |
| 276 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 277 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-10g-snfi-nand |
| 278 | UBINIZE_OPTS := -E 5 |
| 279 | BLOCKSIZE := 128k |
| 280 | PAGESIZE := 2048 |
| 281 | IMAGE_SIZE := 65536k |
| 282 | KERNEL_IN_UBI := 1 |
| 283 | IMAGES += factory.bin |
| 284 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 285 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 286 | endef |
| 287 | TARGET_DEVICES += mediatek_mt7988c-dsa-10g-snfi-nand |
| 288 | |
| 289 | define Device/mediatek_mt7988c-dsa-10g-spim-nor |
| 290 | DEVICE_VENDOR := MediaTek |
| 291 | DEVICE_MODEL := mt7988c-dsa-10g-spim-nor |
| 292 | DEVICE_DTS := mt7988c-dsa-10g-spim-nor |
| 293 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 294 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-10g-spim-nor |
| 295 | endef |
| 296 | TARGET_DEVICES += mediatek_mt7988c-dsa-10g-spim-nor |
| 297 | |
| 298 | define Device/mediatek_mt7988c-dsa-10g-emmc |
| 299 | DEVICE_VENDOR := MediaTek |
| 300 | DEVICE_MODEL := mt7988c-dsa-10g-emmc |
| 301 | DEVICE_DTS := mt7988c-dsa-10g-emmc |
| 302 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-10g-emmc |
| 303 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 304 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 305 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 306 | kmod-nls-iso8859-1 |
| 307 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 308 | endef |
| 309 | TARGET_DEVICES += mediatek_mt7988c-dsa-10g-emmc |
| 310 | |
| 311 | define Device/mediatek_mt7988c-dsa-10g-sd |
| 312 | DEVICE_VENDOR := MediaTek |
| 313 | DEVICE_MODEL := mt7988c-dsa-10g-sd |
| 314 | DEVICE_DTS := mt7988c-dsa-10g-sd |
| 315 | SUPPORTED_DEVICES := mediatek,mt7988c-dsa-10g-sd |
| 316 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 317 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 318 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 319 | kmod-nls-iso8859-1 |
| 320 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 321 | endef |
| 322 | TARGET_DEVICES += mediatek_mt7988c-dsa-10g-sd |