Skip to contentSkip to conversation

sunxi: Add Marsboard A10 support

PATCH Superseded Hans de Goede 1 participant 1 message Jan 19, 2015 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 sunxi: Add Marsboard A10 support

Hi,

Quoted 9 lines · Aleksei Mamlin

This patch add support for Marsboard A10 board.

The Marsboard A10 is a A10 based development board with 1G RAM, 1G NAND, micro SD card slot, SATA 2.0 socket, 10/100 ethernet, mini HDMI port, 1 USB OTG port and 2 USB 2.0 ports. Board does not use the AXP209 pmic, it does not have a pmic at all.
Board also have 2 expansion 70 pin headers.

Thanks!

Looks good, but:

1) This seems to be for upstream u-boot (good!) but upstream u-boot patches should be send to the upstream u-boot list (it is fine to have linux-sunxi in the CC).

2) I've been working on cleaning up the dram config and getting rid of CONFIG_TARGET_FOO for all sun4i boards, this will land in u-boot-sunxi/next and then go upstream soon, can you please rebase this patch on top of my current sunxi-wip branch ? :

https://github.com/jwrdegoede/u-boot-sunxi/tree/sunxi-wip

Regards,

Hans

Quoted 62 lines
---
  board/sunxi/Kconfig             | 4 ++++
  board/sunxi/MAINTAINERS         | 5 +++++
  board/sunxi/Makefile            | 1 +
  configs/Marsboard_A10_defconfig | 7 +++++++
  4 files changed, 17 insertions(+)

create mode 100644 configs/Marsboard_A10_defconfig

board/sunxi/Kconfig +4 -0
index 6a4d764..46bbae2 100644
@@ -132,6 +132,10 @@ config TARGET_PCDUINO3
  	bool "PCDUINO3"
  	depends on MACH_SUN7I
 
+config TARGET_MARSBOARD_A10
+	bool "MARSBOARD_A10"
+	depends on MACH_SUN4I
+
  config TARGET_MELE_A1000G
  	bool "MELE_A1000G"
  	depends on MACH_SUN4I
board/sunxi/MAINTAINERS +5 -0
index 3a09be9..a7f1f3e 100644
@@ -82,3 +82,8 @@ LINKSPRITE-PCDUINO BOARD
  M:	Zoltan Herpai <[email protected]>
  S:	Maintained
  F:	configs/Linksprite_pcDuino_defconfig
+
+MARSBOARD-A10 BOARD
+M:	Aleksei Mamlin <[email protected]>
+S:	Maintained
+F:	configs/Marsboard_A10_defconfig
board/sunxi/Makefile +1 -0
index fab0877..b8a2bde 100644
@@ -27,6 +27,7 @@ obj-$(CONFIG_TARGET_CUBIEBOARD)		+= dram_cubieboard.o
  obj-$(CONFIG_TARGET_CUBIEBOARD2)	+= dram_cubieboard2.o
  obj-$(CONFIG_TARGET_CUBIETRUCK)		+= dram_cubietruck.o
  obj-$(CONFIG_TARGET_I12_TVBOX)		+= dram_sun7i_384_1024_iow16.o
+obj-$(CONFIG_TARGET_MARSBOARD_A10)	+= dram_sun4i_360_1024_iow16.o
  obj-$(CONFIG_TARGET_MELE_A1000)		+= dram_sun4i_360_512.o
  obj-$(CONFIG_TARGET_MELE_A1000G)	+= dram_sun4i_360_1024_iow8.o
  obj-$(CONFIG_TARGET_MELE_M3)		+= dram_sun7i_384_1024_iow16.o
configs/Marsboard_A10_defconfig new file +7 -0
new file mode 100644
index 0000000..7597987
@@ -0,0 +1,7 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,USB_EHCI"
+CONFIG_FDTFILE="sun4i-a10-marsboard.dtb"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN4I=y
++S:CONFIG_TARGET_MARSBOARD_A10=y