Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/archive.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKayo Phoenix <kayo@illumium.org>2017-01-03 13:39:48 +0300
committerKayo Phoenix <kayo@illumium.org>2017-01-03 20:31:53 +0300
commit39871a36688a2f45cf53faaa487d8f21bec4903d (patch)
tree22f1d30f6096590e9ce1d84d73b3b2fec59aaa61
parent3b45b5ff47f2ebe4727042b837b7cf59d9dc3502 (diff)
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@illumium.org>
-rw-r--r--package/boot/uboot-sunxi/Makefile7
-rw-r--r--target/linux/sunxi/base-files/lib/sunxi.sh4
-rw-r--r--target/linux/sunxi/image/Makefile4
-rw-r--r--target/linux/sunxi/profiles/marsboard_a10.mk19
4 files changed, 33 insertions, 1 deletions
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index b899c02381..5814eea1d8 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -106,6 +106,10 @@ define uboot/Merrii_A80_Optimus
TITLE:=U-Boot for Merrii_A80_Optimus (A80)
endef
+define uboot/Marsboard_A10
+ TITLE:=U-Boot for MarsBoard A10
+endef
+
UBOOTS:= \
A10-OLinuXino-Lime \
A13-OLinuXino \
@@ -125,7 +129,8 @@ UBOOTS:= \
Merrii_A80_Optimus \
orangepi_plus \
orangepi_2 \
- pangolin
+ pangolin \
+ Marsboard_A10
define Package/uboot/template
define Package/uboot-sunxi-$(1)
diff --git a/target/linux/sunxi/base-files/lib/sunxi.sh b/target/linux/sunxi/base-files/lib/sunxi.sh
index ce1292b5fd..1118905fc0 100644
--- a/target/linux/sunxi/base-files/lib/sunxi.sh
+++ b/target/linux/sunxi/base-files/lib/sunxi.sh
@@ -124,6 +124,10 @@ sunxi_board_detect() {
"Ippo Q8H Dual Core Tablet (v5)")
board="ippo-q8h-v5"
;;
+
+ "HAOYU Electronics Marsboard A10")
+ board="marsboard_a10"
+ ;;
esac
if [ "$board" != "" ]; then
diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile
index 0525e08ed9..15e1df0613 100644
--- a/target/linux/sunxi/image/Makefile
+++ b/target/linux/sunxi/image/Makefile
@@ -115,6 +115,10 @@ define Image/Build/Profile/orangepi_2
$(call Image/Build/SDCard,$(1),sun8i-h3-orangepi-2)
endef
+define Image/Build/Profile/Marsboard_A10
+ $(call Image/Build/SDCard,$(1),sun4i-a10-marsboard)
+endef
+
define Image/Build
$(call Image/Build/$(1),$(1))
$(call Image/Build/Profile/$(PROFILE),$(1))
diff --git a/target/linux/sunxi/profiles/marsboard_a10.mk b/target/linux/sunxi/profiles/marsboard_a10.mk
new file mode 100644
index 0000000000..5a5992007b
--- /dev/null
+++ b/target/linux/sunxi/profiles/marsboard_a10.mk
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2016 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Marsboard_A10
+ NAME:=Marsboard A10
+ PACKAGES:=\
+ uboot-sunxi-Marsboard_A10 kmod-ata-core kmod-ata-sunxi \
+ kmod-sun4i-emac kmod-rtc-sunxi sound-soc-sunxi
+endef
+
+define Profile/Marsboard_A10/Description
+ Package set optimized for the HAOYU Electronics MarsBoard A10
+endef
+
+$(eval $(call Profile,Marsboard_A10))