Re: [U-Boot] [PATCH 1/2] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3

2014-02-17 Thread Markus Niebel
Hello, Von: Jagan Teki [mailto:jagannadh.t...@gmail.com] Gesendet: Sonntag, 16. Februar 2014 17:58 An: Markus Niebel Cc: u-boot@lists.denx.de; Markus Niebel Betreff: Re: [U-Boot] [PATCH 1/2] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3 On Mon, Feb 10, 2014 at 1:57 PM,

Re: [U-Boot] [PATCH v2 8/8] cmd_mmc.c: Drop open/close mmc sub-commands

2014-02-17 Thread Lukasz Majewski
Hi Tom, The open and close mmc sub-commands implement a hard-coded set of values specific to the SMDK5250 platform. Remove these commands as what they did can be done instead with a series of mmc dev / bootpart / bootbus commands instead now. I'm going to add support for DFU to be able to

Re: [U-Boot] [PATCH] arm: zynq: correct the argument to lldiv

2014-02-17 Thread Albert ARIBAUD
Hi Michal, On Mon, 17 Feb 2014 07:50:26 +0100, Michal Simek mon...@monstr.eu wrote: On 02/17/2014 07:12 AM, Siva Durga Prasad Paladugu wrote: Typecast the argument with unsigned long long for proper calculation of lldiv Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com ---

[U-Boot] [PATCH] fsl/usb: fix phy_type checking

2014-02-17 Thread Nikhil Badola
Strcmp should not be used to check the argument of phy_type which maybe parsed by hwconfig_subarg. Hwconfig_subarg returns part of hwconfig starting from the argument (if it has the argument) till the end of the string. Since phy_type could be either 'utmi' or 'ulpi', strncmp should be used

Re: [U-Boot] [PATCH] arm: zynq: correct the argument to lldiv

2014-02-17 Thread Michal Simek
On 02/17/2014 10:07 AM, Albert ARIBAUD wrote: Hi Michal, On Mon, 17 Feb 2014 07:50:26 +0100, Michal Simek mon...@monstr.eu wrote: On 02/17/2014 07:12 AM, Siva Durga Prasad Paladugu wrote: Typecast the argument with unsigned long long for proper calculation of lldiv Signed-off-by: Siva

Re: [U-Boot] [PATCH v3 1/3] mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver

2014-02-17 Thread Albert ARIBAUD
Hi Pekon, On Mon, 17 Feb 2014 13:11:23 +0530, Pekon Gupta pe...@ti.com wrote: Fixes: commit a919e51161b58ed7e6e663daba99ab7d558808f3 mtd: nand: omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe Fixes ecclayout mismatch introduced in above commit for following

[U-Boot] test

2014-02-17 Thread Tang Yuantian
test. 于 2014/2/15 星期六 6:59, Scott Wood 写道: On Thu, 2014-02-13 at 02:12 -0600, Tang Yuantian-B29983 wrote: Use an I/O accessor. In_be64?? No such function. Why do you need in_be64() rather than two in_be32()s? -Scott ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/2] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3

2014-02-17 Thread Jagan Teki
On Mon, Feb 17, 2014 at 1:39 PM, Markus Niebel markus.nie...@tq-group.com wrote: Hello, Von: Jagan Teki [mailto:jagannadh.t...@gmail.com] Gesendet: Sonntag, 16. Februar 2014 17:58 An: Markus Niebel Cc: u-boot@lists.denx.de; Markus Niebel Betreff: Re: [U-Boot] [PATCH 1/2] spi: spi-mxc:

Re: [U-Boot] [PATCH v2 8/8] cmd_mmc.c: Drop open/close mmc sub-commands

2014-02-17 Thread Lukasz Majewski
Hi, Hi Tom, The open and close mmc sub-commands implement a hard-coded set of values specific to the SMDK5250 platform. Remove these commands as what they did can be done instead with a series of mmc dev / bootpart / bootbus commands instead now. I'm going to add support for DFU to

Re: [U-Boot] [PATCH] fsl/usb: fix phy_type checking

2014-02-17 Thread Albert ARIBAUD
Hi Nikhil, On Mon, 17 Feb 2014 14:39:47 +0530, Nikhil Badola nikhil.bad...@freescale.com wrote: Strcmp should not be used to check the argument of phy_type which maybe parsed by hwconfig_subarg. Hwconfig_subarg returns part of hwconfig starting from the argument (if it has the argument)

Re: [U-Boot] [PATCH v1 1/5] usb: net: introduce support for Moschip USB ethernet

2014-02-17 Thread Gerhard Sittig
On Mon, Feb 17, 2014 at 02:40 +0100, Marek Vasut wrote: On Monday, February 17, 2014 at 12:01:07 AM, Gerhard Sittig wrote: introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, which was implemented based on the U-Boot Asix driver with additional information gathered from

Re: [U-Boot] [PATCH v1 0/5] usb: eth: introduce Moschip MCS7830 driver

2014-02-17 Thread Gerhard Sittig
On Mon, Feb 17, 2014 at 02:25 +0100, Marek Vasut wrote: On Monday, February 17, 2014 at 12:01:06 AM, Gerhard Sittig wrote: [ ... ] hopefully I got the Cc: list right, Marek as the USB custodian, Simon for introducing the Asix driver in the past -- unfortunately I could not determine

[U-Boot] [PATCH] powerpc/t2081qds: Add T2081 QDS board support

2014-02-17 Thread Shengzhou Liu
T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor. T2081QDS board Overview --- - T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz - 2MB shared L2 and 512KB L3

Re: [U-Boot] [PATCH] fsl/usb: fix phy_type checking

2014-02-17 Thread nikhil.bad...@freescale.com
Hi Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Monday, February 17, 2014 3:05 PM To: Badola Nikhil-B46172 Cc: u-boot@lists.denx.de; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH] fsl/usb: fix phy_type checking Hi Nikhil, On Mon, 17 Feb

Re: [U-Boot] [PATCH] fsl/usb: fix phy_type checking

2014-02-17 Thread Albert ARIBAUD
Hi nikhil.bad...@freescale.com, On Mon, 17 Feb 2014 10:06:29 +, nikhil.bad...@freescale.com nikhil.bad...@freescale.com wrote: Hi Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Monday, February 17, 2014 3:05 PM To: Badola

[U-Boot] [PATCH][v2] fsl/usb: Limit phy_type comparison to first four characters

2014-02-17 Thread Nikhil Badola
Use first four characters for phy_type comparison. Strcmp() should not be used to check the phy_type string which maybe parsed by hwconfig_subarg(). Hwconfig_subarg() returns part of hwconfig string starting from phy_type value till the end of the string. Since phy_type could be either utmi or

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Abdullah Yıldız
Hi Simon, On Mon, Feb 17, 2014 at 1:03 AM, Simon Glass s...@chromium.org wrote: Hi Abdullah, On 16 February 2014 15:38, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Dear Glass, I've fount this http://lists.denx.de/pipermail/u-boot/2011-May/092584.html while searching about boot

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Albert ARIBAUD
Hi Abdullah, On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Hi Simon, On Mon, Feb 17, 2014 at 1:03 AM, Simon Glass s...@chromium.org wrote: Hi Abdullah, On 16 February 2014 15:38, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Dear

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Abdullah Yıldız
Hi Albert, On Mon, Feb 17, 2014 at 1:58 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Abdullah, On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Hi Simon, On Mon, Feb 17, 2014 at 1:03 AM, Simon Glass s...@chromium.org wrote: Hi Abdullah,

[U-Boot] [PATCH v3 3/7] zynq: Add zynq_zc770 xm011 board support

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com ZC770 is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC, similar to ZC70x board but which has four different daughter cards, like XM010, XM011, XM012 and XM013 ZC770 XM011: - 1GB DDR3 - 8 and 16-bit Micron

[U-Boot] [PATCH v3 6/7] doc: README.zynq: Updated with nand support addition

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Updated README.zynq with nand support additions, nand driver and nand board. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: -Separated out the

[U-Boot] [PATCH v3 5/7] zynq: Add support for auto nandboot

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support to find the nand bootmode and also updated the default env. with nandboot. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3:

[U-Boot] [PATCH v3 0/7]zynq: Add nand support

2014-02-17 Thread Siva Durga Prasad Paladugu
This series of patches adds nand support for zynq by fixing the review comments provided in version v1. These are well tested on xilinx zynq platform. Jagannadha Sutradharudu Teki (7): nand: Add zynq nand controller driver support zynq-common: Define CONFIG_NAND_ZYNQ zynq: Add zynq_zc770

[U-Boot] [PATCH v3 2/7] zynq-common: Define CONFIG_NAND_ZYNQ

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Defined CONFIG_NAND_ZYNQ for enabling zynq nand controller with onfi detection support. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: -Separated

[U-Boot] [PATCH v3 4/7] zynq: zc770: Add base dts for zc770_xm011

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added base dts support for zc770_xm011 (nand) board. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: -Separated out the nand patch series as per

[U-Boot] [PATCH v3 1/7] nand: Add zynq nand controller driver support

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support for Zynq Nand controller driver. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: -Fixed all review comments on v1 as some comments

[U-Boot] [PATCH v3 7/7] zynq: Enable nand env. support

2014-02-17 Thread Siva Durga Prasad Paladugu
From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added nand environment support - last 128Kb sector of 1st 1MB of nand can be used for u-boot environment. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes

[U-Boot] [PATCH v2 2/3] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de SPI_MODE_3 requires clk high when inactive. The SCLK_CTL field of the config reg was not configured in case of CPOL. Fix configuration so that SPI_MODE_3 which uses CPOL configures the clk line to be high in inactive state. Signed-off-by: Markus Niebel

[U-Boot] [PATCH v2 3/3] spi: mxc_spi: i.MX6 DL/S have only 4 eCSPI controller

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de The dual lite and solo variant have only 4 SPI controller. respect this in the MXC_SPI_BASE_ADRESSES macro Signed-off-by: Markus Niebel markus.nie...@tqs.de --- changes for v2: no changes --- arch/arm/include/asm/arch-mx6/imx-regs.h |2 +- 1 file

[U-Boot] [PATCH v2 1/3] spi: spi-mxc: add defines for clk inactive state for ECSPI

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tq-group.de Provide define for the SCLK_CTL field of the config reg of ECSPI. While at it, oder the defines to improve readability and make adding more defines easier. Signed-off-by: Markus Niebel markus.nie...@tqs.de --- changes for v2: - split first patch into

[U-Boot] [Patch v2] spi: mxc-spi: fixes for ECSPI

2014-02-17 Thread Markus Niebel
This series improver the original one: - split first patch into two patches - add only the register fields that are needed for clk control - better comments [PATCH 1/3] spi: spi-mxc: add defines for clk inactive state for [PATCH 2/3] spi: spi-mxc: implement clk control for ECSPI to fix [PATCH

[U-Boot] ECC/OOB question for kwbimage/openrd

2014-02-17 Thread Thomas Herrmann
I am using a kirkwood-based CPU and u-boot 2013.07 (problem is probably not specific to the u-boot version). When I program u-boot using jtag, I use the oob_softecc_kw option to write the image. U-boot boots fine and the bootROM register of the CPU shows no ECC errors. When I flash the

Re: [U-Boot] [PATCH v3 5/7] zynq: Add support for auto nandboot

2014-02-17 Thread Andrew Murray
On 17 February 2014 12:26, Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com wrote: From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support to find the nand bootmode and also updated the default env. with nandboot. Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH v3 5/7] zynq: Add support for auto nandboot

2014-02-17 Thread Jagan Teki
On Mon, Feb 17, 2014 at 6:34 PM, Andrew Murray amur...@embedded-bits.co.uk wrote: On 17 February 2014 12:26, Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com wrote: From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support to find the nand bootmode and also updated the

Re: [U-Boot] [PATCH v3 5/7] zynq: Add support for auto nandboot

2014-02-17 Thread Jagan Teki
Hi Siva, On Mon, Feb 17, 2014 at 5:56 PM, Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com wrote: From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support to find the nand bootmode and also updated the default env. with nandboot. Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [Patch v2] spi: mxc-spi: fixes for ECSPI

2014-02-17 Thread Jagan Teki
On Mon, Feb 17, 2014 at 6:42 PM, Markus Niebel list-09_u-b...@tqsc.de wrote: This series improver the original one: - split first patch into two patches - add only the register fields that are needed for clk control - better comments [PATCH 1/3] spi: spi-mxc: add defines for clk inactive

Re: [U-Boot] [PATCH v2] arm: Switch to -mno-unaligned-access when supported by the compiler

2014-02-17 Thread Tom Rini
On Wed, Feb 12, 2014 at 05:19:15PM +0100, Albert ARIBAUD wrote: Hi Tom, On Wed, 12 Feb 2014 09:35:55 -0500, Tom Rini tr...@ti.com wrote: On Tue, Feb 11, 2014 at 05:37:55PM +0100, Albert ARIBAUD wrote: Hi Måns, On Tue, 11 Feb 2014 15:33:09 +, Måns Rullgård m...@mansr.com

Re: [U-Boot] [PATCH v2] arm: Switch to -mno-unaligned-access when supported by the compiler

2014-02-17 Thread Albert ARIBAUD
Hi Tom, On Mon, 17 Feb 2014 10:45:35 -0500, Tom Rini tr...@ti.com wrote: On Wed, Feb 12, 2014 at 05:19:15PM +0100, Albert ARIBAUD wrote: Hi Tom, On Wed, 12 Feb 2014 09:35:55 -0500, Tom Rini tr...@ti.com wrote: On Tue, Feb 11, 2014 at 05:37:55PM +0100, Albert ARIBAUD wrote: Hi

[U-Boot] [Patch v3 1/3] spi: spi-mxc: add defines for clk inactive state for ECSPI

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tq-group.de Provide define for the SCLK_CTL field of the config reg of ECSPI. While at it, oder the defines to improve readability and make adding more defines easier. Signed-off-by: Markus Niebel markus.nie...@tqs.de --- changes for v3: - correct generation of

[U-Boot] [Patch v3 2/3] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de SPI_MODE_3 requires clk high when inactive. The SCLK_CTL field of the config reg was not configured in case of CPOL. Fix configuration so that SPI_MODE_3 which uses CPOL configures the clk line to be high in inactive state. Signed-off-by: Markus Niebel

[U-Boot] [Patch v3 0/3] spi: mxc-spi: fixes for ECSPI

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tq-group.de v3 - correct gneration of cover letter v2 - split first patch into two patches - add only the register fields that are needed for clk control - better comments Markus Niebel (3): spi: spi-mxc: add defines for clk inactive state for ECSPI spi:

[U-Boot] [Patch v3 3/3] spi: mxc_spi: i.MX6 DL/S have only 4 eCSPI controller

2014-02-17 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de The dual lite and solo variant have only 4 SPI controller. respect this in the MXC_SPI_BASE_ADRESSES macro Signed-off-by: Markus Niebel markus.nie...@tqs.de --- changes for v3: - correct generation of subject prefix changes for v2: no changes ---

Re: [U-Boot] [PATCH v1 1/5] usb: net: introduce support for Moschip USB ethernet

2014-02-17 Thread Marek Vasut
On Monday, February 17, 2014 at 10:40:41 AM, Gerhard Sittig wrote: [...] Why don't you just use structure with padding as the rest of the U-Boot does ? Like so: struct regs { u8 reg1; u8 pad1[n]; u8 reg2; ... }; does not apply here -- these are adapter registers

[U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

2014-02-17 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore den...@ausil.us --- include/config_distro_bootcmd.h | 172 1 file changed, 172 insertions(+) create mode 100644 include/config_distro_bootcmd.h diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h

[U-Boot] RFC unified boot environment

2014-02-17 Thread Dennis Gilmore
Hi All, The attached patches build on the work for generic distro config, as well as Stephen Warrens implementation for tegra. I have added a header to be included that will allow all boards to boot in the same way and I have ported over two boards to use it. One thought I have had is to move

[U-Boot] [RFC PATCH 3/3] move wandboard over to use the generic distro configuratin and environment

2014-02-17 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore den...@ausil.us --- include/configs/wandboard.h | 87 +++-- 1 file changed, 12 insertions(+), 75 deletions(-) diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index 3488472..bb7aadd 100644 ---

[U-Boot] [RFC PATCH 2/3] move the beaglebones over to the generic configs

2014-02-17 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore den...@ausil.us --- include/configs/am335x_evm.h | 109 -- include/configs/ti_armv7_common.h | 28 ++ 2 files changed, 16 insertions(+), 121 deletions(-) diff --git a/include/configs/am335x_evm.h

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-17 Thread Scott Wood
On Sun, 2014-02-16 at 21:35 -0600, Tang Yuantian-B29983 wrote: -Original Message- From: Wood Scott-B07421 To: Tang Yuantian-B29983 Cc: Sun York-R58495; Li Yang-Leo-R58472; u-boot@lists.denx.de; Kushwaha Prabhakar-B32579; Jin Zhengxiong-R64188 Subject: Re: [U-Boot,2/3] mpc85xx:

[U-Boot] [PATCH v2 2/7] usb: eth: don't ifdef routine declarations in usb_ether.h

2014-02-17 Thread Gerhard Sittig
while compilation of implemented routines and references from calling sites may be optional, declarations in header files should not be unconditionally declare the Asix and SMSC related public USB ethernet driver routines in the usb_ether.h header file Cc: Simon Glass s...@chromium.org

[U-Boot] [PATCH v2 4/7] config: alpha-sort USB ethernet items for Asix and SMSC

2014-02-17 Thread Gerhard Sittig
adjust the harmony and omap3_beagle board configs to make their CONFIG_USB_ETHER_* items appear in alphabetical order Cc: Tom Warren twar...@nvidia.com Cc: Tom Rini tr...@ti.com Signed-off-by: Gerhard Sittig g...@denx.de --- include/configs/harmony.h |2 +-

[U-Boot] [PATCH v2 1/7] include: move the BIT() macro into the common.h header file

2014-02-17 Thread Gerhard Sittig
several compile units and local header files re-invented the BIT() macro, move BIT() and BITMASK() declarations into the common.h header file and adjust call sites Cc: Cyril Chemparathy cy...@ti.com Cc: David Brownell dbrown...@users.sourceforge.net Cc: Chandan Nath chandan.n...@ti.com Cc:

[U-Boot] [PATCH v2 7/7] usb: doc: update README.usb to list all USB ethernet options

2014-02-17 Thread Gerhard Sittig
- extend the discussion of USB network related config options such that all available adapter drivers are listed, and that the 'usb' command for the interactive prompt and scripting becomes available - suggest to *not* put individual IP configuration parameters into the exectuable, but

[U-Boot] [PATCH v2 6/7] config: enable USB ethernet for taskit stamp9g20

2014-02-17 Thread Gerhard Sittig
enabling CONFIG_MACB makes other locations in the stamp config file enable network related commands (actually prevents disabling them) enable USB ethernet support by activating generic support as well as Asix and Moschip ethernet adapters Cc: Markus Hubig mhu...@imko.de Signed-off-by: Gerhard

[U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-17 Thread Gerhard Sittig
introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, which was implemented based on the U-Boot Asix driver with additional information gathered from the Moschip Linux driver Cc: Joe Hershberger joe.hershber...@gmail.com Cc: Simon Glass s...@chromium.org Cc: Marek Vasut

[U-Boot] [PATCH v2 5/7] config: enable Moschip USB ethernet support for several boards

2014-02-17 Thread Gerhard Sittig
enable support for the Moschip USB ethernet adapter for those boards which previously had support for all other USB ethernet adapters (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk, mx53loco, nitrogen6x, omap3_beagle Cc: Tom Warren twar...@nvidia.com Cc: Marek Vasut

[U-Boot] [PATCH v2 0/7] usb: eth: introduce Moschip MCS7830 driver

2014-02-17 Thread Gerhard Sittig
this series - does a little cleanup: BIT() and BITMASK() macros in common.h, no #ifdef for routine declarations in header files - adds a new USB ethernet driver for adapters that are based on the MCS7730/7830/7832 chips - enables the driver for those boards which previously had support for

Re: [U-Boot] [PATCH v2 1/7] include: move the BIT() macro into the common.h header file

2014-02-17 Thread Wolfgang Denk
Dear Gerhard Sittig, In message 1392665727-5734-2-git-send-email-...@denx.de you wrote: several compile units and local header files re-invented the BIT() macro, move BIT() and BITMASK() declarations into the common.h header file and adjust call sites ... diff --git a/include/common.h

Re: [U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-17 Thread Marek Vasut
On Monday, February 17, 2014 at 08:35:23 PM, Gerhard Sittig wrote: [...] +int mcs7830_eth_get_info(struct usb_device *dev, struct ueth_data *ss, + struct eth_device *eth) +{ + debug(%s()\n, __func__); + if (!eth) { + debug(%s: missing parameter.\n,

Re: [U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-17 Thread Wolfgang Denk
Dear Gerhard, In message 1392665727-5734-4-git-send-email-...@denx.de you wrote: introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, which was implemented based on the U-Boot Asix driver with additional information gathered from the Moschip Linux driver ... +/* bit masks

Re: [U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-17 Thread Marek Vasut
On Monday, February 17, 2014 at 10:11:17 PM, Wolfgang Denk wrote: Dear Gerhard, In message 1392665727-5734-4-git-send-email-...@denx.de you wrote: introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, which was implemented based on the U-Boot Asix driver with additional

Re: [U-Boot] [PATCH v2 1/7] include: move the BIT() macro into the common.h header file

2014-02-17 Thread Gerhard Sittig
On Mon, Feb 17, 2014 at 22:01 +0100, Wolfgang Denk wrote: Dear Gerhard Sittig, In message 1392665727-5734-2-git-send-email-...@denx.de you wrote: several compile units and local header files re-invented the BIT() macro, move BIT() and BITMASK() declarations into the common.h header

Re: [U-Boot] [U-Boot:RESEND][[PATCH 6/7] k2hk: add support for k2hk SOC and EVM

2014-02-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2014 04:19 PM, Andrianov, Vitaly wrote: -Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Rini, Tom Sent: Monday, February 10, 2014 4:26 PM To: Karicheri, Muralidharan Cc: u-boot@lists.denx.de;

[U-Boot] [PATCH v8 0/14] Driver model implementation, tests, demo and GPIO

2014-02-17 Thread Simon Glass
This series adds a driver model implementation. It is taken from the driver model code developed by: Marek Vasut ma...@denx.de Pavel Herrmann morpheus.i...@gmail.com Viktor Křivák viktor.kri...@gmail.com Tomas Hlavacek tmshl...@gmail.com Please see doc/driver-model/README.txt for

[U-Boot] [PATCH v8 06/14] sandbox: config: Enable driver model

2014-02-17 Thread Simon Glass
Use driver model in sandbox to permit running of driver model unit test. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/sandbox.h | 1 +

[U-Boot] [PATCH v8 07/14] dm: Set up driver model after relocation

2014-02-17 Thread Simon Glass
Make driver model available after relocation, by setting up data structures and scanning for devices using compiled-in platform_data and (when available) the device tree. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v8: None Changes in v7: None Changes in v6: - Rename

[U-Boot] [PATCH v8 02/14] Add cmd_process_error() to report and process errors

2014-02-17 Thread Simon Glass
U-Boot now uses errors defined in include/errno.h which are negative integers. Commands which fail need to report the error and return 1 to indicate failure. Add this functionality in cmd_process_error(). For now this merely reports the error number. It would be possible also to produce a helpful

[U-Boot] [PATCH v8 01/14] sandbox: Build a device tree file for sandbox

2014-02-17 Thread Simon Glass
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass

[U-Boot] [PATCH v8 10/14] dm: Add a demonstration/example driver

2014-02-17 Thread Simon Glass
As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and CONFIG_DM_DEMO_SHAPE.

[U-Boot] [PATCH v8 04/14] dm: Add README for driver model

2014-02-17 Thread Simon Glass
This adds a README to help with understanding of this series. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v8: - Adjust simple driver text slightly Changes in v7: - Fix typo in README - Rebase to master - Update cover letter to point to ELCE 2013 presentation, etc. Changes in

[U-Boot] [PATCH v8 11/14] dm: Add GPIO support and tests

2014-02-17 Thread Simon Glass
Add driver model support for GPIOs. Since existing GPIO drivers do not use driver model, this feature must be enabled by CONFIG_DM_GPIO. After all GPO drivers are converted over we can perhaps remove this config. Tests are provided for the sandbox implementation, and are a sufficient sanity check

[U-Boot] [PATCH v8 09/14] dm: Add a 'dm' command for testing

2014-02-17 Thread Simon Glass
This command is not required for driver model operation, but can be useful for testing. It provides simple dumps of internal data structures. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com Signed-off-by:

[U-Boot] [PATCH v8 12/14] sandbox: Convert GPIOs to use driver model

2014-02-17 Thread Simon Glass
Convert sandbox over to use driver model GPIOs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v8: None Changes in v7: None Changes in v6: - Rename platform_data to platdata - Use ofdata_to_platdata feature Changes in v5: None Changes in v4: None Changes in v3: - Update sandbox

[U-Boot] [PATCH v8 13/14] dm: Enable gpio command to support driver model

2014-02-17 Thread Simon Glass
Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO (input or output), we can provide an enhanced GPIO command for driver model. Where the driver provides its own operation for obtaining the GPIO state, this is used, otherwise a generic version is

[U-Boot] [PATCH v8 08/14] dm: Add basic tests

2014-02-17 Thread Simon Glass
Add some tests of driver model functionality. Coverage includes: - basic init - binding of drivers to devices using platform_data - automatic probing of devices when referenced - availability of platform data to devices - lifecycle from bind to probe to remove to unbind - renumbering within a

Re: [U-Boot] [PATCH v8 0/14] Driver model implementation, tests, demo and GPIO

2014-02-17 Thread Simon Glass
Hi, On 17 February 2014 15:06, Simon Glass s...@chromium.org wrote: This series adds a driver model implementation. It is taken from the driver model code developed by: Marek Vasut ma...@denx.de Pavel Herrmann morpheus.i...@gmail.com Viktor Křivák viktor.kri...@gmail.com Tomas

Re: [U-Boot] [PATCH v2 3/8] fit: add sha256 support

2014-02-17 Thread Simon Glass
Hi Heiko, On 16 February 2014 23:49, Heiko Schocher h...@denx.de wrote: Hello Simon, I was a little to fast with my answer ... Am 17.02.2014 07:33, schrieb Heiko Schocher: Hello Simon, Am 15.02.2014 23:47, schrieb Simon Glass: Hi Heiko, On 8 February 2014 22:34, Heiko

[U-Boot] [PATCH v8 03/14] yaffs: Remove private list implementation

2014-02-17 Thread Simon Glass
U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from ydirectenv.h:80:0, from yportenv.h:81, from yaffs_guts.h:19, from yaffs_allocator.h:19,

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Simon Glass
Hi, On 17 February 2014 05:07, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Hi Albert, On Mon, Feb 17, 2014 at 1:58 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Abdullah, On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız ayil...@cse.yeditepe.edu.tr wrote: Hi Simon,

Re: [U-Boot] [PATCH v2 2/7] usb: eth: don't ifdef routine declarations in usb_ether.h

2014-02-17 Thread Simon Glass
On 17 February 2014 12:35, Gerhard Sittig g...@denx.de wrote: while compilation of implemented routines and references from calling sites may be optional, declarations in header files should not be unconditionally declare the Asix and SMSC related public USB ethernet driver routines in the

Re: [U-Boot] [PATCH v1 2/5] arm: config: alpha-sort USB ethernet items for Asix and SMSC

2014-02-17 Thread Simon Glass
On 16 February 2014 16:01, Gerhard Sittig g...@denx.de wrote: adjust the harmony and omap3_beagle board configs to make their CONFIG_USB_ETHER_* items appear in alphabetical order Signed-off-by: Gerhard Sittig g...@denx.de Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 1/1] TPM: STMicroelectronics u-boot driver I2C

2014-02-17 Thread Simon Glass
Hi Jean-Luc, On 22 October 2013 09:48, Simon Glass s...@chromium.org wrote: Hi Mathias, On Wed, May 15, 2013 at 7:58 AM, Mathias leblanc mathias.lebl...@st.com wrote: From: Mathias Leblanc mathias.lebl...@st.com * STMicroelectronics version 1.2.0, Copyright (C) 2013 * This is free

Re: [U-Boot] [U-Boot:RESEND][[PATCH 6/7] k2hk: add support for k2hk SOC and EVM

2014-02-17 Thread Andrianov, Vitaly
-Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Rini, Tom Sent: Monday, February 10, 2014 4:26 PM To: Karicheri, Muralidharan Cc: u-boot@lists.denx.de; sand...@theia.denx.de; Kwok, WingMan; Nair, Sandeep; Andrianov, Vitaly Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v1 5/5] usb: doc: update README.doc to list all USB ethernet options

2014-02-17 Thread Simon Glass
On 16 February 2014 16:01, Gerhard Sittig g...@denx.de wrote: - extend the discussion of USB network related config options such that all available adapter drivers are listed, and that the 'usb' command for the interactive prompt and scripting becomes available - suggest to *not* put

Re: [U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-17 Thread Wolfgang Denk
Dear Marek, In message 20140217.38911.ma...@denx.de you wrote: +#define PHY_CMD1_READBIT(6) +#define PHY_CMD1_WRITE BIT(5) +#define PHY_CMD1_PHYADDR BIT(0) + +#define PHY_CMD2_PENDBIT(7) +#define PHY_CMD2_READY BIT(6) ...

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Rommel G Custodio
Dear Abdullah Yıldız, Abdullah Yıldız ayildiz at cse.yeditepe.edu.tr writes: Hi Albert, On Mon, Feb 17, 2014 at 1:58 PM, Albert ARIBAUD albert.u.boot at aribaud.net wrote: Hi Abdullah, On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız ayildiz at cse.yeditepe.edu.tr wrote: Hi

[U-Boot] [PATCH v4 1/2] QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR

2014-02-17 Thread Zhao Qiang
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address. Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address, and CONFIG_SYS_QE_FW_ADDR for QE microcode address. Signed-off-by: Zhao Qiang b45...@freescale.com --- Changes for v2: - no Changes for v3:

Re: [U-Boot] ATMEL AT45DB041D spi flash and gplugd

2014-02-17 Thread yogi p
Hi Jagan, On Sun, Feb 16, 2014 at 10:08 PM, Jagan Teki jagannadh.t...@gmail.comwrote: Hi Yogi, On Sun, Feb 9, 2014 at 2:10 PM, Yogi P yogi.p2...@gmail.com wrote: Hello all, From following commit spi write/erase times out on gplugd which uses ATMEL AT45DB041D spi flash. commit

[U-Boot] [PATCH] cosmetic: FIT: fix a strange comment

2014-02-17 Thread Masahiro Yamada
There is a strange comment in fit_image_load(). This function can be used for loading Kernel Image, FDT as well as ramsisk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Simon Glass s...@chromium.org --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH v4 2/2] Powerpc/QE: Add QE support for T1040

2014-02-17 Thread Zhao Qiang
The u-qe of T1040 has addresses different from qe, modify those addresses value for both u-qe and qe. Add function qe_board_setup to mux the bus to tdm or uart according to hwconfig. Signed-off-by: Zhao Qiang b45...@freescale.com --- Changes for v2: - modify CONFIG_SYS_QE_FMAN_FW_ADDR to

Re: [U-Boot] u-boot - timestamp

2014-02-17 Thread TigerLiu
Hi, Denk: [1] ftp://ftp.denx.de/pub/tools/time_log How to produce the below format's serial terminal log message? Which marco definition needed to be turn on when compiling u-boot code? # 6.357 ## Booting image at 0020 ... # 6.357Image Name: Linux-2.4.4

Re: [U-Boot] u-boot - timestamp

2014-02-17 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message fe7aded5c2218b4786c09cd97dc4c49fdae...@exchbj02.viatech.com.bj you wrote: Hi, Denk: [1] ftp://ftp.denx.de/pub/tools/time_log How to produce the below format's serial terminal log message? Which marco definition needed to be turn on when compiling

[U-Boot] [PATCH v2] cosmetic: FIT: fix a strange comment

2014-02-17 Thread Masahiro Yamada
There is a strange comment in fit_image_load(). This function can be used for loading Kernel Image, FDT as well as ramdisk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Simon Glass s...@chromium.org --- Changes in v2: - Fix a typo in log s/ramsisk/ramdisk/

[U-Boot] booting i.mx6

2014-02-17 Thread JYOTI DUBEY
While launching the imx_usb script with a u-boot.imx, I've got the following message error : config file ./imx_usb.conf main:Could not open device vid=0x15a2 pid=0x54 err=-3 I gave many tries to correct it. Can some body help me to rectify the above error?