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>
Wed, 13 Mar 2019 23:13:58 +0000 (00:13 +0100)
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 ce0cbe5a5c3b3c78f5bff3ed9d7b0c632c6d1c24..ecfebc11498889a2c0feb5489451f701a59c3a5b 100644 (file)
@@ -138,6 +138,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_TITLE:=FriendlyArm NanoPi M1 Plus
   DEVICE_PACKAGES:=kmod-rtc-sunxi \