developer | 59f8e0b | 2021-10-19 14:45:01 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x48080000 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 2 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 3 | define Device/mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 4 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 5 | DEVICE_MODEL := mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 6 | DEVICE_DTS := mt7981-spim-nor-rfb |
| 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 8 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 9 | TARGET_DEVICES += mt7981-spim-nor-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 10 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 11 | define Device/mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 12 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 13 | DEVICE_MODEL := mt7981-spim-nand-2500wan-gmac2 |
| 14 | DEVICE_DTS := mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 15 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 16 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 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 | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 26 | TARGET_DEVICES += mt7981-spim-nand-2500wan-gmac2 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 27 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 28 | define Device/mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 29 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 30 | DEVICE_MODEL := mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 31 | DEVICE_DTS := mt7981-spim-nand-rfb |
| 32 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 33 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 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 |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 43 | TARGET_DEVICES += mt7981-spim-nand-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 44 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 45 | define Device/mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 46 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 47 | DEVICE_MODEL := mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 48 | DEVICE_DTS := mt7981-emmc-rfb |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 49 | SUPPORTED_DEVICES := mediatek,mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 50 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 51 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 52 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 53 | kmod-nls-iso8859-1 |
| 54 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 55 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 56 | TARGET_DEVICES += mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 57 | |
developer | d3cc755 | 2021-12-12 23:29:45 +0800 | [diff] [blame] | 58 | define Device/mt7981-sd-rfb |
| 59 | DEVICE_VENDOR := MediaTek |
| 60 | DEVICE_MODEL := mt7981-sd-rfb |
| 61 | DEVICE_DTS := mt7981-sd-rfb |
| 62 | SUPPORTED_DEVICES := mediatek,mt7981-sd-rfb |
| 63 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 64 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 65 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 66 | kmod-nls-iso8859-1 |
| 67 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 68 | endef |
| 69 | TARGET_DEVICES += mt7981-sd-rfb |
| 70 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 71 | define Device/mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 72 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 73 | DEVICE_MODEL := mt7981-snfi-nand-2500wan-p5 |
| 74 | DEVICE_DTS := mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 75 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 76 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 77 | UBINIZE_OPTS := -E 5 |
| 78 | BLOCKSIZE := 128k |
| 79 | PAGESIZE := 2048 |
| 80 | IMAGE_SIZE := 65536k |
| 81 | KERNEL_IN_UBI := 1 |
| 82 | IMAGES += factory.bin |
| 83 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 84 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 85 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 86 | TARGET_DEVICES += mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 87 | |
| 88 | define Device/mt7981-fpga-spim-nor |
| 89 | DEVICE_VENDOR := MediaTek |
| 90 | DEVICE_MODEL := mt7981-fpga-spim-nor |
| 91 | DEVICE_DTS := mt7981-fpga-spim-nor |
| 92 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 93 | endef |
| 94 | TARGET_DEVICES += mt7981-fpga-spim-nor |
| 95 | |
| 96 | define Device/mt7981-fpga-snfi-nand |
| 97 | DEVICE_VENDOR := MediaTek |
| 98 | DEVICE_MODEL := mt7981-fpga-snfi-nand |
| 99 | DEVICE_DTS := mt7981-fpga-snfi-nand |
| 100 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 101 | SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi |
| 102 | UBINIZE_OPTS := -E 5 |
| 103 | BLOCKSIZE := 128k |
| 104 | PAGESIZE := 2048 |
| 105 | IMAGE_SIZE := 65536k |
| 106 | KERNEL_IN_UBI := 1 |
| 107 | IMAGES += factory.bin |
| 108 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 109 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 110 | endef |
| 111 | TARGET_DEVICES += mt7981-fpga-snfi-nand |
| 112 | |
| 113 | define Device/mt7981-fpga-spim-nand |
| 114 | DEVICE_VENDOR := MediaTek |
| 115 | DEVICE_MODEL := mt7981-fpga-spim-nand |
| 116 | DEVICE_DTS := mt7981-fpga-spim-nand |
| 117 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 118 | SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi |
| 119 | UBINIZE_OPTS := -E 5 |
| 120 | BLOCKSIZE := 128k |
| 121 | PAGESIZE := 2048 |
| 122 | IMAGE_SIZE := 65536k |
| 123 | KERNEL_IN_UBI := 1 |
| 124 | IMAGES += factory.bin |
| 125 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 126 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 127 | endef |
| 128 | TARGET_DEVICES += mt7981-fpga-spim-nand |
| 129 | |
| 130 | define Device/mt7981-fpga-emmc |
| 131 | DEVICE_VENDOR := MediaTek |
| 132 | DEVICE_MODEL := mt7981-fpga-emmc |
| 133 | DEVICE_DTS := mt7981-fpga-emmc |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 134 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-emmc |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 135 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 136 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 137 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 138 | kmod-nls-iso8859-1 |
| 139 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 140 | endef |
| 141 | TARGET_DEVICES += mt7981-fpga-emmc |
developer | 1bbf4ff | 2022-02-11 14:59:47 +0800 | [diff] [blame] | 142 | |
| 143 | define Device/mt7981-fpga-sd |
| 144 | DEVICE_VENDOR := MediaTek |
| 145 | DEVICE_MODEL := mt7981-fpga-sd |
| 146 | DEVICE_DTS := mt7981-fpga-sd |
| 147 | SUPPORTED_DEVICES := mediatek,mt7981-fpga-sd |
| 148 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 149 | DEVICE_PACKAGES := mkf2fs e2fsprogs blkid blockdev losetup kmod-fs-ext4 \ |
| 150 | kmod-mmc kmod-fs-f2fs kmod-fs-vfat kmod-nls-cp437 \ |
| 151 | kmod-nls-iso8859-1 |
| 152 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 153 | endef |
| 154 | TARGET_DEVICES += mt7981-fpga-sd |