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 |
developer | 9c3f59e | 2023-04-27 19:32:20 +0800 | [diff] [blame] | 33 | IMAGE/factory.bin := append-ubi rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | check-size $$$$(IMAGE_SIZE) |
developer | 0b66a35 | 2023-03-17 19:40:40 +0800 | [diff] [blame] | 34 | IMAGE/sysupgrade.bin := sysupgrade-tar rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | \ |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 35 | append-metadata |
| 36 | FIT_KEY_DIR := $(TOPDIR)/../../keys |
developer | eeec1bd | 2023-10-12 17:46:09 +0800 | [diff] [blame] | 37 | ROE_KEY_DIR := $(TOPDIR)/../../keys |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 38 | FIT_KEY_NAME := fit_key |
developer | eeec1bd | 2023-10-12 17:46:09 +0800 | [diff] [blame] | 39 | ROE_KEY_NAME := roe_key |
| 40 | FIRMWARE_ENC_ALGO := tee_aes256 |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 41 | ANTI_ROLLBACK_TABLE := $(TOPDIR)/../../fw_ar_table.xml |
| 42 | AUTO_AR_CONF := $(TOPDIR)/../../auto_ar_conf.mk |
| 43 | HASHED_BOOT_DEVICE := 253:0 |
| 44 | BASIC_KERNEL_CMDLINE := console=ttyS0,115200n1 rootfstype=squashfs loglevel=8 |
developer | 2622d46 | 2023-06-08 09:28:30 +0800 | [diff] [blame] | 45 | KERNEL = append-opteenode $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \ |
developer | eeec1bd | 2023-10-12 17:46:09 +0800 | [diff] [blame] | 46 | kernel-bin | lzma | squashfs-hashed | fw-ar-ver | hkdf | \ |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 47 | fit-sign lzma $$(KDIR)/image-sb-$$(firstword $$(DEVICE_DTS)).dtb |
| 48 | KERNEL_INITRAMFS = |
| 49 | endef |
| 50 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-sb |
| 51 | DEFAULT_DEVICE_VARS += FIT_KEY_DIR FIT_KEY_NAME ANTI_ROLLBACK_TABLE \ |
developer | eeec1bd | 2023-10-12 17:46:09 +0800 | [diff] [blame] | 52 | AUTO_AR_CONF HASHED_BOOT_DEVICE BASIC_KERNEL_CMDLINE ROE_KEY_DIR \ |
| 53 | ROE_KEY_NAME FIRMWARE_ENC_ALGO |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 54 | |
developer | a0ea301 | 2023-03-14 20:09:06 +0800 | [diff] [blame] | 55 | define Device/mediatek_mt7988a-dsa-10g-emmc-sb |
| 56 | DEVICE_VENDOR := MediaTek |
| 57 | DEVICE_MODEL := mt7988a-dsa-10g-emmc-sb |
| 58 | DEVICE_DTS := mt7988a-dsa-10g-emmc |
| 59 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 60 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc |
| 61 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 62 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 63 | kmod-nls-iso8859-1 uboot-envtools dmsetup |
developer | 0b66a35 | 2023-03-17 19:40:40 +0800 | [diff] [blame] | 64 | IMAGE/sysupgrade.bin := sysupgrade-tar rootfs=$$$$(IMAGE_ROOTFS)-hashed-$$(firstword $$(DEVICE_DTS)) | \ |
developer | a0ea301 | 2023-03-14 20:09:06 +0800 | [diff] [blame] | 65 | append-metadata |
| 66 | FIT_KEY_DIR := $(TOPDIR)/../../keys |
| 67 | FIT_KEY_NAME := fit_key |
| 68 | ANTI_ROLLBACK_TABLE := $(TOPDIR)/../../fw_ar_table.xml |
| 69 | AUTO_AR_CONF := $(TOPDIR)/../../auto_ar_conf.mk |
| 70 | BASIC_KERNEL_CMDLINE := console=ttyS0,115200n1 rootfstype=squashfs,f2fs loglevel=8 |
developer | 2622d46 | 2023-06-08 09:28:30 +0800 | [diff] [blame] | 71 | KERNEL = append-opteenode $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \ |
| 72 | kernel-bin | lzma | squashfs-hashed | fw-ar-ver | \ |
developer | a0ea301 | 2023-03-14 20:09:06 +0800 | [diff] [blame] | 73 | fit-sign lzma $$(KDIR)/image-sb-$$(firstword $$(DEVICE_DTS)).dtb |
| 74 | KERNEL_INITRAMFS = |
| 75 | endef |
| 76 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc-sb |
| 77 | DEFAULT_DEVICE_VARS += FIT_KEY_DIR FIT_KEY_NAME ANTI_ROLLBACK_TABLE \ |
| 78 | AUTO_AR_CONF BASIC_KERNEL_CMDLINE |
| 79 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 80 | define Device/mediatek_mt7988a-gsw-10g-spim-nand-4pcie |
| 81 | DEVICE_VENDOR := MediaTek |
| 82 | DEVICE_MODEL := mt7988a-gsw-10g-spim-nand-4pcie |
| 83 | DEVICE_DTS := mt7988a-gsw-10g-spim-nand-4pcie |
| 84 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 85 | SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-spim-snand-4pcie |
| 86 | UBINIZE_OPTS := -E 5 |
| 87 | BLOCKSIZE := 128k |
| 88 | PAGESIZE := 2048 |
| 89 | IMAGE_SIZE := 65536k |
| 90 | KERNEL_IN_UBI := 1 |
| 91 | IMAGES += factory.bin |
| 92 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 93 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 94 | endef |
| 95 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-spim-nand-4pcie |
| 96 | |
| 97 | define Device/mediatek_mt7988a-gsw-10g-sfp-spim-nand |
| 98 | DEVICE_VENDOR := MediaTek |
| 99 | DEVICE_MODEL := mt7988a-gsw-10g-sfp-spim-nand |
| 100 | DEVICE_DTS := mt7988a-gsw-10g-sfp-spim-nand |
| 101 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 102 | SUPPORTED_DEVICES := mediatek,mt7988a-gsw-10g-sfp-spim-snand |
| 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 |
| 111 | endef |
| 112 | TARGET_DEVICES += mediatek_mt7988a-gsw-10g-sfp-spim-nand |
| 113 | |
developer | d4f9210 | 2023-09-11 09:26:54 +0800 | [diff] [blame] | 114 | define Device/mediatek_mt7988a-dsa-10g-sfp-spim-nand |
| 115 | DEVICE_VENDOR := MediaTek |
| 116 | DEVICE_MODEL := mt7988a-dsa-10g-sfp-spim-nand |
| 117 | DEVICE_DTS := mt7988a-dsa-10g-sfp-spim-nand |
| 118 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 119 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sfp-spim-snand |
| 120 | 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 |
| 128 | endef |
| 129 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sfp-spim-nand |
| 130 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 131 | define Device/mediatek_mt7988a-dsa-10g-spim-nand |
| 132 | DEVICE_VENDOR := MediaTek |
| 133 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nand |
| 134 | DEVICE_DTS := mt7988a-dsa-10g-spim-nand |
| 135 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 136 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-snand |
| 137 | UBINIZE_OPTS := -E 5 |
| 138 | BLOCKSIZE := 128k |
| 139 | PAGESIZE := 2048 |
| 140 | IMAGE_SIZE := 65536k |
| 141 | KERNEL_IN_UBI := 1 |
| 142 | IMAGES += factory.bin |
| 143 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 144 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 145 | endef |
| 146 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nand |
| 147 | |
developer | e2281fe | 2023-11-02 18:47:09 +0800 | [diff] [blame] | 148 | |
| 149 | define Device/mediatek_mt7988a-dsa-10g-spim-nand-CASAN |
| 150 | DEVICE_VENDOR := MediaTek |
| 151 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nand-CASAN |
| 152 | DEVICE_DTS := mt7988a-dsa-10g-spim-nand-CASAN |
| 153 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 154 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-snand-CASAN |
| 155 | UBINIZE_OPTS := -E 5 |
| 156 | BLOCKSIZE := 128k |
| 157 | PAGESIZE := 2048 |
| 158 | IMAGE_SIZE := 65536k |
| 159 | KERNEL_IN_UBI := 1 |
| 160 | IMAGES += factory.bin |
| 161 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 162 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 163 | endef |
| 164 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nand-CASAN |
| 165 | |
developer | 0d09a90 | 2023-05-05 17:32:24 +0800 | [diff] [blame] | 166 | define Device/mediatek_mt7988a-88d-10g-spim-nand |
| 167 | DEVICE_VENDOR := MediaTek |
| 168 | DEVICE_MODEL := mt7988a-88d-10g-spim-nand |
| 169 | DEVICE_DTS := mt7988a-88d-10g-spim-nand |
| 170 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 171 | SUPPORTED_DEVICES := mediatek,mt7988a-88d-10g-spim-snand |
| 172 | UBINIZE_OPTS := -E 5 |
| 173 | BLOCKSIZE := 128k |
| 174 | PAGESIZE := 2048 |
| 175 | IMAGE_SIZE := 65536k |
| 176 | KERNEL_IN_UBI := 1 |
| 177 | IMAGES += factory.bin |
| 178 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 179 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 180 | endef |
| 181 | TARGET_DEVICES += mediatek_mt7988a-88d-10g-spim-nand |
| 182 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 183 | define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 184 | DEVICE_VENDOR := MediaTek |
| 185 | DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand |
| 186 | DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand |
| 187 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 188 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-spim-nand |
| 189 | UBINIZE_OPTS := -E 5 |
| 190 | BLOCKSIZE := 128k |
| 191 | PAGESIZE := 2048 |
| 192 | IMAGE_SIZE := 65536k |
| 193 | KERNEL_IN_UBI := 1 |
| 194 | IMAGES += factory.bin |
| 195 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 196 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 197 | endef |
| 198 | TARGET_DEVICES += mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 199 | |
| 200 | define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 201 | DEVICE_VENDOR := MediaTek |
| 202 | DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand |
| 203 | DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand |
| 204 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 205 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-spim-nand |
| 206 | UBINIZE_OPTS := -E 5 |
| 207 | BLOCKSIZE := 128k |
| 208 | PAGESIZE := 2048 |
| 209 | IMAGE_SIZE := 65536k |
| 210 | KERNEL_IN_UBI := 1 |
| 211 | IMAGES += factory.bin |
| 212 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 213 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 214 | endef |
| 215 | TARGET_DEVICES += mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 216 | |
| 217 | define Device/mediatek_mt7988a-dsa-10g-snfi-nand |
| 218 | DEVICE_VENDOR := MediaTek |
| 219 | DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand |
| 220 | DEVICE_DTS := mt7988a-dsa-10g-snfi-nand |
| 221 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 222 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-nand |
| 223 | UBINIZE_OPTS := -E 5 |
| 224 | BLOCKSIZE := 128k |
| 225 | PAGESIZE := 2048 |
| 226 | IMAGE_SIZE := 65536k |
| 227 | KERNEL_IN_UBI := 1 |
| 228 | IMAGES += factory.bin |
| 229 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 230 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 231 | endef |
| 232 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-snfi-nand |
| 233 | |
| 234 | define Device/mediatek_mt7988a-dsa-10g-spim-nor |
| 235 | DEVICE_VENDOR := MediaTek |
| 236 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nor |
| 237 | DEVICE_DTS := mt7988a-dsa-10g-spim-nor |
| 238 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 239 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor |
| 240 | endef |
| 241 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor |
| 242 | |
| 243 | define Device/mediatek_mt7988a-dsa-10g-emmc |
| 244 | DEVICE_VENDOR := MediaTek |
| 245 | DEVICE_MODEL := mt7988a-dsa-10g-emmc |
| 246 | DEVICE_DTS := mt7988a-dsa-10g-emmc |
| 247 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc |
| 248 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 249 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 250 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 251 | kmod-nls-iso8859-1 |
| 252 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 253 | endef |
| 254 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc |
| 255 | |
| 256 | define Device/mediatek_mt7988a-dsa-10g-sd |
| 257 | DEVICE_VENDOR := MediaTek |
| 258 | DEVICE_MODEL := mt7988a-dsa-10g-sd |
| 259 | DEVICE_DTS := mt7988a-dsa-10g-sd |
| 260 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd |
| 261 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 262 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 263 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 264 | kmod-nls-iso8859-1 |
| 265 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 266 | endef |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 267 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 268 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 269 | define Device/mediatek_mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 270 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 271 | DEVICE_MODEL := mt7988d-gsw-10g-spim-nand |
| 272 | DEVICE_DTS := mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 273 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 274 | SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 275 | UBINIZE_OPTS := -E 5 |
| 276 | BLOCKSIZE := 128k |
| 277 | PAGESIZE := 2048 |
| 278 | IMAGE_SIZE := 65536k |
| 279 | KERNEL_IN_UBI := 1 |
| 280 | IMAGES += factory.bin |
| 281 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 282 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 283 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 284 | TARGET_DEVICES += mediatek_mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 285 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 286 | define Device/mediatek_mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 287 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 288 | DEVICE_MODEL := mt7988d-gsw-10g-sfp-spim-nand |
| 289 | DEVICE_DTS := mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 290 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 291 | SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-sfp-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 292 | UBINIZE_OPTS := -E 5 |
| 293 | BLOCKSIZE := 128k |
| 294 | PAGESIZE := 2048 |
| 295 | IMAGE_SIZE := 65536k |
| 296 | KERNEL_IN_UBI := 1 |
| 297 | IMAGES += factory.bin |
| 298 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 299 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 300 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 301 | TARGET_DEVICES += mediatek_mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 302 | |
developer | d4f9210 | 2023-09-11 09:26:54 +0800 | [diff] [blame] | 303 | define Device/mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 304 | DEVICE_VENDOR := MediaTek |
| 305 | DEVICE_MODEL := mt7988d-dsa-10g-sfp-spim-nand |
| 306 | DEVICE_DTS := mt7988d-dsa-10g-sfp-spim-nand |
| 307 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 308 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sfp-spim-snand |
| 309 | UBINIZE_OPTS := -E 5 |
| 310 | BLOCKSIZE := 128k |
| 311 | PAGESIZE := 2048 |
| 312 | IMAGE_SIZE := 65536k |
| 313 | KERNEL_IN_UBI := 1 |
| 314 | IMAGES += factory.bin |
| 315 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 316 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 317 | endef |
| 318 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 319 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 320 | define Device/mediatek_mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 321 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 322 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nand |
| 323 | DEVICE_DTS := mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 324 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 325 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 326 | UBINIZE_OPTS := -E 5 |
| 327 | BLOCKSIZE := 128k |
| 328 | PAGESIZE := 2048 |
| 329 | IMAGE_SIZE := 65536k |
| 330 | KERNEL_IN_UBI := 1 |
| 331 | IMAGES += factory.bin |
| 332 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 333 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 334 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 335 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 336 | |
developer | e2281fe | 2023-11-02 18:47:09 +0800 | [diff] [blame] | 337 | define Device/mediatek_mt7988d-dsa-10g-spim-nand-CASAN |
| 338 | DEVICE_VENDOR := MediaTek |
| 339 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nand-CASAN |
| 340 | DEVICE_DTS := mt7988d-dsa-10g-spim-nand-CASAN |
| 341 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 342 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-snand-CASAN |
| 343 | UBINIZE_OPTS := -E 5 |
| 344 | BLOCKSIZE := 128k |
| 345 | PAGESIZE := 2048 |
| 346 | IMAGE_SIZE := 65536k |
| 347 | KERNEL_IN_UBI := 1 |
| 348 | IMAGES += factory.bin |
| 349 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 350 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 351 | endef |
| 352 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nand-CASAN |
| 353 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 354 | define Device/mediatek_mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 355 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 356 | DEVICE_MODEL := mt7988d-dsa-e2p5g-spim-nand |
| 357 | DEVICE_DTS := mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 358 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 359 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 360 | UBINIZE_OPTS := -E 5 |
| 361 | BLOCKSIZE := 128k |
| 362 | PAGESIZE := 2048 |
| 363 | IMAGE_SIZE := 65536k |
| 364 | KERNEL_IN_UBI := 1 |
| 365 | IMAGES += factory.bin |
| 366 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 367 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 368 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 369 | TARGET_DEVICES += mediatek_mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 370 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 371 | define Device/mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 372 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 373 | DEVICE_MODEL := mt7988d-dsa-10g-snfi-nand |
| 374 | DEVICE_DTS := mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 375 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 376 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 377 | UBINIZE_OPTS := -E 5 |
| 378 | BLOCKSIZE := 128k |
| 379 | PAGESIZE := 2048 |
| 380 | IMAGE_SIZE := 65536k |
| 381 | KERNEL_IN_UBI := 1 |
| 382 | IMAGES += factory.bin |
| 383 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 384 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 385 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 386 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 387 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 388 | define Device/mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 389 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 390 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nor |
| 391 | DEVICE_DTS := mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 392 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 393 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 394 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 395 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 396 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 397 | define Device/mediatek_mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 398 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 399 | DEVICE_MODEL := mt7988d-dsa-10g-emmc |
| 400 | DEVICE_DTS := mt7988d-dsa-10g-emmc |
| 401 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 402 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 403 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 404 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 405 | kmod-nls-iso8859-1 |
| 406 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 407 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 408 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 409 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 410 | define Device/mediatek_mt7988d-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 411 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 412 | DEVICE_MODEL := mt7988d-dsa-10g-sd |
| 413 | DEVICE_DTS := mt7988d-dsa-10g-sd |
| 414 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 415 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 416 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 417 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 418 | kmod-nls-iso8859-1 |
| 419 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 420 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 421 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sd |