developer | ade6d68 | 2021-10-27 17:00:32 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x48080000 |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 2 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 3 | define Device/mt7986a-ax6000-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 4 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 5 | DEVICE_MODEL := mt7986a-ax6000-spim-nor-rfb |
| 6 | DEVICE_DTS := mt7986a-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 8 | SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 9 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 10 | TARGET_DEVICES += mt7986a-ax6000-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 11 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 12 | define Device/mt7986a-ax6000-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 13 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 14 | DEVICE_MODEL := mt7986a-ax6000-spim-nand-rfb (SPI-NAND,UBI) |
| 15 | DEVICE_DTS := mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 16 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 17 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +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 | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 27 | TARGET_DEVICES += mt7986a-ax6000-spim-nand-rfb |
| 28 | |
developer | bc023af | 2021-11-01 11:27:36 +0800 | [diff] [blame] | 29 | define Device/mt7986a-ax8400-spim-nand-rfb |
| 30 | DEVICE_VENDOR := MediaTek |
| 31 | DEVICE_MODEL := mt7986a-ax8400-spim-nand-rfb (SPI-NAND,UBI) |
| 32 | DEVICE_DTS := mt7986a-spim-nand-rfb |
| 33 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 34 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb |
developer | bc023af | 2021-11-01 11:27:36 +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 |
| 44 | TARGET_DEVICES += mt7986a-ax8400-spim-nand-rfb |
| 45 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 46 | define Device/mt7986a-ax6000-snfi-nand-rfb |
| 47 | DEVICE_VENDOR := MediaTek |
| 48 | DEVICE_MODEL := mt7986a-ax6000-snfi-nand-rfb (SPI-NAND,UBI) |
| 49 | DEVICE_DTS := mt7986a-snfi-nand-rfb |
| 50 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 51 | SUPPORTED_DEVICES := mediatek,mt7986a-snfi-snand-rfb |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 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 += mt7986a-ax6000-snfi-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 62 | |
developer | 19e8ed4 | 2021-06-10 19:15:03 +0800 | [diff] [blame] | 63 | define Device/mt7986a-ax6000-emmc-rfb |
| 64 | DEVICE_VENDOR := MediaTek |
| 65 | DEVICE_MODEL := mt7986a-ax6000-emmc-rfb |
| 66 | DEVICE_DTS := mt7986a-emmc-rfb |
| 67 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 8262b0d | 2021-11-12 09:02:17 +0800 | [diff] [blame] | 68 | SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb |
| 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 | 19e8ed4 | 2021-06-10 19:15:03 +0800 | [diff] [blame] | 73 | endef |
| 74 | TARGET_DEVICES += mt7986a-ax6000-emmc-rfb |
| 75 | |
developer | 82b8f4e | 2022-07-07 11:42:17 +0800 | [diff] [blame] | 76 | define Device/mt7986a-ax7800-emmc-rfb |
| 77 | DEVICE_VENDOR := MediaTek |
| 78 | DEVICE_MODEL := mt7986a-ax7800-emmc-rfb |
| 79 | DEVICE_DTS := mt7986a-emmc-rfb |
| 80 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 81 | SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb |
| 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 += mt7986a-ax7800-emmc-rfb |
| 88 | |
developer | 9ff02ca | 2023-02-23 12:52:33 +0800 | [diff] [blame] | 89 | define Device/mt7986a-ax5400-emmc-rfb |
| 90 | DEVICE_VENDOR := MediaTek |
| 91 | DEVICE_MODEL := mt7986a-ax5400-emmc-rfb |
| 92 | DEVICE_DTS := mt7986a-emmc-rfb |
| 93 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 94 | SUPPORTED_DEVICES := mediatek,mt7986a-emmc-rfb |
| 95 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 96 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 97 | kmod-nls-iso8859-1 |
| 98 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 99 | endef |
| 100 | TARGET_DEVICES += mt7986a-ax5400-emmc-rfb |
| 101 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 102 | define Device/mt7986a-ax6000-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 103 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 104 | DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nor-rfb |
| 105 | DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 106 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 107 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 108 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 109 | TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 110 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 111 | define Device/mt7986a-ax6000-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 112 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 113 | DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 114 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 115 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 116 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 117 | UBINIZE_OPTS := -E 5 |
| 118 | BLOCKSIZE := 128k |
| 119 | PAGESIZE := 2048 |
| 120 | IMAGE_SIZE := 65536k |
| 121 | KERNEL_IN_UBI := 1 |
| 122 | IMAGES += factory.bin |
| 123 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 124 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 125 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 126 | TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 127 | |
developer | 1b76b3f | 2021-12-22 19:53:19 +0800 | [diff] [blame] | 128 | define Device/mt7986a-ax6000-2500wan-gsw-spim-nand-rfb |
| 129 | DEVICE_VENDOR := MediaTek |
| 130 | DEVICE_MODEL := mt7986a-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI) |
| 131 | DEVICE_DTS := mt7986a-2500wan-gsw-spim-nand-rfb |
| 132 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 133 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-gsw-spim-snand-rfb |
developer | 1b76b3f | 2021-12-22 19:53:19 +0800 | [diff] [blame] | 134 | UBINIZE_OPTS := -E 5 |
| 135 | BLOCKSIZE := 128k |
| 136 | PAGESIZE := 2048 |
| 137 | IMAGE_SIZE := 65536k |
| 138 | KERNEL_IN_UBI := 1 |
| 139 | IMAGES += factory.bin |
| 140 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 141 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 142 | endef |
| 143 | TARGET_DEVICES += mt7986a-ax6000-2500wan-gsw-spim-nand-rfb |
| 144 | |
developer | bc838af | 2022-01-11 15:44:57 +0800 | [diff] [blame] | 145 | define Device/mt7986a-ax6000-2500wan-sd-rfb |
| 146 | DEVICE_VENDOR := MediaTek |
| 147 | DEVICE_MODEL := mt7986a-ax6000-2500wan-sd-rfb |
| 148 | DEVICE_DTS := mt7986a-2500wan-sd-rfb |
| 149 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 150 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb |
| 151 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 152 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 153 | kmod-nls-iso8859-1 |
| 154 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 155 | endef |
| 156 | TARGET_DEVICES += mt7986a-ax6000-2500wan-sd-rfb |
| 157 | |
developer | bc023af | 2021-11-01 11:27:36 +0800 | [diff] [blame] | 158 | define Device/mt7986a-ax8400-2500wan-spim-nand-rfb |
| 159 | DEVICE_VENDOR := MediaTek |
| 160 | DEVICE_MODEL := mt7986a-ax8400-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 161 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
| 162 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 163 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb |
developer | bc023af | 2021-11-01 11:27:36 +0800 | [diff] [blame] | 164 | UBINIZE_OPTS := -E 5 |
| 165 | BLOCKSIZE := 128k |
| 166 | PAGESIZE := 2048 |
| 167 | IMAGE_SIZE := 65536k |
| 168 | KERNEL_IN_UBI := 1 |
| 169 | IMAGES += factory.bin |
| 170 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 171 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 172 | endef |
| 173 | TARGET_DEVICES += mt7986a-ax8400-2500wan-spim-nand-rfb |
| 174 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 175 | define Device/mt7986a-ax7800-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 176 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 177 | DEVICE_MODEL := mt7986a-ax7800-spim-nor-rfb |
| 178 | DEVICE_DTS := mt7986a-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 179 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 180 | SUPPORTED_DEVICES := mediatek,mt7986a-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 181 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 182 | TARGET_DEVICES += mt7986a-ax7800-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 183 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 184 | define Device/mt7986a-ax7800-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 185 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 186 | DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI) |
| 187 | DEVICE_DTS := mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 188 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 189 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 190 | UBINIZE_OPTS := -E 5 |
| 191 | BLOCKSIZE := 128k |
| 192 | PAGESIZE := 2048 |
| 193 | IMAGE_SIZE := 65536k |
| 194 | KERNEL_IN_UBI := 1 |
| 195 | IMAGES += factory.bin |
| 196 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 197 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 198 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 199 | TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 200 | |
developer | 9ff02ca | 2023-02-23 12:52:33 +0800 | [diff] [blame] | 201 | define Device/mt7986a-ax5400-spim-nand-rfb |
| 202 | DEVICE_VENDOR := MediaTek |
| 203 | DEVICE_MODEL := mt7986a-ax5400-spim-nand-rfb (SPI-NAND,UBI) |
| 204 | DEVICE_DTS := mt7986a-spim-nand-rfb |
| 205 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 206 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-snand-rfb |
| 207 | UBINIZE_OPTS := -E 5 |
| 208 | BLOCKSIZE := 128k |
| 209 | PAGESIZE := 2048 |
| 210 | IMAGE_SIZE := 65536k |
| 211 | KERNEL_IN_UBI := 1 |
| 212 | IMAGES += factory.bin |
| 213 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 214 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 215 | endef |
| 216 | TARGET_DEVICES += mt7986a-ax5400-spim-nand-rfb |
| 217 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 218 | define Device/mt7986a-ax7800-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 219 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 220 | DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nor-rfb |
| 221 | DEVICE_DTS := mt7986a-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 222 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 223 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 224 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 225 | TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 226 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 227 | define Device/mt7986a-ax7800-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 228 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 229 | DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 230 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 231 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 232 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 233 | UBINIZE_OPTS := -E 5 |
| 234 | BLOCKSIZE := 128k |
| 235 | PAGESIZE := 2048 |
| 236 | IMAGE_SIZE := 65536k |
| 237 | KERNEL_IN_UBI := 1 |
| 238 | IMAGES += factory.bin |
| 239 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 240 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 241 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 242 | TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 243 | |
developer | 9ff02ca | 2023-02-23 12:52:33 +0800 | [diff] [blame] | 244 | define Device/mt7986a-ax5400-2500wan-spim-nand-rfb |
| 245 | DEVICE_VENDOR := MediaTek |
| 246 | DEVICE_MODEL := mt7986a-ax5400-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 247 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
| 248 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 249 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-snand-rfb |
| 250 | UBINIZE_OPTS := -E 5 |
| 251 | BLOCKSIZE := 128k |
| 252 | PAGESIZE := 2048 |
| 253 | IMAGE_SIZE := 65536k |
| 254 | KERNEL_IN_UBI := 1 |
| 255 | IMAGES += factory.bin |
| 256 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 257 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 258 | endef |
| 259 | TARGET_DEVICES += mt7986a-ax5400-2500wan-spim-nand-rfb |
| 260 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 261 | define Device/mt7986b-ax6000-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 262 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 263 | DEVICE_MODEL := mt7986b-ax6000-spim-nor-rfb |
| 264 | DEVICE_DTS := mt7986b-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 265 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 266 | SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 267 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 268 | TARGET_DEVICES += mt7986b-ax6000-spim-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 269 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 270 | define Device/mt7986b-ax6000-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 271 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 272 | DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI) |
| 273 | DEVICE_DTS := mt7986b-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 274 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 275 | SUPPORTED_DEVICES := mediatek,mt7986b-spim-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 276 | UBINIZE_OPTS := -E 5 |
| 277 | BLOCKSIZE := 128k |
| 278 | PAGESIZE := 2048 |
| 279 | IMAGE_SIZE := 65536k |
| 280 | KERNEL_IN_UBI := 1 |
| 281 | IMAGES += factory.bin |
| 282 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 283 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 284 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 285 | TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb |
| 286 | |
| 287 | define Device/mt7986b-ax6000-snfi-nand-rfb |
| 288 | DEVICE_VENDOR := MediaTek |
| 289 | DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI) |
| 290 | DEVICE_DTS := mt7986b-snfi-nand-rfb |
| 291 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 292 | SUPPORTED_DEVICES := mediatek,mt7986b-snfi-snand-rfb |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 293 | UBINIZE_OPTS := -E 5 |
| 294 | BLOCKSIZE := 128k |
| 295 | PAGESIZE := 2048 |
| 296 | IMAGE_SIZE := 65536k |
| 297 | KERNEL_IN_UBI := 1 |
| 298 | IMAGES += factory.bin |
| 299 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 300 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 301 | endef |
| 302 | TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 303 | |
developer | f1422f6 | 2021-09-14 13:59:15 +0800 | [diff] [blame] | 304 | define Device/mt7986b-ax6000-emmc-rfb |
| 305 | DEVICE_VENDOR := MediaTek |
| 306 | DEVICE_MODEL := mt7986b-ax6000-emmc-rfb |
| 307 | DEVICE_DTS := mt7986b-emmc-rfb |
| 308 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 8262b0d | 2021-11-12 09:02:17 +0800 | [diff] [blame] | 309 | SUPPORTED_DEVICES := mediatek,mt7986b-emmc-rfb |
| 310 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 311 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 312 | kmod-nls-iso8859-1 |
| 313 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
developer | f1422f6 | 2021-09-14 13:59:15 +0800 | [diff] [blame] | 314 | endef |
| 315 | TARGET_DEVICES += mt7986b-ax6000-emmc-rfb |
| 316 | |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 317 | define Device/mt7986b-ax6000-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 318 | DEVICE_VENDOR := MediaTek |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 319 | DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nor-rfb |
| 320 | DEVICE_DTS := mt7986b-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 321 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 322 | SUPPORTED_DEVICES := mediatek,mt7986b-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 323 | endef |
developer | 765135b | 2021-12-16 14:14:05 +0800 | [diff] [blame] | 324 | TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nor-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 325 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 326 | define Device/mt7986b-ax6000-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 327 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 328 | DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 329 | DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 330 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 331 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-snand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 332 | UBINIZE_OPTS := -E 5 |
| 333 | BLOCKSIZE := 128k |
| 334 | PAGESIZE := 2048 |
| 335 | IMAGE_SIZE := 65536k |
| 336 | KERNEL_IN_UBI := 1 |
| 337 | IMAGES += factory.bin |
| 338 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 339 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 340 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 341 | TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 342 | |
developer | 1b76b3f | 2021-12-22 19:53:19 +0800 | [diff] [blame] | 343 | define Device/mt7986b-ax6000-2500wan-gsw-spim-nand-rfb |
| 344 | DEVICE_VENDOR := MediaTek |
| 345 | DEVICE_MODEL := mt7986b-ax6000-2500wan-gsw-spim-nand-rfb (SPI-NAND,UBI) |
| 346 | DEVICE_DTS := mt7986b-2500wan-gsw-spim-nand-rfb |
| 347 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 348 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-gsw-spim-snand-rfb |
developer | 1b76b3f | 2021-12-22 19:53:19 +0800 | [diff] [blame] | 349 | UBINIZE_OPTS := -E 5 |
| 350 | BLOCKSIZE := 128k |
| 351 | PAGESIZE := 2048 |
| 352 | IMAGE_SIZE := 65536k |
| 353 | KERNEL_IN_UBI := 1 |
| 354 | IMAGES += factory.bin |
| 355 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 356 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 357 | endef |
| 358 | TARGET_DEVICES += mt7986b-ax6000-2500wan-gsw-spim-nand-rfb |
| 359 | |
developer | f9a2c03 | 2021-09-30 17:18:10 +0800 | [diff] [blame] | 360 | define Device/mt7986b-ax6000-2500wan-snfi-nand-rfb |
| 361 | DEVICE_VENDOR := MediaTek |
| 362 | DEVICE_MODEL := mt7986b-ax6000-2500wan-snfi-nand-rfb (SPI-NAND,UBI) |
| 363 | DEVICE_DTS := mt7986b-2500wan-snfi-nand-rfb |
| 364 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | bd0dd0e | 2022-04-18 18:28:19 +0800 | [diff] [blame] | 365 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snfi-snand-rfb |
developer | f9a2c03 | 2021-09-30 17:18:10 +0800 | [diff] [blame] | 366 | UBINIZE_OPTS := -E 5 |
| 367 | BLOCKSIZE := 128k |
| 368 | PAGESIZE := 2048 |
| 369 | IMAGE_SIZE := 65536k |
| 370 | KERNEL_IN_UBI := 1 |
| 371 | IMAGES += factory.bin |
| 372 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 373 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 374 | endef |
| 375 | TARGET_DEVICES += mt7986b-ax6000-2500wan-snfi-nand-rfb |
| 376 | |
developer | bc838af | 2022-01-11 15:44:57 +0800 | [diff] [blame] | 377 | define Device/mt7986b-ax6000-2500wan-sd-rfb |
| 378 | DEVICE_VENDOR := MediaTek |
| 379 | DEVICE_MODEL := mt7986b-ax6000-2500wan-sd-rfb |
| 380 | DEVICE_DTS := mt7986b-2500wan-sd-rfb |
| 381 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 382 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-sd-rfb |
| 383 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 384 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 385 | kmod-nls-iso8859-1 |
| 386 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 387 | endef |
| 388 | TARGET_DEVICES += mt7986b-ax6000-2500wan-sd-rfb |
| 389 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 390 | define Device/mediatek_mt7986-fpga |
| 391 | DEVICE_VENDOR := MediaTek |
| 392 | DEVICE_MODEL := MTK7986 FPGA |
| 393 | DEVICE_DTS := mt7986-fpga |
| 394 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 395 | IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \ |
| 396 | append-rootfs | pad-rootfs | append-metadata |
| 397 | endef |
| 398 | TARGET_DEVICES += mediatek_mt7986-fpga |
| 399 | |
| 400 | define Device/mediatek_mt7986-fpga-ubi |
| 401 | DEVICE_VENDOR := MediaTek |
| 402 | DEVICE_MODEL := MTK7986 FPGA (UBI) |
| 403 | DEVICE_DTS := mt7986-fpga-ubi |
| 404 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 405 | SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi |
| 406 | UBINIZE_OPTS := -E 5 |
| 407 | BLOCKSIZE := 128k |
| 408 | PAGESIZE := 2048 |
| 409 | IMAGE_SIZE := 65536k |
| 410 | KERNEL_IN_UBI := 1 |
| 411 | IMAGES += factory.bin |
| 412 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 413 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 414 | endef |
| 415 | TARGET_DEVICES += mediatek_mt7986-fpga-ubi |