Re: [U-Boot] [RFC PATCH v3 07/14] dm: eth: Add basic driver model support to Ethernet stack

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: First just add support for MAC drivers. It has taken me a while to get through all this unfortunately. This seems OK to me but needs a clean-up with more comments, etc. If you like these could go in a separate

Re: [U-Boot] [RFC PATCH v3 08/14] dm: eth: Add network support to sandbox

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: -Added 2 more

Re: [U-Boot] [RFC PATCH v3 09/14] dm: eth: Add ARP and PING response to sandbox driver

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v3 12/14] dm: eth: Add support for ethprime env var

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: The ethprime env var is used to indicate the starting device if none is specified in ethact. Also support aliases specified in the ethprime var. Signed-off-by: Joe Hershberger joe.hershber...@ni.com

Re: [U-Boot] [RFC PATCH v3 10/14] test: dm: eth: Add tests for the eth dm implementation

2015-02-15 Thread Simon Glass
On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- This needs a commit message describing what is added. With that: Reviewed-by: Simon Glass s...@chromium.org Changes in v3: -Added dm eth testing Changes

Re: [U-Boot] [PATCH 1/4] mx6sx: pins: Enable SION for I2C3 iomux setting

2015-02-15 Thread Nikolay Dimitrov
Hi guys, On 02/10/2015 12:18 PM, Stefano Babic wrote: Hi, On 09/02/2015 14:27, Li Ye-B37916 wrote: Hi Stefano, Nikolay, On 1/30/2015 1:54 AM, Stefano Babic wrote: Hi, On 12/01/2015 11:37, Nikolay Dimitrov wrote: Hi Ye.Li, On 01/12/2015 10:46 AM, Ye.Li wrote: The I2C SDA and SCL require

Re: [U-Boot] u-boot sunxi fel plan for v2015.04

2015-02-15 Thread Simon Glass
Hi Siarhei, On 15 February 2015 at 07:43, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Fri, 13 Feb 2015 16:50:49 -0500 Tom Rini tr...@ti.com wrote: On Fri, Feb 13, 2015 at 09:19:08AM +0100, Hans de Goede wrote: Hi Siarhei and Simon, I'm wondering what the plan is wrt sunxi

Re: [U-Boot] u-boot sunxi fel plan for v2015.04

2015-02-15 Thread Siarhei Siamashka
On Fri, 13 Feb 2015 16:50:49 -0500 Tom Rini tr...@ti.com wrote: On Fri, Feb 13, 2015 at 09:19:08AM +0100, Hans de Goede wrote: Hi Siarhei and Simon, I'm wondering what the plan is wrt sunxi FEL booting for u-boot v2015.04 I know that you both have been working on this, and I think

Re: [U-Boot] [RFC PATCH v3 11/14] dm: eth: Add support for aliases

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Allow network devices to be referred to as eth0 instead of eth@12345678 when specified in ethact. Add tests to verify this behavior. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in

Re: [U-Boot] [RFC PATCH v3 13/14] dm: eth: Add testing for netretry env var

2015-02-15 Thread Simon Glass
On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Make sure that the retry behavior occurs as expected. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org Nit below. --- Changes in v3: -Added testing for netretry

Re: [U-Boot] [RFC PATCH v3 14/14] dm: eth: Add a bridge to a real network for sandbox

2015-02-15 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Implement a bridge between u-boot's network stack and Linux's raw packet API allowing the sandbox to send and receive packets using the host machine's network interface. This raw Ethernet API requires

Re: [U-Boot] [RFC PATCH v3 01/14] dm: core: Allow seq numbers to be resolved before probe

2015-02-15 Thread Simon Glass
Hi Joe, On 13 February 2015 at 19:33, Joe Hershberger joe.hershber...@gmail.com wrote: On Thu, Feb 12, 2015 at 11:14 PM, Simon Glass s...@chromium.org wrote: Hi Joe, On 10 February 2015 at 23:08, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Tue, Feb 10, 2015 at 10:39

Re: [U-Boot] [PATCH 2/2] net: phy: Add ability to program the ksz9031 skew values from the uboot env

2015-02-15 Thread Marek Vasut
On Friday, February 13, 2015 at 05:44:11 PM, Stefan Roese wrote: Hi Vince, On 13.02.2015 17:19, Vince Bridgers wrote: No. But with your comments above (which make total sense), I tend to NAK this ability to configure the PHY skew timings via environment variables.

Re: [U-Boot] [PATCH 1/4] mx6sx: pins: Enable SION for I2C3 iomux setting

2015-02-15 Thread Stefano Babic
Hi everybody, On 15/02/2015 16:11, Nikolay Dimitrov wrote: Checked in manual, thanks for link. However, I have still a couple of questions. The controller can work as slave or as master, and according to the manual, the slave is the default after a reset. I understand that putting the

Re: [U-Boot] u-boot sunxi fel plan for v2015.04

2015-02-15 Thread Hans de Goede
Hi, On 15-02-15 15:43, Siarhei Siamashka wrote: On Fri, 13 Feb 2015 16:50:49 -0500 Tom Rini tr...@ti.com wrote: On Fri, Feb 13, 2015 at 09:19:08AM +0100, Hans de Goede wrote: Hi Siarhei and Simon, I'm wondering what the plan is wrt sunxi FEL booting for u-boot v2015.04 I know that you both

Re: [U-Boot] [PATCH] net: keystone_net: move serdes setup to initialization function

2015-02-15 Thread Nishanth Menon
On 14:05-20150211, Vitaly Andrianov wrote: On Keystone2 devices serdes must be initialized before accessing MDIO bus. This commit moves the keystone2_net_serdes_setup() from keystone2_eth_open to keystone2_emac_initialize to meet that requirement. This also eliminates unnecessary serdes

Re: [U-Boot] [PATCH] keystone2: ddr3: eliminate using global ddr3_size variable

2015-02-15 Thread Nishanth Menon
On 14:07-20150211, Vitaly Andrianov wrote: KS2 ddr3 initialization uses ddr3_size global variable before u-boot relocation. Even if the variable is not being used after relocation, writing to it corrupts relocation table. This patch removes the global ddr3_size variable and uses local one

Re: [U-Boot] [PATCH 2/9] ARM: Factor out reusable psci_cpu_entry

2015-02-15 Thread Jan Kiszka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015-02-15 07:29, Jan Kiszka wrote: On 2015-02-15 03:01, Chen-Yu Tsai wrote: Hi, On Sun, Feb 15, 2015 at 5:28 AM, Jan Kiszka jan.kis...@web.de wrote: From: Jan Kiszka jan.kis...@siemens.com _sunxi_cpu_entry can be converted completely

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-02-15 Thread Pavel Machek
Hi! From: Dinh Nguyen dingu...@opensource.altera.com This adds the code to configure the SDRAM controller that is found in the SoCFGPA Cyclone5 and Arria5 platforms. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com

[U-Boot] [PATCH 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

2015-02-15 Thread Eric Nelson
Initial filesystem images are generally highly compressible. Add a routine gzwrite that allows gzip-compressed images to be written to block devices. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/common.h | 39 +++ lib/gunzip.c | 194

[U-Boot] [PATCH 2/2] unzip: add gzwrite command to write compressed image to block device

2015-02-15 Thread Eric Nelson
Add gzwrite command to write gzip-compressed images to block devices. Input must be gzip-compressed according to RFC1952, since the crc and file size in the trailer will be confirmed during operation. The decompressed file size must be specified on the command line for images with decompressed

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-02-15 Thread Pavel Machek
Hi! +#if ENABLE_BRINGUP_DEBUGGING Could we get rid of this for initial merge? +static inline void reg_file_set_sub_stage(uint32_t set_sub_stage) +{ + /* Read the current group and stage */ + uint32_t cur_stage_group = IORD_32DIRECT(REG_FILE_CUR_STAGE, 0); Could normal u-boot

Re: [U-Boot] [PATCH] buildman: allow multiple toolchains in a single path

2015-02-15 Thread Simon Glass
On 31 January 2015 at 16:12, Albert ARIBAUD albert.u.b...@aribaud.net wrote: When buildman scans a toolchain path, it stops at the first toolchain found. However, a single path can contains several toolchains, each with its own prefix. This patch lets buildman scan all toolchains in the path.

Re: [U-Boot] [PATCH] patman: Make dry-run output match real functionality

2015-02-15 Thread Simon Glass
On 27 January 2015 at 22:08, Simon Glass s...@chromium.org wrote: On 27 January 2015 at 08:40, Peter Tyser pty...@xes-inc.com wrote: On Mon, 2015-01-26 at 22:21 -0700, Simon Glass wrote: Hi Peter, On 26 January 2015 at 10:42, Peter Tyser pty...@xes-inc.com wrote: When run with the

Re: [U-Boot] [PATCH] buildman: allow multiple toolchains in a single path

2015-02-15 Thread Simon Glass
On 15 February 2015 at 14:31, Simon Glass s...@chromium.org wrote: On 31 January 2015 at 16:12, Albert ARIBAUD albert.u.b...@aribaud.net wrote: When buildman scans a toolchain path, it stops at the first toolchain found. However, a single path can contains several toolchains, each with its own

Re: [U-Boot] [PATCH 2/2] patman: Read in the git-mailrc alias file

2015-02-15 Thread Simon Glass
On 29 January 2015 at 11:35, Simon Glass s...@chromium.org wrote: We should read this file to obtain a set of aliases. This reduces the need to create them in the ~/.patman file. This feature did exist in some version of patman, and is mentioned in the help but it did not find its way

Re: [U-Boot] [PATCH 1/2] buildman: Fix incorrect arguemnt in GetUpstream()

2015-02-15 Thread Simon Glass
On 29 January 2015 at 11:35, Simon Glass s...@chromium.org wrote: This causes an error when trying to build a local branch which has a local branch as its upstream. Signed-off-by: Simon Glass s...@chromium.org Reported-by: Masahiro Yamada yamad...@jp.panasonic.com ---

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

2015-02-15 Thread Simon Glass
Hi Tom, There are the only pending sandbox/patman/buildman patches that I am aware of (for this release). If I have missed any, please assign them to me in patchwork. Note these are in branch 'sandbox'. The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f: sunxi:

[U-Boot] [PATCH] x86: minnowmax: add GPIO mapping support

2015-02-15 Thread Gabriel Huau
Configure the pinctrl as it required to make some IO controllers working (USB/UART/I2C/...). The idea would be in the next version to modify the pch GPIO driver and configure these pins through the device tree. These modifications are ported from the coreboot project. Signed-off-by: Gabriel Huau

[U-Boot] [PATCH 2/2] nitrogen6x: set environment variable reset_cause

2015-02-15 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- This patch replaces the following two patches, but only applies to Nitrogen6x and SABRE Lite boards: http://patchwork.ozlabs.org/patch/436972/ http://patchwork.ozlabs.org/patch/436974/

[U-Boot] [PATCH 1/2] ARM: i.MX: provide access to reset cause through get_imx_reset_cause()

2015-02-15 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- This patch set replaces http://patchwork.ozlabs.org/patch/436492/. arch/arm/imx-common/cpu.c | 10 +- arch/arm/include/asm/arch-imx/cpu.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] sandbox: Adjust the order of the NO_SDL check

2015-02-15 Thread Simon Glass
On 12 February 2015 at 16:12, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Simon, On 11-02-15 02:52, Simon Glass wrote: An option is provided to avoid using SDL in U-Boot sandbox (and drop support for the LCD). However the check in the Makefile is too late and warnings are printed even

Re: [U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-15 Thread Simon Glass
On 10 February 2015 at 12:50, Simon Glass s...@chromium.org wrote: On 6 February 2015 at 14:37, Joe Hershberger joe.hershber...@ni.com wrote: When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as

Re: [U-Boot] [PATCH v2 3/8] lpc32xx: i2c: add LPC32xx I2C interface support

2015-02-15 Thread Simon Glass
Hi Albert, On 13 February 2015 at 04:20, Heiko Schocher h...@denx.de wrote: Hello Albert, Am 13.02.2015 12:09, schrieb Albert ARIBAUD: Hi Heiko, Le Fri, 13 Feb 2015 11:48:26 +0100, Heiko Schocher h...@denx.de a écrit : Hello Albert, Am 12.02.2015 18:37, schrieb Albert ARIBAUD (3ADEV):

[U-Boot] unassigned-patches/128: [PATCH] x86: minnowmax: add GPIO mapping support

2015-02-15 Thread u-boot
Configure the pinctrl as it required to make some IO controllers working (USB/UART/I2C/...). The idea would be in the next version to modify the pch GPIO driver and configure these pins through the device tree. These modifications are ported from the coreboot project. Signed-off-by: Gabriel Huau

[U-Boot] [PATCH 1/3] ARM: DRA72x: DDR3: Fix EMIF timings for 666MHz clock

2015-02-15 Thread Lokesh Vutla
From: Angela Stegmaier angelaba...@ti.com DDR3 timing and latency paramenters were not configured correctly for 666MHz. Fixing the timing and latency values according to Data sheet. This fixes the random crashes seen on DRA72-evm. Signed-off-by: Angela Stegmaier angelaba...@ti.com Signed-off-by:

[U-Boot] [PATCH 2/3] ARM: DRA7: EMIF: Update SDRAM_REF_CTRL register value

2015-02-15 Thread Lokesh Vutla
The value in SDRAM_REF_CTRL controls the delay time between the initial rising edge of DDR_RESETn to rising edge of DDR_CKE (JEDEC specs this as 500us). In order to achieve this, SDRAM_REF_CTRL should be written with a value corresponding to 500us delay before starting DDR initialization sequence,

[U-Boot] [PATCH 3/3] ARM: DRA7-evm: DDR3: Update leveling values

2015-02-15 Thread Lokesh Vutla
Update the software leveling parameters. This fixes the random crash seen on DRA7-evm. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/cpu/armv7/omap5/sdram.c | 60 1 file changed, 30 insertions(+), 30 deletions(-) diff --git

[U-Boot] [PATCH 0/3] ARM: DRA7: DDR3: Update timings and leveling parameters

2015-02-15 Thread Lokesh Vutla
This series updates the DDR timing and leveling parameters on DRA7 and DRA72 EVM. Angela Stegmaier (1): ARM: DRA72x: DDR3: Fix EMIF timings for 666MHz clock Lokesh Vutla (2): ARM: DRA7: EMIF: Update SDRAM_REF_CTRL register value ARM: DRA7-evm: DDR3: Update leveling values

[U-Boot] [PATCH] add example for file on VFAT filesystem usage

2015-02-15 Thread Waldemar Brodkorb
For example on a raspberry pi the u-boot environment can be saved in a file on the first VFAT partition. This example illustrates how to use it with fw_printenv/fw_setenv. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- tools/env/fw_env.config | 3 +++ 1 file changed, 3 insertions(+) diff