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 | |
developer | d4f9210 | 2023-09-11 09:26:54 +0800 | [diff] [blame] | 110 | define Device/mediatek_mt7988a-dsa-10g-sfp-spim-nand |
| 111 | DEVICE_VENDOR := MediaTek |
| 112 | DEVICE_MODEL := mt7988a-dsa-10g-sfp-spim-nand |
| 113 | DEVICE_DTS := mt7988a-dsa-10g-sfp-spim-nand |
| 114 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 115 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sfp-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-sfp-spim-nand |
| 126 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 127 | define Device/mediatek_mt7988a-dsa-10g-spim-nand |
| 128 | DEVICE_VENDOR := MediaTek |
| 129 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nand |
| 130 | DEVICE_DTS := mt7988a-dsa-10g-spim-nand |
| 131 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 132 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-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-dsa-10g-spim-nand |
| 143 | |
developer | 0d09a90 | 2023-05-05 17:32:24 +0800 | [diff] [blame] | 144 | define Device/mediatek_mt7988a-88d-10g-spim-nand |
| 145 | DEVICE_VENDOR := MediaTek |
| 146 | DEVICE_MODEL := mt7988a-88d-10g-spim-nand |
| 147 | DEVICE_DTS := mt7988a-88d-10g-spim-nand |
| 148 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 149 | SUPPORTED_DEVICES := mediatek,mt7988a-88d-10g-spim-snand |
| 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-88d-10g-spim-nand |
| 160 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 161 | define Device/mediatek_mt7988a-dsa-e2p5g-spim-nand |
| 162 | DEVICE_VENDOR := MediaTek |
| 163 | DEVICE_MODEL := mt7988a-dsa-e2p5g-spim-nand |
| 164 | DEVICE_DTS := mt7988a-dsa-e2p5g-spim-nand |
| 165 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 166 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-e2p5g-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-e2p5g-spim-nand |
| 177 | |
| 178 | define Device/mediatek_mt7988a-dsa-i2p5g-spim-nand |
| 179 | DEVICE_VENDOR := MediaTek |
| 180 | DEVICE_MODEL := mt7988a-dsa-i2p5g-spim-nand |
| 181 | DEVICE_DTS := mt7988a-dsa-i2p5g-spim-nand |
| 182 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 183 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-i2p5g-spim-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-i2p5g-spim-nand |
| 194 | |
| 195 | define Device/mediatek_mt7988a-dsa-10g-snfi-nand |
| 196 | DEVICE_VENDOR := MediaTek |
| 197 | DEVICE_MODEL := mt7988a-dsa-10g-snfi-nand |
| 198 | DEVICE_DTS := mt7988a-dsa-10g-snfi-nand |
| 199 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 200 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-snfi-nand |
| 201 | UBINIZE_OPTS := -E 5 |
| 202 | BLOCKSIZE := 128k |
| 203 | PAGESIZE := 2048 |
| 204 | IMAGE_SIZE := 65536k |
| 205 | KERNEL_IN_UBI := 1 |
| 206 | IMAGES += factory.bin |
| 207 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 208 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 209 | endef |
| 210 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-snfi-nand |
| 211 | |
| 212 | define Device/mediatek_mt7988a-dsa-10g-spim-nor |
| 213 | DEVICE_VENDOR := MediaTek |
| 214 | DEVICE_MODEL := mt7988a-dsa-10g-spim-nor |
| 215 | DEVICE_DTS := mt7988a-dsa-10g-spim-nor |
| 216 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 217 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-spim-nor |
| 218 | endef |
| 219 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-spim-nor |
| 220 | |
| 221 | define Device/mediatek_mt7988a-dsa-10g-emmc |
| 222 | DEVICE_VENDOR := MediaTek |
| 223 | DEVICE_MODEL := mt7988a-dsa-10g-emmc |
| 224 | DEVICE_DTS := mt7988a-dsa-10g-emmc |
| 225 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-emmc |
| 226 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 227 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 228 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 229 | kmod-nls-iso8859-1 |
| 230 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 231 | endef |
| 232 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-emmc |
| 233 | |
| 234 | define Device/mediatek_mt7988a-dsa-10g-sd |
| 235 | DEVICE_VENDOR := MediaTek |
| 236 | DEVICE_MODEL := mt7988a-dsa-10g-sd |
| 237 | DEVICE_DTS := mt7988a-dsa-10g-sd |
| 238 | SUPPORTED_DEVICES := mediatek,mt7988a-dsa-10g-sd |
| 239 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 240 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 241 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 242 | kmod-nls-iso8859-1 |
| 243 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 244 | endef |
developer | aa36a39 | 2022-10-26 17:30:21 +0800 | [diff] [blame] | 245 | TARGET_DEVICES += mediatek_mt7988a-dsa-10g-sd |
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-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-spim-nand |
| 250 | DEVICE_DTS := mt7988d-gsw-10g-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-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-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-gsw-10g-sfp-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-gsw-10g-sfp-spim-nand |
| 267 | DEVICE_DTS := mt7988d-gsw-10g-sfp-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-gsw-10g-sfp-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-gsw-10g-sfp-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 280 | |
developer | d4f9210 | 2023-09-11 09:26:54 +0800 | [diff] [blame] | 281 | define Device/mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 282 | DEVICE_VENDOR := MediaTek |
| 283 | DEVICE_MODEL := mt7988d-dsa-10g-sfp-spim-nand |
| 284 | DEVICE_DTS := mt7988d-dsa-10g-sfp-spim-nand |
| 285 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 286 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sfp-spim-snand |
| 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 |
| 296 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sfp-spim-nand |
| 297 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 298 | define Device/mediatek_mt7988d-dsa-10g-spim-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-spim-nand |
| 301 | DEVICE_DTS := mt7988d-dsa-10g-spim-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-spim-snand |
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-spim-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-e2p5g-spim-nand |
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-e2p5g-spim-nand |
| 318 | DEVICE_DTS := mt7988d-dsa-e2p5g-spim-nand |
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-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 321 | UBINIZE_OPTS := -E 5 |
| 322 | BLOCKSIZE := 128k |
| 323 | PAGESIZE := 2048 |
| 324 | IMAGE_SIZE := 65536k |
| 325 | KERNEL_IN_UBI := 1 |
| 326 | IMAGES += factory.bin |
| 327 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 328 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 329 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 330 | TARGET_DEVICES += mediatek_mt7988d-dsa-e2p5g-spim-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 331 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 332 | define Device/mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 333 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 334 | DEVICE_MODEL := mt7988d-dsa-10g-snfi-nand |
| 335 | DEVICE_DTS := mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 336 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 337 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 338 | UBINIZE_OPTS := -E 5 |
| 339 | BLOCKSIZE := 128k |
| 340 | PAGESIZE := 2048 |
| 341 | IMAGE_SIZE := 65536k |
| 342 | KERNEL_IN_UBI := 1 |
| 343 | IMAGES += factory.bin |
| 344 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 345 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 346 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 347 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-snfi-nand |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 348 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 349 | define Device/mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 350 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 351 | DEVICE_MODEL := mt7988d-dsa-10g-spim-nor |
| 352 | DEVICE_DTS := mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 353 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 354 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 355 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 356 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-spim-nor |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 357 | |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 358 | define Device/mediatek_mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 359 | DEVICE_VENDOR := MediaTek |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 360 | DEVICE_MODEL := mt7988d-dsa-10g-emmc |
| 361 | DEVICE_DTS := mt7988d-dsa-10g-emmc |
| 362 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-emmc |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 363 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 364 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 365 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 366 | kmod-nls-iso8859-1 |
| 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-10g-emmc |
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-sd |
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-sd |
| 374 | DEVICE_DTS := mt7988d-dsa-10g-sd |
| 375 | SUPPORTED_DEVICES := mediatek,mt7988d-dsa-10g-sd |
developer | c54ce9d | 2023-01-03 13:30:49 +0800 | [diff] [blame] | 376 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 377 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 378 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 379 | kmod-nls-iso8859-1 |
| 380 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 381 | endef |
developer | 3f9a06c | 2023-05-23 15:16:44 +0800 | [diff] [blame] | 382 | TARGET_DEVICES += mediatek_mt7988d-dsa-10g-sd |