Re: [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support

2015-05-04 Thread Stefan Roese
Hi Simon, On 03.05.2015 19:20, Simon Glass wrote: > Hi Stefan, > > On 3 May 2015 at 03:16, Stefan Roese wrote: >> Hi Simon, >> >> On 02.05.2015 22:59, Simon Glass wrote: >>> >>> On 24 April 2015 at 22:29, Stefan Roese wrote: This patch series adds support for the Marvell Armada A

[U-Boot] FIT: workarounding wrong configuration name

2015-05-04 Thread yegorslists
In our project we read device ID from EEPROM and then select an appropriate configuration "bootm ${loadaddr}#conf${board_name}". If for some reason wrong ID was written into EEPROM, then it is still important, that device can still be booted with default configuration. One can still put a big warn

[U-Boot] [RFC] FIT: use default configuration, if given configuration is not found

2015-05-04 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- common/image-fit.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index c61be65..b892d06 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1547,6 +1547,10 @@ in

Re: [U-Boot] [PATCH] sunxi: display: Align end of memory to work around a linux-4.0 bug

2015-05-04 Thread Hans de Goede
Hi, On 02-05-15 15:21, Ian Campbell wrote: On Fri, 2015-04-24 at 20:39 +0200, Hans de Goede wrote: Linux-4.0 as shipped has a bug causing it to not boot if the end of memory is not aligned to a multiple of 2 MiB. For details see the linux-arm mailing list post titled: "Memory size unaligned to

Re: [U-Boot] [PATCH v2 03/10] sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool

2015-05-04 Thread Hans de Goede
Hi, On 02-05-15 15:31, Ian Campbell wrote: On Sun, 2015-04-26 at 17:21 +0200, Hans de Goede wrote: sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i-a33 and sun9i have a various things in common, like having separate ahb reset control registers, the SID living inside the pmic, custom

Re: [U-Boot] [PATCH v2 08/10] sunxi: Add basic A33 basic support

2015-05-04 Thread Hans de Goede
Hi, On 02-05-15 15:36, Ian Campbell wrote: On Sun, 2015-04-26 at 20:52 +0200, Hans de Goede wrote: From: Vishnu Patekar Enable full support for the A33 SoC including display, otg-usb, etc. Signed-off-by: Vishnu Patekar Signed-off-by: Hans de Goede Acked-by: Ian Campbell -#if defined(C

Re: [U-Boot] [PATCH v2 03/10] sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool

2015-05-04 Thread Ian Campbell
On Mon, 2015-05-04 at 11:04 +0200, Hans de Goede wrote: > Hi, > > On 02-05-15 15:31, Ian Campbell wrote: > > On Sun, 2015-04-26 at 17:21 +0200, Hans de Goede wrote: > >> sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i-a33 and sun9i > >> have a various things in common, like having sepa

Re: [U-Boot] [PATCH v2 03/10] sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool

2015-05-04 Thread Hans de Goede
Hi, On 04-05-15 11:31, Ian Campbell wrote: On Mon, 2015-05-04 at 11:04 +0200, Hans de Goede wrote: Hi, On 02-05-15 15:31, Ian Campbell wrote: On Sun, 2015-04-26 at 17:21 +0200, Hans de Goede wrote: sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i-a33 and sun9i have a various thing

Re: [U-Boot] [PATCH] sunxi: display: Align end of memory to work around a linux-4.0 bug

2015-05-04 Thread Ian Campbell
On Mon, 2015-05-04 at 10:51 +0200, Hans de Goede wrote: > Hi, > > On 02-05-15 15:21, Ian Campbell wrote: > > On Fri, 2015-04-24 at 20:39 +0200, Hans de Goede wrote: > >> Linux-4.0 as shipped has a bug causing it to not boot if the end of memory > >> is not aligned to a multiple of 2 MiB. For detai

Re: [U-Boot] [PATCH v3 02/26] kconfig: Move REGEX to Kconfig

2015-05-04 Thread Pavel Machek
On Sun 2015-05-03 15:12:38, Joe Hershberger wrote: > Having this as a Kconfig allows it to be a dependent feature. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > Acked-by: Stefan Roese Acked-by: Pavel Machek > diff --git a/configs/socfpga_cyclone5_defconfig > b/configs/socf

Re: [U-Boot] switching to single .config configuration issues

2015-05-04 Thread Yehuda Yitschak
Hey Simon > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Sunday, May 03, 2015 21:55 > To: Yehuda Yitschak > Cc: Masahiro Yamada; Hanna Hawa; u-boot@lists.denx.de > Subject: Re: [U-Boot] switching to single .config configuration issues

Re: [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support

2015-05-04 Thread Simon Glass
Hi Stefan, On May 4, 2015 1:50 AM, "Stefan Roese" wrote: > > Hi Simon, > > On 03.05.2015 19:20, Simon Glass wrote: > > Hi Stefan, > > > > On 3 May 2015 at 03:16, Stefan Roese wrote: > >> Hi Simon, > >> > >> On 02.05.2015 22:59, Simon Glass wrote: > >>> > >>> On 24 April 2015 at 22:29, Stefan Roe

Re: [U-Boot] [PATCH 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Fabio Estevam
Hi Nikolay, On Mon, May 4, 2015 at 1:18 AM, Nikolay Dimitrov wrote: > Hi Fabio, > > On 05/04/2015 06:30 AM, Fabio Estevam wrote: >> >> From: Fabio Estevam >> >> mx6cuboxi sometimes fails to recognize the Ethernet PHY: >> >> Net: Phy 0 not found >> >> The explanation comes from a patch from Rab

Re: [U-Boot] [PATCH 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Rabeeh Khoury
On 05/04/2015 07:18 AM, Nikolay Dimitrov wrote: Hi Fabio, On 05/04/2015 06:30 AM, Fabio Estevam wrote: From: Fabio Estevam mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The explanation comes from a patch from Rabeeh: "The LED_ACT pin on the carrier-one boa

Re: [U-Boot] [PATCH 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Nikolay Dimitrov
Hi Rabeeh, On 05/04/2015 03:35 PM, Rabeeh Khoury wrote: On 05/04/2015 07:18 AM, Nikolay Dimitrov wrote: Hi Fabio, On 05/04/2015 06:30 AM, Fabio Estevam wrote: From: Fabio Estevam mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The explanation comes from a p

Re: [U-Boot] [PATCH 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Nikolay Dimitrov
Hi Fabio, On 05/04/2015 03:22 PM, Fabio Estevam wrote: Hi Nikolay, On Mon, May 4, 2015 at 1:18 AM, Nikolay Dimitrov wrote: Hi Fabio, On 05/04/2015 06:30 AM, Fabio Estevam wrote: From: Fabio Estevam mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The expl

Re: [U-Boot] [PATCH 18/21] sunxi: dts: Add minimal dts files for board which lack a dts sofar

2015-05-04 Thread Hans de Goede
Hi, On 05/02/2015 03:48 PM, Ian Campbell wrote: On Sun, 2015-04-26 at 11:57 +0200, Hans de Goede wrote: Hi, On 26-04-15 05:30, Ian Campbell wrote: On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: u-boot has support for a number of boards for which a dts file still needs to be written,

Re: [U-Boot] [PATCH v3 1/2] stv0991: fdt: add stv0991 device tree

2015-05-04 Thread Simon Glass
On 3 May 2015 at 15:10, Vikas Manocha wrote: > This patch adds device tree for the ST Micro stv0991 board & enables > device tree control. Progressively device tree support for the drivers > being used will also be added. > > Signed-off-by: Vikas Manocha > --- > > Changes in v3: > - CONFIG_OF_EMB

Re: [U-Boot] [PATCH 8/8] sunxi: ehci: Convert to the driver-model

2015-05-04 Thread Hans de Goede
Hi, On 05/02/2015 04:03 PM, Ian Campbell wrote: On Thu, 2015-04-30 at 16:35 +0200, Hans de Goede wrote: + if (hccr == (void *)SUNXI_USB1_BASE) { + priv->ahb_gate_mask = 1 << AHB_GATE_OFFSET_USB_EHCI0; + priv->phy_index = 1; Inferring these from the base addre

Re: [U-Boot] [PATCH 01/20] dm: spi: Correct the comment on spi_get_ops()

2015-05-04 Thread Simon Glass
On 22 April 2015 at 05:39, Jagan Teki wrote: > On 21 April 2015 at 00:07, Simon Glass wrote: >> This comment should refer to SPI, not serial. >> >> Signed-off-by: Simon Glass >> --- >> >> include/spi.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/include/spi.h b/i

Re: [U-Boot] [PATCH 02/20] dm: i2c: sandbox: Add debugging to the speed limit

2015-05-04 Thread Simon Glass
On 23 April 2015 at 23:14, Heiko Schocher wrote: > Hello Simon, > > > Am 23.04.2015 17:12, schrieb Simon Glass: >> >> Hi Heiko, >> >> On 20 April 2015 at 23:04, Heiko Schocher wrote: >>> >>> Hello Simon, >>> >>> >>> Am 20.04.2015 20:37, schrieb Simon Glass: Print a debug() message

Re: [U-Boot] [PATCH 03/20] dm: i2c: Add functions to read and write a register

2015-05-04 Thread Simon Glass
On 20 April 2015 at 23:05, Heiko Schocher wrote: > Hello Simon, > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Add driver model versions of the legacy functions to read and write a >> single byte register. These are a useful shortcut in many cases. >> >> Signed-off-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH 04/20] dm: i2c: Add an explicit test mode to the sandbox I2C driver

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > At present this driver has a few test features. They are needed for running > the driver model unit tests but are confusing and unnecessary if using > sandbox at the command line. Add a flag to enable the test mode, and don't > enable it by default.

Re: [U-Boot] [PATCH 06/20] dm: rtc: Rename gregorian day function

2015-05-04 Thread Simon Glass
On 20 April 2015 at 23:13, Heiko Schocher wrote: > Hello Simon, > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Change this function name to something more descriptive. Also return a >> failure code if it cannot calculate a correct value. >> >> Signed-off-by: Simon Glass >> --- >> >> common

Re: [U-Boot] [PATCH 05/20] fdt: Correct warning in fdt_setup_simplefb_node()

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Adjust the printf() string to avoid a warning on sandbox. > > Signed-off-by: Simon Glass > --- > > common/fdt_support.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-dm. ___

Re: [U-Boot] [PATCH 08/20] dm: rtc: Rename mktime() and reduce the number of parameters

2015-05-04 Thread Simon Glass
On 20 April 2015 at 23:17, Heiko Schocher wrote: > Hello Simon, > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Most callers unpack the structure and pass each member. It seems better to >> pass the whole structure instead, as with the C library. Also add an rtc_ >> prefix. >> >> Signed-off-by

Re: [U-Boot] [PATCH 10/20] dm: rtc: Split structure definition into its own file

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Move the definition of struct rtc_time into a separate file so that sandbox > can include it without requiring common.h and the like. > > Signed-off-by: Simon Glass > --- > > include/rtc.h | 26 +- > include/rtc_def.h |

Re: [U-Boot] [PATCH 09/20] dm: Remove unnecessary types in bcd.h

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > We don't need to use u8, and if we avoid it, it isn't so much of a problem > that rtc.h includes this header. With this change we can include rtc.h from > sandbox files. > > Signed-off-by: Simon Glass > --- > > include/bcd.h | 8 +++- > 1 file

Re: [U-Boot] [PATCH 11/20] dm: sandbox: Add os_localtime() to obtain the system time

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add a function to read the system time into U-Boot. > > Signed-off-by: Simon Glass > --- > > arch/sandbox/cpu/os.c | 18 ++ > include/os.h | 11 +++ > 2 files changed, 29 insertions(+) Applied to u-boot-dm. ___

Re: [U-Boot] [PATCH 12/20] dm: rtc: Add a uclass for real-time clocks

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add a uclass for real-time clocks which support getting the current time, > setting it and resetting the chip to a known-working state. Some RTCs have > additional registers which can be used to store settings, so also provide > an interface to these

Re: [U-Boot] [PATCH 15/20] dm: rtc: Convert 'date' command to support driver model

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Adjust this command so that it supports using driver model for I2C, i.e. > CONFIG_DM_I2C. This will permit it to be used in sandbox also. > > Signed-off-by: Simon Glass > --- > > common/cmd_date.c | 53 +++---

Re: [U-Boot] [PATCH 14/20] dm: rtc: sandbox: Add a driver for the sandbox I2C RTC

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add a driver which communicates with the sandbox I2C emulation RTC device > and permits it to be used in U-Boot. This driver is very simple - it just > reads and writes selected I2C registers in the device. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 13/20] dm: rtc: sandbox: Add an emulated I2C RTC device

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add a sandbox I2C emulation device which emulates a real-time clock. The > clock works off an offset from the current system time, and supports setting > and getting the clock, as well as access to byte-width regisers in the RTC. > It does not suppor

Re: [U-Boot] [PATCH 17/20] dm: sandbox: dts: Add a real-time clock attached to I2C

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add an emulated RTC device for sandbox, so that the 'date' command can be > used. > > Signed-off-by: Simon Glass > --- > > arch/sandbox/dts/sandbox.dts | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) Applied to u-boot-dm.

Re: [U-Boot] [PATCH 18/20] dm: rtc: sandbox: Enable real-time clock support

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Enable real-time-clock support in sandbox. > > Signed-off-by: Simon Glass > --- > > configs/sandbox_defconfig | 1 + > drivers/rtc/Makefile | 2 -- > include/configs/sandbox.h | 1 + > 3 files changed, 2 insertions(+), 2 deletions(-) Applied

Re: [U-Boot] [PATCH 19/20] dm: test: dts: Sort the aliases in the test device tree file

2015-05-04 Thread Simon Glass
On 21 April 2015 at 09:32, Joe Hershberger wrote: > Hi Simon, > > On Mon, Apr 20, 2015 at 1:37 PM, Simon Glass wrote: >> Sort these aliases to avoid confusion as to what is present. >> >> Signed-off-by: Simon Glass >> --- > > Reviewed-by: Joe Hershberger Applied to u-boot-dm. _

Re: [U-Boot] [PATCH 20/20] dm: rtc: Add tests for real-time clocks

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:37, Simon Glass wrote: > Add some simple tests to verify that the RTC uclass works correctly in > U-Boot. > > Signed-off-by: Simon Glass > --- > > test/dm/Makefile | 1 + > test/dm/rtc.c| 175 > +++ > test/dm/test.

Re: [U-Boot] [PATCH 5/5] nand: sunxi: And a20_nandread command utilizing spl nand read driver

2015-05-04 Thread Hans de Goede
Hi, On 05/02/2015 04:26 PM, Ian Campbell wrote: On Wed, 2015-04-29 at 17:03 +0200, Daniel Kochmański wrote: This patch adds a20_nandread command. It is simple function utilizing function from SPL nand driver `nand_spl_load_image`. Usage: a20_nandread This stuff should really be integrated

Re: [U-Boot] [PATCH 16/20] dm: net: rtc: Support using driver model for rtc in sntp

2015-05-04 Thread Simon Glass
On 20 April 2015 at 12:43, Joe Hershberger wrote: > Hi Simon, > > On Mon, Apr 20, 2015 at 1:37 PM, Simon Glass wrote: >> When setting the date, support driver model RTC also. >> >> Signed-off-by: Simon Glass > > Acked-by: Joe Hershberger Applied to u-boot-dm. __

[U-Boot] [PATCH v2 2/2] mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1

2015-05-04 Thread Fabio Estevam
Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly connected to the Atheros 8035/8030 although they should be functional only in the RMII mode - 8030. Signed-off-by: Rabeeh Khoury Signed-off-by: Fabio Estevam --- Changes since v1: - None board/solidrun/mx6cuboxi/mx6c

[U-Boot] [PATCH v2 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Fabio Estevam
mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The explanation for this behavior comes from from Rabeeh Khoury: "The LED_ACT pin on the carrier-one boards had a pull down that forces the phy address to 0x0; where on CuBox-i and the production HummingBoard that pi

Re: [U-Boot] [PATCH 07/20] dm: rtc: Rename to_tm() to rtc_to_tm() and add error code

2015-05-04 Thread Simon Glass
On 20 April 2015 at 23:16, Heiko Schocher wrote: > Hello Simon, > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Rename this function so that it is clear that it is provided by the RTC. >> Also return an error when it cannot function as expected. This is unlikely >> to occur since it works for

[U-Boot] [PATCH] Makefile: add a symbol link tags for ctags

2015-05-04 Thread Du Huanpeng
Signed-off-by: Du Huanpeng --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bd4abab..68eff1a 100644 --- a/Makefile +++ b/Makefile @@ -1228,6 +1228,7 @@ FINDFLAGS := -L tags ctags: ctags -w -o ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \

Re: [U-Boot] [PATCH v2 2/2] mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1

2015-05-04 Thread Stefano Babic
Hi Fabio, On 04/05/2015 16:22, Fabio Estevam wrote: > Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly > connected to the Atheros 8035/8030 although they should be functional > only in the RMII mode - 8030. > > Signed-off-by: Rabeeh Khoury > Signed-off-by: Fabio Est

Re: [U-Boot] [PATCH v2 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Stefano Babic
Hi Fabio, On 04/05/2015 16:22, Fabio Estevam wrote: > mx6cuboxi sometimes fails to recognize the Ethernet PHY: > > Net: Phy 0 not found > > The explanation for this behavior comes from from Rabeeh Khoury: > > "The LED_ACT pin on the carrier-one boards had a pull down that > forces the phy add

Re: [U-Boot] [PATCH v2 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Tom Rini
On Mon, May 04, 2015 at 11:22:55AM -0300, Fabio Estevam wrote: > mx6cuboxi sometimes fails to recognize the Ethernet PHY: > > Net: Phy 0 not found > > The explanation for this behavior comes from from Rabeeh Khoury: > > "The LED_ACT pin on the carrier-one boards had a pull down that > forces

Re: [U-Boot] [PATCH v2 2/2] mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1

2015-05-04 Thread Tom Rini
On Mon, May 04, 2015 at 11:22:56AM -0300, Fabio Estevam wrote: > Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly > connected to the Atheros 8035/8030 although they should be functional > only in the RMII mode - 8030. > > Signed-off-by: Rabeeh Khoury > Signed-off-by

Re: [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem

2015-05-04 Thread Simon Glass
On 4 May 2015 at 08:53, wrote: > From: Ulises Cardenas > > Boards such as imx6q_sabresd might not have mapmem.h as part of > their common library. This causes a build error if the DEK blob > command is enabled. > > Fix: make explicit the include of mapmem.h > > Signed-off-by: Ulises Cardenas

[U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem

2015-05-04 Thread Ulises.Cardenas
From: Ulises Cardenas Boards such as imx6q_sabresd might not have mapmem.h as part of their common library. This causes a build error if the DEK blob command is enabled. Fix: make explicit the include of mapmem.h Signed-off-by: Ulises Cardenas --- arch/arm/imx-common/cmd_dek.c | 1 + 1 f

[U-Boot] Please pull u-boot-sunxi master

2015-05-04 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for the second round of sunxi work, highlights: -A33 SoC support (full support including otg & display) -Move ALL sunxi boards over to the driver-model for serial, gpio and ethernet -Preparation work for moving the sunxi-ehci USB host support

[U-Boot] [PATCH] arm: mvebu: Remove "u-boot.kwb" CONFIG_BUILD_TARGET for non-SPL targets

2015-05-04 Thread Stefan Roese
By removing this default build target, the "u-boot.kwb" target is not automatically generated. This fixes a temporary build error when using out-of-tree builds, as buildman does per default (reported by Simon). When the full SPL support is added for these targets with the DDR training code, the "u

Re: [U-Boot] [PATCH] arm: mvebu: Remove "u-boot.kwb" CONFIG_BUILD_TARGET for non-SPL targets

2015-05-04 Thread Simon Glass
Hi Stefan, On 4 May 2015 at 09:31, Stefan Roese wrote: > > By removing this default build target, the "u-boot.kwb" target is not > automatically generated. This fixes a temporary build error when using > out-of-tree builds, as buildman does per default (reported by Simon). > > When the full SPL s

[U-Boot] [VOTING REQUIRED] Re: U-Boot mini summit

2015-05-04 Thread Wolfgang Denk
On Tue, 14 Apr 2015 Stefano Babic wrote: > Hi everybody, > > there were some rumours about next U-Boot mini summit and why there is > not yet a date. The reason is that we at DENX are thinking about, taking > into account that the U-Boot community is steadily increased, which is > the best locati

Re: [U-Boot] [PATCH] arm: mvebu: Remove "u-boot.kwb" CONFIG_BUILD_TARGET for non-SPL targets

2015-05-04 Thread Stefan Roese
Hi Simon, On 04.05.2015 17:35, Simon Glass wrote: On 4 May 2015 at 09:31, Stefan Roese wrote: By removing this default build target, the "u-boot.kwb" target is not automatically generated. This fixes a temporary build error when using out-of-tree builds, as buildman does per default (reported

Re: [U-Boot] [PATCH 1/2] hummingboard: Remove mx6solo specific support

2015-05-04 Thread Fabio Estevam
Hi Stefano, On Mon, Apr 27, 2015 at 9:05 PM, Tom Rini wrote: > On Mon, Apr 27, 2015 at 09:20:52AM -0300, Fabio Estevam wrote: >> Hummingboard dual, dual-lite and solo are now supported via SPL mechanism. >> >> Remove the previous hummingboard support, which does not use SPL and >> supported >> o

Re: [U-Boot] [PATCH 09/10] sunxi: Add softwinner astar mid756 A33 tablet board defconfig

2015-05-04 Thread Chen-Yu Tsai
On Thu, Apr 16, 2015 at 4:01 AM, Ian Campbell wrote: > On Tue, 2015-04-14 at 18:07 +0200, Hans de Goede wrote: >> From: Vishnu Patekar >> >> The Astar MID756 is a 7" tablet using the A33 SoC with a 800x480 LCD screen, >> 512M RAM, 8G ROM and integrated sdio wifi. Sorry for digging up old stuff,

Re: [U-Boot] [U-Boot, v2, 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Vagrant Cascadian
On 2015-05-04, Fabio Estevam wrote: > mx6cuboxi sometimes fails to recognize the Ethernet PHY: > > Net: Phy 0 not found > > The explanation for this behavior comes from from Rabeeh Khoury: > > "The LED_ACT pin on the carrier-one boards had a pull down that > forces the phy address to 0x0; where o

Re: [U-Boot] [PATCH v2 2/2] mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1

2015-05-04 Thread Vagrant Cascadian
On 2015-05-04, Fabio Estevam wrote: > Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly > connected to the Atheros 8035/8030 although they should be functional > only in the RMII mode - 8030. > > Signed-off-by: Rabeeh Khoury > Signed-off-by: Fabio Estevam > --- > Chan

Re: [U-Boot] [PATCH v2 1/2] mx6cuboxi: Fix Ethernet PHY detection problem

2015-05-04 Thread Stefano Babic
Hi Fabio, On 04/05/2015 16:22, Fabio Estevam wrote: > mx6cuboxi sometimes fails to recognize the Ethernet PHY: > > Net: Phy 0 not found > > The explanation for this behavior comes from from Rabeeh Khoury: > > "The LED_ACT pin on the carrier-one boards had a pull down that > forces the phy add

Re: [U-Boot] [PATCH v2 2/2] mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1

2015-05-04 Thread Stefano Babic
Hi Fabio, On 04/05/2015 16:22, Fabio Estevam wrote: > Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly > connected to the Atheros 8035/8030 although they should be functional > only in the RMII mode - 8030. > > Signed-off-by: Rabeeh Khoury > Signed-off-by: Fabio Est

Re: [U-Boot] AM335x configurations - console output at early stages lost

2015-05-04 Thread Vasili Galka
Hi Simon, On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass wrote: > Hi Vasili, > > On 29 April 2015 at 10:57, Vasili Galka wrote: > > Hi Tom, > > > > I’m working on rebasing an old U-Boot branch for our company’s AM335x > > based board upon the current U-Boot release (v2015.04). Our branch was > >

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Add board support for ucp1020

2015-05-04 Thread York Sun
Oleks, This patch is in much better shape. On 04/29/2015 01:57 PM, Oleksandr G Zhadan wrote: > New QorIQ p1020 based board support from Arcturus Networks Inc. > http://www.arcturusnetworks.com/products/ucp1020/ > > Signed-off-by: Michael Durrant > Signed-off-by: Oleksandr G Zhadan > > Series-

Re: [U-Boot] [VOTING REQUIRED] Re: U-Boot mini summit

2015-05-04 Thread Joe Hershberger
Hi Wolfgang, On Mon, May 4, 2015 at 10:31 AM, Wolfgang Denk wrote: > On Tue, 14 Apr 2015 Stefano Babic wrote: > >> Hi everybody, >> >> there were some rumours about next U-Boot mini summit and why there is >> not yet a date. The reason is that we at DENX are thinking about, taking >> into account

Re: [U-Boot] AM335x configurations - console output at early stages lost

2015-05-04 Thread Simon Glass
Hi Vasili, On 4 May 2015 at 10:21, Vasili Galka wrote: > > Hi Simon, > > On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass wrote: >> >> Hi Vasili, >> >> On 29 April 2015 at 10:57, Vasili Galka wrote: >> > Hi Tom, >> > >> > I’m working on rebasing an old U-Boot branch for our company’s AM335x >> > ba

Re: [U-Boot] AM335x configurations - console output at early stages lost

2015-05-04 Thread Vasili Galka
Hi Simon, On Mon, May 4, 2015 at 7:45 PM, Simon Glass wrote: > Hi Vasili, > > On 4 May 2015 at 10:21, Vasili Galka wrote: > > > > Hi Simon, > > > > On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass wrote: > >> > >> Hi Vasili, > >> > >> On 29 April 2015 at 10:57, Vasili Galka wrote: > >> > Hi Tom,

Re: [U-Boot] [PATCH 09/10] sunxi: Add softwinner astar mid756 A33 tablet board defconfig

2015-05-04 Thread Hans de Goede
Hi, On 05/04/2015 05:48 PM, Chen-Yu Tsai wrote: On Thu, Apr 16, 2015 at 4:01 AM, Ian Campbell wrote: On Tue, 2015-04-14 at 18:07 +0200, Hans de Goede wrote: From: Vishnu Patekar The Astar MID756 is a 7" tablet using the A33 SoC with a 800x480 LCD screen, 512M RAM, 8G ROM and integrated sdio

[U-Boot] [PATCH] mx6cuboxi: Skip usb initialization when booting without HDMI

2015-05-04 Thread Fabio Estevam
Starting USB initialization is useful for users that use Cuboxi/Hummingboard using HDMI and USB keyboard. However, when booting without a HDMI connection we can skip the usb initialization, which makes the boot faster. Signed-off-by: Jon Nettleton Signed-off-by: Fabio Estevam --- include/conf

[U-Boot] [PATCH v2] mx6cuboxi: Skip usb initialization when booting without HDMI

2015-05-04 Thread Fabio Estevam
Starting USB initialization is useful for those who use Cuboxi/Hummingboard with HDMI and USB keyboard. However, when booting without a HDMI connection we can skip the usb initialization, which makes the boot faster. Signed-off-by: Jon Nettleton Signed-off-by: Fabio Estevam --- Changes since v

Re: [U-Boot] AM335x configurations - console output at early stages lost

2015-05-04 Thread Vasili Galka
Hi Simon, On Mon, May 4, 2015 at 7:52 PM, Vasili Galka wrote: > Hi Simon, > > > On Mon, May 4, 2015 at 7:45 PM, Simon Glass wrote: > >> Hi Vasili, >> >> On 4 May 2015 at 10:21, Vasili Galka wrote: >> > >> > Hi Simon, >> > >> > On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass wrote: >> >> >> >> Hi

[U-Boot] [PATCH v3] dm: usb: Copy over usb_device values from usb_scan_device() to final usb_device

2015-05-04 Thread Hans de Goede
Currently we copy over a number of usb_device values stored in the on stack struct usb_device probed in usb_scan_device() to the final driver-model managed struct usb_device in usb_child_pre_probe() through usb_device_platdata, and then call usb_select_config() to fill in the rest. There are 3 pro

[U-Boot] [PATCH v3 0/1] dm: usb: Copy over usb_device values from usb_scan_device() to final usb_device

2015-05-04 Thread Hans de Goede
Hi Simon, Here is v3 of my patch to fix the maxpacketsize0 not being set issue I found and related issues. I've added a big fat comment to explain that the usb_device pointer is a hack and should not be used outside of usb-uclass.c as requested. I hope this version is to your liking and you can

Re: [U-Boot] AM335x configurations - console output at early stages lost

2015-05-04 Thread Simon Glass
On 4 May 2015 at 11:17, Vasili Galka wrote: > Hi Simon, > > On Mon, May 4, 2015 at 7:52 PM, Vasili Galka wrote: >> >> Hi Simon, >> >> >> On Mon, May 4, 2015 at 7:45 PM, Simon Glass wrote: >>> >>> Hi Vasili, >>> >>> On 4 May 2015 at 10:21, Vasili Galka wrote: >>> > >>> > Hi Simon, >>> > >>> > On

Re: [U-Boot] [PATCH v3 0/1] dm: usb: Copy over usb_device values from usb_scan_device() to final usb_device

2015-05-04 Thread Simon Glass
Hi Hans, On 4 May 2015 at 11:19, Hans de Goede wrote: > Hi Simon, > > Here is v3 of my patch to fix the maxpacketsize0 not being set issue I > found and related issues. > > I've added a big fat comment to explain that the usb_device pointer is a > hack and should not be used outside of usb-uclass

[U-Boot] [PATCH 00/24] Collected fixes and improvements

2015-05-04 Thread Simon Glass
This series contains a hodge-podge of minor fixes and improvements in various areas. They were found while adjusting mainline Nyan-big to work with Chrome OS verified boot. Rather than send a large number of individual patches I decide to collect them into a series. They should all be independent

[U-Boot] [PATCH 12/24] arm: Allow cleanup_before_linux() without disabling caches

2015-05-04 Thread Simon Glass
This function is used before jumping to U-Boot, but in that case we don't always want to disable caches. Signed-off-by: Simon Glass Signed-off-by: Vadim Bendebury --- arch/arm/cpu/armv7/cpu.c | 47 +-- include/common.h | 15 +++ 2

[U-Boot] [PATCH 06/24] tpm: Support using driver model with I2C

2015-05-04 Thread Simon Glass
As a first step towards converting the TPM system to driver model, allow it to work with CONFIG_DM_I2C. Signed-off-by: Simon Glass --- drivers/tpm/tpm.c | 89 +- drivers/tpm/tpm_private.h | 3 ++ drivers/tpm/tpm_tis_i2c.c | 134

[U-Boot] [PATCH 03/24] bootstage: Add IDs for SPI flash reading and decompression

2015-05-04 Thread Simon Glass
We maintain an accumulator for time spent reading from SPI flash, since this can be significant on some platforms. Also add one for decompression time. Signed-off-by: Simon Glass --- include/bootstage.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bootstage.h b/include/bootstag

[U-Boot] [PATCH 14/24] sandbox: Correct error handling in state_read_file()

2015-05-04 Thread Simon Glass
This function should return a useful error for U-Boot, rather than -1. Signed-off-by: Simon Glass --- arch/sandbox/cpu/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c index 033958c..cae731c 100644 --- a/arch/sandbox

[U-Boot] [PATCH 02/24] dm: usb: Implement usb_detect_change() for driver model

2015-05-04 Thread Simon Glass
Support this function with driver model also (CONFIG_DM_USB). Signed-off-by: Simon Glass --- drivers/usb/host/usb-uclass.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c index 714bc0e

[U-Boot] [PATCH 05/24] dm: i2c: Add a function to find out the chip offset length

2015-05-04 Thread Simon Glass
We can currently set this but there is no API function to get it. Add one. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass.c | 7 +++ include/i2c.h| 9 - 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclas

[U-Boot] [PATCH 08/24] dm: gpio: Fix comment typo in GPIOD_IS_IN

2015-05-04 Thread Simon Glass
This should say 'in', not 'out'. Signed-off-by: Simon Glass --- include/asm-generic/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 4752ea4..519bb0b 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm

[U-Boot] [PATCH 07/24] tpm: Rename Infineon TPM to slb9645tt

2015-05-04 Thread Simon Glass
This name is used in Linux, so use it in U-Boot. Signed-off-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts | 2 +- arch/arm/dts/exynos5800-peach-pi.dts | 2 +- lib/fdtdec.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/e

[U-Boot] [PATCH 04/24] dm: i2c: Implement 'i2c bus' command for driver model

2015-05-04 Thread Simon Glass
This command was missed in the conversion. Add it back for driver model. Signed-off-by: Simon Glass --- common/cmd_i2c.c | 63 +--- 1 file changed, 55 insertions(+), 8 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index ad38cb

[U-Boot] [PATCH 18/24] sandbox: Fix warning in display_options

2015-05-04 Thread Simon Glass
This fixes a warning in the print_buffer() function with some toolchains. Signed-off-by: Simon Glass --- lib/display_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/display_options.c b/lib/display_options.c index d5d17b2..495a547 100644 --- a/lib/display_option

[U-Boot] [PATCH 13/24] sandbox: Add an implementation for cleanup_before_linux_select()

2015-05-04 Thread Simon Glass
Support this function so we can use Chrome OS verified boot with sandbox. Signed-off-by: Simon Glass --- arch/sandbox/cpu/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 168f2ef..4646f07 100644 --- a/arch/sandbox/cpu/cpu.c +++

[U-Boot] [PATCH 19/24] sandbox: Support wide-screen LCD emulation

2015-05-04 Thread Simon Glass
Increase the LCD size to 1366x768. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index efa2097..6bfa735 100644 --- a/arch/sandbox/dts/sandbox.dts +++

[U-Boot] [PATCH 21/24] tegra124: Implement spl_was_boot_source()

2015-05-04 Thread Simon Glass
Add an implementation of this function for Tegra. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/board.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c index 222de6a..77be211 100644 --- a/arch/arm/mach-tegra/bo

[U-Boot] [PATCH 16/24] sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation

2015-05-04 Thread Simon Glass
Emualate this function which is used with Chrome OS verified boot. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_sandbox.c | 2 ++ include/ec_commands.h | 15 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sa

[U-Boot] [PATCH 17/24] sandbox: spi: Add newline to printf() in sandbox_sf_probe

2015-05-04 Thread Simon Glass
This printf() should have a newline at the end. Add it. Signed-off-by: Simon Glass --- drivers/mtd/spi/sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c index d576d31..895604d 100644 --- a/drivers/mtd/spi/sandbox.

[U-Boot] [PATCH 22/24] tegra: nyan-big: Allow TPM on I2C

2015-05-04 Thread Simon Glass
Enable the I2C3 pins so that the TPM can be used. Signed-off-by: Simon Glass --- board/nvidia/nyan-big/pinmux-config-nyan-big.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/nvidia/nyan-big/pinmux-config-nyan-big.h b/board/nvidia/nyan-big/pinmux-config-nyan-big.

[U-Boot] [PATCH 23/24] tegra: mmc: Set the removable flag correctly

2015-05-04 Thread Simon Glass
If the mmc device is non-removable (as indicated by the device tree), set the flag so that users of the device know. Signed-off-by: Simon Glass --- drivers/mmc/tegra_mmc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegr

[U-Boot] [PATCH 20/24] lcd: Support colour lookup table on 16bpp display in BMP images

2015-05-04 Thread Simon Glass
For 16-bit-per-pixel displays it is useful to support 8 bit-per-pixel images to reduce image size. Add support for this when drawing BMP images. Signed-off-by: Simon Glass --- common/lcd.c | 23 --- include/bmp_layout.h | 4 ++-- 2 files changed, 22 insertions(+), 5

[U-Boot] [PATCH 15/24] sandbox: Add missing errno.h includes in a few files

2015-05-04 Thread Simon Glass
These files use error numbering, so add the include. Signed-off-by: Simon Glass --- arch/sandbox/cpu/start.c | 1 + drivers/misc/i2c_eeprom_emul.c | 1 + drivers/misc/swap_case.c | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.

[U-Boot] [PATCH 24/24] tegra124: Expand SPL space by 8KB

2015-05-04 Thread Simon Glass
We are getting very close to running out of space in SPL, and with the currently Chrome OS gcc 4.9 we exceed the limit. Add a litle more space. Signed-off-by: Simon Glass --- include/configs/tegra124-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/te

Re: [U-Boot] [PATCH 12/24] arm: Allow cleanup_before_linux() without disabling caches

2015-05-04 Thread Marek Vasut
On Monday, May 04, 2015 at 07:31:05 PM, Simon Glass wrote: > This function is used before jumping to U-Boot, but in that case we don't > always want to disable caches. > > Signed-off-by: Simon Glass > Signed-off-by: Vadim Bendebury In which usecase exactly is this applicable please ? :) Best r

[U-Boot] [PATCH 09/24] arm: Include the .got section in the binary

2015-05-04 Thread Simon Glass
Commit 47ed5dd0 dropped the .got section from U-Boot binaries. This is needed for some relocations, and causes failures if missing. Add it back. Signed-off-by: Simon Glass --- arch/arm/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/config.mk b/arch/arm/

[U-Boot] [PATCH 11/24] arm: spl: Enable detecting when U-Boot is started from SPL

2015-05-04 Thread Simon Glass
For secure boot systems it is common to have a read-only U-Boot which starts the machine and jumps to a read-write U-Boot for actual booting the OS. This allows the read-write U-Boot to be upgraded without risk of permanently bricking the machine. In the event that the read-write U-Boot is corrupte

[U-Boot] [PATCH 10/24] arm: Add a prototype for save_boot_params_ret()

2015-05-04 Thread Simon Glass
It is convenient for some boards to implement save_boot_params() in C rather than assembler. Provide a way to return in this case. Signed-off-by: Simon Glass --- arch/arm/include/asm/system.h | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/include/asm/system.h b/a

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Add board support for ucp1020

2015-05-04 Thread Oleksandr G Zhadan
York, I did my best. :-) Thanks for your patching lessons. Regarding DDR "Raw timing" over "fixed" : No, I don't want to do any changes in this patch, at least now. Probably you notice CONFIG_SYS_DDR_RAW_TIMING is depended on CONFIG_DDR_ECC_ENABLE. And we have some customers would like to set

Re: [U-Boot] [PATCH 12/24] arm: Allow cleanup_before_linux() without disabling caches

2015-05-04 Thread Simon Glass
Hi Marek, On 4 May 2015 at 11:36, Marek Vasut wrote: > On Monday, May 04, 2015 at 07:31:05 PM, Simon Glass wrote: >> This function is used before jumping to U-Boot, but in that case we don't >> always want to disable caches. >> >> Signed-off-by: Simon Glass >> Signed-off-by: Vadim Bendebury > >

  1   2   >