[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 CONFIG

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 > > CONFIG_BOOT_INTERNAL is not used anywhere, so let's remove it. > > Signed-off-by: Fabio Estevam > --- > include/configs/woodburn_sd.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/configs/woodburn_sd.h b/i

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

2014-03-17 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _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 --- tools/buildman/board.py | 2 +- tools/buildman/builder.py | 6 +

[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 --- include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h | 2 -- include/configs/MPC

[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 --- arch/sh/cpu/sh2/config.mk | 2 +- arch/sh/cpu/sh3/config.mk | 2 +- arch/sh/cpu/sh4/config.mk | 2 +- 3 files changed, 3 insertions(+), 3 del

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

2014-03-17 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _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 --- MAKEALL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

[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 arch/m68k/cpu/{m

[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 w

[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 w

[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 --- mkconfig | 192 --- 1 file changed, 192 deletions(-) delete mode 100755 mkconfig diff --git a/mkconfig b/mkconfig deleted file mode 100755 index cd911a9..0

[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 --- arch/sparc/cpu/leon2/config.mk | 2 +- arch/sparc/cpu/leon3/config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch

[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 defcon

[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 --- Kconfig | 9 + Makefile | 20 ++-- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/Kconfig b/Kconfig index 4e383d2..1bf488e 100644 --- a/Kconfig +++ b/Kconfi

[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: Masah

[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 cann

[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 --- arch/arc/config.mk | 2 +- arch/arm/config.mk | 2 +- arch/avr32/config.mk | 1 - arch/blackfin/config.mk | 1 - arch/m68k/config.mk | 2 +-

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

2014-03-17 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Fabio Estevam --- arch/arm/dts/Makefile |1 + arch/arm/dts/mx6qsabreauto.dts | 13 + include/configs/mx6qsabreauto.h |3 +++ 3 files changed, 17 insertions(+) create mode 100644 arch/arm/dts/mx6qsabreauto.dts diff --git a/arch/

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

2014-03-17 Thread Stefano Babic
Signed-off-by: Stefano Babic --- 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 --- a/Makefile ++

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 part_ef

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 you wrote: This patch adds support to generate UUID (Universally Unique Identifier) in version 4 based on RFC4122, which is randomly. Source: https://www.ietf.org/rfc/rfc4122.txt ... +#define UUID_BIN_LEN

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 you wrote: Changes: - randomly generate partition uuid if any is undefined - print info about set/unset/generated uuid - update doc/README.gpt ... + int ret = -1; char *e, *s; + char uuid_s

[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 CONFIG_SYS_FSL_ERR

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 s

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 t

[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. S

[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 Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Pantelis Antoniou --- - changes for v2 - add comment from Marek Vasut - move comment and "if" back to df

[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 > > --- > > drivers/usb/eth/

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 Signed-off-by: Jaehoon Chung Cc: Lukasz Majewski Cc: Piotr Wilczek Cc: Minkyu Kang --- Ch

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 http://lists.denx.de/ma

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 te

[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 Cc: York Sun --- board/freescale/t104xrdb/eth.c | 115

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 > --- > 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 | 129 > ++

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 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 \ > exynos5420-smdk5420.dtb

Re: [U-Boot] Relocation

2014-03-17 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message 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 back and read it in the > >archives. This has been discuss

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

[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 --- 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 450e38783056..2804d9

[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 --- 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 --- a/board/renesas/ecovec/ecovec.c +

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 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 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 understand your

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 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 w

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 cod

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 sa

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 > > > + */ > > > +#defin

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: > > >

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, >

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

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 > > > > +

[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 maste

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 wrote: > Hi Jagan, > > On Sun, Feb 16, 2014 at 10:08 PM, Jagan Teki > wrote: >> >> Hi Yogi, >> >> On Sun, Feb 9, 2014 at 2:10 PM, Yogi P wrote: >> > Hello all, >> > >> > From following commit spi write/erase times out on gplugd which uses >> > AT

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: > >

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-

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 >> --- >> 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 ++

[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 --- arch/arm/cpu/armv7/sunxi/board.c| 7 +++ arch/arm/include/asm/arch-sunxi/timer.h | 4 2 files changed, 11 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/

[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 --- 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 b/arch/arm/cpu/armv7/sunxi/board.c in

[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 squashe

[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 --- arch/arm/cpu/armv7/sunxi/dram.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/dram.c b/arch/arm/cp

[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 --- arch/arm/cpu/armv7/sunxi/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/clock.c b/arch/arm/cpu/armv7/sunxi/clock.c index 9cdcc8a..d

[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 Tom Cubie Signed-off-by: Henrik Nordstrom Signed-off-by: Stefan Roese Signed-of

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 > Cc: Lukasz Majewski > Cc: Kyungmin Park > Cc: Marek Vasut > Cc: Pantelis Antoniou [...] > @@

[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 Simon "theRat" Signed-off-by: Henrik Nordstrom Signed-off-by: Hans de Goede Signed-

[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 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 by Cubietech and no i

[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 --- 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 a/arch/arm/cpu/armv7/sunxi/bo

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

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom 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 Signed-off-by: Henrik Nordstrom Signed-off-by: Hans de Goed

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

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom 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 Signed-off-by: Henrik Nordstrom Signed-off-by: Oliver Sc

[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 Tom Cubie Signed-off-by: Henrik Nordstrom Signed-off-by: Stefan Roese Signed-off-by

[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 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 clock earlie

[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 ti

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

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 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 in the board confi

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

2014-03-17 Thread Heiko Schocher
Hello Marek, Am 18.03.2014 01:21, schrieb 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 Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vas

[U-Boot] _POST_WORD_ADDR for ARM

2014-03-17 Thread shobin b
Hi, How can we define _POST_WORD_ADDR for ARM.In case enabling post for arm on "post.h" how can i define _POST_WORD_ADDR. how it is defined in other platform.please tell me the logic behind _POST_WORD_ADDR. regards, shobin.b ___ U-Boot mailing lis

[U-Boot] [PATCH 1/2] fsl/diu: ch7301 encoder split off from t1040qds/diu.c

2014-03-17 Thread Dongsheng Wang
From: Wang Dongsheng The ch7301 encoder not only used in t1040qds platform, so we split it for t1042rdb and LSx platform. Signed-off-by: Wang Dongsheng diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile index f6a0879..cd4b33b 100644 --- a/board/freescale/common/Makef

[U-Boot] [PATCH 2/2] powerpc/t1042RDB: Add Video - HDMI support

2014-03-17 Thread Dongsheng Wang
From: Jason Jin T1042 has internal display interface unit (DIU) for driving video. T1042RDB supports video mode via -LCD using TI enconder -HDMI type interface via HDMI encoder Chrontel, CH7301C encoder which is I2C programmable is used as HDMI connector on T1042RDB. This patch add support to

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

2014-03-17 Thread Lukasz Majewski
Hi Marek, > 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 > > Cc: Lukasz Majewski > > Cc: Kyungmin Park > > Cc: Marek Vasut > > Cc: Pan

Re: [U-Boot] [PATCH] fpga: zynqpl: Fixed bug in alignment routine

2014-03-17 Thread S Durga Prasad Paladugu
Hi Eli, On Sun, Mar 16, 2014 at 2:10 AM, Eli Billauer wrote: > The aligned buffer is always with a higher address, so copying should run > from the end of the buffer to the beginning, and not the other way around. > > Signed-off-by: Eli Billauer > --- > drivers/fpga/zynqpl.c |5 +++-- > 1

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

2014-03-17 Thread Lukasz Majewski
Hi Heiko, > Hello Marek, > > Am 18.03.2014 01:21, schrieb 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 > >> Cc: Lukas