Re: [U-Boot] [PATCH 3/3] ARM: kwimage: fix v0 format

2014-10-30 Thread Stefan Roese
On 31.10.2014 01:03, Gerald Kerma wrote: This patch fix the kwimage tools for version 0 fileformat used for kirkwood Tested on sheevaplug Signed-off-by: Gerald Kerma I tested this on AXP (version 1 instead of version 0) and found no problems here. So: Tested-by: Stefan Roese Reviewed-by:

Re: [U-Boot] [BUG] kwimage v0 broken

2014-10-30 Thread Stefan Roese
Hi Gerald! On 31.10.2014 01:06, drEagle wrote: I have compared the latest kwimage and the oldest one. I have found some minor differences that make my sheevaplugs flashing and u-booting again. Thanks for your effort here. Really appreciated! And sorry for breaking things for you. Thanks,

[U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-30 Thread Kevin Du Huanpeng
Hi, all, I find this macro is found anywhere in the source, nearly one thousand in the source, looks odd sometime. I have a idea about this: 1. remove DECLARE_GLOBAL_DATA_PTR from source about one thousand DECLARE_GLOBAL_DATA_PTR in the source 2. add a file like, same as other archs. arch/arm

Re: [U-Boot] verified boot of beaglebone black

2014-10-30 Thread Srinivasan S
Hi Simon Once again thanks a lot for your confirmation As you suggested, I have downloaded u-boot-2014.07.tar.bz2 & when I was trying to build the same , I was facing the below errors srinivasan@tata-HP-Elite-7100-Microtower-PC:~/TUNSTALL

Re: [U-Boot] verified boot of beaglebone black

2014-10-30 Thread Srinivasan S
Thanks a lot for your replies Simon, 1. Could you please confirm whether the beaglebone black support exists in that U-Boot 2014.07 & can I use linux-3.12.10-ti2013.12.01 kernel (provided by ti-sdk-am335x-evm-07.00.00.00 )on top of this U-Boot 2014.07 2. Could you please provide me the link

Re: [U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-30 Thread Simon Glass
Hi Suriyan, On 28 October 2014 17:00, Suriyan Ramasami wrote: > The commands fatls/ext4ls give negative values when dealing with files > greater than 2GB. > The commands fatsize/ext4size do not update the variable filesize for > these files. > > To deal with this, the fs functions have been modif

Re: [U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-30 Thread Heiko Schocher
Hello Scott, Am 01.11.2014 07:08, schrieb Scott Jiang: something is wrong with your clock ... patch is not yet in patchwork ... This driver is not only used on blackfin. So it's better to rename it and access i2c registers by standard io functions. Fix coding style as well. Signed-off-by: Sco

[U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-30 Thread Scott Jiang
This driver is not only used on blackfin. So it's better to rename it and access i2c registers by standard io functions. Fix coding style as well. Signed-off-by: Scott Jiang --- drivers/i2c/Makefile |2 +- drivers/i2c/{bfin-twi_i2c.c => adi_i2c.c} | 154 +++-

[U-Boot] [PATCH] arm: ls102xa: Update PCIe dts node status

2014-10-30 Thread Minghuan Lian
The patch changes PCIe dts node status to 'disabled' if the corresponding controller is disabled according to serdes protocol. Signed-off-by: Minghuan Lian --- arch/arm/include/asm/arch-ls102xa/config.h | 3 ++ arch/arm/include/asm/pcie_layerscape.h | 13 board/freescale/ls1021aqds

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Wolfgang Denk
Dear Bo Shen, In message <5452ead4.7080...@atmel.com> you wrote: > > I am thinking, whether it be better to keep this file as two copy? This > will remove #ifdef, although a little code duplication. I agree that we should try and minimize #ifdef's, but code duplication is even worse. Best reg

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Heiko Schocher
Hello Bo, Am 31.10.2014 02:50, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c index 674a470..5c9a3ad 100644 --- a/arch/arm/cpu/at91-common/spl.c +++ b/arch/arm/cpu/at91-common/spl.c I am th

Re: [U-Boot] [v2 PATCH 03/12] arm, at91, mpddrc: fix typo in ddr2_init()

2014-10-30 Thread Heiko Schocher
Hello Bo, Am 31.10.2014 02:55, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:14 PM, Heiko Schocher wrote: use the configure value for computing the ba_off value not the value from the cr register. This leaded in a wrong ram configuration on the upcoming corvus spl board support. Signed-off-by:

[U-Boot] [PATCH 0/2] Follow-up patches for commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs)

2014-10-30 Thread Masahiro Yamada
Masahiro Yamada (2): kconfig: arm: select CPU_V7 for some new boards kconfig: arm: move "armv8" define to arch/arm/Kconfig arch/arm/Kconfig| 5 +++-- arch/arm/cpu/armv7/tegra-common/Kconfig | 4 arch/arm/cpu/armv8/Kconfig | 6 -- board/Marvell/

[U-Boot] [PATCH 1/2] kconfig: arm: select CPU_V7 for some new boards

2014-10-30 Thread Masahiro Yamada
Marvell DB-MV784MP-GP and maxBCM are pretty new boards and were missed by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs). This commit adds "select CPU_V7" for them and remove redundant "config SYS_CPU" and "string" directives. Signed-off-by: Masahiro Yamada Cc: Savoundararadj

[U-Boot] [PATCH 2/2] kconfig: arm: move "armv8" define to arch/arm/Kconfig

2014-10-30 Thread Masahiro Yamada
Commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs) collected the default values of CONFIG_SYS_CPU into arch/arm/Kconfig. This commit moves "armv8" to there for consistency. Signed-off-by: Masahiro Yamada Cc: Savoundararadj --- arch/arm/Kconfig | 3 +-- arch/arm/cpu/ar

[U-Boot] [PATCH] powerpc/t208xqds: VID support

2014-10-30 Thread ying.zhang
From: Ying Zhang The fuse status register provides the values from on-chip voltage ID efuses programmed at the factory. These values define the voltage requirements for the chip. u-boot reads FUSESR and translates the values into the appropriate commands to set the voltage output value of an exte

Re: [U-Boot] [PATCH 3/3] ARM: kwimage: fix v0 format

2014-10-30 Thread Prafulla Wadaskar
> -Original Message- > From: Gerald Kerma [mailto:drea...@doukki.net] > Sent: 31 October 2014 05:33 > To: u-boot@lists.denx.de; Prafulla Wadaskar; s...@denx.de > Cc: albert.u.b...@aribaud.net; l...@openwrt.org; Gerald > Kerma > Subject: [PATCH 3/3] ARM: kwimage: fix v0 format > > This pa

Re: [U-Boot] verified boot of beaglebone black

2014-10-30 Thread Simon Glass
Hi, On 30 Oct 2014 21:50, "Srinivasan S" wrote: > > Thanks a lot for your replies Simon, > > 1. Could you please confirm whether the beaglebone black support exists in that U-Boot 2014.07 & can I use linux-3.12.10-ti2013.12.01 kernel (provided by ti-sdk-am335x-evm-07.00.00.00 )on top of this U

[U-Boot] [PATCH] imx:mx6sxsabresd fix pfuz probe failed

2014-10-30 Thread Peng Fan
The PFUZ probe failed with the following msg: " wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0x8 retry=0 wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0x8 retry=1 wait_for_sr_state: failed sr=81 cr=a0 state=2020

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-30 Thread Simon Glass
Hi Ian, On 30 October 2014 04:14, Ian Campbell wrote: > On Thu, 2014-10-30 at 10:36 +0100, Hans de Goede wrote: >> Hi, >> >> On 10/30/2014 10:08 AM, Ian Campbell wrote: >> > On Wed, 2014-10-29 at 13:28 -0600, Simon Glass wrote: >> >>> In the meantime could we somehow replace/augment the #ifdef ch

Re: [U-Boot] [PATCH 02/10] Add some standard headers external code might need

2014-10-30 Thread Simon Glass
Hi Masahiro, On 30 October 2014 01:53, Masahiro Yamada wrote: > Hi Simon, > > > > On Wed, 29 Oct 2014 19:43:26 -0600 > Simon Glass wrote: > >> Hi Masahiro, >> >> On 29 October 2014 08:06, Masahiro YAMADA wrote: >> > Hi Simon, >> > >> > 2014-10-29 3:24 GMT+09:00 Simon Glass : >> >> Hi, >> >> >>

[U-Boot] [PATCH v3 5/6] dm: sunxi: Modify the GPIO driver to support driver model

2014-10-30 Thread Simon Glass
This adds driver model support to the sunxi GPIO driver, using the device tree to trigger binding of the driver. The driver will still operate without driver model too. Signed-off-by: Simon Glass --- Changes in v3: - Put enabling of DM GPIO into sunxi-common.h Changes in v2: - Remove references

[U-Boot] [PATCH v3 2/6] dm: sunxi: Add a new config for an FDT-based pcDuino3

2014-10-30 Thread Simon Glass
For now we won't want to mess with the existing configurations. Create a new one which will enable device tree and driver model. Note that this brings the device tree binary into u-boot-sunxi-with-spl.bin. Signed-off-by: Simon Glass --- Changes in v3: - Move enabling of 'dm' command to sunxi-com

[U-Boot] [PATCH v3 6/6] dm: sunxi: Add support for serial using driver model

2014-10-30 Thread Simon Glass
Add a driver for the designware serial UART used on sunxi. This just redirects to the normal ns16550 driver. Add a stdout-path to the device tree so that the correct UART is chosen. Signed-off-by: Simon Glass --- Changes in v3: - Rebase to master - Move DM enable options to sunxi-common Change

[U-Boot] [PATCH v3 1/6] dm: sunxi: dts: Add sun7i device tree files

2014-10-30 Thread Simon Glass
These are from Linux 3.17-rc7 (commit fe82dcec). U-Boot only uses a small portion of these, but we may as well have something to look forward to. The total compiled size is about 25KB. Acked-by: Hans de Goede Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/dts

[U-Boot] [PATCH v3 3/6] dm: sunxi: Add pinmux functions which take a bank parameter

2014-10-30 Thread Simon Glass
With driver model we will have access to a bank pointer, so we want to use it rather than converting back to a number, and then back to a bank pointer. Add functions to provide this feature. Signed-off-by: Simon Glass Acked-by: Hans de Goede --- Changes in v3: None Changes in v2: None arch/ar

[U-Boot] [PATCH v3 4/6] dm: sunxi: Make sure that GPIOs are requested

2014-10-30 Thread Simon Glass
The scsi_init() function uses a GPIO so should request it. There is no way to return an error here, and the request may be made multiple times, so just ignore errors for now. Signed-off-by: Simon Glass Acked-by: Hans de Goede --- Changes in v3: None Changes in v2: None board/sunxi/ahci.c | 1

[U-Boot] [PATCH v3 0/6] dm: Introduce driver model for sunxi

2014-10-30 Thread Simon Glass
This series adds driver model support for serial and GPIO for sunxi. Since I only have a sun7i board to test with, I have added a new config for the pcDuino3, which uses device tree and driver model. This should make it fairly easy to enable for the other boards at some point. This series is avail

[U-Boot] [PATCH v2] kbuild: do not hide clang warnings during build with W=1

2014-10-30 Thread Masahiro Yamada
These lines originate in Linux; it looks like Linux folks chose to hide bunch of warnings reported by clang rather than fixing C code. In U-boot, warnings are being fixed thanks to Jeroen's great efforts. Let's stop suppressing clang warnings. Signed-off-by: Masahiro Yamada Cc: Jeroen Hofstee

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Bo Shen
Hi Heiko, On 10/30/2014 07:41 PM, Heiko Schocher wrote: Hello Bo, Am 30.10.2014 11:17, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h index 27331ff..5f64583 100644 ---

Re: [U-Boot] [v2 PATCH 03/12] arm, at91, mpddrc: fix typo in ddr2_init()

2014-10-30 Thread Bo Shen
Hi Heiko, On 10/30/2014 04:14 PM, Heiko Schocher wrote: use the configure value for computing the ba_off value not the value from the cr register. This leaded in a wrong ram configuration on the upcoming corvus spl board support. Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann --

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Bo Shen
Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c index 674a470..5c9a3ad 100644 --- a/arch/arm/cpu/at91-common/spl.c +++ b/arch/arm/cpu/at91-common/spl.c I am thinking, whether it be better to keep this file as

Re: [U-Boot] [PATCH v4] powerpc/mpc85xx: modify erratum A007186

2014-10-30 Thread qiang.z...@freescale.com
Got it! Best Regards Zhao Qiang > -Original Message- > From: Sun York-R58495 > Sent: Friday, October 31, 2014 12:16 AM > To: Zhao Qiang-B45475; u-boot@lists.denx.de > Cc: Xie Xiaobo-R63061 > Subject: Re: [PATCH v4] powerpc/mpc85xx: modify erratum A007186 > > On 10/29/2014 11:07 PM, Zhao

Re: [U-Boot] [PATCH v4 05/29] dm: spi: Add a uclass for SPI

2014-10-30 Thread Simon Glass
Hi Stefan, On 29 October 2014 22:38, Stefan Roese wrote: > Hi Simon, > > On 30.10.2014 02:43, Simon Glass wrote: >>> >>> In my case I'm implementing the Designware master SPI driver for the >>> SoCFPGA. And since its a new driver it really makes sense to use DM >>> directly. I'm starting to get a

Re: [U-Boot] [BUG] kwimage v0 broken

2014-10-30 Thread drEagle
On 30/10/2014 20:46, Prafulla Wadaskar wrote: Hi all, I have compared the latest kwimage and the oldest one. I have found some minor differences that make my sheevaplugs flashing and u-booting again. >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot- >> boun...

[U-Boot] [PATCH 3/3] ARM: kwimage: fix v0 format

2014-10-30 Thread Gerald Kerma
This patch fix the kwimage tools for version 0 fileformat used for kirkwood Tested on sheevaplug Signed-off-by: Gerald Kerma --- tools/kwbimage.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 1120e9b..7e2fb5e 100644 --- a

[U-Boot] Pull request: u-boot-staging

2014-10-30 Thread Anatolij Gustschin
Hey Tom, The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-staging.git ag...@denx.de for you to fetch changes up to 548b310c6

Re: [U-Boot] [PATCH] Remove the CREDITS file

2014-10-30 Thread Anatolij Gustschin
On Thu, 30 Oct 2014 15:50:15 +0900 Masahiro Yamada wrote: > This file is not maintained these days. > > We use MAINTAINERS for the maintainership of the supported boards. > For dead boards, we have some clues in doc/README.scrapyard and > also imperishable history in git-log. > > Signed-off-by:

Re: [U-Boot] [PATCH] novena: Add MAINTAINERS file

2014-10-30 Thread Anatolij Gustschin
On Thu, 30 Oct 2014 18:46:37 -0200 Fabio Estevam wrote: > From: Fabio Estevam > > Commit f91c09acf5c58c ("ARM: mx6: Add support for Kosagi Novena") missed to > add a MAINTAINERS file, so add Marek as the maintainer. > > Signed-off-by: Fabio Estevam > --- > board/kosagi/novena/MAINTAINERS | 6

Re: [U-Boot] [PATCH] ppc/arm: remove remainders of dead boards in Kconfig

2014-10-30 Thread Anatolij Gustschin
On Thu, 30 Oct 2014 18:29:15 +0900 Masahiro Yamada wrote: > Commit d58a9451e733 (ppc/arm: zap EMK boards) removed > TOP* boards support but missed to remove entries in Kconfig. > > Signed-off-by: Masahiro Yamada > Cc: Wolfgang Denk > --- > > arch/arm/Kconfig | 4 > arch/

Re: [U-Boot] [PATCH] Remove unused files

2014-10-30 Thread Anatolij Gustschin
On Thu, 30 Oct 2014 18:28:01 +0900 Masahiro Yamada wrote: > [1] arch/arm/include/asm/arch-at91/at91_shdwn.h > The top9000 was the last board to use this header file. > It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards). > > [2] board/matrix_vision/common/* > Some Matrix Vision bo

Re: [U-Boot] [PATCH v2] twl4030: VMMC2 3.2V enable on MMC init

2014-10-30 Thread Anatolij Gustschin
On Tue, 28 Oct 2014 18:14:23 +0100 Paul Kocialkowski wrote: > This enables the VMMC2 LDO, which powers the MMC2 device. > When the device starts from MMC2, this has already been enabled by the > BootROM, > but when starting from peripheral boot (USB, UART), it is not the case. > > Signed-off-by

Re: [U-Boot] [PATCH 2/2] tools/kwbimage.c: fix build on darwin

2014-10-30 Thread Anatolij Gustschin
On Thu, 30 Oct 2014 23:11:03 +0100 Anatolij Gustschin wrote: > On Fri, 24 Oct 2014 23:39:11 +0200 > andreas.de...@googlemail.com wrote: > > > From: Andreas Bießmann > > > > kwbimage uses get_current_dir_name(3) which is a gnu extension and not > > available on darwin host. Fix this by converti

Re: [U-Boot] [v2 PATCH 09/12] spl, mtd, nand, atmel_nand: invert device ready pin logic

2014-10-30 Thread Scott Wood
On Thu, 2014-10-30 at 09:15 +0100, Heiko Schocher wrote: > device ready pin is signalling that the device is ready on state 1 > not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c > > Signed-off-by: Heiko Schocher > Reviewed-by: Andreas Bießmann > > --- > > Changes in v2: > add

Re: [U-Boot] [v2 PATCH 08/12] spl, nand, atmel_nand: add erase one block function

2014-10-30 Thread Scott Wood
On Thu, 2014-10-30 at 09:15 +0100, Heiko Schocher wrote: > erase one nand block in spl code. keep it simple, as size matters > This is used on the upcoming taurus spl support. > > Signed-off-by: Heiko Schocher > > --- > > Changes in v2: > add comment from scott wood: > - move nand_erase_one int

Re: [U-Boot] [PATCH v2] tools/kwbimage: Fix compilation warning

2014-10-30 Thread Anatolij Gustschin
On Tue, 28 Oct 2014 11:32:24 +0100 Stefan Roese wrote: > This patch fixes a compilation warning of kwbimage.c: > > tools/kwbimage.c: In function ‘kwbimage_set_header’: > tools/kwbimage.c:784:8: warning: ‘headersz’ may be used uninitialized in this > function [-Wmaybe-uninitialized] > memcpy(p

Re: [U-Boot] [PATCH 2/2] tools/kwbimage.c: fix build on darwin

2014-10-30 Thread Anatolij Gustschin
On Fri, 24 Oct 2014 23:39:11 +0200 andreas.de...@googlemail.com wrote: > From: Andreas Bießmann > > kwbimage uses get_current_dir_name(3) which is a gnu extension and not > available on darwin host. Fix this by converting to portable getcwd(3) > function. > > This patch fixes the following erro

Re: [U-Boot] [PATCH v2 3/3] video: speedup writing strings to fb console

2014-10-30 Thread Anatolij Gustschin
On Fri, 24 Oct 2014 16:33:30 +0200 Soeren Moch wrote: > With enabled framebuffer console the printenv command can take several > seconds to complete. This patch temporarily disables cache flush when > writing strings to fb console. Then there is no noticable delay anymore. > > Tested with imx6 h

Re: [U-Boot] [PATCH] novena: Add MAINTAINERS file

2014-10-30 Thread Marek Vasut
On Thursday, October 30, 2014 at 09:46:37 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Commit f91c09acf5c58c ("ARM: mx6: Add support for Kosagi Novena") missed to > add a MAINTAINERS file, so add Marek as the maintainer. > > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Thanks! B

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-30 Thread Marek Vasut
On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: > On 30 October 2014 15:00, Marek Vasut wrote: > > Add example config file entry for the Altera SPI controller. This SPI > > controller can also, under special conditions, be used to operate the > > EPCS/EPCQ SPI NOR. > > > > Signed-

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-30 Thread Marek Vasut
On Thursday, October 30, 2014 at 12:22:57 PM, Pavel Machek wrote: > On Thu 2014-10-30 10:30:25, Marek Vasut wrote: > > Add example config file entry for the Altera SPI controller. This SPI > > controller can also, under special conditions, be used to operate the > > EPCS/EPCQ SPI NOR. > > > > Sign

Re: [U-Boot] buildman: using wrong libgcc.a

2014-10-30 Thread Jeroen Hofstee
Hello Steve, On 30-10-14 21:42, Steve Rae wrote: H -- maybe it would be better to specify the entire path for the CROSS_COMPILE, and not rely on the PATH to find the cross compile tools: diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index 27dc318..58c7b1f 100644 --

[U-Boot] [PATCH] novena: Add MAINTAINERS file

2014-10-30 Thread Fabio Estevam
From: Fabio Estevam Commit f91c09acf5c58c ("ARM: mx6: Add support for Kosagi Novena") missed to add a MAINTAINERS file, so add Marek as the maintainer. Signed-off-by: Fabio Estevam --- board/kosagi/novena/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/kosagi/

Re: [U-Boot] buildman: using wrong libgcc.a

2014-10-30 Thread Steve Rae
H -- maybe it would be better to specify the entire path for the CROSS_COMPILE, and not rely on the PATH to find the cross compile tools: diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index 27dc318..58c7b1f 100644 --- a/tools/buildman/toolchain.py +++ b/tools/buildma

Re: [U-Boot] [BUG] kwimage v0 broken

2014-10-30 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of drEagle > Sent: 30 October 2014 20:15 > To: Stefan Roese; Luka Perkov > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [BUG] kwimage v0 broken > > On 27/10/2014 08:18, Stefan

[U-Boot] [PATCH v4] zynq: Use GPLed files for SPL

2014-10-30 Thread Soren Brinkmann
The latest Xilinx tools generate ps7_init files that are explicitly available under GPL. Change the makefile to allow drop in of those files for building the SPL. Signed-off-by: Soren Brinkmann Acked-by: Jagannadha Sutradharudu Teki Reviewed-and-tested-by: Masahiro Yamada --- v4: - add ps7_ini

Re: [U-Boot] [U-boot] [Patch v2] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-30 Thread Stefan Roese
On 30.10.2014 17:59, Ivan Khoronzhuk wrote: From: Hao Zhang As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to restart autonegotiation. Signed-off-by: Hao Zhang

[U-Boot] [U-boot] [Patch v2] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-30 Thread Ivan Khoronzhuk
From: Hao Zhang As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to restart autonegotiation. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- v2..v1

Re: [U-Boot] [PATCH] arm: fix a typo of instruction operand

2014-10-30 Thread Albert ARIBAUD
Hello Jethro, On Thu, 30 Oct 2014 19:27:41 +0800, Jethro Hsu wrote: > From 79344f479bad75b47477dcc9768e564e02f72f59 Mon Sep 17 00:00:00 2001 > From: Jethro Hsu > Date: Thu, 30 Oct 2014 17:26:00 +0800 > Subject: [PATCH] arm: fix a typo of instruction operand > > To fix compile error caused by in

[U-Boot] buildman: using wrong libgcc.a

2014-10-30 Thread Steve Rae
Hi Simon, In my environment, buildman and MAKEALL are not producing the same results. It seems that buildman is accidentally picking up the wrong libgcc.a ... *** buildman *** $ cat ~/.buildman [toolchain] eldk: /opt/eldk-5.4/armv7a/sysroots/i686-eldk-linux/usr/bin/armv7a-vfp-neon-linux-gnue

Re: [U-Boot] [PATCH v4] powerpc/mpc85xx: modify erratum A007186

2014-10-30 Thread York Sun
On 10/29/2014 11:07 PM, Zhao Qiang wrote: > T2080 v1.0 has this errata while v1.1 has fixed > this errata by hardware, add a new function has_errata_a007186 > to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first, > if the sil has errata a007186, then run the errata code, > if not, doesn't run the co

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params.

2014-10-30 Thread Ian Campbell
On Thu, 2014-10-30 at 16:21 +0100, Wolfgang Denk wrote: > Dear Ian, > > In message <1414677435.2064.34.ca...@hellion.org.uk> you wrote: > > It seems there is some inconsistency wrt number base between commands > > which set $filesize in the env and the commands which might consume > > them. > > T

Re: [U-Boot] [PATCH] omap_hsmmc: Allow for board-specific MMC power init

2014-10-30 Thread Pantelis Antoniou
Hi Paul, > On Oct 28, 2014, at 19:25 , Paul Kocialkowski wrote: > > Some devices may use non-standard combinations of regulators to power MMC: > this allows these devices to provide a board-specific MMC power init function > to set everything up in their own way. > > Signed-off-by: Paul Kocialk

Re: [U-Boot] [PATCH v2] twl4030: VMMC2 3.2V enable on MMC init

2014-10-30 Thread Pantelis Antoniou
Hi Paul, > On Oct 28, 2014, at 19:14 , Paul Kocialkowski wrote: > > This enables the VMMC2 LDO, which powers the MMC2 device. > When the device starts from MMC2, this has already been enabled by the > BootROM, > but when starting from peripheral boot (USB, UART), it is not the case. > > Signed

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params.

2014-10-30 Thread Wolfgang Denk
Dear Ian, In message <1414677435.2064.34.ca...@hellion.org.uk> you wrote: > It seems there is some inconsistency wrt number base between commands > which set $filesize in the env and the commands which might consume > them. That would be bugs, then. > > sun7i# load scsi 0 $fdt_a

Re: [U-Boot] Need FTP client support in U-Boot

2014-10-30 Thread Wolfgang Denk
Dear Madhukar, In message you wrote: > > Authentication mechanism support available in U-boot, What is that and how( > any Doc's or Links) ? See for example doc/uImage.FIT/verified-boot.txt Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel

Re: [U-Boot] verified boot of beaglebone black

2014-10-30 Thread Simon Glass
Hi, On 30 October 2014 01:15, Srinivasan S wrote: > Hi Simon, > > Extremely Sorry to push you Hard, Could you please provide any updates w.r.t > the below issue I think you missed my reply, am removing context... > Please use the latest mainline, or at least U-Boot 2014.07. That board does not

Re: [U-Boot] [BUG] kwimage v0 broken

2014-10-30 Thread drEagle
On 27/10/2014 08:18, Stefan Roese wrote: > Hi! > > On 25.10.2014 07:59, drEagle wrote: >> With the latest u-boot mainline from denx git, the kirkwood image old >> version/format are broken; >> Sheevaplug u-boot.kwb is no more flahsable and brick the plug. >> >> Using an older mkimage version stil

Re: [U-Boot] [PATCH v3 0/2] arm: marvell: sheevaplug: add FDT and fixes MTDPARTS

2014-10-30 Thread drEagle
Hi Prafulla, Can anyone review these patches ? Regards, On 25/10/2014 07:54, Gerald Kerma wrote: > These series of patch : > - fixes ENV and MTDPARTS for sheevaplug > - add FDT support for sheevaplug > - add the possibility to use a bootstrap from nand (bootscript) > > Gerald Kerma (2): >

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-30 Thread Jagan Teki
On 30 October 2014 15:00, Marek Vasut wrote: > Add example config file entry for the Altera SPI controller. This SPI > controller can also, under special conditions, be used to operate the > EPCS/EPCQ SPI NOR. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bri

Re: [U-Boot] [PATCH] arm: mxs: Define bootscript env variable on m28evk

2014-10-30 Thread Stefano Babic
On 12/10/2014 00:00, Marek Vasut wrote: > The patch below failed to define the variable, so define it > to make it consistent with M53EVK. > > commit a428ac914b2b6db851c1feac98622f2d9844db45 > Author: Lothar Rubusch > Date: Thu Jun 26 11:01:29 2014 +0200 > > ARM: m28evk: Update default env

Re: [U-Boot] [PATCH v2 0/6] Addition of new board Peach-Pi

2014-10-30 Thread Akshay Saraswat
Hi Simon, Apologies for the delay in reply. I was out of office. >Hi Akshay, > > >On 17 October 2014 11:52, Simon Glass wrote: >> >> Hi Akshay, >> >> On 15 October 2014 18:38, Akshay Saraswat wrote: >> > Now we are adding a new Peach-Pi board which is a variant of Peach-Pit >> > and is based on E

[U-Boot] [PATCH] arm: fix a typo of instruction operand

2014-10-30 Thread Jethro Hsu
>From 79344f479bad75b47477dcc9768e564e02f72f59 Mon Sep 17 00:00:00 2001 From: Jethro Hsu Date: Thu, 30 Oct 2014 17:26:00 +0800 Subject: [PATCH] arm: fix a typo of instruction operand To fix compile error caused by incorrect data format, add "0x" to specify the operand value in hex mode. error me

[U-Boot] Inconsistency between $filesize and commands which accept numeric params.

2014-10-30 Thread Ian Campbell
It seems there is some inconsistency wrt number base between commands which set $filesize in the env and the commands which might consume them. e.g. sun7i# load scsi 0 $fdt_addr_r dtbs/$fdtfile 21639 bytes read in 191 ms (110.4 KiB/s) sun7i# printenv filesize

Re: [U-Boot] [PATCH 3/3] odroid: adjust gpio calls to dm gpio api

2014-10-30 Thread Minkyu Kang
On 29/10/14 01:31, Przemyslaw Marczak wrote: > Setting gpio value before dm gpio init has no effect, > so now, odroid gpio settings are moved after the gpio uclass init. > > Using non-requested gpio pin cases printing error messages. > To avoid this, gpio_request() is added for those gpios. > > S

Re: [U-Boot] [PATCH 1/3] exynos4/4x12: cpu: add extra gpio base addresses

2014-10-30 Thread Minkyu Kang
On 29/10/14 01:31, Przemyslaw Marczak wrote: > After remove the offsets in Exynos4/4x12 gpio enums, > an additional gpio base addresses are required. > > Signed-off-by: Przemyslaw Marczak > --- > arch/arm/include/asm/arch-exynos/cpu.h | 9 + > 1 file changed, 9 insertions(+) > applied

Re: [U-Boot] [PATCH 2/3] exynos4/4x12: gpio: use gpio extra base addresses

2014-10-30 Thread Minkyu Kang
On 29/10/14 01:31, Przemyslaw Marczak wrote: > This patch adds extra gpio part addresses to exynos4 > and exynos4x12_gpio_data arrays, which are required > since the gpio enum lists are linear > > Signed-off-by: Przemyslaw Marczak > --- > arch/arm/include/asm/arch-exynos/gpio.h | 59 > +

Re: [U-Boot] [PATCH v2 2/2] exynos5: Use config_distro_bootcmd.h

2014-10-30 Thread Minkyu Kang
On 16/10/14 22:44, Ian Campbell wrote: > From: Ian Campbell > > This replaces the existing CONFIG_BOOTCOMMAND for exynos5250 and 5420. > > exynos4 platforms seem to have existing complex extra env configuration for > booting and so are excluded here. Hence the bootcmd.h is added to > exynos5-com

Re: [U-Boot] [PATCH v2 1/2] exynos: Enable config_distro_defaults.h

2014-10-30 Thread Minkyu Kang
On 16/10/14 22:44, Ian Campbell wrote: > From: Ian Campbell > > ...and remove explicit setting of things which this implies. This is done for > all exynos platforms (4 & 5) so it is added to exynos-common.h > > I'm mainly interested in CONFIG_CMD_BOOTZ and CONFIG_SUPPORT_RAW_INITRD > > I have b

[U-Boot] [PATCH v3] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-30 Thread Soeren Moch
Add initial support for TBS2910 Matrix ARM miniPC. Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: Fabio Estevam Changes in v2: - board_phy_config() removed, not needed - VESA compliant HDMI video timing - setup_displa

Re: [U-Boot] Need FTP client support in U-Boot

2014-10-30 Thread Mythri, Madhukar (Artesyn)
Hi Wolfgang, >> If not, we are looking for any "Authenticated" file transfer over >> network in existing U_boot. >This probably makes more sense - especially, as it's already supported in >mainline U-Boot - assuming you have good ways to manage your keys on your >device. Authentication mechani

Re: [U-Boot] [PATCH v2 2/3] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-30 Thread Fabio Estevam
Hi Soeren, On Fri, Oct 24, 2014 at 12:33 PM, Soeren Moch wrote: > Add initial support for TBS2910 Matrix ARM miniPC. > Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > > Changes in v2: > - board_phy_config() remove

Re: [U-Boot] [PATCH v3 0/3] spi, sf: add mtdparts feature to spi and sf commands

2014-10-30 Thread Heiko Schocher
Hello Jagan, Am 09.10.2014 12:38, schrieb Jagan Teki: On 8 October 2014 11:01, Heiko Schocher wrote: Hello Jagannadha Sutradharudu Teki, Am 05.09.2014 07:38, schrieb Heiko Schocher: This patchserie add the popssibility to define mtd partitions on spi nor flash, and use this settings with th

Re: [U-Boot] u-boot 1.1.6 binary file

2014-10-30 Thread Wolfgang Denk
Dear Roar, In message you wrote: > > I have a MPC8641 board which have corrupt flash and I have to restore > the bootloader on the card. What is the exact board name - who is the vendor? I'm asking because you really have to make sure that you are running unmodified mainline U-Boot on that bo

Re: [U-Boot] [PATCH] Remove unused files

2014-10-30 Thread Wolfgang Denk
Dear Masahiro Yamada, In message <1414661281-4633-1-git-send-email-yamad...@jp.panasonic.com> you wrote: > [1] arch/arm/include/asm/arch-at91/at91_shdwn.h > The top9000 was the last board to use this header file. > It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards). Mea culpa. So

Re: [U-Boot] Need FTP client support in U-Boot

2014-10-30 Thread Wolfgang Denk
Dear Madhu, In message <8f2265d4f62b409f83f6bdd21953d...@sg2pr01mb0394.apcprd01.prod.exchangelabs.com> you wrote: > > Our motivation is to boot the OS over the network using FTP ( > because it is going to be more secure with login/passwd credentials, > before file-transfer), instead of TFTP. He

Re: [U-Boot] [PATCH] Remove the CREDITS file

2014-10-30 Thread Wolfgang Denk
Dear Masahiro Yamada, In message <1414651815-23671-1-git-send-email-yamad...@jp.panasonic.com> you wrote: > This file is not maintained these days. > > We use MAINTAINERS for the maintainership of the supported boards. > For dead boards, we have some clues in doc/README.scrapyard and > also impe

[U-Boot] [PATCH v2] arm, imx, spi: detect spi flash again on aristainetos board

2014-10-30 Thread Heiko Schocher
155fa9af95a "spi: mxc: fix sf probe when using mxc_spi" break spi flash detection on the aristainetos board. Fix this. Signed-off-by: Heiko Schocher --- Changes in v2: - fix bus number board/aristainetos/aristainetos.c | 6 ++ include/configs/aristainetos.h| 2 +- 2 files changed, 7 i

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Heiko Schocher
Hello Bo, Am 30.10.2014 11:17, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h index 27331ff..5f64583 100644 --- a/arch/arm/include/asm/arch-at91/at91_pmc.h +++ b/arch/a

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-30 Thread Stefan Roese
On 30.10.2014 10:30, Marek Vasut wrote: Add example config file entry for the Altera SPI controller. This SPI controller can also, under special conditions, be used to operate the EPCS/EPCQ SPI NOR. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Pavel Ma

Re: [U-Boot] [U-boot] [Patch] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-30 Thread Stefan Roese
On 30.10.2014 10:52, Ivan Khoronzhuk wrote: +static int m88e1518_config(struct phy_device *phydev) +{ +/* + * As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 + * Rev A0, Errata Section 3.1 + */ +phy_write(phydev, MDIO_DEVAD_NONE, 22, 0x00ff);/* reg pa

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-30 Thread Pavel Machek
On Thu 2014-10-30 10:30:25, Marek Vasut wrote: > Add example config file entry for the Altera SPI controller. This SPI > controller can also, under special conditions, be used to operate the > EPCS/EPCQ SPI NOR. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince B

[U-Boot] [v2 PATCH 0/12] arm, at91, spl: add spl support for the taurus and corvus boards

2014-10-30 Thread Heiko Schocher
This patchset add SPL support for the AT91SAM9G20 based taurus board, and the AT91SAM9M10G45 based corvus board from siemens, and replaces the at91bootstrap code. The boot.bin which replaces the at91bootstrap image can created with mkimage: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl

Re: [U-Boot] verified boot of beaglebone black

2014-10-30 Thread Srinivasan S
Hi Simon, Extremely Sorry to push you Hard, Could you please provide any updates w.r.t the below issue Thanks in advance Srinivasan S From: s...@google.com on behalf of Simon Glass Sent: Thursday, October 30, 2014 9:46 AM To: Srinivasan S Cc: U-Boot M

[U-Boot] u-boot 1.1.6 binary file

2014-10-30 Thread Roar Pettersen
Hi ! I have a MPC8641 board which have corrupt flash and I have to restore the bootloader on the card. The card had version 1.1.6, but I have no access to a powerpc so I can't compile the source code. Is there a place where I can fine a bin file ? Or could someone who have access to a powerpc wi

[U-Boot] [PATCH] arm, imx, spi: detect spi flash again on aristainetos board

2014-10-30 Thread Heiko Schocher
155fa9af95a "spi: mxc: fix sf probe when using mxc_spi" break spi flash detection on the aristainetos board. Fix this. Signed-off-by: Heiko Schocher Patch-cc: Stefano Babic Patch-cc: Jagannadha Sutradharudu Teki --- board/aristainetos/aristainetos.c | 5 + include/configs/aristainetos.h

Re: [U-Boot] [PATCH v2 2/3] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-30 Thread Stefano Babic
Hi Soeren, On 24/10/2014 16:33, Soeren Moch wrote: > Add initial support for TBS2910 Matrix ARM miniPC. > Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. > > Signed-off-by: Soeren Moch > --- checkpatch reports several issues with this patch. Can you fix it and repost it ?

Re: [U-Boot] [PATCH v2 1/3] arm: arch-mx6: typo fixes in crm_regs.h

2014-10-30 Thread Stefano Babic
Hi Soeren, On 24/10/2014 16:33, Soeren Moch wrote: > fix typos in video pll related register names and bit defines > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx6/crm_regs.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > d

[U-Boot] [PATCH v3] imx: mx6 sabreauto: Add board support for USB EHCI

2014-10-30 Thread Ye . Li
On mx6 sabreauto board, there are two USB ports: 0: OTG 1: HOST The EHCI driver is enabled for this board, but the IOMUX and VBUS power control is not implemented, which cause both USB port failed to work. This patch fix the problem by adding the board support codes. Since the power control uses t

Re: [U-Boot] [PATCH v2 3/3] video: speedup writing strings to fb console

2014-10-30 Thread Stefano Babic
Hi, On 24/10/2014 16:33, Soeren Moch wrote: > With enabled framebuffer console the printenv command can take several > seconds to complete. This patch temporarily disables cache flush when > writing strings to fb console. Then there is no noticable delay anymore. > > Tested with imx6 hdmi framebu

  1   2   >