developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | KERNEL_LOADADDR := 0x44080000 |
| 2 | |
| 3 | define Device/mt7986a-mt7975-ax6000-rfb1 |
| 4 | DEVICE_VENDOR := MediaTek |
| 5 | DEVICE_MODEL := mt7986a-mt7975-ax6000-rfb1 |
| 6 | DEVICE_DTS := mt7986a-mt7975-ax6000-rfb1 |
| 7 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 8 | endef |
| 9 | TARGET_DEVICES += mt7986a-mt7975-ax6000-rfb1 |
| 10 | |
| 11 | define Device/mt7986a-mt7975-ax6000-rfb1-snand |
| 12 | DEVICE_VENDOR := MediaTek |
| 13 | DEVICE_MODEL := mt7986a-mt7975-ax6000-rfb1 (SPI-NAND,UBI) |
| 14 | DEVICE_DTS := mt7986a-mt7975-ax6000-rfb1 |
| 15 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 16 | SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand |
| 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 += mt7986a-mt7975-ax6000-rfb1-snand |
| 27 | |
| 28 | define Device/mt7986a-mt7976-ax6000-rfb2 |
| 29 | DEVICE_VENDOR := MediaTek |
| 30 | DEVICE_MODEL := mt7986a-mt7976-ax6000-rfb2 |
| 31 | DEVICE_DTS := mt7986a-mt7976-ax6000-rfb2 |
| 32 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 33 | endef |
| 34 | TARGET_DEVICES += mt7986a-mt7976-ax6000-rfb2 |
| 35 | |
| 36 | define Device/mt7986a-mt7976-ax6000-rfb2-snand |
| 37 | DEVICE_VENDOR := MediaTek |
| 38 | DEVICE_MODEL := mt7986a-mt7976-ax6000-rfb2 (SPI-NAND,UBI) |
| 39 | DEVICE_DTS := mt7986a-mt7976-ax6000-rfb2 |
| 40 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 41 | SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand |
| 42 | UBINIZE_OPTS := -E 5 |
| 43 | BLOCKSIZE := 128k |
| 44 | PAGESIZE := 2048 |
| 45 | IMAGE_SIZE := 65536k |
| 46 | KERNEL_IN_UBI := 1 |
| 47 | IMAGES += factory.bin |
| 48 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 49 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 50 | endef |
| 51 | TARGET_DEVICES += mt7986a-mt7976-ax6000-rfb2-snand |
| 52 | |
| 53 | define Device/mt7986a-mt7976-ax7800-rfb2 |
| 54 | DEVICE_VENDOR := MediaTek |
| 55 | DEVICE_MODEL := mt7986a-mt7976-ax7800-rfb2 |
| 56 | DEVICE_DTS := mt7986a-mt7976-ax7800-rfb2 |
| 57 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 58 | endef |
| 59 | TARGET_DEVICES += mt7986a-mt7976-ax7800-rfb2 |
| 60 | |
| 61 | define Device/mt7986a-mt7976-ax7800-rfb2-snand |
| 62 | DEVICE_VENDOR := MediaTek |
| 63 | DEVICE_MODEL := mt7986a-mt7976-ax7800-rfb2 (SPI-NAND,UBI) |
| 64 | DEVICE_DTS := mt7986a-mt7976-ax7800-rfb2 |
| 65 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 66 | SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand |
| 67 | UBINIZE_OPTS := -E 5 |
| 68 | BLOCKSIZE := 128k |
| 69 | PAGESIZE := 2048 |
| 70 | IMAGE_SIZE := 65536k |
| 71 | KERNEL_IN_UBI := 1 |
| 72 | IMAGES += factory.bin |
| 73 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 74 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 75 | endef |
| 76 | TARGET_DEVICES += mt7986a-mt7976-ax7800-rfb2-snand |
| 77 | |
| 78 | define Device/mt7986b-mt7975-ax6000-rfb1 |
| 79 | DEVICE_VENDOR := MediaTek |
| 80 | DEVICE_MODEL := mt7986b-mt7975-ax6000-rfb1 |
| 81 | DEVICE_DTS := mt7986b-mt7975-ax6000-rfb1 |
| 82 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 83 | endef |
| 84 | TARGET_DEVICES += mt7986b-mt7975-ax6000-rfb1 |
| 85 | |
| 86 | define Device/mt7986b-mt7975-ax6000-rfb1-snand |
| 87 | DEVICE_VENDOR := MediaTek |
| 88 | DEVICE_MODEL := mt7986b-mt7975-ax6000-rfb1 (SPI-NAND,UBI) |
| 89 | DEVICE_DTS := mt7986b-mt7975-ax6000-rfb1 |
| 90 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 91 | SUPPORTED_DEVICES := mediatek,mt7986-rfb-snand |
| 92 | UBINIZE_OPTS := -E 5 |
| 93 | BLOCKSIZE := 128k |
| 94 | PAGESIZE := 2048 |
| 95 | IMAGE_SIZE := 65536k |
| 96 | KERNEL_IN_UBI := 1 |
| 97 | IMAGES += factory.bin |
| 98 | IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) |
| 99 | IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata |
| 100 | endef |
| 101 | TARGET_DEVICES += mt7986b-mt7975-ax6000-rfb1-snand |
| 102 | |
| 103 | define Device/mediatek_mt7986-fpga |
| 104 | DEVICE_VENDOR := MediaTek |
| 105 | DEVICE_MODEL := MTK7986 FPGA |
| 106 | DEVICE_DTS := mt7986-fpga |
| 107 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 108 | IMAGE/sysupgrade.bin := append-kernel | pad-to 256k | \ |
| 109 | append-rootfs | pad-rootfs | append-metadata |
| 110 | endef |
| 111 | TARGET_DEVICES += mediatek_mt7986-fpga |
| 112 | |
| 113 | define Device/mediatek_mt7986-fpga-ubi |
| 114 | DEVICE_VENDOR := MediaTek |
| 115 | DEVICE_MODEL := MTK7986 FPGA (UBI) |
| 116 | DEVICE_DTS := mt7986-fpga-ubi |
| 117 | DEVICE_DTS_DIR := $(DTS_DIR)/mediatek |
| 118 | SUPPORTED_DEVICES := mediatek,mt7986-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 += mediatek_mt7986-fpga-ubi |