sunxi: add support for Banana Pi M3
authorZoltan HERPAI <wigyori@uid0.hu>
Wed, 13 Mar 2019 19:49:43 +0000 (20:49 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 26 Aug 2019 09:33:10 +0000 (11:33 +0200)
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 <wigyori@uid0.hu>
package/boot/uboot-sunxi/Makefile
target/linux/sunxi/image/cortex-a7.mk

index 6b83bd27c65633fed63c379cd33ddfc2c980c05c..0f5bc90283f11a81ffa865a1611a1ed10b513844 100644 (file)
@@ -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
 
index 05c4328d8e431eea33594604b45a254f98b7a442..17a5c1b3d7c7bab2ef93ca279308999e4c4e12f6 100644 (file)
@@ -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