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