developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x44080000 |
| 2 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 3 | define Device/mt7986a-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 4 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 5 | DEVICE_MODEL := mt7986a-ax6000-nor-rfb |
| 6 | DEVICE_DTS := mt7986a-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 8 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 9 | TARGET_DEVICES += mt7986a-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 10 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 11 | define Device/mt7986a-ax6000-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 12 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 13 | DEVICE_MODEL := mt7986a-ax6000-spim-nand-rfb (SPI-NAND,UBI) |
| 14 | DEVICE_DTS := mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 15 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 16 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 17 | UBINIZE_OPTS := -E 5 |
| 18 | BLOCKSIZE := 128k |
| 19 | PAGESIZE := 2048 |
| 20 | IMAGE_SIZE := 65536k |
| 21 | KERNEL_IN_UBI := 1 |
| 22 | IMAGES += factory.bin |
| 23 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 24 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 25 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 26 | TARGET_DEVICES += mt7986a-ax6000-spim-nand-rfb |
| 27 | |
| 28 | define Device/mt7986a-ax6000-snfi-nand-rfb |
| 29 | DEVICE_VENDOR := MediaTek |
| 30 | DEVICE_MODEL := mt7986a-ax6000-snfi-nand-rfb (SPI-NAND,UBI) |
| 31 | DEVICE_DTS := mt7986a-snfi-nand-rfb |
| 32 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 33 | SUPPORTED_DEVICES := mediatek,mt7986a-snfi-nand-rfb |
| 34 | UBINIZE_OPTS := -E 5 |
| 35 | BLOCKSIZE := 128k |
| 36 | PAGESIZE := 2048 |
| 37 | IMAGE_SIZE := 65536k |
| 38 | KERNEL_IN_UBI := 1 |
| 39 | IMAGES += factory.bin |
| 40 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 41 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 42 | endef |
| 43 | TARGET_DEVICES += mt7986a-ax6000-snfi-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 44 | |
developer | 19e8ed4 | 2021-06-10 19:15:03 +0800 | [diff] [blame] | 45 | define Device/mt7986a-ax6000-emmc-rfb |
| 46 | DEVICE_VENDOR := MediaTek |
| 47 | DEVICE_MODEL := mt7986a-ax6000-emmc-rfb |
| 48 | DEVICE_DTS := mt7986a-emmc-rfb |
| 49 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 50 | DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc |
| 51 | IMAGES := sysupgrade-emmc.bin.gz |
developer | 93b9d08 | 2021-09-09 11:16:00 +0800 | [diff] [blame] | 52 | IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata |
developer | 19e8ed4 | 2021-06-10 19:15:03 +0800 | [diff] [blame] | 53 | endef |
| 54 | TARGET_DEVICES += mt7986a-ax6000-emmc-rfb |
| 55 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 56 | define Device/mt7986a-ax6000-2500wan-nor-rfb |
| 57 | DEVICE_VENDOR := MediaTek |
| 58 | DEVICE_MODEL := mt7986a-ax6000-2500wan-nor-rfb |
| 59 | DEVICE_DTS := mt7986a-2500wan-nor-rfb |
| 60 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 61 | endef |
| 62 | TARGET_DEVICES += mt7986a-ax6000-2500wan-nor-rfb |
| 63 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 64 | define Device/mt7986a-ax6000-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 65 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 66 | DEVICE_MODEL := mt7986a-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 67 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 68 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 69 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 70 | UBINIZE_OPTS := -E 5 |
| 71 | BLOCKSIZE := 128k |
| 72 | PAGESIZE := 2048 |
| 73 | IMAGE_SIZE := 65536k |
| 74 | KERNEL_IN_UBI := 1 |
| 75 | IMAGES += factory.bin |
| 76 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 77 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 78 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 79 | TARGET_DEVICES += mt7986a-ax6000-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 80 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 81 | define Device/mt7986a-ax7800-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 82 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 83 | DEVICE_MODEL := mt7986a-ax7800-nor-rfb |
| 84 | DEVICE_DTS := mt7986a-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 85 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 86 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 87 | TARGET_DEVICES += mt7986a-ax7800-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 88 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 89 | define Device/mt7986a-ax7800-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 90 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 91 | DEVICE_MODEL := mt7986a-ax7800-spim-nand-rfb (SPI-NAND,UBI) |
| 92 | DEVICE_DTS := mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 93 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 94 | SUPPORTED_DEVICES := mediatek,mt7986a-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +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 | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 104 | TARGET_DEVICES += mt7986a-ax7800-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 105 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 106 | define Device/mt7986a-ax7800-2500wan-nor-rfb |
| 107 | DEVICE_VENDOR := MediaTek |
| 108 | DEVICE_MODEL := mt7986a-ax7800-2500wan-nor-rfb |
| 109 | DEVICE_DTS := mt7986a-2500wan-nor-rfb |
| 110 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 111 | endef |
| 112 | TARGET_DEVICES += mt7986a-ax7800-2500wan-nor-rfb |
| 113 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 114 | define Device/mt7986a-ax7800-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 115 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 116 | DEVICE_MODEL := mt7986a-ax7800-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 117 | DEVICE_DTS := mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 118 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 119 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 120 | UBINIZE_OPTS := -E 5 |
| 121 | BLOCKSIZE := 128k |
| 122 | PAGESIZE := 2048 |
| 123 | IMAGE_SIZE := 65536k |
| 124 | KERNEL_IN_UBI := 1 |
| 125 | IMAGES += factory.bin |
| 126 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 127 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 128 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 129 | TARGET_DEVICES += mt7986a-ax7800-2500wan-spim-nand-rfb |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 130 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 131 | define Device/mt7986b-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 132 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 133 | DEVICE_MODEL := mt7986b-ax6000-nor-rfb |
| 134 | DEVICE_DTS := mt7986b-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 135 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 136 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 137 | TARGET_DEVICES += mt7986b-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 138 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 139 | define Device/mt7986b-ax6000-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 140 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 141 | DEVICE_MODEL := mt7986b-ax6000-spim-nand-rfb (SPI-NAND,UBI) |
| 142 | DEVICE_DTS := mt7986b-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 143 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 144 | SUPPORTED_DEVICES := mediatek,mt7986b-spim-nand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 145 | UBINIZE_OPTS := -E 5 |
| 146 | BLOCKSIZE := 128k |
| 147 | PAGESIZE := 2048 |
| 148 | IMAGE_SIZE := 65536k |
| 149 | KERNEL_IN_UBI := 1 |
| 150 | IMAGES += factory.bin |
| 151 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 152 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 153 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 154 | TARGET_DEVICES += mt7986b-ax6000-spim-nand-rfb |
| 155 | |
| 156 | define Device/mt7986b-ax6000-snfi-nand-rfb |
| 157 | DEVICE_VENDOR := MediaTek |
| 158 | DEVICE_MODEL := mt7986b-ax6000-snfi-nand-rfb (SPI-NAND,UBI) |
| 159 | DEVICE_DTS := mt7986b-snfi-nand-rfb |
| 160 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 161 | SUPPORTED_DEVICES := mediatek,mt7986b-snfi-nand-rfb |
| 162 | UBINIZE_OPTS := -E 5 |
| 163 | BLOCKSIZE := 128k |
| 164 | PAGESIZE := 2048 |
| 165 | IMAGE_SIZE := 65536k |
| 166 | KERNEL_IN_UBI := 1 |
| 167 | IMAGES += factory.bin |
| 168 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 169 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 170 | endef |
| 171 | TARGET_DEVICES += mt7986b-ax6000-snfi-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 172 | |
developer | f1422f6 | 2021-09-14 13:59:15 +0800 | [diff] [blame] | 173 | define Device/mt7986b-ax6000-emmc-rfb |
| 174 | DEVICE_VENDOR := MediaTek |
| 175 | DEVICE_MODEL := mt7986b-ax6000-emmc-rfb |
| 176 | DEVICE_DTS := mt7986b-emmc-rfb |
| 177 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 178 | DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc |
| 179 | IMAGES := sysupgrade-emmc.bin.gz |
| 180 | IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata |
| 181 | endef |
| 182 | TARGET_DEVICES += mt7986b-ax6000-emmc-rfb |
| 183 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 184 | define Device/mt7986b-ax6000-2500wan-nor-rfb |
| 185 | DEVICE_VENDOR := MediaTek |
| 186 | DEVICE_MODEL := mt7986b-ax6000-2500wan-nor-rfb |
| 187 | DEVICE_DTS := mt7986b-2500wan-nor-rfb |
| 188 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 189 | endef |
| 190 | TARGET_DEVICES += mt7986b-ax6000-2500wan-nor-rfb |
| 191 | |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 192 | define Device/mt7986b-ax6000-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 193 | DEVICE_VENDOR := MediaTek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 194 | DEVICE_MODEL := mt7986b-ax6000-2500wan-spim-nand-rfb (SPI-NAND,UBI) |
| 195 | DEVICE_DTS := mt7986b-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 196 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 197 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 198 | UBINIZE_OPTS := -E 5 |
| 199 | BLOCKSIZE := 128k |
| 200 | PAGESIZE := 2048 |
| 201 | IMAGE_SIZE := 65536k |
| 202 | KERNEL_IN_UBI := 1 |
| 203 | IMAGES += factory.bin |
| 204 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 205 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 206 | endef |
developer | 565bacb | 2021-09-28 21:26:32 +0800 | [diff] [blame] | 207 | TARGET_DEVICES += mt7986b-ax6000-2500wan-spim-nand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 208 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 209 | define Device/mediatek_mt7986-fpga |
| 210 | DEVICE_VENDOR := MediaTek |
| 211 | DEVICE_MODEL := MTK7986 FPGA |
| 212 | DEVICE_DTS := mt7986-fpga |
| 213 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 214 | IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \ |
| 215 | append-rootfs | pad-rootfs | append-metadata |
| 216 | endef |
| 217 | TARGET_DEVICES += mediatek_mt7986-fpga |
| 218 | |
| 219 | define Device/mediatek_mt7986-fpga-ubi |
| 220 | DEVICE_VENDOR := MediaTek |
| 221 | DEVICE_MODEL := MTK7986 FPGA (UBI) |
| 222 | DEVICE_DTS := mt7986-fpga-ubi |
| 223 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 224 | SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi |
| 225 | UBINIZE_OPTS := -E 5 |
| 226 | BLOCKSIZE := 128k |
| 227 | PAGESIZE := 2048 |
| 228 | IMAGE_SIZE := 65536k |
| 229 | KERNEL_IN_UBI := 1 |
| 230 | IMAGES += factory.bin |
| 231 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 232 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 233 | endef |
| 234 | TARGET_DEVICES += mediatek_mt7986-fpga-ubi |