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 |