[source] sunxi: Added profile for HAOYU Electronics Marsboard A10

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 6 07:39:51 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/6a3565985fde9f2bdaeea24435e851364aecef4e

commit 6a3565985fde9f2bdaeea24435e851364aecef4e
Author: Kayo Phoenix <kayo at illumium.org>
AuthorDate: Sun Oct 22 22:21:25 2017 +0200

    sunxi: Added profile for HAOYU Electronics Marsboard A10
    
    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



More information about the lede-commits mailing list