[U-Boot] [linux-sunxi] [PATCH] sunxi: Add Marsboard A10 support

Hans de Goede hdegoede at redhat.com
Mon Jan 19 11:36:39 CET 2015


Hi,

On 19-01-15 11:01, Aleksei Mamlin wrote:
> 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.
>
> Signed-off-by: Aleksei Mamlin <mamlinav at gmail.com>

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



> ---
>   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
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index 6a4d764..46bbae2 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -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
> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> index 3a09be9..a7f1f3e 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -82,3 +82,8 @@ LINKSPRITE-PCDUINO BOARD
>   M:	Zoltan Herpai <wigyori at uid0.hu>
>   S:	Maintained
>   F:	configs/Linksprite_pcDuino_defconfig
> +
> +MARSBOARD-A10 BOARD
> +M:	Aleksei Mamlin <mamlinav at gmail.com>
> +S:	Maintained
> +F:	configs/Marsboard_A10_defconfig
> diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
> index fab0877..b8a2bde 100644
> --- a/board/sunxi/Makefile
> +++ b/board/sunxi/Makefile
> @@ -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
> diff --git a/configs/Marsboard_A10_defconfig b/configs/Marsboard_A10_defconfig
> new file mode 100644
> index 0000000..7597987
> --- /dev/null
> +++ b/configs/Marsboard_A10_defconfig
> @@ -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
>


More information about the U-Boot mailing list