[U-Boot] [PATCH] pci: mx6: fix occasional link failures

2014-08-07 Thread Tim Harvey
According to the IMX6 reference manuals, REF_SSP_EN (Reference clock enable for SS function) must remain deasserted until the reference clock is running at the appropriate frequency. Without this patch we find a high link failure rate (>5%) on certain IMX6 boards at various temperatures. Signed-o

[U-Boot] [PATCH 2/2] imx: ventana: add pci fixup for PLX PEX860x switch GPIO

2014-08-07 Thread Tim Harvey
Most Gateworks Ventana boards use a PLX PEX860x PCIe switch for PCIe expansion. These boards use GPIO on the PLX device as PERST# for the downstream ports thus we assert this when the PLX is enumerated. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 30 ++

[U-Boot] [PATCH 1/2] pci: add support for board_pci_fixup_dev function

2014-08-07 Thread Tim Harvey
Some board-level drivers may wish to have per-device fixup functions for PCI devices. Signed-off-by: Tim Harvey --- drivers/pci/pci.c | 4 include/pci.h | 7 +++ 2 files changed, 11 insertions(+) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index ed113bf..e269468 100644 --- a

[U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch

2014-08-07 Thread Tim Harvey
Many of the Gateworks Ventana boards have a PLX PCIe switch where GPIO on the switch is used as the PERST# of the downstream ports. In the Linux kernel there is a PCI fixup that asserts these properly when the upstream port is enumerated. The first patch in this serial adds a board_pci_fixup_dev f

[U-Boot] [PATCH 00/11] imx: ventana: misc patches

2014-08-07 Thread Tim Harvey
This is a series of patches in my queue for the Gateworks Ventana family of boards. Tim Harvey (11): imx: ventana: set dynamic env var for flash layout imx: ventana: added cputype env var imx: ventana: remove caam disable per eeprom bit imx: ventana: add appropriate delay following GSC i2c

[U-Boot] [PATCH 01/11] imx: ventana: set dynamic env var for flash layout

2014-08-07 Thread Tim Harvey
NAND devices have differing layouts with respect to page size and pages per block. These parameters affect the parameters that need to be passed to mkfs.ubifs and ubinize used to create UBI images. The various NAND chips supported by Gateworks Ventana fall into two different layouts which we refer

[U-Boot] [PATCH 08/11] imx: ventana: configure i2c_dis# pin properly for gw53xx

2014-08-07 Thread Tim Harvey
The i2c_dis# pinmux/padconf was missing for the GW53xx (this feature was added to the GW53xx on revB PCB's). Additionally, remove the duplicate config for GW54xx. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 02/11] imx: ventana: added cputype env var

2014-08-07 Thread Tim Harvey
There are many similarities between the IMX6QUAD/IMX6DUAL and there are many similarities between the IMX6SOLO/IMX6DUALITE. Add a 'soctype' env variable that tells you which type you have. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH 07/11] imx: ventana: add missing crlf to print

2014-08-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 07d5e2d..54e582b 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] [PATCH 11/11] imx: ventana: leave PCI reset de-asserted if PCI enabled

2014-08-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 1c24e4b..70b90d8 100644 --- a/board/gateworks/gw_ventana/gw_ve

[U-Boot] [PATCH 06/11] imx: ventana: add video enable gpio pinmux for GW54xx

2014-08-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 9857a05..07d5e2d 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/ga

[U-Boot] [PATCH 04/11] imx: ventana: add appropriate delay following GSC i2c write

2014-08-07 Thread Tim Harvey
The Gateworks System Controller EEPROM config is flash based. Add a delay following writes to avoid errors on back-to-back writes. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gsc.c b

[U-Boot] [PATCH 03/11] imx: ventana: remove caam disable per eeprom bit

2014-08-07 Thread Tim Harvey
During manufacturing this bit is not getting enabled when it should be, so we will ignore it. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ve

[U-Boot] [PATCH 09/11] imx: ventana: enable SION bit on gpio outputs

2014-08-07 Thread Tim Harvey
Enable the SION bit on gpio outputs that we wish to be able to read the value of. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 133 +--- 1 file changed, 70 insertions(+), 63 deletions(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] [PATCH 05/11] imx: ventana: add econfig command

2014-08-07 Thread Tim Harvey
The Gateworks Ventana EEPROM contains a set of configuration bits that affect the removal of device-tree nodes that support peripherals that do not exist on sub-loaded boards. This patch adds: - a structure to define a config bit name, dt node alias, bit position - an array of supported configura

[U-Boot] [PATCH 10/11] imx: ventana: add iomux for PCISKT_WDIS# gpio

2014-08-07 Thread Tim Harvey
The PCISKT_WDIS# gpio allows for asserting WDIS# going to the various PCIe sockets on the Ventana board. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 17 + 1 file changed, 17 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/g

Re: [U-Boot] [PATCH] ARM: non-sec: Add spin table reserved memory support

2014-08-07 Thread li.xi...@freescale.com
> Subject: Re: [PATCH] ARM: non-sec: Add spin table reserved memory support > > On 07/08/14 02:54, Xiubo Li wrote: > > The memory where loaded the smp_waitloop code section probablly > > be corrupted by Linux Kernel, then the secondary cores will be > > running the random code, leading booting the

Re: [U-Boot] uboot imx-usb-loader

2014-08-07 Thread Troy Kisky
On 8/6/2014 7:13 AM, Alexandre Delove wrote: > Hello > > I am trying to send a u-boot i built from denx sources to my SabreLite board, > but when i use imx-usb-loader, it doesn't work because of an "unknown load > adress". > > Does someone know how to fix this? > > Regards > > Alexandre Delov

[U-Boot] [PATCH 2/2] arm: rmobile: r8a7794: Skip initialize L2 cache

2014-08-07 Thread Nobuhiro Iwamatsu
rmobile/lowlevel_init_ca15.S are common in r8a7790, r8a7791 and r8a7794 of rmobile SoCs. The initialize L2 cache in lowlevel_init_ca15.S only needed for Cortex-A15. The r8a7794 is Cortex-A7, not Cortex-A15. This adds Skip to initialize L2 cache when r8a7794. Signed-off-by: Nobuhiro Iwamatsu ---

[U-Boot] [PATCH 1/2] arm: rmobile: r8a7791: Fix initialize L2 cache

2014-08-07 Thread Nobuhiro Iwamatsu
rmobile/lowlevel_init_ca15.S are common in r8a7790 and r8a7791 of rmobile SoC. But L2 cache of r8a7791 does not use L2CTLR[5]. This adds fix to set L2CTLR [5] only when the r8a7790. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S | 10 +- 1 file chang

Re: [U-Boot] [PATCH 3/3] ARM: rpi_b: use new generic $bootcmd

2014-08-07 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-07 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] tools, scripts: refactor error-out statements of Python scripts

2014-08-07 Thread Simon Glass
Hi Masahiro, On 6 August 2014 21:51, Masahiro Yamada wrote: > > In Python, sys.exit() function can also take an object other > than an integer. > > If an integer is given to the argument, Python exits with the return > code of it. If a non-integer argument is given, Python output it > to stderr

[U-Boot] [PATCH] usb: hub: don't check CONNECTION in hub_port_reset()

2014-08-07 Thread Stephen Warren
From: Stephen Warren One specific USB 3.0 device behaves strangely when reset by usb_new_device()'s call to hub_port_reset(). For some reason, the device appears to briefly drop off the bus when this second bus reset is executed, yet if we retry this loop, it'll eventually come back after another

[U-Boot] U-boot build: How to add a static library to the u-boot build

2014-08-07 Thread Vishal Pundareeka
Hi, I am working on a project where I need to include a static library (lib.a) in the u-boot build. Currently I am unable build u-boot with the static library. Can you please provide me steps to include the static library file in u-boot Make file? Thanks Vishal _

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Marek, In message <201408072343.58591.ma...@denx.de> you wrote: > > OK, so we need a GPLv2-compatible header file. That's the conclusion. Well, GPLv2 compatible might be acceptable, but GPLv2+ compatible woould be best. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, M

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 10:37:52 PM, Jeroen Hofstee wrote: > Hello Marex, Tom, > > On 07-08-14 22:14, Marek Vasut wrote: > > > > > >> Well putting on my small, tiny OE user head, you need to spell out > >> every python-module you use. To make it a bit more funny there are > >> likely gro

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 11:15:00 PM, Jeroen Hofstee wrote: > On 07-08-14 23:10, Wolfgang Denk wrote: > > Dear Jeroen, > > > > In message <53e3e974.1020...@myspectrum.nl> you wrote: > >> On 07-08-14 22:59, Wolfgang Denk wrote: > >>> > >>> > So the argument about incompatible licenses

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 11:36:50 PM, Wolfgang Denk wrote: > Dear Jeroen, > > In message <53e3ec54.4090...@myspectrum.nl> you wrote: > > So the argument about incompatible licenses is valid here. Should > > u-boot switch to GPLv3 you need to hunt down that file again and > >

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Jeroen, In message <53e3ec54.4090...@myspectrum.nl> you wrote: > > So the argument about incompatible licenses is valid here. Should > u-boot switch to GPLv3 you need to hunt down that file again and this > >>> You would have to rewrite the major part of U-Boot or to cripple it > >

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 23:15, Jeroen Hofstee wrote: On 07-08-14 23:10, Wolfgang Denk wrote: Dear Jeroen, In message <53e3e974.1020...@myspectrum.nl> you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 23:10, Wolfgang Denk wrote: Dear Jeroen, In message <53e3e974.1020...@myspectrum.nl> you wrote: On 07-08-14 22:59, Wolfgang Denk wrote: So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You wo

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Jeroen, In message <53e3e974.1020...@myspectrum.nl> you wrote: > > On 07-08-14 22:59, Wolfgang Denk wrote: > > > >> So the argument about incompatible licenses is valid here. Should > >> u-boot switch to GPLv3 you need to hunt down that file again and this > > You would have to rewrite the

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread York Sun
On 08/07/2014 01:57 PM, Jeroen Hofstee wrote: > I can't parse the python either, but is this not the same issue? > (just from the looks of it) https://patchwork.ozlabs.org/patch/377897/ > It is the same solution/workaround, but I'm not sure if Roger has the same issue. York ___

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 22:59, Wolfgang Denk wrote: So the argument about incompatible licenses is valid here. Should u-boot switch to GPLv3 you need to hunt down that file again and this You would have to rewrite the major part of U-Boot or to cripple it noise ^ not to uselessness if you try to releas

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Wolfgang Denk
Dear Sebastian, In message <53e37f2d.5090...@linutronix.de> you wrote: > > > I think we should start considering getting some kind of a legal conseling > > here, > > or do we actually have one already ? > > I used the gnu page back then. Apache2 is compatible with GPLv3 but not > with GPLv2 [0]

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread Jeroen Hofstee
Hello York, On 07-08-14 22:52, York Sun wrote: On 08/04/2014 06:22 PM, Masahiro Yamada wrote: Hi York, On Mon, 4 Aug 2014 11:58:56 -0700 York Sun wrote: On 08/01/2014 06:53 AM, Masahiro Yamada wrote: If MAKEALL/buildman is invoked without any arguments (which means build all the board),

Re: [U-Boot] Removing the need for boards.cfg

2014-08-07 Thread York Sun
On 08/04/2014 06:22 PM, Masahiro Yamada wrote: > Hi York, > > > > On Mon, 4 Aug 2014 11:58:56 -0700 > York Sun wrote: > >> On 08/01/2014 06:53 AM, Masahiro Yamada wrote: >>> >>> If MAKEALL/buildman is invoked without any arguments >>> (which means build all the board), >>> boards.cfg is not ne

Re: [U-Boot] [PATCH] Makefile: restore *_config target

2014-08-07 Thread Jeroen Hofstee
On 06-08-14 04:11, Masahiro Yamada wrote: Hi Jeroen, On Tue, 05 Aug 2014 21:35:18 +0200 Jeroen Hofstee wrote: Hi Masahiro, On 05-08-14 03:50, Masahiro Yamada wrote: On Mon, 04 Aug 2014 19:49:24 +0200 Jeroen Hofstee wrote: cc: Tom Rini cc: Masahiro Yamada cc: Simon Glass Signed-off-

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Marex, Tom, On 07-08-14 22:14, Marek Vasut wrote: Well putting on my small, tiny OE user head, you need to spell out every python-module you use. To make it a bit more funny there are likely grouped, so don't be surprised this is python-system or something. I am in the impression the nat

Re: [U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

2014-08-07 Thread Scott Wood
On Thu, 2014-08-07 at 16:59 -0300, Allan Fislor wrote: > On Thu, Aug 7, 2014 at 7:49 AM, Allan Fislor wrote: > > On Wed, Aug 6, 2014 at 3:58 PM, Scott Wood wrote: > >> > >> On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote: > >> > Hi all, > >> > > >> > I have a custom Freescale QorIQ P1020 bo

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 10:02:54 PM, Jeroen Hofstee wrote: > Hello Tom, > > On 07-08-14 21:43, Tom Rini wrote: > > On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: > >> Hello Tom, > >> > >> On 07-08-14 21:08, Tom Rini wrote: > >>> On Thu, Aug 07, 2014 at 12:11:41PM -0400, d

Re: [U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

2014-08-07 Thread Allan Fislor
On Thu, Aug 7, 2014 at 7:49 AM, Allan Fislor wrote: > On Wed, Aug 6, 2014 at 3:58 PM, Scott Wood wrote: >> >> On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote: >> > Hi all, >> > >> > I have a custom Freescale QorIQ P1020 board, with a serial NOR Flash (eSPI >> > bus) and a NAND Flash (eLBC/F

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
On 07-08-14 22:02, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:43, Tom Rini wrote: On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read t

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Tom, On 07-08-14 21:43, Tom Rini wrote: On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the Python

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 09:37:22PM +0200, Jeroen Hofstee wrote: > Hello Tom, > > On 07-08-14 21:08, Tom Rini wrote: > >On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: > > > >>Hello. I read the posts a couple days ago about the Python issues with > >>Kconfig feature. I

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Jeroen Hofstee
Hello Tom, On 07-08-14 21:08, Tom Rini wrote: On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see a resolution on how this would be fixed. I am running Ubuntu 14.04LT

Re: [U-Boot] [PATCH] powerpc/t1040qds: Remove Video - HDMI support

2014-08-07 Thread Timur Tabi
On Fri, Apr 18, 2014 at 4:32 AM, dongsheng.w...@freescale.com wrote: > > If we have, why kernel doesn't support DIU on T1040QDS? That I must remove it > reason. Because no one added that support yet. You should finish the job by fixing the kernel. ___

Re: [U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 12:11:41PM -0400, da...@plentovichdesign.com wrote: > Hello. I read the posts a couple days ago about the Python issues with > Kconfig feature. I didn't see a resolution on how this would be fixed. I > am running Ubuntu 14.04LTS, building u-boot and the problem I have is

[U-Boot] Python subprocess module missing in multiconfig.py

2014-08-07 Thread david
Hello. I read the posts a couple days ago about the Python issues with Kconfig feature. I didn't see a resolution on how this would be fixed. I am running Ubuntu 14.04LTS, building u-boot and the problem I have is that the eldk tools have a older python (2.7.3) which does not have the subprocess

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 11:33:35AM -0600, Stephen Warren wrote: > On 08/07/2014 10:57 AM, Tom Rini wrote: > >On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: > >>On 08/07/14 13:57, Tom Rini wrote: > .. > >>>we just need > >>>/usr/bin/env python2 as how we invoke our scripts. > >> > >>

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Stephen Warren
On 08/07/2014 10:57 AM, Tom Rini wrote: On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: On 08/07/14 13:57, Tom Rini wrote: .. we just need /usr/bin/env python2 as how we invoke our scripts. This means impose python version dependency for U-Boot source build? Correct me if you

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 06:52:44 PM, Steve Rae wrote: [...] > >> I was referring to what you mention below... > >> > >>852 - Safe printf() functions > >>853 Define CONFIG_SYS_VSNPRINTF to compile in safe versions of > >>854 the printf() functions. These are defined

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/07/14 13:57, Tom Rini wrote: > > On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: > >> Hi Masahiro, > >> > >> On 08/04/14 15:59, Masahiro Yamada wrote: > >>> Hi.

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Steve Rae
On 14-08-07 06:23 AM, Marek Vasut wrote: On Thursday, August 07, 2014 at 02:28:13 AM, Steve Rae wrote: On 14-08-06 05:13 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM, S

Re: [U-Boot] [PATCH v8 02/13] kconfig: add board Kconfig and defconfig files

2014-08-07 Thread York Sun
On 08/06/2014 11:59 PM, Masahiro Yamada wrote: > Hi York, > > > On Wed, 6 Aug 2014 11:24:27 -0700 > York Sun wrote: > >> On 07/29/2014 10:08 PM, Masahiro Yamada wrote: >>> This commit adds: >>> - arch/${ARCH}/Kconfig >>> provide a menu to select target boards >>> - board/${VENDOR}/${BOARD

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Steve Rae
On 14-08-07 06:51 AM, Sebastian Andrzej Siewior wrote: On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search

[U-Boot] U boot with imx-usb-loader

2014-08-07 Thread DELOVE Alexandre
Hello I'm trying to send a u-boot built from denx sources to my board, a SabreLite, with imx-usb-loader. But when I try, I receive an error, "unknown load address" do you know how can I fix this? Regards Alexandre ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH] ARM: non-sec: Add spin table reserved memory support

2014-08-07 Thread Marc Zyngier
On 07/08/14 02:54, Xiubo Li wrote: > The memory where loaded the smp_waitloop code section probablly > be corrupted by Linux Kernel, then the secondary cores will be > running the random code, leading booting the secondary cores > failed. There is now similar reservation code in virt-dt.c. Probabl

Re: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

2014-08-07 Thread Roger Meier
Hi Masahiro Quoting Masahiro Yamada : Hi Roger, On Thu, 7 Aug 2014 12:52:30 +0200 Roger Meier wrote: Signed-off-by: Roger Meier CC: Masahiro Yamada CC: Wolfgang Denk --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 666d291..

[U-Boot] [PULL] u-boot/master

2014-08-07 Thread Marek Vasut
The following changes since commit fbe79a17fddb7f0b11aa15b9c93e9a4a26165ed8: m68k: define __kernel_size_t as unsinged int again (2014-07-22 09:46:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to 401abbf150e55e974829a7cc64

[U-Boot] [PATCH v3] tools: genboardscfg.py, no exception if columns undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Just removes the exception. This also deactivates the progress indicator. Remove a trainling whitespace. Signed-off-by: Roger Meier CC: Masahiro Yamada CC: Tom Rini --- Changes for v2: - use 24 instead of 25 lines Chan

Re: [U-Boot] [PATCH V2 6/9] sata: dwc_ahsata: implement sata_port_status

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:33 PM, Nikita Kiryanov wrote: > Define the new common function sata_port_status() which can be > used to query the sata driver for the state of ports, and implement it > for dwc_ahsata. > > Cc: Stefano Babic > Cc: Tom Rini > Cc: Marek Vasut > Signed-off-by:

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:51:54 PM, Sebastian Andrzej Siewior wrote: > On 08/07/2014 03:45 PM, Marek Vasut wrote: > > I agree. Is there a version of this file with BSD license on it ? Then > > that'd be a problem solved, right ? > > Right. I don't recall the locations of the second tree b

Re: [U-Boot] [PATCH V2 5/9] compulab: eeprom: add support for defining eeprom i2c bus

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:32 PM, Nikita Kiryanov wrote: > Create CONFIG_SYS_I2C_EEPROM_BUS #define to tell the EEPROM > module what I2C bus the EEPROM is located at. Make cl_eeprom_read() > switch to that bus when reading EEPROM. > > Cc: Igor Grinberg > Cc: Dmitry Lifshitz > Cc: Tom

Re: [U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:28 PM, Nikita Kiryanov wrote: > Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in > SPL. These #defines do not allow the user to select SPI mode for the SPI > flash (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in > spi_s

Re: [U-Boot] [PATCH V2 3/9] spi: mxc: fix sf probe when using mxc_spi

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:05:30 PM, Nikita Kiryanov wrote: > MXC SPI driver has a feature whereas a GPIO line can be used to force CS > high across multiple transactions. This is set up by embedding the GPIO > information in the CS value: > > cs = (cs | gpio << 8) > > This merge of cs an

Re: [U-Boot] [PATCH V2 2/9] mx6: add clock enabling functions

2014-08-07 Thread Igor Grinberg
Hi Nikita, On 08/07/14 16:05, Nikita Kiryanov wrote: > Add functions to enable/disable clocks for UART, SPI, ENET, and MMC. > > Cc: Stefano Babic > Signed-off-by: Nikita Kiryanov > --- > Changes in V2: > - No changes. > > arch/arm/cpu/armv7/mx6/clock.c| 99 > +++

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:09 PM, Marek Vasut wrote: >>> + * Copyright (C) 2010 The Android Open Source Project >>> + * >>> + * Licensed under the Apache License, Version 2.0 (the "License"); >> Please note that this license is not compatible with GPL version 2, >> because it has some requirements that are n

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:45 PM, Marek Vasut wrote: > I agree. Is there a version of this file with BSD license on it ? Then that'd > be > a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search it, he should find it. > > Best regards, > Marek Va

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:29:17 PM, Sebastian Andrzej Siewior wrote: > On 08/07/2014 03:09 PM, Marek Vasut wrote: > >>> + * Copyright (C) 2010 The Android Open Source Project > >>> + * > >>> + * Licensed under the Apache License, Version 2.0 (the "License"); > >> > >> Please note that thi

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 03:28:14 PM, Pantelis Antoniou wrote: > Hi Marek, > > [snip] > > >> I don't want to be the first to defined it for all of armv7 > > > > Honestly, we should just enable this CONFIG_SYS_VSNPRINTF by default for > > the good of humanity and all the things, since

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Pantelis Antoniou
Hi Marek, [snip] >> I don't want to be the first to defined it for all of armv7 > > Honestly, we should just enable this CONFIG_SYS_VSNPRINTF by default for the > good of humanity and all the things, since this unbounded string handling is > just evil (see how OpenSSL ended up, partly beca

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 02:28:13 AM, Steve Rae wrote: > On 14-08-06 05:13 PM, Marek Vasut wrote: > > On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: > >> On 14-07-30 06:37 PM, Marek Vasut wrote: > >>> On Thursday, June 26, 2014 at 10:13:22 PM, Steve Rae wrote: > >>> [...] > >>

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/07/14 13:57, Tom Rini wrote: > On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: >> Hi Masahiro, >> >> On 08/04/14 15:59, Masahiro Yamada wrote: >>> Hi. >>> > It seems that those scripts only work on Python versions 2.6 - 2.

Re: [U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL

2014-08-07 Thread Masahiro Yamada
Hi. On Thu, 7 Aug 2014 06:12:18 -0600 Simon Glass wrote: > Hi Tom, York, > > On 6 August 2014 09:06, Tom Rini wrote: > > On Wed, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote: > >> Hi York, > >> > >> On 5 August 2014 20:53, York Sun wrote: > >> > > >> > > >> > On 8/5/14 7:15 PM, "Simo

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 07:36:49 AM, Wolfgang Denk wrote: > Dear Marek, > > In message <201408070214.35862.ma...@denx.de> you wrote: > > Are we discussing the licensing issues here still ? Tom ? > > Well, of course? We cannot add code that comes under an incompatible > license. And we u

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Marek Vasut
On Thursday, August 07, 2014 at 07:34:46 AM, Wolfgang Denk wrote: > Dear Steve Rae, > > In message <1407369313-13815-5-git-send-email-s...@broadcom.com> you wrote: > > - to prepare for the support of fastboot sparse images > > > > Signed-off-by: Steve Rae > > --- > > > > This file is ASIS from:

[U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-07 Thread Nikita Kiryanov
Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in SPL. These #defines do not allow the user to select SPI mode for the SPI flash (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in spi_spl_load.c), and duplicate information already provided by CONFIG_SF_DEFAULT_

[U-Boot] [PATCH V2 3/9] spi: mxc: fix sf probe when using mxc_spi

2014-08-07 Thread Nikita Kiryanov
MXC SPI driver has a feature whereas a GPIO line can be used to force CS high across multiple transactions. This is set up by embedding the GPIO information in the CS value: cs = (cs | gpio << 8) This merge of cs and gpio data into one value breaks the sf probe command: if the use of gpio is requ

[U-Boot] [PATCH V2 0/9] Introduce cm-fx6 board (partial V2)

2014-08-07 Thread Nikita Kiryanov
This is a partial V2 of the "Introduce cm-fx6 board" series, spanning all the patches up to "arm: mx6: ddr: configure MMDC for slow_pd" (not including). This series constitutes the majority of the preparational steps for introducing the cm-fx6 board. Changes in V2: - Patch "spl: improve sp

[U-Boot] [PATCH V2 8/9] arm: mx6: ddr: cleanup

2014-08-07 Thread Nikita Kiryanov
No functional changes. Cc: Stefano Babic Cc: Tim Harvey Acked-by: Tim Harvey Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/ddr.c | 272 +-- 1 file changed, 134 insertions(+), 138 deletions(-) diff --git

[U-Boot] [PATCH V2 7/9] i2c: imx: add macros to setup pads for multiple SoC types

2014-08-07 Thread Nikita Kiryanov
Add macro which defines i2c_pads_info structs for multiple SoC types, and a macro which selects the appropriate struct based on CPU type, thus eliminating the need to manage multiple i2c pad configurations manually when supporting multiple SoC types. Cc: Stefano Babic Cc: Tim Harvey Acked-by: Ti

[U-Boot] [PATCH V2 5/9] compulab: eeprom: add support for defining eeprom i2c bus

2014-08-07 Thread Nikita Kiryanov
Create CONFIG_SYS_I2C_EEPROM_BUS #define to tell the EEPROM module what I2C bus the EEPROM is located at. Make cl_eeprom_read() switch to that bus when reading EEPROM. Cc: Igor Grinberg Cc: Dmitry Lifshitz Cc: Tom Rini Cc: Marek Vasut Acked-by: Igor Grinberg Acked-by: Dmitry Lifshitz Signed-

[U-Boot] [PATCH V2 9/9] arm: mx6: ddr: do not write into reserved bit

2014-08-07 Thread Nikita Kiryanov
Bit 16 in mapsr register is in a reserved field. Don't write to it. Cc: Stefano Babic Cc: Tim Harvey Acked-by: Tim Harvey Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/ddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[U-Boot] [PATCH V2 2/9] mx6: add clock enabling functions

2014-08-07 Thread Nikita Kiryanov
Add functions to enable/disable clocks for UART, SPI, ENET, and MMC. Cc: Stefano Babic Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/clock.c| 99 +++ arch/arm/include/asm/arch-mx6/clock.h | 5 ++ 2 files

[U-Boot] [PATCH V2 6/9] sata: dwc_ahsata: implement sata_port_status

2014-08-07 Thread Nikita Kiryanov
Define the new common function sata_port_status() which can be used to query the sata driver for the state of ports, and implement it for dwc_ahsata. Cc: Stefano Babic Cc: Tom Rini Cc: Marek Vasut Signed-off-by: Nikita Kiryanov --- Changes in V2: - Use errno values. drivers/block/dwc

[U-Boot] [PATCH V2 4/9] mtd: spi: add support for M25PE16 and M25PX16

2014-08-07 Thread Nikita Kiryanov
Add support for M25PE16 and M25PX16 Cc: Jagannadha Sutradharudu Teki Cc: Marek Vasut Acked-by: Marek Vasut Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes. drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/sf_params.c b/d

Re: [U-Boot] [PATCH] zynq: spl: Add vectors section to linker script

2014-08-07 Thread Peter Crosthwaite
On Tue, Aug 5, 2014 at 5:57 PM, Michal Simek wrote: > On 08/04/2014 12:51 PM, Peter Crosthwaite wrote: >> The vectors section contains the _start symbol which is used as the >> program entry point. Add it to the linker script in same fasion as done > > fashion > Fixed. >> for regular u-boot. Thi

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 14:15:09 +0200 Roger Meier wrote: > The existing terminalsize detection raised an exception on build > server. Removes the exception and return a default value. > > Signed-off-by: Roger Meier > CC: Masahiro Yamada > CC: Tom Rini > --- > Changes for v2: >-

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 12:46:53 +0200 Roger Meier wrote: > The existing terminalsize detection raised an exception on build > server. Removes the exception and return a default value. > > Signed-off-by: Roger Meier > CC: Masahiro Yamada > --- > tools/genboardscfg.py |8 +++- >

Re: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

2014-08-07 Thread Masahiro Yamada
Hi Roger, On Thu, 7 Aug 2014 12:52:30 +0200 Roger Meier wrote: > Signed-off-by: Roger Meier > CC: Masahiro Yamada > CC: Wolfgang Denk > --- > Makefile |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 666d291..831e091 100644 > --- a/M

[U-Boot] [PATCH] zynq: spl: Add vectors section to linker script

2014-08-07 Thread Peter Crosthwaite
The vectors section contains the _start symbol which is used as the program entry point. Add it to the linker script in same fashion as done for regular u-boot. This allows for correct generation of an spl elf with a non-zero entry point. A similar change was applied to sunxi platform in "sunxi: F

[U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier CC: Masahiro Yamada CC: Tom Rini --- Changes for v2: - use 24 instead of 25 lines --- tools/genboardscfg.py |8 +++- 1 file changed,

Re: [U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL

2014-08-07 Thread Simon Glass
Hi Tom, York, On 6 August 2014 09:06, Tom Rini wrote: > On Wed, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote: >> Hi York, >> >> On 5 August 2014 20:53, York Sun wrote: >> > >> > >> > On 8/5/14 7:15 PM, "Simon Glass" wrote: >> >> But in this case why not just leave off the 'free

Re: [U-Boot] [PATCH 1/2] sunxi: Replace CONFIG_SUN[457]I ifdefs with SOC_IS_SUN[457]I() calls

2014-08-07 Thread Hans de Goede
Hi, On 08/03/2014 05:26 AM, Siarhei Siamashka wrote: > This is a purely mechanical conversion, replacing the ifdefs and > preparing the code for the use of runtime Allwinner SoC type > detection (within Allwinner A10/A13/A20 family). > > Similar 'board_is_xxx()' calls are used for TI hardware. >

Re: [U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Tom Rini
On Thu, Aug 07, 2014 at 12:46:53PM +0200, Roger Meier wrote: > The existing terminalsize detection raised an exception on build > server. Removes the exception and return a default value. > > Signed-off-by: Roger Meier > CC: Masahiro Yamada > --- > tools/genboardscfg.py |8 +++- > 1 fil

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-07 Thread Nikita Kiryanov
On 04/08/14 17:24, Nikita Kiryanov wrote: On 04/08/14 09:02, Tim Harvey wrote: Nikita, Are the values in include/configs/imx6_spl.h too inflexible to use? If so, I can submit a patch in the future to remove that file and pull them all in my board config files as I'm the only user of it. T

[U-Boot] [PATCH] tools: genboardscfg.py, use default terminal size if undetectable

2014-08-07 Thread Roger Meier
The existing terminalsize detection raised an exception on build server. Removes the exception and return a default value. Signed-off-by: Roger Meier CC: Masahiro Yamada --- tools/genboardscfg.py |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/genboardscfg.p

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-07 Thread Tom Rini
On Mon, Aug 04, 2014 at 04:17:00PM +0300, Igor Grinberg wrote: > Hi Masahiro, > > On 08/04/14 15:59, Masahiro Yamada wrote: > > Hi. > > > >> > >>> It seems that those scripts only work on Python versions 2.6 - 2.7? > > > > > > > > I took a quick look and I found Python 3.x is not comatible 2.

  1   2   >