[U-Boot] Handling hangs (was: [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE)

2013-10-14 Thread Albert ARIBAUD
On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD wrote: > Hi Benoît, > > On Sun, 13 Oct 2013 17:00:25 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > On Sunday, October 13, 2013 9:10:28 AM, Albert ARIBAUD wrote: > > > Remove the last uses of symbol offsets in ARM U-Boot. >

Re: [U-Boot] Question about dfu flash rootfs image

2013-10-14 Thread Bo Shen
Hi Heiko, On 10/14/2013 13:43, Heiko Schocher wrote: Hello Bo, Am 12.10.2013 09:18, schrieb Bo Shen: Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. Do you use ubi or jffs

Re: [U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-14 Thread Bo Shen
Hi Lukasz Majewski, On 10/13/2013 05:19, Lukasz Majewski wrote: On Sat, 12 Oct 2013 15:47:14 +0800 Bo Shen wrote: If won't pass value to dfu->r_left, it always 0, make no transfer, the dfu-util on host side report failed. So, before starting transfer, pass the value, then nand uploading can w

Re: [U-Boot] [PATCH] ARM: mxs: Do not reconfigure FEC clock in FEC init

2013-10-14 Thread Hector Palacios
Dear Marek, On 10/13/2013 05:20 PM, Marek Vasut wrote: Do not reconfigure the FEC clock during board_eth_init(), otherwise the FEC might have stability issues, refuse to autonegotiate link entirely or even corrupt packets while indicating correct checksum on them. Instead, move the FEC clock ini

Re: [U-Boot] [RFC] i2c_reloc_fixup fails on m68k

2013-10-14 Thread Jens Scharsig
Hello Heiko, Am 2013-10-14 07:51, schrieb Heiko Schocher: > Hello Jens, > > Am 24.09.2013 09:41, schrieb Jens Scharsig: >> Hello Heiko, >>> Hello Jens, I have a access violation problem with i2c_reloc_fixup on coldfire m68k systems. I found out, the i2c_reloc_fixup tries to re

[U-Boot] [PATCH v2 3/5] sf: Add GPL-2.0+ SPDX-License-Identifier for missing ones

2013-10-14 Thread Jagannadha Sutradharudu Teki
Added GPL-2.0+ SPDX-License-Identifier for missed sf source files. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Bo Shen --- Changes for v2: - none common/cmd_sf.c | 3 ++- drivers/mtd/spi/sf.c | 2 +- drivers/mtd/spi/sf_internal.h | 2 +- drivers/mt

[U-Boot] [PATCH v2 4/5] spi: Add GPL-2.0+ SPDX-License-Identifier for missing files

2013-10-14 Thread Jagannadha Sutradharudu Teki
Added GPL-2.0+ SPDX-License-Identifier for missed spi source files. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/spi/altera_spi.c | 2 +- drivers/spi/bfin_spi.c| 2 +- drivers/spi/oc_tiny_spi.c | 2 +- drivers/spi/xilinx_spi.c | 2 +- drivers/spi/

[U-Boot] [PATCH v2 0/5] spi: cleanup set for v2013.10 rel

2013-10-14 Thread Jagannadha Sutradharudu Teki
Cleanup set for v2013.10 release. -- Thanks, Jagan. Bo Shen (1): sf: probe: Add missing Atmel at25df321 flash Jagannadha Sutradharudu Teki (4): sf_ops: Unify bank_sel calculation code sf: Minor cleanups. sf: Add GPL-2.0+ SPDX-License-Identifier for missing ones spi: Add GPL-2.0+ SPDX-L

[U-Boot] [PATCH v2 1/5] sf_ops: Unify bank_sel calculation code

2013-10-14 Thread Jagannadha Sutradharudu Teki
Unified the bank_sel calculation code for erase and write ops. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/sf_ops.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/mtd/spi/sf_op

[U-Boot] [PATCH v2 2/5] sf: Minor cleanups.

2013-10-14 Thread Jagannadha Sutradharudu Teki
- Add comments. - Renamed few macros. - Add tabs. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Bo Shen --- Changes for v2: - none drivers/mtd/spi/sf_internal.h | 6 +++--- drivers/mtd/spi/sf_ops.c | 2 +- drivers/mtd/spi/sf_probe.c| 5 +++-- include/spi.h

[U-Boot] [PATCH v2 5/5] sf: probe: Add missing Atmel at25df321 flash

2013-10-14 Thread Jagannadha Sutradharudu Teki
From: Bo Shen As the spi flash transfer to multiple parts, it is forgot to add Atmel AT25DF321 spi flash support, which broken several Atmel EK boards which this chip. So, add it Signed-off-by: Bo Shen --- Changes for v2: - none drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 inse

Re: [U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-14 Thread Jagan Teki
On Sat, Oct 12, 2013 at 6:50 AM, Bo Shen wrote: > Hi Jagan, > Cc Tom. > > > On 10/11/2013 09:24, Bo Shen wrote: >> >> Hi Jagan, >> >> On 10/10/2013 22:14, Jagan Teki wrote: >>> >>> Thanks for this. >>> >>> On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen wrote: As the spi flash transfer to m

Re: [U-Boot] [PATCH] ARM: mxs: Do not reconfigure FEC clock in FEC init

2013-10-14 Thread Hector Palacios
Dear Marek, On 10/13/2013 05:20 PM, Marek Vasut wrote: Do not reconfigure the FEC clock during board_eth_init(), otherwise the FEC might have stability issues, refuse to autonegotiate link entirely or even corrupt packets while indicating correct checksum on them. Instead, move the FEC clock ini

[U-Boot] [PATCH] Fix: nommu I2C adapter relocation error

2013-10-14 Thread Jens Scharsig (BuS Elektronik)
From: "Jens Scharsig (BuS Elektronik)" NoMMU systems have a access violation problem with i2c_reloc_fixup. Blame for it is a double relocation of the adapter itself. The i2c_adap_p is already relocated, if i2c_reloc_fixup is called. This patch removes the relocation of i2c_adap_p from i2c_reloc_f

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Piotr Wilczek
> -Original Message- > From: Måns Rullgård [mailto:m...@mansr.com] > Sent: Saturday, October 12, 2013 1:29 AM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Tom Rini; Kyungmin Park > Subject: Re: [PATCH] disk:efi: avoid unaligned access on efi partition > > Piotr Wilczek writes: > > >

Re: [U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-14 Thread Bo Shen
Hi Jagan, On 10/14/2013 16:14, Jagan Teki wrote: On Sat, Oct 12, 2013 at 6:50 AM, Bo Shen wrote: Hi Jagan, Cc Tom. On 10/11/2013 09:24, Bo Shen wrote: Hi Jagan, On 10/10/2013 22:14, Jagan Teki wrote: Thanks for this. On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen wrote: As the spi fla

Re: [U-Boot] [PATCH] ARM: mxs: Do not reconfigure FEC clock in FEC init

2013-10-14 Thread Stefano Babic
Hi Marek, On 13/10/2013 17:20, Marek Vasut wrote: > Do not reconfigure the FEC clock during board_eth_init(), otherwise > the FEC might have stability issues, refuse to autonegotiate link > entirely or even corrupt packets while indicating correct checksum > on them. Instead, move the FEC clock in

Re: [U-Boot] [PATCH] kirkwood: ib62x0: use device tree and update config

2013-10-14 Thread Luka Perkov
Hi Fabio, On Sun, Oct 13, 2013 at 11:41:44PM -0300, Fabio Estevam wrote: > On Sun, Oct 13, 2013 at 11:38 PM, Luka Perkov wrote: > > /* > > - * Machine type > > + * Enable device tree support > > */ > > -#define CONFIG_MACH_TYPE MACH_TYPE_NAS6210 > > +#define CONFIG_OF_LIBFDT > > I am no

Re: [U-Boot] Suggestion for building all boards

2013-10-14 Thread Albert ARIBAUD
Hi Simon, On Fri, 11 Oct 2013 16:00:37 -0600, Simon Glass wrote: > Hi Masahiro, > > On Fri, Oct 11, 2013 at 5:29 AM, Masahiro Yamada > wrote: > > Hello experts, custodians. > > > > > To sum up my suggestion, > > > > - Collect pre-built suitable crosstools for all architectures > >on U-bo

Re: [U-Boot] [Patch v3] cmd/gpt: Support gpt command for all devices

2013-10-14 Thread Piotr Wilczek
> -Original Message- > From: Egbert Eich [mailto:egbert.e...@gmail.com] > Sent: Sunday, October 13, 2013 1:14 AM > To: Piotr Wilczek > Cc: 'Egbert Eich'; u-boot@lists.denx.de; 'Tom Rini'; 'Egbert Eich' > Subject: Re: [Patch v3] cmd/gpt: Support gpt command for all devices > > On Fri, Oct

Re: [U-Boot] Handling hangs (was: [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE)

2013-10-14 Thread Benoît Thébaudeau
Hi Albert, On Monday, October 14, 2013 8:59:17 AM, Albert ARIBAUD wrote: > On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD > wrote: > > > Hi Benoît, > > > > On Sun, 13 Oct 2013 17:00:25 +0200 (CEST), Benoît Thébaudeau > > wrote: > > > > > Hi Albert, > > > > > > On Sunday, October 13, 2013

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-10-14 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 10 October 2013 22:37 > To: Prafulla Wadaskar > Cc: Albert ARIBAUD; 'u-boot@lists.denx.de'; Manas > Saksena > Subject: Re: Pull request for u-boot-marvell.git > > On 10/07/2013 02:58 PM, Prafulla Wadask

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Måns Rullgård
Piotr Wilczek writes: >> -Original Message- >> From: Måns Rullgård [mailto:m...@mansr.com] >> Sent: Saturday, October 12, 2013 1:29 AM >> To: Piotr Wilczek >> Cc: u-boot@lists.denx.de; Tom Rini; Kyungmin Park >> Subject: Re: [PATCH] disk:efi: avoid unaligned access on efi partition >> >>

Re: [U-Boot] Handling hangs (was: [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE)

2013-10-14 Thread Albert ARIBAUD
Hi Benoît, On Mon, 14 Oct 2013 12:22:31 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Monday, October 14, 2013 8:59:17 AM, Albert ARIBAUD wrote: > > On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD > > wrote: > > > > > Hi Benoît, > > > > > > On Sun, 13 Oct 2013 17:00:25 +0200

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Måns, On Mon, 14 Oct 2013 11:50:42 +0100, Måns Rullgård wrote: > Piotr Wilczek writes: > > >> -Original Message- > >> From: Måns Rullgård [mailto:m...@mansr.com] > >> Sent: Saturday, October 12, 2013 1:29 AM > >> To: Piotr Wilczek > >> Cc: u-boot@lists.denx.de; Tom Rini; Kyungmin Pa

Re: [U-Boot] Handling hangs (was: [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE)

2013-10-14 Thread Albert ARIBAUD
> Depends. You may want the log to o as faithful a state dump as feasible. "...to *do* as faithful..." Apologies, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Måns Rullgård
Albert ARIBAUD writes: > Hi Måns, > > On Mon, 14 Oct 2013 11:50:42 +0100, Måns Rullgård > wrote: > >> Piotr Wilczek writes: >> >> >> -Original Message- >> >> From: Måns Rullgård [mailto:m...@mansr.com] >> >> Sent: Saturday, October 12, 2013 1:29 AM >> >> To: Piotr Wilczek >> >> Cc: u-b

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Måns, On Mon, 14 Oct 2013 13:19:27 +0100, Måns Rullgård wrote: > Albert ARIBAUD writes: > > > Hi Måns, > > > > On Mon, 14 Oct 2013 11:50:42 +0100, Måns Rullgård > > wrote: > > > >> Piotr Wilczek writes: > >> > >> >> -Original Message- > >> >> From: Måns Rullgård [mailto:m...@mans

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Måns Rullgård
Albert ARIBAUD writes: >> > Please do not advise using native unaligned accesses on code that is >> > not strictly used by ARMv6+ architectures: the present code, for >> > instance, might be run on pre-ARMv6 or non-ARM platforms, and thus, >> > should never assume ability to perform unaligned acc

Re: [U-Boot] [PATCH 1/3] spi: omap3: add support for more word lengths

2013-10-14 Thread Igor Grinberg
Hi Nikita, On 10/09/13 16:46, Nikita Kiryanov wrote: > Current implementation only supports 8 bit word lengths, even though > omap3 can handle anything between 4 and 32. > > Update the spi interface to support changing the SPI word length, > and implement it in omap3_spi driver to support the ful

Re: [U-Boot] [PATCH 2/3] lcd: add DataImage SCF0403x LCD panel support

2013-10-14 Thread Igor Grinberg
Hi Nikita, On 10/09/13 16:46, Nikita Kiryanov wrote: > Add SPI-based driver for DataImage SCF0403852GGU04 and SCF0403526GGU20 > LCD panels. > > Cc: Tom Rini > Cc: Anatolij Gustschin > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > --- > drivers/video/Makefile | 1 + > drivers/vi

[U-Boot] [PATCH v4] socfpga: Adding Freeze Controller driver

2013-10-14 Thread Chin Liang See
Adding Freeze Controller driver. All HPS IOs need to be in freeze state during pin mux or IO buffer configuration. It is to avoid any glitch which might happen during the configuration from propagating to external devices. Signed-off-by: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Din

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Måns, On Mon, 14 Oct 2013 14:05:13 +0100, Måns Rullgård wrote: > Albert ARIBAUD writes: > > >> > Please do not advise using native unaligned accesses on code that is > >> > not strictly used by ARMv6+ architectures: the present code, for > >> > instance, might be run on pre-ARMv6 or non-ARM

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Piotr Wilczek
Dear Albert and Måns, > -Original Message- > From: Måns Rullgård [mailto:m...@mansr.com] > Sent: Monday, October 14, 2013 3:05 PM > To: Albert ARIBAUD > Cc: Piotr Wilczek; 'Tom Rini'; u-boot@lists.denx.de; 'Kyungmin Park' > Subject: Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Måns Rullgård
Albert ARIBAUD writes: > Hi Måns, > > On Mon, 14 Oct 2013 14:05:13 +0100, Måns Rullgård > wrote: > >> Albert ARIBAUD writes: >> >> >> > Please do not advise using native unaligned accesses on code that is >> >> > not strictly used by ARMv6+ architectures: the present code, for >> >> > instance

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Piotr, On Mon, 14 Oct 2013 15:49:43 +0200, Piotr Wilczek wrote: > Dear Albert and Måns, > > > -Original Message- > > From: Måns Rullgård [mailto:m...@mansr.com] > > Sent: Monday, October 14, 2013 3:05 PM > > To: Albert ARIBAUD > > Cc: Piotr Wilczek; 'Tom Rini'; u-boot@lists.denx.de;

Re: [U-Boot] [PATCH] Makefile: Introduce ARCH_PLATFORM_LIBGCC variable

2013-10-14 Thread Tom Rini
On Sat, Oct 12, 2013 at 09:43:33AM +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 11 Oct 2013 16:13:03 -0400, Tom Rini wrote: > > > In some cases, such as arm multi-lib hardfloat (hf) toolchains, we will > > have multiple libgcc.a's available, and the arch needs to provide > > additional log

Re: [U-Boot] Pull request: nand flash

2013-10-14 Thread Tom Rini
On Wed, Oct 09, 2013 at 01:29:55PM -0500, Scott Wood wrote: > Sorry for the lateness, but here are some MTD/UBI bugfixes. They've > been acked by Stefan Roese. > > The following changes since commit b770e88a6c2548727f0d57a3e9e8bb0830f977b5: > > Fix number base handling of "load" command (2013

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Måns, On Mon, 14 Oct 2013 15:09:39 +0100, Måns Rullgård wrote: > Albert ARIBAUD writes: > > > Hi Måns, > > > > On Mon, 14 Oct 2013 14:05:13 +0100, Måns Rullgård > > wrote: > > > >> Albert ARIBAUD writes: > >> > >> >> > Please do not advise using native unaligned accesses on code that is

[U-Boot] [ANN] Release slightly delayed

2013-10-14 Thread Tom Rini
Hey all, Since I've pushed the nand PR today, and I see a few other patches in patchwork that we need to get to avoid regressions, I'm going to push the release out a few days (thinking Wednesday currently). We'll lengthen the merge window slightly and cut one of the early on -rc's a bit early in

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

2013-10-14 Thread Tom Rini
On Fri, Oct 11, 2013 at 04:33:18PM +0200, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 572886af5984febafa6f083e6b8af0465f4f5764: > > socfpga: Adding pin mux handoff files (2013-10-07 19:32:30 +0200) > > are available in the git repository at: > > git://git.de

[U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Hector Palacios
Dear Marek, I noticed that 'fatls' displays duplicated filenames (short and long) for every file in the media: # fatls mmc 0 2083460 uimage-myplatform 2083460 uimage~1 1520 rootfs-dummy.jffs2 1520 rootfs~1.jff 3294952 uimage 3294952 uimage The guilty commit is ff

Re: [U-Boot] [ANN] Release slightly delayed

2013-10-14 Thread Albert ARIBAUD
Hi Tom, On Mon, 14 Oct 2013 11:19:58 -0400, Tom Rini wrote: > Hey all, > > Since I've pushed the nand PR today, and I see a few other patches in > patchwork that we need to get to avoid regressions, I'm going to push > the release out a few days (thinking Wednesday currently). We'll > lengthen

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Måns Rullgård
Albert ARIBAUD writes: > Hi Måns, > > On Mon, 14 Oct 2013 15:09:39 +0100, Måns Rullgård > wrote: > >> Albert ARIBAUD writes: >> >> > Hi Måns, >> > >> > On Mon, 14 Oct 2013 14:05:13 +0100, Måns Rullgård >> > wrote: >> > >> >> Albert ARIBAUD writes: >> >> >> >> >> > Please do not advise using

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek, > > I noticed that 'fatls' displays duplicated filenames (short and long) for > every file in the media: > > # fatls mmc 0 >2083460 uimage-myplatform >2083460 uimage~1 > 1520 rootfs-dummy.jffs2 > 1520 rootfs~1.jff >3294952 uim

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Tom Rini
On Mon, Oct 14, 2013 at 06:00:20PM +0200, Hector Palacios wrote: > Dear Marek, > > I noticed that 'fatls' displays duplicated filenames (short and > long) for every file in the media: > > # fatls mmc 0 > 2083460 uimage-myplatform > 2083460 uimage~1 > 1520 rootfs-dummy.jffs2 >

Re: [U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Michael Burr
I am submitting a patch for 'include/zynq.h' as well as for the README file. I might be able to add code for certain particular boards which use this driver -- however, I think it may be easier for everyone if we don't do that until mainline is synchronized with Michal's Xilinx repo. (That's bec

[U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Michael Burr
CONFIGs and README for driver 'zynq_i2c.c'. Signed-off-by: Michael Burr Cc: Heiko Schocher Cc: Michal Simek --- === This patch depends on the previous patch titled === "[PATCH] I2C:Zynq: Adapt this driver to the new model" === submitted 26 Sep. 2013. === This patch depends on the previous patc

[U-Boot] [PATCH v4 2/2] arm:goni:dfu Add support for DFU at GONI target

2013-10-14 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk Proper adjustment for supporting DFU at GONI target has been made. The s5p_goni.h file has been updated. Moreover the code for low level USB initialization has been added to GONI board code. The malloc pool has been enlarged in order to support larger buffer sizes need

[U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target

2013-10-14 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiu

Re: [U-Boot] fatls shows duplicated entries with long and short names

2013-10-14 Thread Jagan Teki
On Mon, Oct 14, 2013 at 9:37 PM, Tom Rini wrote: > On Mon, Oct 14, 2013 at 06:00:20PM +0200, Hector Palacios wrote: >> Dear Marek, >> >> I noticed that 'fatls' displays duplicated filenames (short and >> long) for every file in the media: >> >> # fatls mmc 0 >> 2083460 uimage-myplatform >> 2

Re: [U-Boot] [PATCH] Makefile: Introduce ARCH_PLATFORM_LIBGCC variable

2013-10-14 Thread Albert ARIBAUD
Hi Tom, On Mon, 14 Oct 2013 11:16:37 -0400, Tom Rini wrote: > On Sat, Oct 12, 2013 at 09:43:33AM +0200, Albert ARIBAUD wrote: > > Hi Tom, > > > > On Fri, 11 Oct 2013 16:13:03 -0400, Tom Rini wrote: > > > > > In some cases, such as arm multi-lib hardfloat (hf) toolchains, we will > > > have mu

Re: [U-Boot] [PATCH] disk:efi: avoid unaligned access on efi partition

2013-10-14 Thread Albert ARIBAUD
Hi Måns, On Mon, 14 Oct 2013 16:59:56 +0100, Måns Rullgård wrote: > Albert ARIBAUD writes: > > > Hi Måns, > > > > On Mon, 14 Oct 2013 15:09:39 +0100, Måns Rullgård > > wrote: > > > >> Albert ARIBAUD writes: > >> > >> > Hi Måns, > >> > > >> > On Mon, 14 Oct 2013 14:05:13 +0100, Måns Rullgård

Re: [U-Boot] [RFC] i2c_reloc_fixup fails on m68k

2013-10-14 Thread Mike Frysinger
On Tuesday 24 September 2013 02:33:55 Heiko Schocher wrote: > Am 23.09.2013 15:50, schrieb Jens Scharsig: > > Hello, > > > > I have a access violation problem with i2c_reloc_fixup on coldfire > > m68k systems. > > > > I found out, the i2c_reloc_fixup tries to relocate the adapter itself, > > but

[U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed

2013-10-14 Thread oller
Hi, I've been working with xilinx's microzed board (zynq) recently. The actual goal is a fsbl-less u-boot. But even with fsbl - USB is not working in u-boot-xlnx 'master-next' branch. At the same time it works in the 'master'. Mostly interested in 'master-next'. Has anyone tried USB in the 'mast

[U-Boot] u-boot-xlnx/master-next: build error

2013-10-14 Thread Oleg Dzhimiev
Hi, Building u-boot-xlnx/master-next:4cb9c3de73d66372d40d24baf82fa87a702f0c9b throws an error: > lowlevel_init.S: Assembler messages: > lowlevel_init.S:35: Error: selected processor does not support ARM mode > `fmrx r1,FPEXC' > lowlevel_init.S:37: Error: selected processor does not support ARM mod

Re: [U-Boot] declaring and initializing variables

2013-10-14 Thread York Sun
On 10/07/2013 03:03 PM, Kim Phillips wrote: > On Mon, 30 Sep 2013 17:04:33 -0700 > York Sun wrote: > >> Kim, et al., >> >> I know I have asked this before. Pardon me as I don't consider myself a >> savy programmer. >> >> I am cleaning up the DDR driver for mpc83xx, mpc85xx and mpc86xx. The >> que

Re: [U-Boot] u-boot-xlnx/master-next: build error

2013-10-14 Thread Albert ARIBAUD
Hi Oleg, On Mon, 14 Oct 2013 11:54:18 -0700 (PDT), Oleg Dzhimiev wrote: > Hi, > > Building u-boot-xlnx/master-next:4cb9c3de73d66372d40d24baf82fa87a702f0c9b > throws an error: > > lowlevel_init.S: Assembler messages: > > lowlevel_init.S:35: Error: selected processor does not support ARM mode > >

Re: [U-Boot] env_mmc: fix buffer allocation for armv7

2013-10-14 Thread Tom Rini
On Fri, Oct 04, 2013 at 03:48:03PM +0200, Markus Niebel wrote: > From: Markus Niebel > > commit d196bd880347373237d73e0d115b4d51c68cf2ad adds > redundand environment to mmc. The usage of malloc in > env_relocate_spec triggers cache errors on armv7. > > Tested on a not mainlined i.MX53 board: >

Re: [U-Boot] pmic: max77686: fix the wrong offset

2013-10-14 Thread Tom Rini
On Mon, Sep 30, 2013 at 02:23:37PM +0900, Jaehoon Chung wrote: > 0x1D is reserved. So BUCK3DVS1 is started from 0x1e. > > Signed-off-by: Jaehoon Chung Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, 1/4, V2] Coding Style cleanup: remove trailing white space

2013-10-14 Thread Tom Rini
On Mon, Oct 07, 2013 at 01:07:26PM +0200, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > > --- > Changes in V2: > - dropped incorrect modifications to > tools/easylogo/linux_blackfin.tga and > tools/easylogo/linux_logo.tga > Cudos to Michal Simek for pointin

Re: [U-Boot] [U-Boot, 2/4] Coding Style cleanup: replace leading SPACEs by TABs

2013-10-14 Thread Tom Rini
On Fri, Oct 04, 2013 at 05:43:24PM +0200, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk With the change to dropping the changes to python tools that follow PEP 4 for an indentation method (if we want to convert them, we need to do it fully, this did not), applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 3/4] Coding Style cleanup: remove trailing empty lines

2013-10-14 Thread Tom Rini
On Fri, Oct 04, 2013 at 05:43:25PM +0200, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] [U-Boot, 4/4] Coding Style cleanup: drop some excessive empty lines

2013-10-14 Thread Tom Rini
On Fri, Oct 04, 2013 at 05:43:26PM +0200, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] env: dataflash: fix env_init issue

2013-10-14 Thread Tom Rini
On Tue, Oct 08, 2013 at 04:30:21PM +0800, Bo Shen wrote: > As the SPI controller is not initialized before env_init(), it causes > reading env in dataflash failed. So, although saveenv() successfully, > it shows warning information when reboot the system as following: > > *** Warning - bad CRC,

Re: [U-Boot] ARM: omap4: Update sdram setting for panda rev A6

2013-10-14 Thread Tom Rini
On Wed, Oct 09, 2013 at 01:53:58PM -0500, Dan Murphy wrote: > OMAP4 panda rev A6 is a 4430 es2.3 IC with an updated memory > part. > > The panda rev A6 uses Elpida 2x4Gb memory and no longer uses Micron > so the timings needs to be updated > > Signed-off-by: Dan Murphy Applied to u-boot/master

Re: [U-Boot] SPDX: document dual license notation

2013-10-14 Thread Tom Rini
On Tue, Oct 08, 2013 at 09:53:45PM +0200, Wolfgang Denk wrote: > In [1] we discussed how we should deal with dual (or, more generally, > multiple) licensed files. Add this to Licenses/README so it's > properly documented. > > [1] http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/166518 >

Re: [U-Boot] am335x_evm.h: Make 'am335x_boneblack' use redundant environment

2013-10-14 Thread Tom Rini
On Thu, Oct 10, 2013 at 10:25:18AM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/list

Re: [U-Boot] .gitignore: add auto-generated /include/[s|t]pl-autoconf.mk

2013-10-14 Thread Tom Rini
On Sun, Oct 13, 2013 at 05:08:02PM +0200, Daniel Schwierzeck wrote: > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [U-Boot, v2] ARM: omap4-panda: Add MAC address creation for panda

2013-10-14 Thread Tom Rini
On Thu, Oct 10, 2013 at 08:54:23AM -0500, Dan Murphy wrote: > Add a MAC address create based on the OMAP die ID registers. > Then poplulate the ethaddr enviroment variable so that the device > tree alias can be updated prior to boot. > > Signed-off-by: Dan Murphy Applied to u-boot/master, thank

Re: [U-Boot] [PATCH v14 04/10] arm64: Add tool to statically apply RELA relocations

2013-10-14 Thread Scott Wood
On Sat, 2013-10-12 at 16:14 +0800, feng...@phytium.com.cn wrote: > From: David Feng Please fix the From: line on patches which are from me. -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Please pull u-boot-x86 buildman

2013-10-14 Thread Tom Rini
On Thu, Oct 10, 2013 at 02:50:25PM -0600, Simon Glass wrote: > Hi Tom, > > The following changes since commit 99b4eaa68e0e2fdd9b0d0b1d40809d7e8f92044f: > > usb: Prevent using reserved registers on DM36x usb (2013-10-10 07:58:00 > -0400) > > are available in the git repository at: > > http

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-14 Thread Tom Rini
On Mon, Oct 07, 2013 at 09:51:48AM -0400, Steven Falco wrote: > Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid > possible crashes due to null pointer dereferencing. > > Signed-off-by: Steven A. Falco > > --- > > This doesn't apply cleanly, nor with --ignore-whites

Re: [U-Boot] [PATCH] cmd_sandbox.c: Update for do_(load|save) not taking a number base

2013-10-14 Thread Tom Rini
On Thu, Oct 10, 2013 at 10:46:56AM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > common/cmd_sandbox.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to u-boot/master -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH V2 0/2] add sdhci generic framework

2013-10-14 Thread Vadim Bendebury
Hello Lei, I am looking into adding eMMC support for some intel SDHCI controllers based on this common SDHCI driver submission. One thing which is not quite clear is the quirks - can you (or somebody else on this list) please shed some light on what the quirks are. Is there some kind of formal de

[U-Boot] [PATCH] serial: mxs_auart: Staticize local functions

2013-10-14 Thread Axel Lin
Staticize local functions in mxs_auart driver. Signed-off-by: Axel Lin --- drivers/serial/mxs_auart.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/serial/mxs_auart.c b/drivers/serial/mxs_auart.c index 7cfe5bc..fc0fa96 100644 --- a/drivers/serial/mxs_auar

Re: [U-Boot] [PATCH V2 0/2] add sdhci generic framework

2013-10-14 Thread Lei Wen
Hi Vadim, The quirk is standing for some workaround for those host that has some limitation that it cannot directly be applied with standard sdhci.c code, so that we add one quirk for it, which let it could use the sdhci.c. Like the quirk as SDHCI_QUIRK_32BIT_DMA_ADDR, it indicate that some host

[U-Boot] [RESEND PATCH v14 03/10] add weak entry definition

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng --- include/linux/linkage.h |4 1 file changed, 4 insertions(+) diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 9ddf830..2a2848a 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -49,6 +49,10 @@

[U-Boot] [RESEND PATCH v14 00/10] arm64 pat

2013-10-14 Thread fenghua
From: David Feng The content is same with original v14. 04/05/06 patches is totally provided by scott wood. Them are mistakenly encoded "From: David Feng", so modify its to "From: Scott Wood". Changes for v14: - Merge rela relocation patches from Scott Wood . - Remove all CONFIG_NEED_M

[U-Boot] [RESEND PATCH v14 06/10] arm64: Make checkarmreloc accept arm64 relocations

2013-10-14 Thread fenghua
From: Scott Wood Signed-off-by: Scott Wood Signed-off-by: David Feng --- Makefile | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 86464c9..edf52f2 100644 --- a/Makefile +++ b/Makefile @@ -805,12 +805,16 @@ tools: $(VERSION_FILE) $(

[U-Boot] [RESEND PATCH v14 05/10] arm64: Turn u-boot.bin back into an ELF file after relocate-rela

2013-10-14 Thread fenghua
From: Scott Wood While performing relocations on u-boot.bin should be good enough for booting on real hardware, some simulators insist on booting an ELF file (and yet don't perform ELF relocations), so convert the relocated binary back into an ELF file. This can go away in the future if we chang

[U-Boot] [RESEND PATCH v14 04/10] arm64: Add tool to statically apply RELA relocations

2013-10-14 Thread fenghua
From: Scott Wood ARM64 uses the newer RELA-style relocations rather than the older REL. RELA relocations have an addend in the relocation struct, rather than expecting the loader to read a value from the location to be updated. While this is beneficial for ordinary program loading, it's problema

[U-Boot] [RESEND PATCH v14 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng --- MAKEALL | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/MAKEALL b/MAKEALL index 956f3da..cb414ca 100755 --- a/MAKEALL +++ b/MAKEALL @@ -370,6 +370,12 @@ LIST_ARM11="$(boards_by_cpu arm1136) \ LIST_ARMV7="$(

[U-Boot] [RESEND PATCH v14 01/10] fdt_support: 64bit initrd start address support

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/fdt_support.c | 66 ++ 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index b034c98..9bc5821 100644 --- a/common/fdt_support.c +++

[U-Boot] [RESEND PATCH v14 02/10] cmd_pxe: remove compiling warnings

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/cmd_pxe.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index c5f4a22..1df9a8a 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -57,7 +57,7 @@ static int format_mac_pxe(

[U-Boot] [RESEND PATCH v14 07/10] arm64: core support

2013-10-14 Thread fenghua
From: David Feng Relocation code based on a patch by Scott Wood, which is: Signed-off-by: Scott Wood Signed-off-by: David Feng --- arch/arm/config.mk |3 +- arch/arm/cpu/armv8/Makefile | 38 + arch/arm/cpu/armv8/cache.S | 130 ++

[U-Boot] [RESEND PATCH v14 08/10] arm64: generic board support

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/board_f.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0ada1af..d821dbe 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -458,7 +458,7 @@ static

[U-Boot] [RESEND PATCH v14 09/10] arm64: board support of vexpress_aemv8a

2013-10-14 Thread fenghua
From: David Feng Signed-off-by: David Feng Signed-off-by: Bhupesh Sharma --- board/armltd/vexpress64/Makefile | 27 + board/armltd/vexpress64/vexpress64.c | 50 + boards.cfg |1 + include/configs/vexpress_aemv8a.h| 191

Re: [U-Boot] [PATCH V2 0/2] add sdhci generic framework

2013-10-14 Thread Vadim Bendebury
On Mon, Oct 14, 2013 at 7:16 PM, Lei Wen wrote: > Hi Vadim, > > The quirk is standing for some workaround for those host that has some > limitation that it cannot directly be applied with standard sdhci.c code, > so that we add one quirk for it, which let it could use the sdhci.c. > > Like the qui

Re: [U-Boot] [PATCH 1/3 v2] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-14 Thread Heiko Schocher
Hello Naveen, Am 15.10.2013 06:48, schrieb Naveen Krishna Ch: On 14 October 2013 11:59, Heiko Schocher wrote: Hello Naveen, Am 03.10.2013 13:22, schrieb Naveen Krishna Chatradhi: The Exynos5 i2c driver does not handle NACKs properly. This change: - fixes the NACK processing problem (do not

Re: [U-Boot] [PATCH 1/3 v2] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-14 Thread Naveen Krishna Ch
On 14 October 2013 11:59, Heiko Schocher wrote: > Hello Naveen, > > Am 03.10.2013 13:22, schrieb Naveen Krishna Chatradhi: > >> The Exynos5 i2c driver does not handle NACKs properly. This change: >> >> - fixes the NACK processing problem (do not continue transaction if >>address cycle was NACK

Re: [U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Heiko Schocher
Hello Michael, Am 14.10.2013 18:25, schrieb Michael Burr: I am submitting a patch for 'include/zynq.h' as well as for the README file. and the drivers/i2c/Makefile ;-) Thanks! I might be able to add code for certain particular boards which use this driver -- however, I think it may be easie

Re: [U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Michal Simek
Hi Michael and Heiko, On 10/15/2013 07:13 AM, Heiko Schocher wrote: > Hello Michael, > > Am 14.10.2013 18:25, schrieb Michael Burr: >> I am submitting a patch for 'include/zynq.h' as well as for the README file. > > and the drivers/i2c/Makefile ;-) > Thanks! Regarding this change. I have asked

Re: [U-Boot] [PATCH 3/3] cm_t35: use scf0403 driver

2013-10-14 Thread Igor Grinberg
On 10/09/13 16:46, Nikita Kiryanov wrote: > Use scf0403 driver to add scf0403x LCD support for cm-t35 and cm-t3730 > boards. > > Cc: Tom Rini > Cc: Anatolij Gustschin > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov Acked-by: Igor Grinberg -- Regards, Igor.

Re: [U-Boot] u-boot-xlnx/master-next: build error

2013-10-14 Thread Michal Simek
Hi, On 10/14/2013 09:05 PM, Albert ARIBAUD wrote: > Hi Oleg, > > On Mon, 14 Oct 2013 11:54:18 -0700 (PDT), Oleg Dzhimiev > wrote: > >> Hi, >> >> Building u-boot-xlnx/master-next:4cb9c3de73d66372d40d24baf82fa87a702f0c9b >> throws an error: >>> lowlevel_init.S: Assembler messages: >>> lowlevel_in

Re: [U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Heiko Schocher
Hello Michael, Am 15.10.2013 07:24, schrieb Michal Simek: Hi Michael and Heiko, On 10/15/2013 07:13 AM, Heiko Schocher wrote: Hello Michael, Am 14.10.2013 18:25, schrieb Michael Burr: I am submitting a patch for 'include/zynq.h' as well as for the README file. and the drivers/i2c/Makefile

Re: [U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-10-14 Thread Heiko Schocher
Hello Michal, Am 14.10.2013 18:25, schrieb Michael Burr: CONFIGs and README for driver 'zynq_i2c.c'. Signed-off-by: Michael Burr Cc: Heiko Schocher Cc: Michal Simek --- === This patch depends on the previous patch titled === "[PATCH] I2C:Zynq: Adapt this driver to the new model" === submitted

Re: [U-Boot] [PATCH v2] mxc_spi: bugfix for double incrementing read pointer on unaligned buffers in spi_xchg_single

2013-10-14 Thread Timo Herbrecher
Yes I tested it on the master-probe branch of u-boot-spi.git. Am 7.10.2013 09:24, schrieb Jagan Teki: > Did you test this on u-boot-spi.git with master-probe branch? > > On Mon, Oct 7, 2013 at 12:20 PM, Timo Herbrecher > wrote: >> If dout buffer is not 32 bit-aligned or data to transmit is not

[U-Boot] [PATCH 1/3 v3] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-14 Thread Naveen Krishna Chatradhi
The Exynos5 i2c driver does not handle NACKs properly. This change: - fixes the NACK processing problem (do not continue transaction if address cycle was NACKed) - eliminates a fair amount of duplicate code Signed-off-by: Vadim Bendebury Reviewed-by: Simon Glass Signed-off-by: Naveen Krishna

[U-Boot] [PATCH 2/3 v3] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-10-14 Thread Naveen Krishna Chatradhi
From: Simon Glass At present the i2c ports are enumerated in a strange way - the fdtdec_find_aliases_for_id() function is used, but then the ID returned is ignored and the ports are renumbered. The effect is the same provided that the device tree has the ports in the same order, or uses aliases,

  1   2   >