Re: [U-Boot] mx6cuboxi: PHY/FEC detection

2015-05-04 Thread Stefano Babic
On 04/05/2015 05:24, Fabio Estevam wrote: On Sat, May 2, 2015 at 11:12 AM, Fabio Estevam feste...@gmail.com wrote: Hi Stefano and Vagrant, On Sat, May 2, 2015 at 5:54 AM, Stefano Babic sba...@denx.de wrote: Good work ! I apply V2, then. Can you also send to a ML the two additional patches

Re: [U-Boot] [PATCH 3/3] x86: quark: Implement PIRQ routing

2015-05-04 Thread Bin Meng
Hi Simon, On Tue, Apr 28, 2015 at 10:05 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 27 April 2015 at 00:16, Bin Meng bmeng...@gmail.com wrote: Intel Quark SoC has the same interrupt routing mechanism as the Queensbay platform, only the difference is that PCI devices' INTA/B/C/D are

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 s...@denx.de wrote: Hi Simon, On 02.05.2015 22:59, Simon Glass wrote: On 24 April 2015 at 22:29, Stefan Roese s...@denx.de wrote: This patch series adds support for the Marvell Armada

[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

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

2015-05-04 Thread yegorslists
From: Yegor Yefremov yegorsli...@googlemail.com Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- 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 ---

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 vishnupatekar0...@gmail.com Enable full support for the A33 SoC including display, otg-usb, etc. Signed-off-by: Vishnu Patekar vishnupatekar0...@gmail.com Signed-off-by:

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 separate ahb

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

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 details see the

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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org Acked-by: Stefan Roese s...@denx.de Acked-by: Pavel Machek pa...@denx.de diff

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 s...@denx.de wrote: Hi Simon, On 03.05.2015 19:20, Simon Glass wrote: Hi Stefan, On 3 May 2015 at 03:16, Stefan Roese s...@denx.de wrote: Hi Simon, On 02.05.2015 22:59, Simon Glass wrote: On 24 April 2015 at 22:29, Stefan Roese

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 picmas...@mail.bg wrote: Hi Fabio, On 05/04/2015 06:30 AM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The explanation

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 fabio.este...@freescale.com mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found The explanation comes from a patch from Rabeeh: The LED_ACT

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 fabio.este...@freescale.com mx6cuboxi sometimes fails to recognize the Ethernet PHY: Net: Phy 0 not found

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 picmas...@mail.bg wrote: Hi Fabio, On 05/04/2015 06:30 AM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6cuboxi sometimes fails to recognize the

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

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 vikas.mano...@st.com 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 vikas.mano...@st.com ---

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 address

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 jagannadh.t...@gmail.com wrote: On 21 April 2015 at 00:07, Simon Glass s...@chromium.org wrote: This comment should refer to SPI, not serial. Signed-off-by: Simon Glass s...@chromium.org --- include/spi.h | 2 +- 1 file changed, 1 insertion(+), 1

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 h...@denx.de wrote: Hello Simon, Am 23.04.2015 17:12, schrieb Simon Glass: Hi Heiko, On 20 April 2015 at 23:04, Heiko Schocher h...@denx.de wrote: Hello Simon, Am 20.04.2015 20:37, schrieb Simon Glass: Print a debug() message with the I2C

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 h...@denx.de 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 s...@chromium.org 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

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 h...@denx.de 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 s...@chromium.org ---

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 s...@chromium.org wrote: Adjust the printf() string to avoid a warning on sandbox. Signed-off-by: Simon Glass s...@chromium.org --- 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 h...@denx.de 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 s...@chromium.org 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 s...@chromium.org --- include/rtc.h | 26

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 s...@chromium.org 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 s...@chromium.org ---

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 s...@chromium.org wrote: Add a function to read the system time into U-Boot. Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/cpu/os.c | 18 ++ include/os.h | 11 +++ 2 files changed, 29 insertions(+)

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 s...@chromium.org 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

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 s...@chromium.org 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 s...@chromium.org --- 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 s...@chromium.org 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 s...@chromium.org 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

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 s...@chromium.org wrote: Add an emulated RTC device for sandbox, so that the 'date' command can be used. Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/dts/sandbox.dts | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

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 s...@chromium.org wrote: Enable real-time-clock support in sandbox. Signed-off-by: Simon Glass s...@chromium.org --- configs/sandbox_defconfig | 1 + drivers/rtc/Makefile | 2 -- include/configs/sandbox.h | 1 + 3 files changed, 2

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 joe.hershber...@gmail.com wrote: Hi Simon, On Mon, Apr 20, 2015 at 1:37 PM, Simon Glass s...@chromium.org wrote: Sort these aliases to avoid confusion as to what is present. Signed-off-by: Simon Glass s...@chromium.org --- Reviewed-by: Joe

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 s...@chromium.org wrote: Add some simple tests to verify that the RTC uclass works correctly in U-Boot. Signed-off-by: Simon Glass s...@chromium.org --- test/dm/Makefile | 1 + test/dm/rtc.c| 175

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 address offset bytes This stuff should

[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 rab...@solid-run.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes

[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

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 h...@denx.de 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

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

2015-05-04 Thread Du Huanpeng
Signed-off-by: Du Huanpeng u74...@gmail.com --- 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)

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 rab...@solid-run.com

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 address to

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 the phy

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 rab...@solid-run.com

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, ulises.carde...@freescale.com wrote: From: Ulises Cardenas ulises.carde...@freescale.com 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

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

2015-05-04 Thread Ulises.Cardenas
From: Ulises Cardenas ulises.carde...@freescale.com 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] 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

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 s...@denx.de 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

[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 location

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 s...@denx.de 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

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 tr...@konsulko.com 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

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 i...@hellion.org.uk wrote: On Tue, 2015-04-14 at 18:07 +0200, Hans de Goede wrote: From: Vishnu Patekar vishnupatekar0...@gmail.com The Astar MID756 is a 7 tablet using the A33 SoC with a 800x480 LCD screen, 512M RAM, 8G ROM and integrated sdio

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 on

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 rab...@solid-run.com Signed-off-by: Fabio

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 address to

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 rab...@solid-run.com

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 s...@chromium.org wrote: Hi Vasili, On 29 April 2015 at 10:57, Vasili Galka vvv...@gmail.com 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

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 mdurr...@arcturusnetworks.com Signed-off-by:

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 w...@denx.de 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

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 vvv...@gmail.com wrote: Hi Simon, On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass s...@chromium.org wrote: Hi Vasili, On 29 April 2015 at 10:57, Vasili Galka vvv...@gmail.com wrote: Hi Tom, I’m working on rebasing an old U-Boot branch for

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 s...@chromium.org wrote: Hi Vasili, On 4 May 2015 at 10:21, Vasili Galka vvv...@gmail.com wrote: Hi Simon, On Thu, Apr 30, 2015 at 3:38 AM, Simon Glass s...@chromium.org wrote: Hi Vasili, On 29 April 2015 at 10:57, Vasili

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 i...@hellion.org.uk wrote: On Tue, 2015-04-14 at 18:07 +0200, Hans de Goede wrote: From: Vishnu Patekar vishnupatekar0...@gmail.com The Astar MID756 is a 7 tablet using the A33 SoC with a 800x480

[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 jon.nettle...@gmail.com Signed-off-by: Fabio

[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 jon.nettle...@gmail.com Signed-off-by: Fabio

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 vvv...@gmail.com wrote: Hi Simon, On Mon, May 4, 2015 at 7:45 PM, Simon Glass s...@chromium.org wrote: Hi Vasili, On 4 May 2015 at 10:21, Vasili Galka vvv...@gmail.com wrote: Hi Simon, On Thu, Apr 30, 2015 at 3:38 AM, Simon

[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

[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 vvv...@gmail.com wrote: Hi Simon, On Mon, May 4, 2015 at 7:52 PM, Vasili Galka vvv...@gmail.com wrote: Hi Simon, On Mon, May 4, 2015 at 7:45 PM, Simon Glass s...@chromium.org wrote: Hi Vasili, On 4 May 2015 at 10:21, Vasili Galka vvv...@gmail.com

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 hdego...@redhat.com 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

[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 s...@chromium.org Signed-off-by: Vadim Bendebury vben...@chromium.org --- arch/arm/cpu/armv7/cpu.c | 47 +--

[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 s...@chromium.org --- 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 s...@chromium.org --- include/bootstage.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bootstage.h

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- drivers/usb/host/usb-uclass.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/drivers/usb/host/usb-uclass.c

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- common/cmd_i2c.c | 63 +--- 1 file changed, 55 insertions(+), 8 deletions(-) diff --git a/common/cmd_i2c.c

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- drivers/mmc/tegra_mmc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/tegra_mmc.c

[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 s...@chromium.org --- common/lcd.c | 23 --- include/bmp_layout.h | 4 ++-- 2 files changed,

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- include/configs/tegra124-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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 s...@chromium.org Signed-off-by: Vadim Bendebury vben...@chromium.org In which usecase exactly is

[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 s...@chromium.org --- arch/arm/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[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

[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 s...@chromium.org --- arch/arm/include/asm/system.h | 16 1 file changed, 16 insertions(+) diff --git

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 it

  1   2   >