blob: f42ca75367b5c7de7828da01b1160866e5dd4e1c [file] [log] [blame]
KERNEL_LOADADDR := 0x48080000
define Device/mt7981-spim-nor-rfb
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-spim-nor-rfb
DEVICE_DTS := mt7981-spim-nor-rfb
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
endef
TARGET_DEVICES += mt7981-spim-nor-rfb
define Device/mt7981-spim-nand-2500wan-gmac2
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-spim-nand-2500wan-gmac2
DEVICE_DTS := mt7981-spim-nand-2500wan-gmac2
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 65536k
KERNEL_IN_UBI := 1
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
TARGET_DEVICES += mt7981-spim-nand-2500wan-gmac2
define Device/mt7981-spim-nand-rfb
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-spim-nand-rfb
DEVICE_DTS := mt7981-spim-nand-rfb
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 65536k
KERNEL_IN_UBI := 1
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
TARGET_DEVICES += mt7981-spim-nand-rfb
define Device/mt7981-emmc-rfb
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-emmc-rfb
DEVICE_DTS := mt7981-emmc-rfb
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
IMAGES := sysupgrade-emmc.bin.gz
IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
endef
TARGET_DEVICES += mt7981-emmc-rfb
define Device/mt7981-snfi-nand-2500wan-p5
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-snfi-nand-2500wan-p5
DEVICE_DTS := mt7981-snfi-nand-2500wan-p5
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
SUPPORTED_DEVICES := mediatek,mt7981-rfb,ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 65536k
KERNEL_IN_UBI := 1
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
TARGET_DEVICES += mt7981-snfi-nand-2500wan-p5
define Device/mt7981-fpga-spim-nor
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-fpga-spim-nor
DEVICE_DTS := mt7981-fpga-spim-nor
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
endef
TARGET_DEVICES += mt7981-fpga-spim-nor
define Device/mt7981-fpga-snfi-nand
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-fpga-snfi-nand
DEVICE_DTS := mt7981-fpga-snfi-nand
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 65536k
KERNEL_IN_UBI := 1
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
TARGET_DEVICES += mt7981-fpga-snfi-nand
define Device/mt7981-fpga-spim-nand
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-fpga-spim-nand
DEVICE_DTS := mt7981-fpga-spim-nand
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
SUPPORTED_DEVICES := mediatek,mt7981-fpga,ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 65536k
KERNEL_IN_UBI := 1
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
TARGET_DEVICES += mt7981-fpga-spim-nand
define Device/mt7981-fpga-emmc
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := mt7981-fpga-emmc
DEVICE_DTS := mt7981-fpga-emmc
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc
IMAGES := sysupgrade-emmc.bin.gz
IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
endef
TARGET_DEVICES += mt7981-fpga-emmc