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 | |
| 3 | define Device/mt7981b-spim-nor-rfb |
| 4 | DEVICE_VENDOR := MediaTek |
| 5 | DEVICE_MODEL := mt7981b-spim-nor-rfb |
| 6 | DEVICE_DTS := mt7981-spim-nor-rfb |
| 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 8 | endef |
| 9 | TARGET_DEVICES += mt7981b-spim-nor-rfb |
| 10 | |
| 11 | define Device/mt7981b-snfi-nand-2500wan-gmac2 |
| 12 | DEVICE_VENDOR := MediaTek |
| 13 | DEVICE_MODEL := mt7981b-snfi-nand-2500wan-gmac2 |
| 14 | DEVICE_DTS := mt7981-snfi-nand-2500wan-gmac2 |
| 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 |
| 26 | TARGET_DEVICES += mt7981b-snfi-nand-2500wan-gmac2 |
| 27 | |
| 28 | define Device/mt7981b-spim-nand-rfb |
| 29 | DEVICE_VENDOR := MediaTek |
| 30 | DEVICE_MODEL := mt7981b-spim-nand-rfb |
| 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 |
| 43 | TARGET_DEVICES += mt7981b-spim-nand-rfb |
| 44 | |
| 45 | define Device/mt7981b-emmc-rfb |
| 46 | DEVICE_VENDOR := MediaTek |
| 47 | DEVICE_MODEL := mt7981b-emmc-rfb |
| 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 |
| 54 | TARGET_DEVICES += mt7981b-emmc-rfb |
| 55 | |
| 56 | define Device/mt7981a-spim-nand-rfb |
| 57 | DEVICE_VENDOR := MediaTek |
| 58 | DEVICE_MODEL := mt7981a-spim-nand-rfb |
| 59 | DEVICE_DTS := mt7981a-spim-nand-rfb |
| 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 |
| 71 | TARGET_DEVICES += mt7981a-spim-nand-rfb |
| 72 | |
| 73 | define Device/mt7981a-snfi-nand-2500wan-p5 |
| 74 | DEVICE_VENDOR := MediaTek |
| 75 | DEVICE_MODEL := mt7981a-snfi-nand-2500wan-p5 |
| 76 | DEVICE_DTS := mt7981a-snfi-nand-2500wan-p5 |
| 77 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 78 | SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi |
| 79 | UBINIZE_OPTS := -E 5 |
| 80 | BLOCKSIZE := 128k |
| 81 | PAGESIZE := 2048 |
| 82 | IMAGE_SIZE := 65536k |
| 83 | KERNEL_IN_UBI := 1 |
| 84 | IMAGES += factory.bin |
| 85 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 86 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 87 | endef |
| 88 | TARGET_DEVICES += mt7981a-snfi-nand-2500wan-p5 |
| 89 | |
| 90 | define Device/mt7981-fpga-spim-nor |
| 91 | DEVICE_VENDOR := MediaTek |
| 92 | DEVICE_MODEL := mt7981-fpga-spim-nor |
| 93 | DEVICE_DTS := mt7981-fpga-spim-nor |
| 94 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 95 | endef |
| 96 | TARGET_DEVICES += mt7981-fpga-spim-nor |
| 97 | |
| 98 | define Device/mt7981-fpga-snfi-nand |
| 99 | DEVICE_VENDOR := MediaTek |
| 100 | DEVICE_MODEL := mt7981-fpga-snfi-nand |
| 101 | DEVICE_DTS := mt7981-fpga-snfi-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-snfi-nand |
| 114 | |
| 115 | define Device/mt7981-fpga-spim-nand |
| 116 | DEVICE_VENDOR := MediaTek |
| 117 | DEVICE_MODEL := mt7981-fpga-spim-nand |
| 118 | DEVICE_DTS := mt7981-fpga-spim-nand |
| 119 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 120 | SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi |
| 121 | UBINIZE_OPTS := -E 5 |
| 122 | BLOCKSIZE := 128k |
| 123 | PAGESIZE := 2048 |
| 124 | IMAGE_SIZE := 65536k |
| 125 | KERNEL_IN_UBI := 1 |
| 126 | IMAGES += factory.bin |
| 127 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 128 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 129 | endef |
| 130 | TARGET_DEVICES += mt7981-fpga-spim-nand |
| 131 | |
| 132 | define Device/mt7981-fpga-emmc |
| 133 | DEVICE_VENDOR := MediaTek |
| 134 | DEVICE_MODEL := mt7981-fpga-emmc |
| 135 | DEVICE_DTS := mt7981-fpga-emmc |
| 136 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 137 | DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc |
| 138 | IMAGES := sysupgrade-emmc.bin.gz |
| 139 | IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata |
| 140 | endef |
| 141 | TARGET_DEVICES += mt7981-fpga-emmc |