mediatek/mt7623: unify features and packages, add ext4 and usb

The supported MT7623 boards are mostly identical (what with being a
System-on-Chip and all), so unify the DEVICE_PACKAGES for them, and add
ext4 and usb support for them.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
master
David Woodhouse 2020-06-15 09:47:09 +01:00 committed by Petr Štetiar
parent dca867c5a3
commit c848bc6cd5
2 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,8 @@ define Device/bpi_bananapi-r2
DEVICE_MODEL := Banana Pi R2 DEVICE_MODEL := Banana Pi R2
DEVICE_DTS := mt7623n-bananapi-bpi-r2 DEVICE_DTS := mt7623n-bananapi-bpi-r2
SUPPORTED_DEVICES := bananapi,bpi-r2 SUPPORTED_DEVICES := bananapi,bpi-r2
DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3
endef endef
TARGET_DEVICES += bpi_bananapi-r2 TARGET_DEVICES += bpi_bananapi-r2
@ -13,9 +15,9 @@ define Device/unielec_u7623-02-emmc-512m
DEVICE_MODEL := U7623-02 DEVICE_MODEL := U7623-02
DEVICE_VARIANT := eMMC/512MB RAM DEVICE_VARIANT := eMMC/512MB RAM
DEVICE_DTS := mt7623a-unielec-u7623-02-emmc-512m DEVICE_DTS := mt7623a-unielec-u7623-02-emmc-512m
DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
mkf2fs e2fsprogs
IMAGES := sysupgrade-emmc.bin.gz IMAGES := sysupgrade-emmc.bin.gz
IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3
endef endef
TARGET_DEVICES += unielec_u7623-02-emmc-512m TARGET_DEVICES += unielec_u7623-02-emmc-512m

View File

@ -7,8 +7,8 @@ SUBTARGET:=mt7623
BOARDNAME:=MT7623 BOARDNAME:=MT7623
CPU_TYPE:=cortex-a7 CPU_TYPE:=cortex-a7
CPU_SUBTYPE:=neon-vfpv4 CPU_SUBTYPE:=neon-vfpv4
KERNELNAME:=Image dtbs zImage KERNELNAME:=Image dtbs zImage
FEATURES+=ext4 usb
define Target/Description define Target/Description
Build firmware images for MediaTek mt7623 ARM based boards. Build firmware images for MediaTek mt7623 ARM based boards.