Re: [U-Boot] [PATCH 0/5] dm: usb: Start of sunxi support

2015-04-18 Thread Hans de Goede
Hi Simon, On 18-04-15 19:33, Simon Glass wrote: This series adds a few starts for sunxi driver model support for USB. I don't intend to finish it, but hopefully it helps things get going. Simon Glass (5): dm: sunxi: gpio: Add temporary implementation of name_to_gpio() dm: sunxi: gpio: Re

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

2015-04-18 Thread Simon Glass
Hi Tom, Here are the queued-up buildman/patman patches, including the new CONFIG comparison feature (remember to build with -C if using it). Note these are in branch 'buildman'. The following changes since commit 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c: sandbox: exynos: Move CONFIG_SOUND_SA

Re: [U-Boot] [PATCH 6/6] buildman: Allow comparison of build configuration

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass wrote: > It is useful to be able to see CONFIG changes made by commits. Add this > feature to buildman using the -K flag so that all CONFIG changes are > reported. > > The CONFIG options exist in a number of files. Each is reported > individually as well as

Re: [U-Boot] [PATCH v2] patman: cover letter shows like 00/xx if more than 10 patches

2015-04-18 Thread Simon Glass
On 5 April 2015 at 12:31, Simon Glass wrote: > On 2 April 2015 at 20:51, Josh Wu wrote: >> Make cover letter shows like 0/x, 00/xx and 000/xxx etc. >> >> Signed-off-by: Josh Wu >> --- >> >> Changes in v2: >> - use math.log10() function instead >> >> tools/patman/patchstream.py | 7 +-- >> 1

Re: [U-Boot] [PATCH] buildman: Make -V (verbose_build) really be verbose

2015-04-18 Thread Simon Glass
On 6 April 2015 at 18:36, Tom Rini wrote: > On Sun, Apr 05, 2015 at 12:31:39PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 1 April 2015 at 05:47, Tom Rini wrote: >> > The help text for -V says we will pass V=1 but all it really did was not >> > pass in -s. Change the logic to pass make V=1 wit

Re: [U-Boot] [PATCH 5/6] buildman: Store build config files

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass wrote: > Store all config file output so that we can compare changes if requested. > > Signed-off-by: Simon Glass > --- > > tools/buildman/builderthread.py | 36 +--- > 1 file changed, 29 insertions(+), 7 deletions(-) Appl

Re: [U-Boot] [PATCH 3/6] buildman: Show 'make' command line when -V is used

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass wrote: > When a verbose build it selected, show the make command before the output of > that command. > > Signed-off-by: Simon Glass > --- > > tools/buildman/builder.py | 3 +++ > tools/buildman/builderthread.py | 5 - > 2 files changed, 7 inser

Re: [U-Boot] [PATCH 4/6] buildman: Adjust the 'aborted' heuristic for writing output

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass wrote: > At present buildman tries to detect an aborted build and doesn't record a > result in that case. This is to make sure that an abort (e.g. with Ctrl-C) > does not mark the build as done. Without this option, buildman would never > retry the build un

Re: [U-Boot] [PATCH 1/6] Create a .cfg file containing the CONFIG options used to build

2015-04-18 Thread Simon Glass
Hi, On 5 February 2015 at 22:06, Simon Glass wrote: > At present CONFIG options are split across Kconfig and board config headers > files. Also we have multiple files containing these CONFIG options. > > In order to see exactly what is being used for building, create a .cfg > file which holds the

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 15:16, Simon Glass wrote: > Hi Tom, > > On 18 April 2015 at 14:53, Tom Rini wrote: >> On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> I have patched in the patches from you and Hans. Things seem to work >>> OK with USB on the three boa

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 14:53, Tom Rini wrote: > On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: >> Hi Tom, >> >> I have patched in the patches from you and Hans. Things seem to work >> OK with USB on the three boards I tested, and I managed to get USB >> running on pcduino3 (sun

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: > Hi Tom, > > I have patched in the patches from you and Hans. Things seem to work > OK with USB on the three boards I tested, and I managed to get USB > running on pcduino3 (sunxi) also. > > Thanks for you help with this. > > > The f

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 09:51, Tom Rini wrote: > On Sat, Apr 18, 2015 at 09:26:21AM -0600, Simon Glass wrote: >> Hi, >> >> On 18 April 2015 at 06:07, Tom Rini wrote: >> > >> > On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: >> > > On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de G

[U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, I have patched in the patches from you and Hans. Things seem to work OK with USB on the three boards I tested, and I managed to get USB running on pcduino3 (sunxi) also. Thanks for you help with this. The following changes since commit 4564faeafbf11feb839e2e3f927be2f1a919ba96: ti: dw

Re: [U-Boot] [PATCH v6 26/26] tegra124: video: Add full link training for eDP

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:44 -0600 Simon Glass wrote: > Add full link training as a fallback in case the fast link training > fails. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] [PATCH v6 24/26] tegra: video: support eDP displays on Tegra124 devices

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:42 -0600 Simon Glass wrote: > Connect up the clocks and the eDP driver to make these displays work with > Tegra124-based devices. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH v6 23/26] tegra: video: Add Embedded DisplayPort driver

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:41 -0600 Simon Glass wrote: > This interface is used on laptop devices based on Tegra. Add a driver which > provides access to the eDP interface. The driver uses the display port > uclass. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin __

Re: [U-Boot] [PATCH v6 22/26] tegra: video: Support serial output resource (SOR) on tegra124

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:40 -0600 Simon Glass wrote: > The SOR is required for talking to eDP LCD panels. Add a driver for this > which will be used by the DisplayPort driver. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot

Re: [U-Boot] [PATCH v6 18/26] video: Add drm_dp_helper.h

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:36 -0600 Simon Glass wrote: > This file (from Linux 3.17) provides defines for display port. Use it so > that our naming is consistent with Linux. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mail

Re: [U-Boot] [PATCH v6 20/26] dm: video: Add a uclass for display port

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:38 -0600 Simon Glass wrote: > eDP (Embedded DisplayPort) is a standard widely used in laptops to drive > LCD panels. Add a uclass for this which supports a few simple operations. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___

[U-Boot] [PATCH 3/5] dm: gpio: Remove default declaration of name_to_gpio()

2015-04-18 Thread Simon Glass
With driver model we should not use this function. Drivers should use device tree to find their GPIOs. Signed-off-by: Simon Glass --- common/cmd_gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c index 65d6df4..9dae011 100644 --- a/common/cmd

[U-Boot] [PATCH 2/5] dm: sunxi: gpio: Rename GPIOs to include a 'P' prefix

2015-04-18 Thread Simon Glass
By convention, sunxi GPIOs are named PA1, PA2 instead of A1, A2. Change the driver model GPIO driver for sunxi to use these names. Signed-off-by: Simon Glass --- drivers/gpio/sunxi_gpio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/sunxi_gpio.c b/driv

[U-Boot] [PATCH 4/5] dm: usb: Add more debugging in ehci-hcd.c

2015-04-18 Thread Simon Glass
Add some debugging to detect init failure. Signed-off-by: Simon Glass --- drivers/usb/host/ehci-hcd.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index bd9861d..066e7c5 100644 --- a/drivers/usb/h

[U-Boot] [PATCH 5/5] WIP: sunxi: Start of driver model USB implementation

2015-04-18 Thread Simon Glass
This just has a few starting points. Work remaining: - Get GPIOs from the device tree correctly, and claim them - Perhaps create a USB phy class and driver for sunxi - Perhaps allow USB ports to be specified by some sort of peripherals ID instead of an index? Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 0/5] dm: usb: Start of sunxi support

2015-04-18 Thread Simon Glass
This series adds a few starts for sunxi driver model support for USB. I don't intend to finish it, but hopefully it helps things get going. Simon Glass (5): dm: sunxi: gpio: Add temporary implementation of name_to_gpio() dm: sunxi: gpio: Rename GPIOs to include a 'P' prefix dm: gpio: Remove

[U-Boot] [PATCH 1/5] dm: sunxi: gpio: Add temporary implementation of name_to_gpio()

2015-04-18 Thread Simon Glass
Until sunxi moves to device tree (e.g. for USB) we need to convert named GPIOs to numbers. Add a function to do this. Signed-off-by: Simon Glass --- drivers/gpio/sunxi_gpio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_gpio.c i

Re: [U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-04-18 Thread Anatolij Gustschin
On Fri, 27 Mar 2015 08:01:34 +0100 Hannes Petermaier wrote: ... > Hannes Petermaier (4): > common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy > common/lcd_console: ask only one-time for bg/fg-color per call > common/lcd_console: move single static variables into common (static) > stru

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 09:26:21AM -0600, Simon Glass wrote: > Hi, > > On 18 April 2015 at 06:07, Tom Rini wrote: > > > > On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: > > > On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 18-04-15 11:19, H

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Simon Glass
Hi, On 18 April 2015 at 06:07, Tom Rini wrote: > > On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: > > On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 18-04-15 11:19, Hans de Goede wrote: > > > >Hi, > > > > > > > >On 17-04-15 21:39, Hans de Goede

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: > On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: > > Hi, > > > > On 18-04-15 11:19, Hans de Goede wrote: > > >Hi, > > > > > >On 17-04-15 21:39, Hans de Goede wrote: > > >>Hi, > > >> > > >>On 17-04-15 21:28, Hans de Goede wro

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-18 Thread Jan Kiszka
On 2015-04-17 16:43, Stephen Warren wrote: > On 04/17/2015 08:20 AM, Jan Kiszka wrote: >> On 2015-04-17 16:12, Stephen Warren wrote: >>> On 04/17/2015 08:02 AM, Jan Kiszka wrote: On 2015-04-17 15:57, Stephen Warren wrote: > On 04/17/2015 12:47 AM, Jan Kiszka wrote: >> On 2015-04-14 16:

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: > Hi, > > On 18-04-15 11:19, Hans de Goede wrote: > >Hi, > > > >On 17-04-15 21:39, Hans de Goede wrote: > >>Hi, > >> > >>On 17-04-15 21:28, Hans de Goede wrote: > >>>Hi, > >>> > >>>On 17-04-15 19:53, Tom Rini wrote: > > > > > > > I

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Hans de Goede
Hi, On 18-04-15 11:19, Hans de Goede wrote: Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: I haven't had a chance to bisect yet but I will in a few hours. No need to, I've just completed a bisect, it poin

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Hans de Goede
Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: I haven't had a chance to bisect yet but I will in a few hours. No need to, I've just completed a bisect, it points to: 5bca5a6303f3526ab2cf9c0a62cd26c16e0d5c

[U-Boot] [PATCH 1/1] Fix musl build

2015-04-18 Thread Jörg Krause
This patch fixes cross-compiling U-Boot tools with the musl C library: * including is needed for ulong * defining _GNU_SOURCE is needed for loff_t Signed-off-by: Jörg Krause --- include/image.h| 1 + tools/env/fw_env.c | 2 ++ tools/imagetool.h | 1 + tools/proftool.c | 1 + 4 files