From 6a3565985fde9f2bdaeea24435e851364aecef4e Mon Sep 17 00:00:00 2001 From: Kayo Phoenix Date: Sun, 22 Oct 2017 22:21:25 +0200 Subject: [PATCH] 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 [Forward-ported to new target layout:] Signed-off-by: Zoltan HERPAI --- 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 50c6b06a71..d986f6259c 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 97e033dbb3..564a66f938 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