[LEDE-DEV] [PATCH 7/9] sunxi: Added profile for HAOYU Electronics Marsboard A10
Zoltan HERPAI
wigyori at uid0.hu
Sun Oct 22 13:21:25 PDT 2017
From: Kayo Phoenix <kayo at illumium.org>
The MarsBoard was a short-lived credit-card sized, extendable board with an Allwinner A10 SoC.
http://linux-sunxi.org/MarsBoard_A10
Signed-off-by: Kayo Phoenix <kayo at illumium.org>
[Forward-ported to new target layout:]
Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
package/boot/uboot-sunxi/Makefile | 6 ++++++
target/linux/sunxi/image/cortex-a8.mk | 10 ++++++++++
2 files changed, 16 insertions(+)
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index 50c6b06..d986f62 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -96,6 +96,12 @@ define U-Boot/Hummingbird_A31
NAME:=Hummingbird A31 board
endef
+define U-Boot/Marsboard
+ BUILD_SUBTARGET:=cortexa8
+ NAME:=Marsboard
+ BUILD_DEVICES:=sun4i-a10-marsboard
+endef
+
define U-Boot/Mele_M9
BUILD_SUBTARGET:=cortexa7
NAME:=Mele M9 (A31)
diff --git a/target/linux/sunxi/image/cortex-a8.mk b/target/linux/sunxi/image/cortex-a8.mk
index 97e033d..564a66f 100644
--- a/target/linux/sunxi/image/cortex-a8.mk
+++ b/target/linux/sunxi/image/cortex-a8.mk
@@ -56,4 +56,14 @@ endef
TARGET_DEVICES += sun4i-a10-pcduino
+
+define Device/sun4i-a10-marsboard
+ DEVICE_TITLE:=HAOYU Electronics Marsboard A10
+ DEVICE_PACKAGES:=mod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi sound-soc-sunxi
+ SUPPORTED_DEVICES:=marsboard,a10-marsboard
+ SUNXI_DTS:=sun4i-a10-marsboard
+endef
+
+TARGET_DEVICES += sun4i-a10-marsboard
+
endif
--
1.9.1
More information about the Lede-dev
mailing list