2020-07-16 07:16:34 +00:00
|
|
|
KERNEL_LOADADDR := 0x44080000
|
2020-05-04 14:28:11 +00:00
|
|
|
|
2020-02-25 16:15:07 +00:00
|
|
|
define Device/bpi_bananapi-r64
|
|
|
|
DEVICE_VENDOR := Bpi
|
2019-09-25 21:56:13 +00:00
|
|
|
DEVICE_MODEL := Banana Pi R64
|
2019-08-02 08:33:28 +00:00
|
|
|
DEVICE_DTS := mt7622-bananapi-bpi-r64
|
|
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
2020-01-14 14:38:51 +00:00
|
|
|
SUPPORTED_DEVICES := bananapi,bpi-r64
|
2020-03-05 13:57:29 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk
|
2019-08-02 08:33:28 +00:00
|
|
|
endef
|
2020-02-25 16:15:07 +00:00
|
|
|
TARGET_DEVICES += bpi_bananapi-r64
|
2020-03-27 15:13:06 +00:00
|
|
|
|
2020-06-04 12:26:11 +00:00
|
|
|
define Device/bpi_bananapi-r64-rootdisk
|
|
|
|
DEVICE_VENDOR := Bpi
|
|
|
|
DEVICE_MODEL := Banana Pi R64 (rootdisk)
|
|
|
|
DEVICE_DTS := mt7622-bananapi-bpi-r64-rootdisk
|
|
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
|
|
|
SUPPORTED_DEVICES := bananapi,bpi-r64
|
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk
|
|
|
|
IMAGES := sysupgrade-emmc.bin.gz
|
|
|
|
IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += bpi_bananapi-r64-rootdisk
|
|
|
|
|
2020-06-07 18:59:17 +00:00
|
|
|
define Device/elecom_wrc-2533gent
|
2020-03-27 15:13:06 +00:00
|
|
|
DEVICE_VENDOR := Elecom
|
2020-04-03 09:18:26 +00:00
|
|
|
DEVICE_MODEL := WRC-2533GENT
|
2020-03-27 15:13:06 +00:00
|
|
|
DEVICE_DTS := mt7622-elecom-wrc-2533gent
|
|
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
2020-05-29 11:49:44 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-mt7615e \
|
|
|
|
kmod-mt7615-firmware mt7622bt-firmware swconfig
|
2020-03-27 15:13:06 +00:00
|
|
|
endef
|
2020-05-29 11:49:44 +00:00
|
|
|
TARGET_DEVICES += elecom_wrc-2533gent
|
|
|
|
|
|
|
|
define Device/mediatek_mt7622-rfb1
|
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MTK7622 rfb1 AP
|
|
|
|
DEVICE_DTS := mt7622-rfb1
|
|
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mediatek_mt7622-rfb1
|
2020-07-16 07:16:34 +00:00
|
|
|
|
|
|
|
define Device/mediatek_mt7622-ubi
|
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MTK7622 AP (UBI)
|
|
|
|
DEVICE_DTS := mt7622-rfb1-ubi
|
|
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
BLOCKSIZE := 128k
|
|
|
|
PAGESIZE := 2048
|
|
|
|
KERNEL_SIZE := 4194304
|
|
|
|
IMAGE_SIZE := 32768k
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
|
|
|
check-size $$$$(IMAGE_SIZE)
|
|
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar
|
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mediatek_mt7622-ubi
|