Re: [U-Boot] Relocation

2014-03-17 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message fe7aded5c2218b4786c09cd97dc4c49fe20...@exchbj02.viatech.com.bj you wrote: Relocation will always happen, and there is no provision for avoiding it. ... Then no relocation, it seemed OK. You used the correct phrase: it seemed. Except that you broke

Re: [U-Boot] [RFC PATCH 6/6] fpga: xilinx: Simplify load/dump/info function handling

2014-03-17 Thread Michal Simek
On 03/14/2014 09:27 PM, Tom Rini wrote: On Thu, Mar 13, 2014 at 03:52:48PM +0100, Michal Simek wrote: Connect FPGA version with appropriate operations to remove huge switch-cases for every FPGA family. Tested on Zynq. Spartan2/Spartan3/Virtex2 just compile test. Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH 2/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Heiko Schocher
Hello Lukasz, Am 14.03.2014 11:47, schrieb Lukasz Majewski: Hi Heiko, on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while flushing the medium. With current u-boot version dfu-util may show: Starting download:

[U-Boot] Antw: Re: U-Boot doesn't silent the output

2014-03-17 Thread Frank Ihle
The check is done in console_init_f(), the 'f' meaning before relocation, and thus before the environment is loaded and much before the boot command is run. You need to put silent=1 into your built-in environment in the board config file. In my U-boot 2010.06, I tried with #define

Re: [U-Boot] Relocation

2014-03-17 Thread TigerLiu
Hi, Denk: You used the correct phrase: it seemed. Except that you broke a number of really important things. If you do not understand what rlocation is needed for, then please gop back and read it in the archives. This has been discussed many times before. For example: Most ARM SOC platform

Re: [U-Boot] [PATCH] woodburn_sd: Remove CONFIG_BOOT_INTERNAL

2014-03-17 Thread Stefano Babic
On 16/03/2014 22:20, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com CONFIG_BOOT_INTERNAL is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/woodburn_sd.h | 2 -- 1 file changed, 2 deletions(-)

[U-Boot] [RFC PATCH 09/17] buildman: adjust for Kconfig

2014-03-17 Thread Masahiro Yamada
Use make board_defconfig instead of make board_config. WARNING This adjustment is not enough. MAKEALL should parse defconfig files instead of boards.cfg. This commit has not got this rework done yet. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/buildman/board.py | 2 +-

[U-Boot] [RFC PATCH 15/17] kbuild: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-03-17 Thread Masahiro Yamada
CONFIG_SPL and CONFIG_TPL are defined in Kconfig. Remove the redundant definition in config headers. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h |

[U-Boot] [RFC PATCH 11/17] sh: remove redundant CPU family definition

2014-03-17 Thread Masahiro Yamada
CONFIG_SH2, CONFIG_SH3, CONFIG_SH4 are defined in Kconfig. Remove the redundant definition in arch/sh/cpu/*/config.mk Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/sh/cpu/sh2/config.mk | 2 +- arch/sh/cpu/sh3/config.mk | 2 +- arch/sh/cpu/sh4/config.mk | 2 +- 3 files

[U-Boot] [RFC PATCH 08/17] MAKEALL: adjust for Kconfig

2014-03-17 Thread Masahiro Yamada
Use make board_defconfig instead of make board_config. WARNING This adjustment is not enough. MAKEALL should parse defconfig files instead of boards.cfg. This commit has not got this rework done yet. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- MAKEALL | 6 +++--- 1 file

[U-Boot] [RFC PATCH 13/17] m68k: remove redundant CPU family definition

2014-03-17 Thread Masahiro Yamada
- CONFIG_MCF5227x - CONFIG_MCF523x - CONFIG_MCF52x2 - CONFIG_MCF520x - CONFIG_MCF532x - CONFIG_MCF5301x - CONFIG_MCF5441x - CONFIG_MCF5445x - CONFIG_MCF547x_8x are defined in Kconfig. Remove the redundant definition in config headers. Besides, refactor tricky grepping in

[U-Boot] [RFC PATCH 06/17] m68k: define processor family CONFIGs as 1

2014-03-17 Thread Masahiro Yamada
We are about to switch to Kconfig in the upcoming commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be defined as 1. Otherwise, when switching to Kconfig, the build log

[U-Boot] [RFC PATCH 05/17] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-03-17 Thread Masahiro Yamada
We are about to switch to Kconfig in the upcoming commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be defined as 1. Otherwise, when switching to Kconfig, the build log

[U-Boot] [RFC PATCH 16/17] kconfig: remove old script

2014-03-17 Thread Masahiro Yamada
mkconfig is no longer used in Kconfig. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- mkconfig | 192 --- 1 file changed, 192 deletions(-) delete mode 100755 mkconfig diff --git a/mkconfig b/mkconfig deleted file mode

[U-Boot] [RFC PATCH 12/17] sparc: remove redundant CPU family definition

2014-03-17 Thread Masahiro Yamada
CONFIG_LEON2, CONFIG_LEON3 are defined in Kconfig. Remove the redundant definition in arch/sparc/cpu/*/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/sparc/cpu/leon2/config.mk | 2 +- arch/sparc/cpu/leon3/config.mk | 2 +- 2 files changed, 2 insertions(+), 2

[U-Boot] [RFC PATCH 03/17] Do not apply: tools: add gendefconfigs

2014-03-17 Thread Masahiro Yamada
Do not apply this patch to the main line What is this tool? -- defconfig files for all target boards will be added in the next commit. We already have more than 1000 boards. Writing all

[U-Boot] [RFC PATCH 07/17] kconfig: switch over to Kconfig

2014-03-17 Thread Masahiro Yamada
This commit enables Kconfig. Going forward, we use Kconfig for board configuration. mkconfig will never be used. Nor will include/config.mk be generated. Kconfig must be adjusted for U-Boot because our situation is a little more complicated than Linux Kernel. We have to generate 3 images at most:

[U-Boot] [RFC PATCH 17/17] kconfig: add CONFIG_CROSS_COMPILE

2014-03-17 Thread Masahiro Yamada
Copy from Linux Kernel (with a few adjustments in comments). Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Kconfig | 9 + Makefile | 20 ++-- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/Kconfig b/Kconfig index 4e383d2..1bf488e 100644

[U-Boot] [RFC PATCH 14/17] powerpc: remove redundant CPU family definition

2014-03-17 Thread Masahiro Yamada
- CONFIG_74xx_7xx - CONFIG_MPC512X - CONFIG_5xx - CONFIG_MPC5xxx - CONFIG_MPC824X - CONFIG_MPC8260 - CONFIG_MPC83xx - CONFIG_MPC85xx - CONFIG_MPC86xx - CONFIG_8xx - CONFIG_4xx are defined in Kconfig. Remove the redundant definition in arch/powerpc/cpu/*/config.mk. Signed-off-by:

[U-Boot] [RFC PATCH 02/17] kconfig: add basic Kconfig files

2014-03-17 Thread Masahiro Yamada
We want to start with a basic set of CONFIG macros: - CONFIG_SPL, CONFIG_TPL Enable to support SPL/TPL image - CONFIG_SPL_BUILD, CONFIG_TPL_BUILD CONFIG_SPL_BUILD is set when building SPL/TPL. CONFIG_TPL_BUILD is set when building TPL. These macros are automatically set and

[U-Boot] [RFC PATCH 10/17] kconfig: delete redundant CONFIG_${ARCH} definition

2014-03-17 Thread Masahiro Yamada
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/arc/config.mk | 2 +- arch/arm/config.mk | 2 +- arch/avr32/config.mk | 1 - arch/blackfin/config.mk | 1 -

[U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-17 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- arch/arm/dts/Makefile |1 + arch/arm/dts/mx6qsabreauto.dts | 13 + include/configs/mx6qsabreauto.h |3 +++ 3 files changed, 17 insertions(+) create mode 100644

[U-Boot] [PATCH 1/2] imx: add rules for U-Boot DTB support

2014-03-17 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- Makefile |6 +++--- arch/arm/config.mk |4 arch/arm/imx-common/Makefile |8 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0281171..0f7cabb 100644

Re: [U-Boot] [PATCH v3 1/3] part_efi: move uuid-string conversion functions into lib/uuid.c

2014-03-17 Thread Przemyslaw Marczak
Hello, On 03/14/2014 05:06 PM, Wolfgang Denk wrote: Dear Przemyslaw Marczak, In message 5ef7cdb8df4fb05c3c371e29d7a61e28e1563a68.1394807506.git.p.marc...@samsung.com you wrote: Changes: - move uuid-string conversion functions into lib/uuid.c so they can be used by code outside

Re: [U-Boot] [PATCH v3 2/3] lib: uuid: add functions to generate UUID version 4

2014-03-17 Thread Przemyslaw Marczak
On 03/14/2014 05:12 PM, Wolfgang Denk wrote: Dear Przemyslaw Marczak, In message bf85640549b0798b838145e9bad6dcc59454e7ae.1394807506.git.p.marc...@samsung.com you wrote: This patch adds support to generate UUID (Universally Unique Identifier) in version 4 based on RFC4122, which is randomly.

Re: [U-Boot] [PATCH v3 3/3] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-17 Thread Przemyslaw Marczak
On 03/14/2014 05:16 PM, Wolfgang Denk wrote: Dear Przemyslaw Marczak, In message e7d9246677ecb9a8c774e9e5f8d31ae3fd53d487.1394807506.git.p.marc...@samsung.com you wrote: Changes: - randomly generate partition uuid if any is undefined - print info about set/unset/generated uuid - update

[U-Boot] [PATCH] mmc:eSDHC: Workaround for data timeout issue on Txxx SoC

2014-03-17 Thread Haijun Zhang
1. The Data timeout counter value in eSDHC_SYSCTL register is not works as it should be, so add quirks to enable this workaround to fix it to the max value 0xE. 2. For eSDHC the Block Count per data trasmission should not exceed 0x, add this limitation to eSDHC host. 3. Add

Re: [U-Boot] [PATCH 2/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 14.03.2014 11:47, schrieb Lukasz Majewski: Hi Heiko, on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while flushing the medium. With current u-boot version dfu-util may show: Starting

Re: [U-Boot] [PATCH 2/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Heiko Schocher
Hello Lukasz, Am 17.03.2014 10:46, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 14.03.2014 11:47, schrieb Lukasz Majewski: Hi Heiko, on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while flushing the medium. With

Re: [U-Boot] [PATCH 2/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 17.03.2014 10:46, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 14.03.2014 11:47, schrieb Lukasz Majewski: Hi Heiko, on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while

[U-Boot] [PATCH v2 0/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Heiko Schocher
on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while flushing the medium. With current u-boot version dfu-util may show: Starting download: [##] finished! state(7) = dfuMANIFEST,

[U-Boot] [PATCH v2 3/3] am335x, dfu: add DFU_MANIFEST_POLL_TIMEOUT to the siemens boards

2014-03-17 Thread Heiko Schocher
as the siemens boards use dfu for updating a nand ubi partition add DFU_MANIFEST_POLL_TIMEOUT to them, so dfu host waits after complete transfer of the new image for DFU_MANIFEST_POLL_TIMEOUT ms before sending again an usb request. So the board have enough time to erase rest of the nand sectors.

[U-Boot] [PATCH v2 1/3] usb, dfu: extract flush code into seperate function

2014-03-17 Thread Heiko Schocher
move the flushing code into an extra function dfu_flush(), so it can be used from other code. Signed-off-by: Heiko Schocher h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Pantelis Antoniou

[U-Boot] [PATCH v2 2/3] usb: dfu: introduce dfuMANIFEST state

2014-03-17 Thread Heiko Schocher
on nand flash using ubi, after the download of the new image into the flash, the rest of the nand sectors get erased while flushing the medium. With current u-boot version dfu-util may show: Starting download: [##] finished! state(7) = dfuMANIFEST,

Re: [U-Boot] [PATCH] usb: eth: smsc95xx: add LAN9500A device ID

2014-03-17 Thread Tom Rini
On Wed, Mar 12, 2014 at 11:49:23AM +0100, Marek Vasut wrote: On Wednesday, March 12, 2014 at 09:36:31 AM, Ilya Ledvich wrote: Add LAN9500A product ID (0x9e00) in order to support LAN9500A based dongles. Tested on cm_t335. Signed-off-by: Ilya Ledvich i...@compulab.co.il ---

Re: [U-Boot] [PATCH v2 2/4] arm: exynos: pinmux: Add sdmmc4 gpio configuration

2014-03-17 Thread Piotr Wilczek
Dear Beomho Seo, On 03/14/2014 09:33 AM, Beomho Seo wrote: For use dwmmc controller at exynos4, add SDMMC gpio configuration. In case SDMMC2, do not use 8bit mode at exynos4. Signed-off-by: Beomho Seo beomho@samsung.com Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Cc: Lukasz

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-17 Thread Michael Walle
Am 2014-03-15 12:33, schrieb Joakim Tjernlund: Have you tried the kernel driver for eSPI? I haven't gotten there yet but I pray it is better. yeah kernel driver is better. -michael ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 0/4] samsung: Add mmc controller to use dwmmc

2014-03-17 Thread Piotr Wilczek
On 03/14/2014 09:33 AM, Beomho Seo wrote: This patch set for use dw mmc controller. Patch enable supporting device tree for dw mmc controller. For use dwmmc controller on trats2 board, enable configuration dw_mmc, exynos_dwmmc, bounce_buffer and then disable sdhci configuration. This patch set

[U-Boot] [PATCH] powerpc/t104xrdb: Add l2switch external PHYs configuration

2014-03-17 Thread Codrin Ciubotariu
T1040rdb has 2 VSC8514 quad PHYs attached to 8 ports from a layer 2 switch. The PHYs Serdes Auto-negotiation must be enabled in order to have link between internal PHYs and external PHYs. Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com Cc: York Sun york...@freescale.com ---

Re: [U-Boot] [PATCH u-boot sunxi 4/4] sunxi: Add sun4i support

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 02:53:50PM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c| 2 +- arch/arm/cpu/armv7/sunxi/clock.c| 2 + arch/arm/cpu/armv7/sunxi/cpu_info.c | 7 ++ arch/arm/cpu/armv7/sunxi/dram.c |

Re: [U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-17 Thread Fabio Estevam
Hi Stefano, On Mon, Mar 17, 2014 at 5:58 AM, Stefano Babic sba...@denx.de wrote: --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ exynos5250-snow.dtb \ exynos5250-smdk5250.dtb \

Re: [U-Boot] Relocation

2014-03-17 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message fe7aded5c2218b4786c09cd97dc4c49fe20...@exchbj02.viatech.com.bj you wrote: You used the correct phrase: it seemed. Except that you broke a number of really important things. If you do not understand what rlocation is needed for, then please gop

Re: [U-Boot] [PATCH] dfu: mmc: Replace calls to u-boot commands with native mmc API

2014-03-17 Thread Lukasz Majewski
Hi Lukasz, For some time we have been using the run_command() with properly crafted string. Such approach turned to be unreliable and error prone. Switch to native mmc subsystem API would allow better type checking and shall improve speed. Also, it seems that this API is changing less

[U-Boot] [PATCH 2/2] board: ecovec: fix USB0 clock enable

2014-03-17 Thread Baruch Siach
Enable USB0 clock by resetting bit 20 of MSTPCR2. Leave other bits unchanged. Signed-off-by: Baruch Siach bar...@tkos.co.il --- board/renesas/ecovec/ecovec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c index

[U-Boot] [PATCH 1/2] board: ecovec: fix debug LEDs pin direction

2014-03-17 Thread Baruch Siach
All pins should be output. Signed-off-by: Baruch Siach bar...@tkos.co.il --- board/renesas/ecovec/ecovec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c index fb4acf3641b5..450e38783056 100644 ---

Re: [U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-17 Thread Stefano Babic
Hi Fabio, On 17/03/2014 13:54, Fabio Estevam wrote: Hi Stefano, On Mon, Mar 17, 2014 at 5:58 AM, Stefano Babic sba...@denx.de wrote: --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ exynos5250-snow.dtb \

Re: [U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-17 Thread Fabio Estevam
Hi Stefano, On Mon, Mar 17, 2014 at 11:22 AM, Stefano Babic sba...@denx.de wrote: Right, but it is to configure the kernel. What I am trying now is to start adding U-Boot configuration via dtb for i.MX, not kernel configuration, similar as we can already see for other SOC (Tegra, Yes, I

Re: [U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-17 Thread Stefano Babic
Hi Fabio, On 17/03/2014 15:27, Fabio Estevam wrote: Hi Stefano, On Mon, Mar 17, 2014 at 11:22 AM, Stefano Babic sba...@denx.de wrote: Right, but it is to configure the kernel. What I am trying now is to start adding U-Boot configuration via dtb for i.MX, not kernel configuration, similar

Re: [U-Boot] [linux-sunxi] Re: [PATCH v1 3/9] sunxi: initial sun7i dram setup support

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 09:16 -0400, Stefan wrote: Unfortunately the only documentation we have on the sun7i DRAM controller is Allwinner boot0 + boot1 code, and that code uses.. magic numbers shifts with no explanations. To avoid having to explain this over-and-over again, the code could

Re: [U-Boot] [linux-sunxi] [PATCH v1 9/9] sunxi: add gmac Ethernet support

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 03:09:01PM +, Ian Campbell wrote: On Fri, 2014-03-14 at 10:22 -0400, Tom Rini wrote: On Fri, Mar 14, 2014 at 11:28:06AM +, Ian Campbell wrote: On Fri, 2014-03-14 at 19:11 +0800, Chen-Yu Tsai wrote: [snip] I think you should keep them in the same patch.

Re: [U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure.

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 01:25:33PM +, Ian Campbell wrote: On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote: On Fri, Mar 14, 2014 at 10:33:47AM +, Ian Campbell wrote: +/* + * Size of malloc() pool + * 1MB = 0x10, 0x10 = 1024 * 1024 + */ +#define

Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: On 03/14/2014 02:50 PM, Hans de Goede wrote: Hi, On 03/14/2014 03:17 PM, Tom Rini wrote: On Fri, Mar 14,

Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 11:20 -0400, Tom Rini wrote: On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: On 03/14/2014 02:50 PM, Hans de Goede wrote: Hi, On

Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Mon, Mar 17, 2014 at 03:29:44PM +, Ian Campbell wrote: On Mon, 2014-03-17 at 11:20 -0400, Tom Rini wrote: On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: On

Re: [U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure.

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 11:04 -0400, Tom Rini wrote: On Sun, Mar 16, 2014 at 01:25:33PM +, Ian Campbell wrote: On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote: On Fri, Mar 14, 2014 at 10:33:47AM +, Ian Campbell wrote: +/* + * Size of malloc() pool + * 1MB = 0x10,

[U-Boot] Pull request: u-boot-spi/master

2014-03-17 Thread Jagannadha Sutradharudu Teki
Hi Tom, Please take this PR, few fixes. thanks! -- Jagan. The following changes since commit 194ba5d4ecb2ad1195333cc7453f291e5b316479: sh: ecovec: correct romImage address in comment (2014-03-14 14:50:28 +0900) are available in the git repository at: git://git.denx.de/u-boot-spi.git

Re: [U-Boot] ATMEL AT45DB041D spi flash and gplugd

2014-03-17 Thread Jagan Teki
Hi Yogi, On Tue, Feb 18, 2014 at 6:55 AM, yogi p yogi.p2...@gmail.com wrote: Hi Jagan, On Sun, Feb 16, 2014 at 10:08 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Yogi, On Sun, Feb 9, 2014 at 2:10 PM, Yogi P yogi.p2...@gmail.com wrote: Hello all, From following commit spi

Re: [U-Boot] [PATCH v1 3/9] sunxi: initial sun7i dram setup support

2014-03-17 Thread Stefan
Unfortunately the only documentation we have on the sun7i DRAM controller is Allwinner boot0 + boot1 code, and that code uses.. magic numbers shifts with no explanations. To avoid having to explain this over-and-over again, the code could include some comment(s) pointing out that these are

Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 03:19:40PM +, Ian Campbell wrote: On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: On 03/14/2014 02:50 PM, Hans de Goede wrote: Hi, On 03/14/2014 03:17 PM, Tom Rini wrote: On Fri, Mar 14, 2014 at 10:33:50AM +, Ian Campbell wrote: Based

Re: [U-Boot] Pull request: u-boot-spi/master

2014-03-17 Thread Tom Rini
On Mon, Mar 17, 2014 at 10:12:24PM +0530, Jagannadha Sutradharudu Teki wrote: Hi Tom, Please take this PR, few fixes. thanks! -- Jagan. The following changes since commit 194ba5d4ecb2ad1195333cc7453f291e5b316479: sh: ecovec: correct romImage address in comment (2014-03-14

Re: [U-Boot] [linux-sunxi] Re: [PATCH u-boot sunxi 4/4] sunxi: Add sun4i support

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 01:43 PM, Tom Rini wrote: On Sun, Mar 16, 2014 at 02:53:50PM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c| 2 +- arch/arm/cpu/armv7/sunxi/clock.c| 2 + arch/arm/cpu/armv7/sunxi/cpu_info.c |

[U-Boot] [PATCH u-boot sunxi 01/12] sunxi: Implement reset_cpu

2014-03-17 Thread Hans de Goede
There is no way to reset the cpu, so use the watchdog for this. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c| 7 +++ arch/arm/include/asm/arch-sunxi/timer.h | 4 2 files changed, 11 insertions(+) diff --git

[U-Boot] [PATCH u-boot sunxi 02/12] sunxi: FIXUP: sunxi: initial generic sun7i cpu, board and start of day support

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN7I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c

[U-Boot] [PATCH u-boot sunxi 00/12] sun4i (v2) + sun5i + pmic + emac support

2014-03-17 Thread Hans de Goede
Hi All, Here is my continued work on getting various additional sunxi bits ready for upstreaming on top of Ian's sun7i upstreaming work. As a basis I'm using Ian's v1 series, without GMAC as that is in a bit of flux and with various cleanups which were later added to the u-boot-sunxi repo

[U-Boot] [PATCH u-boot sunxi 04/12] sunxi: FIXUP: sunxi: initial sun7i dram setup support

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN?I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/dram.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH u-boot sunxi 03/12] sunxi: FIXUP: sunxi: initial sun7i clocks and timer support.

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN7I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/clock.c

[U-Boot] [PATCH u-boot sunxi 05/12] sunxi: Add sun4i support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 arm: Handle .gnu.hash section in ldscripts vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the new sun4i dram bits by: Berg Xing bergx...@allwinnertech.com Tom Cubie tangli...@allwinnertech.com Signed-off-by:

Re: [U-Boot] [PATCH v2 1/3] usb, dfu: extract flush code into seperate function

2014-03-17 Thread Marek Vasut
On Monday, March 17, 2014 at 11:56:16 AM, Heiko Schocher wrote: move the flushing code into an extra function dfu_flush(), so it can be used from other code. Signed-off-by: Heiko Schocher h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH u-boot sunxi 09/12] sunxi: Add axp152 pmic support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 arm: Handle .gnu.hash section in ldscripts vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the axp152.c file by: Stefan Roese s...@denx.de Simon theRat Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net

[U-Boot] [PATCH u-boot sunxi 10/12] sunxi: fast MBUS support on sun7i

2014-03-17 Thread Hans de Goede
From: Emilio López emi...@elopez.com.ar For qualifying hardware, we can run MBUS at 400MHz without risking stability if we raise the DCDC3 voltage to 1.3V . This is desirable since on A20 the MBUS is a significant bottle-neck for some workloads. This has been tested on 50 pieces of Cubieboard2

[U-Boot] [PATCH u-boot sunxi 12/12] sunxi: enable emac for sun4i and sun5i

2014-03-17 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 17 + boards.cfg | 4 ++-- include/configs/sunxi-common.h | 32 3 files changed, 51 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH u-boot sunxi 08/12] sunxi: Add axp209 pmic support

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom hen...@henriknordstrom.net Based linux-sunxi#sunxi commit d854c4de2f57 arm: Handle .gnu.hash section in ldscripts vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the axp209.c file by: Stefan Roese s...@denx.de Signed-off-by: Henrik

[U-Boot] [PATCH u-boot sunxi 07/12] sunxi: Add i2c support

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom hen...@henriknordstrom.net Based linux-sunxi#sunxi commit d854c4de2f57 arm: Handle .gnu.hash section in ldscripts vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the sunxi_i2c.c file by: Stefan Roese s...@denx.de Signed-off-by:

[U-Boot] [PATCH u-boot sunxi 06/12] sunxi: Add sun5i support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 arm: Handle .gnu.hash section in ldscripts vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the sun5i dram bits by: Berg Xing bergx...@allwinnertech.com Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik

[U-Boot] [PATCH u-boot sunxi 11/12] net: Rename and cleanup sunxi (Allwinner) emac driver

2014-03-17 Thread Hans de Goede
From: Stefan Roese s...@denx.de There have been 3 versions of the sunxi_emac support patch during its development. Somehow version 2 ended up in upstream u-boot where as the u-boot-sunxi git repo got version 3. This bumps the version in upstream u-boot to version 3 of the patch: - Initialize MII

[U-Boot] Please pull u-boot-x86.git branch sandbox

2014-03-17 Thread Simon Glass
Hi Tom, This collects up all the remaining sandbox changes to get the LCD/keyboard emulation running in U-Boot. Most of this was submitted for the last release but I had to hold back because the LCD was enabled by default - I think it is better to have it disabled by default as mentioned at the

Re: [U-Boot] [RFC PATCH 04/17] kconfig: add defconfig files for all boards

2014-03-17 Thread Stephen Warren
On 03/17/2014 02:52 AM, Masahiro Yamada wrote: In Kconfig, we use *_defconfig files for board configuration. In Linux Kernel, they are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel because ARCH is always given from the command line for cross compile. But in

Re: [U-Boot] Antw: Re: U-Boot doesn't silent the output

2014-03-17 Thread Simon Glass
Hi Frank, On 17 March 2014 01:17, Frank Ihle frank.i...@hs-offenburg.de wrote: The check is done in console_init_f(), the 'f' meaning before relocation, and thus before the environment is loaded and much before the boot command is run. You need to put silent=1 into your built-in environment