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