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