From 575f7336b0e6684511550b6f932c50a1c42fb8da Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Wed, 13 Mar 2019 20:49:43 +0100 Subject: [PATCH] sunxi: add support for Banana Pi M3 CPU: Allwinner A83t Octa-core Cortex A7 @ 1.8GHz Memory: 2GB DDR3 Storage: SDcard, SATA (via USB), 8GB eMMC Network: 10/100/1000M ethernet, Ampak AP6212 wifi + BT USB: 2x USB 2.0 Signed-off-by: Zoltan HERPAI --- package/boot/uboot-sunxi/Makefile | 7 +++++++ target/linux/sunxi/image/cortex-a7.mk | 13 +++++++++++++ 2 files changed, 20 insertions(+) diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 6b83bd27c6..0f5bc90283 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -222,6 +222,12 @@ define U-Boot/Sinovoip_BPI_M2_Plus BUILD_DEVICES:=sun8i-h3-bananapi-m2-plus endef +define U-Boot/Sinovoip_BPI_M3 + BUILD_SUBTARGET:=cortexa7 + NAME:=Bananapi M3 (A83T) + BUILD_DEVICES:=sun8i-a83t-bananapi-m3 +endef + define U-Boot/sopine_baseboard BUILD_SUBTARGET:=cortexa53 NAME:=Sopine Baseboard @@ -281,6 +287,7 @@ UBOOT_TARGETS := \ pangolin \ pine64_plus \ Sinovoip_BPI_M2_Plus \ + Sinovoip_BPI_M3 \ sopine_baseboard \ orangepi_zero_plus diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index 05c4328d8e..17a5c1b3d7 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -152,6 +152,19 @@ endef TARGET_DEVICES += sun8i-h3-bananapi-m2-plus + +define Device/sun8i-a83t-bananapi-m3 + DEVICE_TITLE:=Sinovoip Banana Pi M3 + DEVICE_PACKAGES:=kmod-rtc-sunxi \ + kmod-leds-gpio kmod-ledtrig-heartbeat \ + kmod-brcmfmac brcmfmac-firmware-43430a0-sdio wpad-basic + SUPPORTED_DEVICES:=sinovoip,bananapi-m3 + SUNXI_DTS:=sun8i-a83t-bananapi-m3 +endef + +TARGET_DEVICES += sun8i-a83t-bananapi-m3 + + define Device/sun8i-h3-nanopi-m1-plus DEVICE_VENDOR := FriendlyARM DEVICE_MODEL := NanoPi M1 Plus -- 2.30.2