All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
@ 2017-05-03 12:18 Olliver Schinagl
  2017-05-03 12:57 ` Jagan Teki
  2017-05-03 16:50 ` Jagan Teki
  0 siblings, 2 replies; 4+ messages in thread
From: Olliver Schinagl @ 2017-05-03 12:18 UTC (permalink / raw)
  To: u-boot

This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/

It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---

Note: for the board to work properly, the updated eMMC dts variant needs to
be updated from upstream.

 board/sunxi/MAINTAINERS                    |  5 +++++
 configs/A20-OLinuXino-Lime2-eMMC_defconfig | 33 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index 2321b8b08f..84f91fd10b 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -89,6 +89,11 @@ M:	Iain Paton <ipaton0@gmail.com>
 S:	Maintained
 F:	configs/A20-OLinuXino-Lime2_defconfig
 
+A20-OLINUXINO-LIME2-EMMC BOARD
+M:	Olliver Schinagl <oliver@schinagl.nl>
+S:	Maintained
+F:	configs/A20-OLinuXino-Lime2-eMMC_defconfig
+
 A33-OLINUXINO BOARD
 M:	Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
 S:	Maintained
diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
new file mode 100644
index 0000000000..1369d2d90b
--- /dev/null
+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
@@ -0,0 +1,33 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=384
+CONFIG_MMC0_CD_PIN="PH1"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_USB0_VBUS_PIN="PC17"
+CONFIG_USB0_VBUS_DET="PH5"
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2-emmc"
+CONFIG_AHCI=y
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,SATAPWR=SUNXI_GPC(3)"
+CONFIG_SPL=y
+CONFIG_SPL_I2C_SUPPORT=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_DFU=y
+CONFIG_CMD_USB_MASS_STORAGE=y
+# CONFIG_CMD_FPGA is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_PARTITION_UUIDS is not set
+CONFIG_DFU_RAM=y
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_AXP_ALDO3_VOLT=2800
+CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
+CONFIG_G_DNL_VENDOR_NUM=0x1f3a
+CONFIG_G_DNL_PRODUCT_NUM=0x1010
-- 
2.11.0

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

* [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
  2017-05-03 12:18 [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC Olliver Schinagl
@ 2017-05-03 12:57 ` Jagan Teki
  2017-05-03 16:50 ` Jagan Teki
  1 sibling, 0 replies; 4+ messages in thread
From: Jagan Teki @ 2017-05-03 12:57 UTC (permalink / raw)
  To: u-boot

On Wed, May 3, 2017 at 5:48 PM, Olliver Schinagl <oliver@schinagl.nl> wrote:
> This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
> storage.
> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
>
> It is a assembly variant of the regular Lime2 but featuring eMMC for
> storage.
>
> Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
> ---
>
> Note: for the board to work properly, the updated eMMC dts variant needs to
> be updated from upstream.
>
>  board/sunxi/MAINTAINERS                    |  5 +++++
>  configs/A20-OLinuXino-Lime2-eMMC_defconfig | 33 ++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+)
>  create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig
>
> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> index 2321b8b08f..84f91fd10b 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -89,6 +89,11 @@ M:   Iain Paton <ipaton0@gmail.com>
>  S:     Maintained
>  F:     configs/A20-OLinuXino-Lime2_defconfig
>
> +A20-OLINUXINO-LIME2-EMMC BOARD
> +M:     Olliver Schinagl <oliver@schinagl.nl>
> +S:     Maintained
> +F:     configs/A20-OLinuXino-Lime2-eMMC_defconfig
> +
>  A33-OLINUXINO BOARD
>  M:     Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
>  S:     Maintained
> diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
> new file mode 100644
> index 0000000000..1369d2d90b
> --- /dev/null
> +++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
> @@ -0,0 +1,33 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_SUNXI=y
> +CONFIG_MACH_SUN7I=y
> +CONFIG_DRAM_CLK=384
> +CONFIG_MMC0_CD_PIN="PH1"
> +CONFIG_MMC_SUNXI_SLOT_EXTRA=2
> +CONFIG_USB0_VBUS_PIN="PC17"
> +CONFIG_USB0_VBUS_DET="PH5"
> +CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2-emmc"
> +CONFIG_AHCI=y
> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,SATAPWR=SUNXI_GPC(3)"
> +CONFIG_SPL=y

These were moved to Kconfig, please sync with latest.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
  2017-05-03 12:18 [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC Olliver Schinagl
  2017-05-03 12:57 ` Jagan Teki
@ 2017-05-03 16:50 ` Jagan Teki
  2017-05-03 16:52   ` [U-Boot] [linux-sunxi] " Icenowy Zheng
  1 sibling, 1 reply; 4+ messages in thread
From: Jagan Teki @ 2017-05-03 16:50 UTC (permalink / raw)
  To: u-boot

On Wednesday 03 May 2017 05:48 PM, Olliver Schinagl wrote:
> This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
> storage.
> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
>
> It is a assembly variant of the regular Lime2 but featuring eMMC for
> storage.
>
> Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
> ---
>
> Note: for the board to work properly, the updated eMMC dts variant needs to
> be updated from upstream.
>
>  board/sunxi/MAINTAINERS                    |  5 +++++
>  configs/A20-OLinuXino-Lime2-eMMC_defconfig | 33 ++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+)
>  create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig
>
> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> index 2321b8b08f..84f91fd10b 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -89,6 +89,11 @@ M:	Iain Paton <ipaton0@gmail.com>
>  S:	Maintained
>  F:	configs/A20-OLinuXino-Lime2_defconfig
>
> +A20-OLINUXINO-LIME2-EMMC BOARD
> +M:	Olliver Schinagl <oliver@schinagl.nl>
> +S:	Maintained
> +F:	configs/A20-OLinuXino-Lime2-eMMC_defconfig
> +
>  A33-OLINUXINO BOARD
>  M:	Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
>  S:	Maintained
> diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig

I guess you used the latest, right? I got the below error with 4.7.1 and 
even buildman does.

arm-linux-gnueabi-ld.bfd: u-boot-spl section `.u_boot_list' will not fit 
in region `.sram'
arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 88 bytes
arm-linux-gnueabi-ld.bfd: u-boot-spl: Not enough room for program 
headers, try linking with -N
arm-linux-gnueabi-ld.bfd: final link failed: Bad value

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

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

* [U-Boot] [linux-sunxi] Re: [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
  2017-05-03 16:50 ` Jagan Teki
@ 2017-05-03 16:52   ` Icenowy Zheng
  0 siblings, 0 replies; 4+ messages in thread
From: Icenowy Zheng @ 2017-05-03 16:52 UTC (permalink / raw)
  To: u-boot



于 2017年5月4日 GMT+08:00 上午12:50:52, Jagan Teki <jagan@openedev.com> 写到:
>On Wednesday 03 May 2017 05:48 PM, Olliver Schinagl wrote:
>> This patch adds support for the Olimex OLinuXino Lime2 with eMMC
>flash
>> storage.
>>
>https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
>>
>> It is a assembly variant of the regular Lime2 but featuring eMMC for
>> storage.
>>
>> Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
>> ---
>>
>> Note: for the board to work properly, the updated eMMC dts variant
>needs to
>> be updated from upstream.
>>
>>  board/sunxi/MAINTAINERS                    |  5 +++++
>>  configs/A20-OLinuXino-Lime2-eMMC_defconfig | 33
>++++++++++++++++++++++++++++++
>>  2 files changed, 38 insertions(+)
>>  create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig
>>
>> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
>> index 2321b8b08f..84f91fd10b 100644
>> --- a/board/sunxi/MAINTAINERS
>> +++ b/board/sunxi/MAINTAINERS
>> @@ -89,6 +89,11 @@ M:	Iain Paton <ipaton0@gmail.com>
>>  S:	Maintained
>>  F:	configs/A20-OLinuXino-Lime2_defconfig
>>
>> +A20-OLINUXINO-LIME2-EMMC BOARD
>> +M:	Olliver Schinagl <oliver@schinagl.nl>
>> +S:	Maintained
>> +F:	configs/A20-OLinuXino-Lime2-eMMC_defconfig
>> +
>>  A33-OLINUXINO BOARD
>>  M:	Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
>>  S:	Maintained
>> diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig
>b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
>
>I guess you used the latest, right? I got the below error with 4.7.1
>and 
>even buildman does.
>
>arm-linux-gnueabi-ld.bfd: u-boot-spl section `.u_boot_list' will not
>fit 
>in region `.sram'
>arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 88 bytes
>arm-linux-gnueabi-ld.bfd: u-boot-spl: Not enough room for program 
>headers, try linking with -N
>arm-linux-gnueabi-ld.bfd: final link failed: Bad value

Try a newer GCC?

>
>thanks!

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

end of thread, other threads:[~2017-05-03 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 12:18 [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC Olliver Schinagl
2017-05-03 12:57 ` Jagan Teki
2017-05-03 16:50 ` Jagan Teki
2017-05-03 16:52   ` [U-Boot] [linux-sunxi] " Icenowy Zheng

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.