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 | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 11 | define Device/mt7986a-ax6000-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 12 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 13 | DEVICE_MODEL := mt7986a-ax6000-snand-rfb (SPI-NAND,UBI) |
| 14 | DEVICE_DTS := mt7986a-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 15 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 16 | SUPPORTED_DEVICES := mediatek,mt7986a-snand-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 | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 26 | TARGET_DEVICES += mt7986a-ax6000-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 27 | |
developer | 19e8ed4 | 2021-06-10 19:15:03 +0800 | [diff] [blame] | 28 | define Device/mt7986a-ax6000-emmc-rfb |
| 29 | DEVICE_VENDOR := MediaTek |
| 30 | DEVICE_MODEL := mt7986a-ax6000-emmc-rfb |
| 31 | DEVICE_DTS := mt7986a-emmc-rfb |
| 32 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 33 | DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc |
| 34 | IMAGES := sysupgrade-emmc.bin.gz |
| 35 | IMAGE/sysupgrade.bin.gz := sysupgrade-emmc | gzip | append-metadata |
| 36 | endef |
| 37 | TARGET_DEVICES += mt7986a-ax6000-emmc-rfb |
| 38 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 39 | define Device/mt7986a-ax6000-2500wan-nor-rfb |
| 40 | DEVICE_VENDOR := MediaTek |
| 41 | DEVICE_MODEL := mt7986a-ax6000-2500wan-nor-rfb |
| 42 | DEVICE_DTS := mt7986a-2500wan-nor-rfb |
| 43 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 44 | endef |
| 45 | TARGET_DEVICES += mt7986a-ax6000-2500wan-nor-rfb |
| 46 | |
| 47 | define Device/mt7986a-ax6000-2500wan-snand-rfb |
| 48 | DEVICE_VENDOR := MediaTek |
| 49 | DEVICE_MODEL := mt7986a-ax6000-2500wan-snand-rfb (SPI-NAND,UBI) |
| 50 | DEVICE_DTS := mt7986a-2500wan-snand-rfb |
| 51 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 52 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-snand-rfb |
| 53 | UBINIZE_OPTS := -E 5 |
| 54 | BLOCKSIZE := 128k |
| 55 | PAGESIZE := 2048 |
| 56 | IMAGE_SIZE := 65536k |
| 57 | KERNEL_IN_UBI := 1 |
| 58 | IMAGES += factory.bin |
| 59 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 60 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 61 | endef |
| 62 | TARGET_DEVICES += mt7986a-ax6000-2500wan-snand-rfb |
| 63 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 64 | define Device/mt7986a-ax7800-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 65 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 66 | DEVICE_MODEL := mt7986a-ax7800-nor-rfb |
| 67 | DEVICE_DTS := mt7986a-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 68 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 69 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 70 | TARGET_DEVICES += mt7986a-ax7800-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 71 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 72 | define Device/mt7986a-ax7800-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 73 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 74 | DEVICE_MODEL := mt7986a-ax7800-snand-rfb (SPI-NAND,UBI) |
| 75 | DEVICE_DTS := mt7986a-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 76 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 77 | SUPPORTED_DEVICES := mediatek,mt7986a-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 78 | UBINIZE_OPTS := -E 5 |
| 79 | BLOCKSIZE := 128k |
| 80 | PAGESIZE := 2048 |
| 81 | IMAGE_SIZE := 65536k |
| 82 | KERNEL_IN_UBI := 1 |
| 83 | IMAGES += factory.bin |
| 84 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 85 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 86 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 87 | TARGET_DEVICES += mt7986a-ax7800-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 88 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 89 | define Device/mt7986a-ax7800-2500wan-nor-rfb |
| 90 | DEVICE_VENDOR := MediaTek |
| 91 | DEVICE_MODEL := mt7986a-ax7800-2500wan-nor-rfb |
| 92 | DEVICE_DTS := mt7986a-2500wan-nor-rfb |
| 93 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 94 | endef |
| 95 | TARGET_DEVICES += mt7986a-ax7800-2500wan-nor-rfb |
| 96 | |
| 97 | define Device/mt7986a-ax7800-2500wan-snand-rfb |
| 98 | DEVICE_VENDOR := MediaTek |
| 99 | DEVICE_MODEL := mt7986a-ax7800-2500wan-snand-rfb (SPI-NAND,UBI) |
| 100 | DEVICE_DTS := mt7986a-2500wan-snand-rfb |
| 101 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 102 | SUPPORTED_DEVICES := mediatek,mt7986a-2500wan-snand-rfb |
| 103 | UBINIZE_OPTS := -E 5 |
| 104 | BLOCKSIZE := 128k |
| 105 | PAGESIZE := 2048 |
| 106 | IMAGE_SIZE := 65536k |
| 107 | KERNEL_IN_UBI := 1 |
| 108 | IMAGES += factory.bin |
| 109 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 110 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 111 | endef |
| 112 | TARGET_DEVICES += mt7986a-ax7800-2500wan-snand-rfb |
| 113 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 114 | define Device/mt7986b-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 115 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 116 | DEVICE_MODEL := mt7986b-ax6000-nor-rfb |
| 117 | DEVICE_DTS := mt7986b-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 118 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 119 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 120 | TARGET_DEVICES += mt7986b-ax6000-nor-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 121 | |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 122 | define Device/mt7986b-ax6000-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 123 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 124 | DEVICE_MODEL := mt7986b-ax6000-snand-rfb (SPI-NAND,UBI) |
| 125 | DEVICE_DTS := mt7986b-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 126 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 127 | SUPPORTED_DEVICES := mediatek,mt7986b-snand-rfb |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 128 | UBINIZE_OPTS := -E 5 |
| 129 | BLOCKSIZE := 128k |
| 130 | PAGESIZE := 2048 |
| 131 | IMAGE_SIZE := 65536k |
| 132 | KERNEL_IN_UBI := 1 |
| 133 | IMAGES += factory.bin |
| 134 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 135 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 136 | endef |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 137 | TARGET_DEVICES += mt7986b-ax6000-snand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 138 | |
developer | 691e73f | 2021-06-28 19:41:35 +0800 | [diff] [blame] | 139 | define Device/mt7986b-ax6000-2500wan-nor-rfb |
| 140 | DEVICE_VENDOR := MediaTek |
| 141 | DEVICE_MODEL := mt7986b-ax6000-2500wan-nor-rfb |
| 142 | DEVICE_DTS := mt7986b-2500wan-nor-rfb |
| 143 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 144 | endef |
| 145 | TARGET_DEVICES += mt7986b-ax6000-2500wan-nor-rfb |
| 146 | |
| 147 | define Device/mt7986b-ax6000-2500wan-snand-rfb |
| 148 | DEVICE_VENDOR := MediaTek |
| 149 | DEVICE_MODEL := mt7986b-ax6000-2500wan-snand-rfb (SPI-NAND,UBI) |
| 150 | DEVICE_DTS := mt7986b-2500wan-snand-rfb |
| 151 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 152 | SUPPORTED_DEVICES := mediatek,mt7986b-2500wan-snand-rfb |
| 153 | UBINIZE_OPTS := -E 5 |
| 154 | BLOCKSIZE := 128k |
| 155 | PAGESIZE := 2048 |
| 156 | IMAGE_SIZE := 65536k |
| 157 | KERNEL_IN_UBI := 1 |
| 158 | IMAGES += factory.bin |
| 159 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 160 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 161 | endef |
| 162 | TARGET_DEVICES += mt7986b-ax6000-2500wan-snand-rfb |
| 163 | |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 164 | define Device/mt7986b-mt7976-ax6000-rfb4-snand |
| 165 | DEVICE_VENDOR := MediaTek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 166 | DEVICE_MODEL := mt7986b-mt7976-ax6000-rfb4-snand (SPI-NAND,UBI) |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 167 | DEVICE_DTS := mt7986b-mt7976-ax6000-rfb4 |
| 168 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 169 | SUPPORTED_DEVICES := mediatek,mt7986b-snand-rfb |
developer | b7fefc1 | 2021-06-10 19:36:07 +0800 | [diff] [blame] | 170 | UBINIZE_OPTS := -E 5 |
| 171 | BLOCKSIZE := 128k |
| 172 | PAGESIZE := 2048 |
| 173 | IMAGE_SIZE := 65536k |
| 174 | KERNEL_IN_UBI := 1 |
| 175 | IMAGES += factory.bin |
| 176 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 177 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 178 | endef |
| 179 | TARGET_DEVICES += mt7986b-mt7976-ax6000-rfb4-snand |
| 180 | |
| 181 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 182 | define Device/mediatek_mt7986-fpga |
| 183 | DEVICE_VENDOR := MediaTek |
| 184 | DEVICE_MODEL := MTK7986 FPGA |
| 185 | DEVICE_DTS := mt7986-fpga |
| 186 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 187 | IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \ |
| 188 | append-rootfs | pad-rootfs | append-metadata |
| 189 | endef |
| 190 | TARGET_DEVICES += mediatek_mt7986-fpga |
| 191 | |
| 192 | define Device/mediatek_mt7986-fpga-ubi |
| 193 | DEVICE_VENDOR := MediaTek |
| 194 | DEVICE_MODEL := MTK7986 FPGA (UBI) |
| 195 | DEVICE_DTS := mt7986-fpga-ubi |
| 196 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 197 | SUPPORTED_DEVICES := mediatek,mt7986-fpga,ubi |
| 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 += mediatek_mt7986-fpga-ubi |