sunxi: add support for Banana Pi M3
authorZoltan HERPAI <wigyori@uid0.hu>
Thu, 5 Mar 2020 20:54:53 +0000 (21:54 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Sun, 24 Jan 2021 23:06:38 +0000 (00:06 +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/cortexa7.mk

index e86f5d9e4aaccc38957594a919513d7f131050cd..a132521c46090f8fe889ac44fbc3d37056120cce 100644 (file)
@@ -278,6 +278,12 @@ define U-Boot/bananapi_m2_plus_h3
   BUILD_DEVICES:=sinovoip_bananapi-m2-plus
 endef
 
+define U-Boot/Sinovoip_BPI_M3
+  BUILD_SUBTARGET:=cortexa7
+  NAME:=Bananapi M3
+  BUILD_DEVICES:=sinovoip_bananapi-m3
+endef
+
 define U-Boot/sopine_baseboard
   BUILD_SUBTARGET:=cortexa53
   NAME:=Sopine Baseboard
@@ -324,6 +330,7 @@ UBOOT_TARGETS := \
        bananapi_m2_plus_h3 \
        Bananapi \
        Bananapi_M2_Ultra \
+       Sinovoip_BPI_M3 \
        Bananapro \
        Cubieboard \
        Cubieboard2 \
index d491dbc338d27f8bfd4f4dd180c1cfe27fe88430..68afffc83cdc0d5ea39d7f78b9dc34eefcf292d2 100644 (file)
@@ -157,6 +157,15 @@ define Device/sinovoip_bananapi-m2-plus
 endef
 TARGET_DEVICES += sinovoip_bananapi-m2-plus
 
+define Device/sinovoip_bananapi-m3
+  DEVICE_VENDOR := Sinovoip
+  DEVICE_MODEL := Banana Pi M3
+  DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-rtc-ac100 \
+       kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic
+  SOC := sun8i-a83t
+endef
+TARGET_DEVICES += sinovoip_bananapi-m3
+
 define Device/xunlong_orangepi-one
   DEVICE_VENDOR := Xunlong
   DEVICE_MODEL := Orange Pi One