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 |
| 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 |
| 52 | IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata |
| 53 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 54 | TARGET_DEVICES += mt7981-emmc-rfb |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 55 | |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 56 | define Device/mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 57 | DEVICE_VENDOR := MediaTek |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 58 | DEVICE_MODEL := mt7981-snfi-nand-2500wan-p5 |
| 59 | DEVICE_DTS := mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 60 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 61 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 62 | UBINIZE_OPTS := -E 5 |
| 63 | BLOCKSIZE := 128k |
| 64 | PAGESIZE := 2048 |
| 65 | IMAGE_SIZE := 65536k |
| 66 | KERNEL_IN_UBI := 1 |
| 67 | IMAGES += factory.bin |
| 68 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 69 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 70 | endef |
developer | 63866c9 | 2021-11-15 12:05:13 +0800 | [diff] [blame] | 71 | TARGET_DEVICES += mt7981-snfi-nand-2500wan-p5 |
developer | 6747cdd | 2021-09-29 17:00:51 +0800 | [diff] [blame] | 72 | |
| 73 | define Device/mt7981-fpga-spim-nor |
| 74 | DEVICE_VENDOR := MediaTek |
| 75 | DEVICE_MODEL := mt7981-fpga-spim-nor |
| 76 | DEVICE_DTS := mt7981-fpga-spim-nor |
| 77 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 78 | endef |
| 79 | TARGET_DEVICES += mt7981-fpga-spim-nor |
| 80 | |
| 81 | define Device/mt7981-fpga-snfi-nand |
| 82 | DEVICE_VENDOR := MediaTek |
| 83 | DEVICE_MODEL := mt7981-fpga-snfi-nand |
| 84 | DEVICE_DTS := mt7981-fpga-snfi-nand |
| 85 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 86 | SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi |
| 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 |
| 96 | TARGET_DEVICES += mt7981-fpga-snfi-nand |
| 97 | |
| 98 | define Device/mt7981-fpga-spim-nand |
| 99 | DEVICE_VENDOR := MediaTek |
| 100 | DEVICE_MODEL := mt7981-fpga-spim-nand |
| 101 | DEVICE_DTS := mt7981-fpga-spim-nand |
| 102 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 103 | SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi |
| 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 += mt7981-fpga-spim-nand |
| 114 | |
| 115 | define Device/mt7981-fpga-emmc |
| 116 | DEVICE_VENDOR := MediaTek |
| 117 | DEVICE_MODEL := mt7981-fpga-emmc |
| 118 | DEVICE_DTS := mt7981-fpga-emmc |
| 119 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 120 | DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc |
| 121 | IMAGES := sysupgrade-emmc.bin.gz |
| 122 | IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata |
| 123 | endef |
| 124 | TARGET_DEVICES += mt7981-fpga-emmc |