public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
@ 2015-02-01 12:58 Adam Sampson
  2015-02-02 12:58 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Sampson @ 2015-02-01 12:58 UTC (permalink / raw)
  To: u-boot

This is a low-cost Allwinner A20 board with Arduino-style GPIO headers;
it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro
USB socket for OTG and another for power in, HDMI, SATA, 5V power for
SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a
MIPI camera connector.

Like the BananaPi, this board needs GMAC_TX_DELAY set to 3 in order for
GMAC to work reliably at gigabit speeds.

For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano

Changed in v3:
- add CONFIG_GMAC_TX_DELAY=3, which corresponds to a patch in LinkSprite's
  A20 kernel; testing shows the performance is now much better at 1000M

Signed-off-by: Adam Sampson <ats@offog.org>
---
 board/sunxi/MAINTAINERS                    |  5 +++++
 configs/Linksprite_pcDuino3_Nano_defconfig | 11 +++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 configs/Linksprite_pcDuino3_Nano_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index 9050059..44f57ad 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -81,6 +81,11 @@ M:	Zoltan Herpai <wigyori@uid0.hu>
 S:	Maintained
 F:	configs/Linksprite_pcDuino_defconfig
 
+LINKSPRITE-PCDUINO3-NANO BOARD
+M:	Adam Sampson <ats@offog.org>
+S:	Maintained
+F:	configs/Linksprite_pcDuino3_Nano_defconfig
+
 MARSBOARD-A10 BOARD
 M:	Aleksei Mamlin <mamlinav@gmail.com>
 S:	Maintained
diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
new file mode 100644
index 0000000..4baba14
--- /dev/null
+++ b/configs/Linksprite_pcDuino3_Nano_defconfig
@@ -0,0 +1,11 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
+CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
+CONFIG_GMAC_TX_DELAY=3
+CONFIG_USB1_VBUS_PIN="PH11"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_DRAM_CLK=408
++S:CONFIG_DRAM_ZQ=122
++S:CONFIG_DRAM_EMR1=4
-- 
2.2.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-02-01 12:58 [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
@ 2015-02-02 12:58 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2015-02-02 12:58 UTC (permalink / raw)
  To: u-boot

Hi,

On 01-02-15 13:58, Adam Sampson wrote:
> This is a low-cost Allwinner A20 board with Arduino-style GPIO headers;
> it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro
> USB socket for OTG and another for power in, HDMI, SATA, 5V power for
> SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a
> MIPI camera connector.
>
> Like the BananaPi, this board needs GMAC_TX_DELAY set to 3 in order for
> GMAC to work reliably at gigabit speeds.
>
> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>
> Changed in v3:
> - add CONFIG_GMAC_TX_DELAY=3, which corresponds to a patch in LinkSprite's
>    A20 kernel; testing shows the performance is now much better at 1000M
>
> Signed-off-by: Adam Sampson <ats@offog.org>

Thanks for the patch, I've replaced the version in u-boot-sunxi/next
with this one (resulting in a forced push).

I'll likely send out a pull-req soon, so if you've any more fixes please
do them as a follow-up patch.

Regards,

Hans

> ---
>   board/sunxi/MAINTAINERS                    |  5 +++++
>   configs/Linksprite_pcDuino3_Nano_defconfig | 11 +++++++++++
>   2 files changed, 16 insertions(+)
>   create mode 100644 configs/Linksprite_pcDuino3_Nano_defconfig
>
> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> index 9050059..44f57ad 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -81,6 +81,11 @@ M:	Zoltan Herpai <wigyori@uid0.hu>
>   S:	Maintained
>   F:	configs/Linksprite_pcDuino_defconfig
>
> +LINKSPRITE-PCDUINO3-NANO BOARD
> +M:	Adam Sampson <ats@offog.org>
> +S:	Maintained
> +F:	configs/Linksprite_pcDuino3_Nano_defconfig
> +
>   MARSBOARD-A10 BOARD
>   M:	Aleksei Mamlin <mamlinav@gmail.com>
>   S:	Maintained
> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
> new file mode 100644
> index 0000000..4baba14
> --- /dev/null
> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
> @@ -0,0 +1,11 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
> +CONFIG_GMAC_TX_DELAY=3
> +CONFIG_USB1_VBUS_PIN="PH11"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN7I=y
> ++S:CONFIG_DRAM_CLK=408
> ++S:CONFIG_DRAM_ZQ=122
> ++S:CONFIG_DRAM_EMR1=4
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-01 12:58 [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
2015-02-02 12:58 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox