All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
@ 2015-01-25 15:24 Adam Sampson
  2015-01-26  3:30 ` Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Adam Sampson @ 2015-01-25 15:24 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.

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

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 743e7f5..479d147 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -100,3 +100,8 @@ MELE M5 BOARD
 M:	Ian Campbell <ijc@hellion.org.uk>
 S:	Maintained
 F:	configs/Mele_M5_defconfig
+
+LINKSPRITE-PCDUINO3-NANO BOARD
+M:	Adam Sampson <ats@offog.org>
+S:	Maintained
+F:	configs/Linksprite_pcDuino3_Nano_defconfig
diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
new file mode 100644
index 0000000..22435eb
--- /dev/null
+++ b/configs/Linksprite_pcDuino3_Nano_defconfig
@@ -0,0 +1,11 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
+CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
+CONFIG_USB1_VBUS_PIN="PH11"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_TARGET_PCDUINO3_NANO=y
++S:CONFIG_DRAM_CLK=408
++S:CONFIG_DRAM_ZQ=122
++S:CONFIG_DRAM_EMR1=4
-- 
1.7.10.4

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-25 15:24 [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
@ 2015-01-26  3:30 ` Simon Glass
  2015-01-26  7:44   ` Hans de Goede
  2015-01-26 14:51 ` Hans de Goede
  2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
  2 siblings, 1 reply; 7+ messages in thread
From: Simon Glass @ 2015-01-26  3:30 UTC (permalink / raw)
  To: u-boot

Hi Adam,

On 25 January 2015 at 08:24, Adam Sampson <ats@offog.org> 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.
>
> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>
> 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 743e7f5..479d147 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -100,3 +100,8 @@ MELE M5 BOARD
>  M:     Ian Campbell <ijc@hellion.org.uk>
>  S:     Maintained
>  F:     configs/Mele_M5_defconfig
> +
> +LINKSPRITE-PCDUINO3-NANO BOARD
> +M:     Adam Sampson <ats@offog.org>
> +S:     Maintained
> +F:     configs/Linksprite_pcDuino3_Nano_defconfig
> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
> new file mode 100644
> index 0000000..22435eb
> --- /dev/null
> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
> @@ -0,0 +1,11 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
> +CONFIG_USB1_VBUS_PIN="PH11"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN7I=y
> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
> ++S:CONFIG_DRAM_CLK=408
> ++S:CONFIG_DRAM_ZQ=122
> ++S:CONFIG_DRAM_EMR1=4

Since this is a new board, could it follow along ith the Linksprice
pcDuino3 and support driver rmodel / device tree?

Regards,
Simon

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-26  3:30 ` Simon Glass
@ 2015-01-26  7:44   ` Hans de Goede
  2015-01-26 16:17     ` Simon Glass
  0 siblings, 1 reply; 7+ messages in thread
From: Hans de Goede @ 2015-01-26  7:44 UTC (permalink / raw)
  To: u-boot

Hi,

On 26-01-15 04:30, Simon Glass wrote:
> Hi Adam,
>
> On 25 January 2015 at 08:24, Adam Sampson <ats@offog.org> 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.
>>
>> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>>
>> 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 743e7f5..479d147 100644
>> --- a/board/sunxi/MAINTAINERS
>> +++ b/board/sunxi/MAINTAINERS
>> @@ -100,3 +100,8 @@ MELE M5 BOARD
>>   M:     Ian Campbell <ijc@hellion.org.uk>
>>   S:     Maintained
>>   F:     configs/Mele_M5_defconfig
>> +
>> +LINKSPRITE-PCDUINO3-NANO BOARD
>> +M:     Adam Sampson <ats@offog.org>
>> +S:     Maintained
>> +F:     configs/Linksprite_pcDuino3_Nano_defconfig
>> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
>> new file mode 100644
>> index 0000000..22435eb
>> --- /dev/null
>> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
>> @@ -0,0 +1,11 @@
>> +CONFIG_SPL=y
>> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
>> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
>> +CONFIG_USB1_VBUS_PIN="PH11"
>> ++S:CONFIG_ARM=y
>> ++S:CONFIG_ARCH_SUNXI=y
>> ++S:CONFIG_MACH_SUN7I=y
>> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
>> ++S:CONFIG_DRAM_CLK=408
>> ++S:CONFIG_DRAM_ZQ=122
>> ++S:CONFIG_DRAM_EMR1=4
>
> Since this is a new board, could it follow along ith the Linksprice
> pcDuino3 and support driver rmodel / device tree?

That is a good idea, I think we should be slowly moving over all sunxi
boards to this. Note I'll merge this version as is for now, lets wait
with the devicetree version till the dts is accepted in the upstream
kernel (*).

While on this subject I do want to move to devicetree everywhere, but
I don't want 2 configs per board like with the Linksprite_pcDuino3
from an end user pov the resulting u-boot-sunxi-with-spl.bin works
identical, and that is what we tell sunxi users to use.

So my plan is to just drop the non fdt version of the Linksprite_pcDuino3
config and drop the _fdt suffix on the fdt version, any objections
against that ?

Regards,

Hans




*) Once we've gone all devicetree we need to revisit this as I don't
want new board additions be blocked on this

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-25 15:24 [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
  2015-01-26  3:30 ` Simon Glass
@ 2015-01-26 14:51 ` Hans de Goede
  2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
  2 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2015-01-26 14:51 UTC (permalink / raw)
  To: u-boot

Hi,

On 25-01-15 16:24, 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.
>
> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>
> Signed-off-by: Adam Sampson <ats@offog.org>

Thanks, I've queued this up for merging in u-boot-sunxi/next

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 743e7f5..479d147 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -100,3 +100,8 @@ MELE M5 BOARD
>   M:	Ian Campbell <ijc@hellion.org.uk>
>   S:	Maintained
>   F:	configs/Mele_M5_defconfig
> +
> +LINKSPRITE-PCDUINO3-NANO BOARD
> +M:	Adam Sampson <ats@offog.org>
> +S:	Maintained
> +F:	configs/Linksprite_pcDuino3_Nano_defconfig
> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
> new file mode 100644
> index 0000000..22435eb
> --- /dev/null
> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
> @@ -0,0 +1,11 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
> +CONFIG_USB1_VBUS_PIN="PH11"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN7I=y
> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
> ++S:CONFIG_DRAM_CLK=408
> ++S:CONFIG_DRAM_ZQ=122
> ++S:CONFIG_DRAM_EMR1=4
>

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-25 15:24 [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
  2015-01-26  3:30 ` Simon Glass
  2015-01-26 14:51 ` Hans de Goede
@ 2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
  2015-01-26 22:33   ` Adam Sampson
  2 siblings, 1 reply; 7+ messages in thread
From: christophe.le.roux.1 at gmail.com @ 2015-01-26 15:15 UTC (permalink / raw)
  To: u-boot

Le lundi 26 janvier 2015 13:14:31 UTC+1, Adam Sampson a ?crit?:
> 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.
> 
> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
> 
> 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 743e7f5..479d147 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -100,3 +100,8 @@ MELE M5 BOARD
>  M:	Ian Campbell <ijc@hellion.org.uk>
>  S:	Maintained
>  F:	configs/Mele_M5_defconfig
> +
> +LINKSPRITE-PCDUINO3-NANO BOARD
> +M:	Adam Sampson <ats@offog.org>
> +S:	Maintained
> +F:	configs/Linksprite_pcDuino3_Nano_defconfig
> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
> new file mode 100644
> index 0000000..22435eb
> --- /dev/null
> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
> @@ -0,0 +1,11 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
> +CONFIG_USB1_VBUS_PIN="PH11"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN7I=y
> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
> ++S:CONFIG_DRAM_CLK=408
> ++S:CONFIG_DRAM_ZQ=122
> ++S:CONFIG_DRAM_EMR1=4
> -- 
> 1.7.10.4

Hello Adam,

What do you think about adding "RGMII" in the CONFIG_SYS_EXTRA_OPTIONS like other gigabit A20 board ?


ps : thank you for your pcduino3 Nano contribution, i miss some time to do it :)


Regards,

KrissFR

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-26  7:44   ` Hans de Goede
@ 2015-01-26 16:17     ` Simon Glass
  0 siblings, 0 replies; 7+ messages in thread
From: Simon Glass @ 2015-01-26 16:17 UTC (permalink / raw)
  To: u-boot

Hi Hans,

On 26 January 2015 at 00:44, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
>
> On 26-01-15 04:30, Simon Glass wrote:
>>
>> Hi Adam,
>>
>> On 25 January 2015 at 08:24, Adam Sampson <ats@offog.org> 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.
>>>
>>> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>>>
>>> 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 743e7f5..479d147 100644
>>> --- a/board/sunxi/MAINTAINERS
>>> +++ b/board/sunxi/MAINTAINERS
>>> @@ -100,3 +100,8 @@ MELE M5 BOARD
>>>   M:     Ian Campbell <ijc@hellion.org.uk>
>>>   S:     Maintained
>>>   F:     configs/Mele_M5_defconfig
>>> +
>>> +LINKSPRITE-PCDUINO3-NANO BOARD
>>> +M:     Adam Sampson <ats@offog.org>
>>> +S:     Maintained
>>> +F:     configs/Linksprite_pcDuino3_Nano_defconfig
>>> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig
>>> b/configs/Linksprite_pcDuino3_Nano_defconfig
>>> new file mode 100644
>>> index 0000000..22435eb
>>> --- /dev/null
>>> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
>>> @@ -0,0 +1,11 @@
>>> +CONFIG_SPL=y
>>>
>>> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
>>> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
>>> +CONFIG_USB1_VBUS_PIN="PH11"
>>> ++S:CONFIG_ARM=y
>>> ++S:CONFIG_ARCH_SUNXI=y
>>> ++S:CONFIG_MACH_SUN7I=y
>>> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
>>> ++S:CONFIG_DRAM_CLK=408
>>> ++S:CONFIG_DRAM_ZQ=122
>>> ++S:CONFIG_DRAM_EMR1=4
>>
>>
>> Since this is a new board, could it follow along ith the Linksprice
>> pcDuino3 and support driver rmodel / device tree?
>
>
> That is a good idea, I think we should be slowly moving over all sunxi
> boards to this. Note I'll merge this version as is for now, lets wait
> with the devicetree version till the dts is accepted in the upstream
> kernel (*).
>
> While on this subject I do want to move to devicetree everywhere, but
> I don't want 2 configs per board like with the Linksprite_pcDuino3
> from an end user pov the resulting u-boot-sunxi-with-spl.bin works
> identical, and that is what we tell sunxi users to use.
>
> So my plan is to just drop the non fdt version of the Linksprite_pcDuino3
> config and drop the _fdt suffix on the fdt version, any objections
> against that ?

Fair enough, it was just an example...

>
> Regards,
>
> Hans
>
>
>
>
> *) Once we've gone all devicetree we need to revisit this as I don't
> want new board additions be blocked on this

Yes and often U-Boot will have support before Linux. One option is to
merge an initial FDT and resync with Linux later.

Regards,
Simon

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

* [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
  2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
@ 2015-01-26 22:33   ` Adam Sampson
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Sampson @ 2015-01-26 22:33 UTC (permalink / raw)
  To: u-boot

Hi Christophe,

On Mon, Jan 26, 2015 at 07:15:20AM -0800, christophe.le.roux.1 at gmail.com wrote:
> > +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> 
> What do you think about adding "RGMII" in the CONFIG_SYS_EXTRA_OPTIONS
> like other gigabit A20 board ?

Good catch -- I'll respin the patch!

Thanks very much,

-- 
Adam Sampson <ats@offog.org>                         <http://offog.org/>

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

end of thread, other threads:[~2015-01-26 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 15:24 [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
2015-01-26  3:30 ` Simon Glass
2015-01-26  7:44   ` Hans de Goede
2015-01-26 16:17     ` Simon Glass
2015-01-26 14:51 ` Hans de Goede
2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
2015-01-26 22:33   ` Adam Sampson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.