aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHal Martin <hal.martin@gmail.com>2019-09-07 16:28:18 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2019-09-21 01:12:35 +0200
commit3819c1638a9d300840d0f869628891f9696be112 (patch)
tree8d3af91a9ef965d6a49c3a1190fb79244efe3ee1 /target/linux
parentf4da28c301890115e5c6b632aa6550fbc59f8e24 (diff)
downloadupstream-3819c1638a9d300840d0f869628891f9696be112.tar.gz
upstream-3819c1638a9d300840d0f869628891f9696be112.tar.bz2
upstream-3819c1638a9d300840d0f869628891f9696be112.zip
sunxi: Add support for Banana Pi M2 Ultra
CPU: Allwinner R40 Quad-Core Cortex-A7 @ 1.2GHz GPU: Mali 400 MP2 Memory: 2GB DDR3 onboard (shared with GPU) Onboard: Storage microSD card slot Onboard: Storage 8GB eMMC Onboard: Network 10/100/1000M Ethernet RJ45 Onboard: Network WiFi 802.11b/g/n 1x1 (AMPAK AP6212; brcmfmac) Onboard header: SPI, I2C, GPIO, UART USB: Two USB 2.0 Host, One USB 2.0 OTG Known issues: - WiFi doesn't work - eMMC not supported Signed-off-by: Hal Martin <hal.martin@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/sunxi/Makefile3
-rw-r--r--target/linux/sunxi/cortexa7/target.mk2
-rw-r--r--target/linux/sunxi/image/cortex-a7.mk10
3 files changed, 13 insertions, 2 deletions
diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index cd1bf30e84..e1630fb441 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=sunxi
-BOARDNAME:=Allwinner A1x/A20/A3x
+BOARDNAME:=Allwinner A1x/A20/A3x/R40
FEATURES:=fpu usb ext4 display rtc squashfs
SUBTARGETS:=cortexa8 cortexa7 cortexa53
MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
@@ -23,6 +23,7 @@ KERNELNAME:=zImage dtbs
# A31: quad Cortex-A7
# A80: octa Cortex-A15/A7
# H3: quad Cortex-A7
+# R40: quad Cortex-A7
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/sunxi/cortexa7/target.mk b/target/linux/sunxi/cortexa7/target.mk
index 16aa9f7d0a..b6bdd483bb 100644
--- a/target/linux/sunxi/cortexa7/target.mk
+++ b/target/linux/sunxi/cortexa7/target.mk
@@ -7,6 +7,6 @@
include $(TOPDIR)/rules.mk
-BOARDNAME:=Allwinner A20/A3x
+BOARDNAME:=Allwinner A20/A3x/R40
CPU_TYPE:=cortex-a7
CPU_SUBTYPE:=neon-vfpv4
diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk
index 05c4328d8e..3375a4542c 100644
--- a/target/linux/sunxi/image/cortex-a7.mk
+++ b/target/linux/sunxi/image/cortex-a7.mk
@@ -239,4 +239,14 @@ endef
TARGET_DEVICES += sun7i-a20-pcduino3
+define Device/sun8i-r40-bananapi-m2-ultra
+ DEVICE_VENDOR := LeMaker
+ DEVICE_MODEL := Banana Pi M2 Ultra
+ DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi
+ SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
+ SUNXI_DTS:=sun8i-r40-bananapi-m2-ultra
+endef
+
+TARGET_DEVICES += sun8i-r40-bananapi-m2-ultra
+
endif