Browse Source

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 <[email protected]>
[Forward-ported to new target layout:]
Signed-off-by: Zoltan HERPAI <[email protected]>
Kayo Phoenix 8 years ago
parent
commit
6a3565985f
2 changed files with 16 additions and 0 deletions
  1. 6 0
      package/boot/uboot-sunxi/Makefile
  2. 10 0
      target/linux/sunxi/image/cortex-a8.mk

+ 6 - 0
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)

+ 10 - 0
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