developer | 59f8e0b | 2021-10-19 14:45:01 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x48080000 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 2 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 3 | define Device/mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 4 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 5 | DEVICE_MODEL := mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 6 | DEVICE_DTS := mt7981-spim-nor-rfb |
| 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 8 | SUPPORTED_DEVICES := mediatek,mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 9 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 10 | TARGET_DEVICES += mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 11 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 12 | define Device/mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 13 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 14 | DEVICE_MODEL := mt7981-spim-nand-2500wan-gmac2 |
| 15 | DEVICE_DTS := mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 16 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 17 | SUPPORTED_DEVICES := mediatek,mt7981-spim-snand-2500wan-gmac2-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 18 | UBINIZE_OPTS := -E 5 |
| 19 | BLOCKSIZE := 128k |
| 20 | PAGESIZE := 2048 |
| 21 | IMAGE_SIZE := 65536k |
| 22 | KERNEL_IN_UBI := 1 |
| 23 | IMAGES += factory.bin |
| 24 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 25 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 26 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 27 | TARGET_DEVICES += mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 28 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 29 | define Device/mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 30 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 31 | DEVICE_MODEL := mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 32 | DEVICE_DTS := mt7981-spim-nand-rfb |
| 33 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 34 | SUPPORTED_DEVICES := mediatek,mt7981-spim-snand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 35 | UBINIZE_OPTS := -E 5 |
| 36 | BLOCKSIZE := 128k |
| 37 | PAGESIZE := 2048 |
| 38 | IMAGE_SIZE := 65536k |
| 39 | KERNEL_IN_UBI := 1 |
| 40 | IMAGES += factory.bin |
| 41 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 42 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 43 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 44 | TARGET_DEVICES += mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 45 | |
developer | 978a051 | 2022-03-08 15:20:03 +0800 | [diff] [blame] | 46 | define Device/mt7981-spim-nand-gsw |
| 47 | DEVICE_VENDOR := MediaTek |
| 48 | DEVICE_MODEL := mt7981-spim-nand-gsw |
| 49 | DEVICE_DTS := mt7981-spim-nand-gsw |
| 50 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 51 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 52 | UBINIZE_OPTS := -E 5 |
| 53 | BLOCKSIZE := 128k |
| 54 | PAGESIZE := 2048 |
| 55 | IMAGE_SIZE := 65536k |
| 56 | KERNEL_IN_UBI := 1 |
| 57 | IMAGES += factory.bin |
| 58 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 59 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 60 | endef |
| 61 | TARGET_DEVICES += mt7981-spim-nand-gsw |
| 62 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 63 | define Device/mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 64 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 65 | DEVICE_MODEL := mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 66 | DEVICE_DTS := mt7981-emmc-rfb |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 67 | SUPPORTED_DEVICES := mediatek,mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 68 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 69 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 70 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 71 | kmod-nls-iso8859-1 |
| 72 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 73 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 74 | TARGET_DEVICES += mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 75 | |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 76 | define Device/mt7981-sd-rfb |
| 77 | DEVICE_VENDOR := MediaTek |
| 78 | DEVICE_MODEL := mt7981-sd-rfb |
| 79 | DEVICE_DTS := mt7981-sd-rfb |
| 80 | SUPPORTED_DEVICES := mediatek,mt7981-sd-rfb |
| 81 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 82 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 83 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 84 | kmod-nls-iso8859-1 |
| 85 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 86 | endef |
| 87 | TARGET_DEVICES += mt7981-sd-rfb |
| 88 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 89 | define Device/mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 90 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 91 | DEVICE_MODEL := mt7981-snfi-nand-2500wan-p5 |
| 92 | DEVICE_DTS := mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 93 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 94 | SUPPORTED_DEVICES := mediatek,mt7981-snfi-snand-pcie-2500wan-p5-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 95 | UBINIZE_OPTS := -E 5 |
| 96 | BLOCKSIZE := 128k |
| 97 | PAGESIZE := 2048 |
| 98 | IMAGE_SIZE := 65536k |
| 99 | KERNEL_IN_UBI := 1 |
| 100 | IMAGES += factory.bin |
| 101 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 102 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 103 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 104 | TARGET_DEVICES += mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 105 | |
| 106 | define Device/mt7981-fpga-spim-nor |
| 107 | DEVICE_VENDOR := MediaTek |
| 108 | DEVICE_MODEL := mt7981-fpga-spim-nor |
| 109 | DEVICE_DTS := mt7981-fpga-spim-nor |
| 110 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 111 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-nor |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 112 | endef |
| 113 | TARGET_DEVICES += mt7981-fpga-spim-nor |
| 114 | |
| 115 | define Device/mt7981-fpga-snfi-nand |
| 116 | DEVICE_VENDOR := MediaTek |
| 117 | DEVICE_MODEL := mt7981-fpga-snfi-nand |
| 118 | DEVICE_DTS := mt7981-fpga-snfi-nand |
| 119 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 120 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-snfi-snand |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 121 | UBINIZE_OPTS := -E 5 |
| 122 | BLOCKSIZE := 128k |
| 123 | PAGESIZE := 2048 |
| 124 | IMAGE_SIZE := 65536k |
| 125 | KERNEL_IN_UBI := 1 |
| 126 | IMAGES += factory.bin |
| 127 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 128 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 129 | endef |
| 130 | TARGET_DEVICES += mt7981-fpga-snfi-nand |
| 131 | |
| 132 | define Device/mt7981-fpga-spim-nand |
| 133 | DEVICE_VENDOR := MediaTek |
| 134 | DEVICE_MODEL := mt7981-fpga-spim-nand |
| 135 | DEVICE_DTS := mt7981-fpga-spim-nand |
| 136 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | a1c200a | 2022-03-04 20:10:00 +0800 | [diff] [blame] | 137 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-spim-snand |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 138 | UBINIZE_OPTS := -E 5 |
| 139 | BLOCKSIZE := 128k |
| 140 | PAGESIZE := 2048 |
| 141 | IMAGE_SIZE := 65536k |
| 142 | KERNEL_IN_UBI := 1 |
| 143 | IMAGES += factory.bin |
| 144 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 145 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 146 | endef |
| 147 | TARGET_DEVICES += mt7981-fpga-spim-nand |
| 148 | |
| 149 | define Device/mt7981-fpga-emmc |
| 150 | DEVICE_VENDOR := MediaTek |
| 151 | DEVICE_MODEL := mt7981-fpga-emmc |
| 152 | DEVICE_DTS := mt7981-fpga-emmc |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 153 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-emmc |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 154 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 155 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 156 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 157 | kmod-nls-iso8859-1 |
| 158 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 159 | endef |
| 160 | TARGET_DEVICES += mt7981-fpga-emmc |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 161 | |
| 162 | define Device/mt7981-fpga-sd |
| 163 | DEVICE_VENDOR := MediaTek |
| 164 | DEVICE_MODEL := mt7981-fpga-sd |
| 165 | DEVICE_DTS := mt7981-fpga-sd |
| 166 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-sd |
| 167 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 168 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 169 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 170 | kmod-nls-iso8859-1 |
| 171 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 172 | endef |
| 173 | TARGET_DEVICES += mt7981-fpga-sd |