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 | 0d09a90 | 2023-05-05 17:32:24 +0800 | [diff] [blame] | 148 | define Device/mediatek_mt7988a-88d-10g-spim-nand |
| 149 | DEVICE_VENDOR := MediaTek |
| 150 | DEVICE_MODEL := mt7988a-88d-10g-spim-nand |
| 151 | DEVICE_DTS := mt7988a-88d-10g-spim-nand |
| 152 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 153 | SUPPORTED_DEVICES := mediatek,mt7988a-88d-10g-spim-snand |
| 154 | UBINIZE_OPTS := -E 5 |
| 155 | BLOCKSIZE := 128k |
| 156 | PAGESIZE := 2048 |
| 157 | IMAGE_SIZE := 65536k |
| 158 | KERNEL_IN_UBI := 1 |
| 159 | IMAGES += factory.bin |
| 160 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 161 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 162 | endef |
| 163 | TARGET_DEVICES += mediatek_mt7988a-88d-10g-spim-nand |
| 164 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 165 | define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 166 | DEVICE_VENDOR := MediaTek |
| 167 | DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand |
| 168 | DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand |
| 169 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 170 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-spim-nand |
| 171 | UBINIZE_OPTS := -E 5 |
| 172 | BLOCKSIZE := 128k |
| 173 | PAGESIZE := 2048 |
| 174 | IMAGE_SIZE := 65536k |
| 175 | KERNEL_IN_UBI := 1 |
| 176 | IMAGES += factory.bin |
| 177 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 178 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 179 | endef |
| 180 | TARGET_DEVICES += mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 181 | |
| 182 | define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 183 | DEVICE_VENDOR := MediaTek |
| 184 | DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand |
| 185 | DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand |
| 186 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 187 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-spim-nand |
| 188 | UBINIZE_OPTS := -E 5 |
| 189 | BLOCKSIZE := 128k |
| 190 | PAGESIZE := 2048 |
| 191 | IMAGE_SIZE := 65536k |
| 192 | KERNEL_IN_UBI := 1 |
| 193 | IMAGES += factory.bin |
| 194 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 195 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 196 | endef |
| 197 | TARGET_DEVICES += mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 198 | |
| 199 | define Device/mediatek_mt7988a-dsa-10g-snfi-nand |
| 200 | DEVICE_VENDOR := MediaTek |
| 201 | DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand |
| 202 | DEVICE_DTS := mt7988a-dsa-10g-snfi-nand |
| 203 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 204 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-nand |
| 205 | UBINIZE_OPTS := -E 5 |
| 206 | BLOCKSIZE := 128k |
| 207 | PAGESIZE := 2048 |
| 208 | IMAGE_SIZE := 65536k |
| 209 | KERNEL_IN_UBI := 1 |
| 210 | IMAGES += factory.bin |
| 211 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 212 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 213 | endef |
| 214 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-snfi-nand |
| 215 | |
| 216 | define Device/mediatek_mt7988a-dsa-10g-spim-nor |
| 217 | DEVICE_VENDOR := MediaTek |
| 218 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nor |
| 219 | DEVICE_DTS := mt7988a-dsa-10g-spim-nor |
| 220 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 221 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor |
| 222 | endef |
| 223 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor |
| 224 | |
| 225 | define Device/mediatek_mt7988a-dsa-10g-emmc |
| 226 | DEVICE_VENDOR := MediaTek |
| 227 | DEVICE_MODEL := mt7988a-dsa-10g-emmc |
| 228 | DEVICE_DTS := mt7988a-dsa-10g-emmc |
| 229 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc |
| 230 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 231 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 232 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 233 | kmod-nls-iso8859-1 |
| 234 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 235 | endef |
| 236 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc |
| 237 | |
| 238 | define Device/mediatek_mt7988a-dsa-10g-sd |
| 239 | DEVICE_VENDOR := MediaTek |
| 240 | DEVICE_MODEL := mt7988a-dsa-10g-sd |
| 241 | DEVICE_DTS := mt7988a-dsa-10g-sd |
| 242 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd |
| 243 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 244 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 245 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 246 | kmod-nls-iso8859-1 |
| 247 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 248 | endef |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 249 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 250 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 251 | define Device/mediatek_mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 252 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 253 | DEVICE_MODEL := mt7988d-gsw-10g-spim-nand |
| 254 | DEVICE_DTS := mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 255 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 256 | SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 257 | UBINIZE_OPTS := -E 5 |
| 258 | BLOCKSIZE := 128k |
| 259 | PAGESIZE := 2048 |
| 260 | IMAGE_SIZE := 65536k |
| 261 | KERNEL_IN_UBI := 1 |
| 262 | IMAGES += factory.bin |
| 263 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 264 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 265 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 266 | TARGET_DEVICES += mediatek_mt7988d-gsw-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 267 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 268 | define Device/mediatek_mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 269 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 270 | DEVICE_MODEL := mt7988d-gsw-10g-sfp-spim-nand |
| 271 | DEVICE_DTS := mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 272 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 273 | SUPPORTED_DEVICES := mediatek,mt7988d-gsw-10g-sfp-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 274 | UBINIZE_OPTS := -E 5 |
| 275 | BLOCKSIZE := 128k |
| 276 | PAGESIZE := 2048 |
| 277 | IMAGE_SIZE := 65536k |
| 278 | KERNEL_IN_UBI := 1 |
| 279 | IMAGES += factory.bin |
| 280 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 281 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 282 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 283 | TARGET_DEVICES += mediatek_mt7988d-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 284 | |
developer | d4f9210 | 2023-09-11 09:26:54 +0800 | [diff] [blame] | 285 | define Device/mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 286 | DEVICE_VENDOR := MediaTek |
| 287 | DEVICE_MODEL := mt7988d-dsa-10g-sfp-spim-nand |
| 288 | DEVICE_DTS := mt7988d-dsa-10g-sfp-spim-nand |
| 289 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 290 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sfp-spim-snand |
| 291 | UBINIZE_OPTS := -E 5 |
| 292 | BLOCKSIZE := 128k |
| 293 | PAGESIZE := 2048 |
| 294 | IMAGE_SIZE := 65536k |
| 295 | KERNEL_IN_UBI := 1 |
| 296 | IMAGES += factory.bin |
| 297 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 298 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 299 | endef |
| 300 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 301 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 302 | define Device/mediatek_mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 303 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 304 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nand |
| 305 | DEVICE_DTS := mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 306 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 307 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-snand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 308 | UBINIZE_OPTS := -E 5 |
| 309 | BLOCKSIZE := 128k |
| 310 | PAGESIZE := 2048 |
| 311 | IMAGE_SIZE := 65536k |
| 312 | KERNEL_IN_UBI := 1 |
| 313 | IMAGES += factory.bin |
| 314 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 315 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 316 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 317 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 318 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 319 | define Device/mediatek_mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 320 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 321 | DEVICE_MODEL := mt7988d-dsa-e2p5g-spim-nand |
| 322 | DEVICE_DTS := mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 323 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 324 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 325 | UBINIZE_OPTS := -E 5 |
| 326 | BLOCKSIZE := 128k |
| 327 | PAGESIZE := 2048 |
| 328 | IMAGE_SIZE := 65536k |
| 329 | KERNEL_IN_UBI := 1 |
| 330 | IMAGES += factory.bin |
| 331 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 332 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 333 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 334 | TARGET_DEVICES += mediatek_mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 335 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 336 | define Device/mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 337 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 338 | DEVICE_MODEL := mt7988d-dsa-10g-snfi-nand |
| 339 | DEVICE_DTS := mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 340 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 341 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 342 | UBINIZE_OPTS := -E 5 |
| 343 | BLOCKSIZE := 128k |
| 344 | PAGESIZE := 2048 |
| 345 | IMAGE_SIZE := 65536k |
| 346 | KERNEL_IN_UBI := 1 |
| 347 | IMAGES += factory.bin |
| 348 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 349 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 350 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 351 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 352 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 353 | define Device/mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 354 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 355 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nor |
| 356 | DEVICE_DTS := mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 357 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 358 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 359 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 360 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 361 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 362 | define Device/mediatek_mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 363 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 364 | DEVICE_MODEL := mt7988d-dsa-10g-emmc |
| 365 | DEVICE_DTS := mt7988d-dsa-10g-emmc |
| 366 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 367 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 368 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 369 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 370 | kmod-nls-iso8859-1 |
| 371 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 372 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 373 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 374 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 375 | define Device/mediatek_mt7988d-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 376 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 377 | DEVICE_MODEL := mt7988d-dsa-10g-sd |
| 378 | DEVICE_DTS := mt7988d-dsa-10g-sd |
| 379 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 380 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 381 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 382 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 383 | kmod-nls-iso8859-1 |
| 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-sd |