[U-Boot] [PATCH v2] dfu, nand: add medium specific polltimeout function

2014-04-11 Thread Heiko Schocher
add a possibility to add a medium specific polltimeout function. So it is possible to define different poll timeouts. Used on nand medium, for setting the DFU_MANIFEST_POLL_TIMEOUT only on nand ubi partitions, which is currently the only usecase. Signed-off-by: Heiko Schocher h...@denx.de Cc:

Re: [U-Boot] [PATCH 2/2] dfu, nand: add medium specific polltimeout function

2014-04-11 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 10.04.2014 16:31, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 10.04.2014 12:08, schrieb Lukasz Majewski: Hi Pantelis, Hi Marek, On Apr 10, 2014, at 10:54 AM, Marek Vasut wrote: On Thursday, April 10, 2014 at 07:08:06 AM, Heiko

[U-Boot] [PATCH v2 1/7] mtd: nand: omap_elm: remove #include omap_gpmc.h

2014-04-11 Thread Pekon Gupta
There is no dependency of omap_elm.c on omap_gpmc.h Signed-off-by: Pekon Gupta pe...@ti.com Reviewed-by: Stefan Roese s...@denx.de --- drivers/mtd/nand/omap_elm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index 47b1f1b..4c65f3b

[U-Boot] [PATCH v2 0/7] mtd: nand: omap: clean up of omap_elm and omap_gpmc driver

2014-04-11 Thread Pekon Gupta
*changes v1-v2* [PATCH 2/7] fix for BCH4 and BCH16 ECC scheme [PATCH 7/7] new patch - white space-clean up *original v1* This patch series - removes un-wanted redundant code in omap_elm and omap_gpmc drivers - refactors some private struct in omap_gpmc to make them generic across

[U-Boot] [PATCH v2 2/7] mtd: nand: omap_elm: use bch_type instead of nibble count to differentiate between BCH4/BCH8/BCH16

2014-04-11 Thread Pekon Gupta
ELM hardware engine support ECC error detection for multiple ECC strengths like +--++ |Type | ECC syndrome length| +--++ |BCH4 | 6.5 bytes = 13 nibbles | |BCH8 | 13 byte = 26 nibbles | |BCH16 | 26 bytes = 52 nibbles |

[U-Boot] [PATCH v2 3/7] mtd: nand: omap_elm: use macros for register definitions

2014-04-11 Thread Pekon Gupta
This patch adds macros for following parameters of ELM Hardware engine - ELM_MAX_CHANNELS: ELM can process 8 data streams simultaneously - ELM_MAX_ERRORS: ELM can detect upto 16 ECC error when using BCH16 scheme Signed-off-by: Pekon Gupta pe...@ti.com Reviewed-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH v2 4/7] mtd: nand: omap_gpmc: remove unused members of 'struct nand_bch_priv'

2014-04-11 Thread Pekon Gupta
This patch prepares to refactor 'struct nand_bch_priv' - 'struct omap_nand_info' And thus performs following clean-ups: - remove nand_bch_priv.type: use nand_bch_priv.ecc_scheme instead - remove nand_bch_priv.mode: unused Signed-off-by: Pekon Gupta pe...@ti.com ---

[U-Boot] [PATCH v2 6/7] mtd: nand: omap_gpmc: minor cleanup of omap_correct_data_bch

2014-04-11 Thread Pekon Gupta
This patch tries to avoid some local pointer dereferences, by using common local variables in omap_correct_data_bch() Signed-off-by: Pekon Gupta pe...@ti.com --- drivers/mtd/nand/omap_gpmc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v2 7/7] mtd: nand: omap: fix error-codes returned from omap-elm driver

2014-04-11 Thread Pekon Gupta
This patch omap-elm.c: replaces -ve integer value returned during errorneous condition, with proper error-codes. omap-gpmc.c: updates omap-gpmc driver to pass error-codes returned from omap-elm driver to upper layers Signed-off-by: Pekon Gupta pe...@ti.com ---

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Lukasz Majewski
Hi Rob, Thanks for the patch. I've just glimpsed to them. I will provide a thorough review in a near future (next week probably). This patch contains an implementation of the fastboot protocol on the device side and a little of documentation. The gadget expects the new-style gadget framework.

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Bo Shen
Hi Rob Herring, I am just do a function testing on Atmel sama5d3xek board. And a small comment as following. Btw, do you test to transfer big size file. I try a file bigger than 100MiB, it will hang. However use DFU or RNDIS don't meet this issue. On 04/11/2014 03:18 AM, Rob Herring

Re: [U-Boot] [PATCH v3 0/5] Android Fastboot support

2014-04-11 Thread Sebastian Andrzej Siewior
On 04/10/2014 09:18 PM, Rob Herring wrote: From: Rob Herring r...@kernel.org I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about licensing and source of some code. I believe I've traced the history sufficiently

Re: [U-Boot] [PATCH v2 4/7] mtd: nand: omap_gpmc: remove unused members of 'struct nand_bch_priv'

2014-04-11 Thread Stefan Roese
On 11.04.2014 09:25, Pekon Gupta wrote: This patch prepares to refactor 'struct nand_bch_priv' - 'struct omap_nand_info' And thus performs following clean-ups: - remove nand_bch_priv.type: use nand_bch_priv.ecc_scheme instead - remove nand_bch_priv.mode: unused Signed-off-by: Pekon Gupta

Re: [U-Boot] [PATCH v2 6/7] mtd: nand: omap_gpmc: minor cleanup of omap_correct_data_bch

2014-04-11 Thread Stefan Roese
On 11.04.2014 09:25, Pekon Gupta wrote: This patch tries to avoid some local pointer dereferences, by using common local variables in omap_correct_data_bch() Signed-off-by: Pekon Gupta pe...@ti.com Reviewed-by: Stefan Roese s...@denx.de Thanks, Stefan

Re: [U-Boot] [PATCH v2 7/7] mtd: nand: omap: fix error-codes returned from omap-elm driver

2014-04-11 Thread Stefan Roese
On 11.04.2014 09:25, Pekon Gupta wrote: This patch omap-elm.c: replaces -ve integer value returned during errorneous condition, with proper error-codes. omap-gpmc.c: updates omap-gpmc driver to pass error-codes returned from omap-elm driver to upper layers

Re: [U-Boot] [PATCH v2] dfu, nand: add medium specific polltimeout function

2014-04-11 Thread Marek Vasut
On Friday, April 11, 2014 at 07:59:47 AM, Heiko Schocher wrote: add a possibility to add a medium specific polltimeout function. So it is possible to define different poll timeouts. Used on nand medium, for setting the DFU_MANIFEST_POLL_TIMEOUT only on nand ubi partitions, which is

[U-Boot] [PATCH 1/3] board/t208xqds: Add support of 2-stage NAND/SPI/SD boot

2014-04-11 Thread Shengzhou Liu
Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. PBL initializes the internal CPC-SRAM and copy SPL(96K) to it, SPL further initializes DDR using SPD and environment and copy u-boot from SPI/SD/NAND to DDR, finally SPL transfers control to u-boot. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH 2/3] board/t208xrdb: Add support of 2-stage NAND/SPI/SD boot

2014-04-11 Thread Shengzhou Liu
Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. PBL initializes the internal CPC-SRAM and copy SPL(96K) to it, SPL further initializes DDR using SPD and environment and copy u-boot from SPI/SD/NAND to DDR, finally SPL transfers control to u-boot. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH 3/3] board/t2080rdb: some update for t2080rdb

2014-04-11 Thread Shengzhou Liu
- update readme. - add CONFIG_SYS_CORTINA_FW_IN_* for loading Cortina PHY CS4315 ucode from NOR/NAND/SPI/SD/REMOTE. - update cpld vbank with SW3[5:7]=000 as default vbank0 instead of previous SW3[5:7]=111 as default vbank. Signed-off-by: Shengzhou Liu shengzhou@freescale.com ---

[U-Boot] [PATCH] drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write

2014-04-11 Thread Shaveta Leekha
Most of the I2C slaves support accesses in the typical style that is : read/write series of bytes at particular address offset. These transactions look like: (1) START:Address:Tx:Offset:RESTART:Address[0..4]:Tx/Rx:data[0..n]:STOP However there are certain devices which support accesses in terms

[U-Boot] [PATCH 1/2] board/freescale/common: ZM7300 driver

2014-04-11 Thread Shaveta Leekha
Adds Support for PowerOne ZM7300 voltage regulator. This device is available on some Freescale Boards like B4860QDS and has to be programmed to adjust the voltage on the board. The device is accessible via I2C interface. Signed-off-by: Shaveta Leekha shav...@freescale.com Signed-off-by: Poonam

[U-Boot] [PATCH] AR8035/phy: Enable autonegotiation function for ar8035

2014-04-11 Thread Xie Xiaobo
Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before, but used if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features for ar8035 to enable autonegotiation. Then removed the genphy_config_aneg() function. Signed-off-by: Xie Xiaobo

[U-Boot] [PATCH v4] net/phy: Add support for CS4315/CS4340 PHY

2014-04-11 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware to initialize Cortina PHY. - To define macro CONFIG_PHY_CORTINA will enable this driver. - Cortina PHY has non-standard offset of PHY ID registers, so define own get_phy_id(). Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH 1/2 v4] net/phy: enable get_phy_id redefinable

2014-04-11 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v4: no change v3:

[U-Boot] Strange CFI flash problem

2014-04-11 Thread Matthias Weißer
Hi we are currently trying to get an out-of-tree board based on 2013.01 back in sync with current master and observing a strange behavior which we think is located in the CFI flash system. If we load an image via tftp, copy it to flash and then try to run the image via bootm we see an error

[U-Boot] Changes for boards I maintain

2014-04-11 Thread Alexey Brodkin
Hi Tom, Now I have my own tree (u-boot-arc) and I may commit there changes for ARC architecture. But I'm wondering if I may commit changes to boards I maintain in the same u-boot-arc repo as well? Currently these are all in board/synopsys folder. Or I need to send patches for my boards to the

Re: [U-Boot] [PATCH] drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write

2014-04-11 Thread Heiko Schocher
Hello Shaveta Leekha, Am 11.04.2014 10:41, schrieb Shaveta Leekha: Most of the I2C slaves support accesses in the typical style that is : read/write series of bytes at particular address offset. These transactions look like: (1)

Re: [U-Boot] Strange CFI flash problem

2014-04-11 Thread Wolfgang Denk
Dear Matthias, In message 5347bbbc.9000...@arcor.de you wrote: we are currently trying to get an out-of-tree board based on 2013.01 back in sync with current master and observing a strange behavior which we think is located in the CFI flash system. If we load an image via tftp, copy it

Re: [U-Boot] board/freescale/mx6slevk: Add support for SPI NOR on the Freescale MCIMX6SLEVK Board

2014-04-11 Thread Fabio Estevam
On Thu, Apr 10, 2014 at 12:20 PM, Fabio Estevam feste...@gmail.com wrote: On Thu, Apr 10, 2014 at 12:05 PM, Sam Catch dsblue.s...@gmail.com wrote: I hope this email is now in the right format. Hi All, I am trying to add support for the SPI NOR device on the Freescale MCIMX6SLEVK Board. I

[U-Boot] [PATCH] mx6slevk: Add SPI NOR flash support

2014-04-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com mx6slevk has a m25p32 SPI NOR flash connected to ESCSPI port. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 4 board/freescale/mx6slevk/mx6slevk.c| 20

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-11 Thread Mateusz Zalega
On 04/03/14 10:52, Marek Vasut wrote: Acked-by: Lukasz Majewski l.majew...@samsung.com I suggest this goes for -next. Do you agree? I'm fine with this code going to -next. Thanks in advance. Hm, actually, I see we have open issues with the 04/13 V2 patch (why don't you have default

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-11 Thread Marek Vasut
On Friday, April 11, 2014 at 01:43:47 PM, Mateusz Zalega wrote: On 04/03/14 10:52, Marek Vasut wrote: Acked-by: Lukasz Majewski l.majew...@samsung.com I suggest this goes for -next. Do you agree? I'm fine with this code going to -next. Thanks in advance. Hm, actually, I see we

Re: [U-Boot] Changes for boards I maintain

2014-04-11 Thread Tom Rini
On Fri, Apr 11, 2014 at 10:05:35AM +, Alexey Brodkin wrote: Hi Tom, Now I have my own tree (u-boot-arc) and I may commit there changes for ARC architecture. But I'm wondering if I may commit changes to boards I maintain in the same u-boot-arc repo as well? Currently these are all in

Re: [U-Boot] [PATCH] mx6slevk: Add SPI NOR flash support

2014-04-11 Thread Fabio Estevam
On Fri, Apr 11, 2014 at 8:58 AM, Marek Vasut ma...@denx.de wrote: On Friday, April 11, 2014 at 01:39:43 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6slevk has a m25p32 SPI NOR flash connected to ESCSPI port. Add support for it. So now the SPI works or is it

Re: [U-Boot] [PATCH] mx6slevk: Add SPI NOR flash support

2014-04-11 Thread Marek Vasut
On Friday, April 11, 2014 at 01:39:43 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6slevk has a m25p32 SPI NOR flash connected to ESCSPI port. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Marek Vasut ma...@denx.de

[U-Boot] [PATCH 0/2] eMMC: support for Read Protected Memory Block (RPMB)

2014-04-11 Thread Pierre Aubert
This serie of patches adds some functions and a sub-command of 'mmc' for programming the authentication key and for reading and writing the RPMB partition of an eMMC according to the JEDEC standard No. 64-A441 The sub-command rpmb is enabled by the flag CONFIG_SUPPORT_EMMC_RPMB defined in the

[U-Boot] [PATCH 2/2] eMMC: cmd_mmc.c adds the 'rpmb' sub-command for the 'mmc' command

2014-04-11 Thread Pierre Aubert
This sub-command adds support for the RPMB partition of an eMMC: * mmc rpmb key address of the authentication key Programs the authentication key in the eMMC This key can not be overwritten. * mmc rpmb read address block #count [address of key] Reads #count blocks of 256 bytes in the RPMB

[U-Boot] [PATCH 1/2] eMMC: add support for operations in RPMB partition

2014-04-11 Thread Pierre Aubert
This patch adds functions for read, write and authentication key programming for the Replay Protected Memory Block partition in the eMMC. Signed-off-by: Pierre Aubert p.aub...@staubli.com CC: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/mmc/Makefile |1 + drivers/mmc/rpmb.c

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Rob Herring
On Fri, Apr 11, 2014 at 2:14 AM, Bo Shen voice.s...@atmel.com wrote: Hi Rob Herring, I am just do a function testing on Atmel sama5d3xek board. And a small comment as following. Btw, do you test to transfer big size file. I try a file bigger than 100MiB, it will hang. However use DFU or

Re: [U-Boot] [PATCH] board: samsung: delete unused source files

2014-04-11 Thread Mateusz Zalega
On 03/31/14 06:05, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/goni/mem_setup.S | 249 -

Re: [U-Boot] [PATCH v3 0/5] Android Fastboot support

2014-04-11 Thread Tom Rini
On Fri, Apr 11, 2014 at 09:04:36AM +0200, Sebastian Andrzej Siewior wrote: On 04/10/2014 09:18 PM, Rob Herring wrote: From: Rob Herring r...@kernel.org I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about

Re: [U-Boot] [PATCH v3 1/5] common: introduce maximum load size

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:03PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org Various commands that load images have no checks that a loaded image does not exceed the available RAM space and will happily continue overwriting u-boot or other RAM that should not be touched.

Re: [U-Boot] [PATCH v3 2/5] usb: handle NULL table in usb_gadget_get_string

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:04PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org Allow a NULL table to be passed to usb_gadget_get_string for cases when a string table may not be populated. Signed-off-by: Rob Herring r...@kernel.org Reviewed-by: Tom Rini tr...@ti.com --

Re: [U-Boot] [PATCH v3 3/5] image: add support for Android's boot image format

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:05PM -0500, Rob Herring wrote: From: Sebastian Siewior bige...@linutronix.de This patch adds support for the Android boot-image format. The header file is from the Android project and got slightly alterted so the struct + its defines are not generic but have

Re: [U-Boot] [PATCH v3 0/5] Android Fastboot support

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:02PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about licensing and source of some code. I believe I've traced the

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:06PM -0500, Rob Herring wrote: From: Sebastian Siewior bige...@linutronix.de This patch contains an implementation of the fastboot protocol on the device side and a little of documentation. The gadget expects the new-style gadget framework. The gadget

Re: [U-Boot] [PATCH v3 5/5] arm: beagle: enable Android fastboot support

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 02:18:07PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org Enable Android Fastboot support on omap3_beagle board. Signed-off-by: Rob Herring r...@kernel.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v4 6/6] PPC 85xx: Add qemu-ppce500 machine

2014-04-11 Thread Alexander Graf
On 19.03.14 19:49, York Sun wrote: On 02/20/2014 07:59 AM, Scott Wood wrote: On Thu, 2014-02-20 at 13:52 +0100, Alexander Graf wrote: diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index 3e99b07..51f2085 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++

[U-Boot] [PATCH 4/6] PPC: 85xx: Generalize DDR TLB mapping function

2014-04-11 Thread Alexander Graf
The DDR mapping function really is just a generic virtual - physical mapping function. Generalize it so it can support any virtual starting offset and IO maps just the same. Signed-off-by: Alexander Graf ag...@suse.de --- v3 - v4: - change tlb_map to return unmapped size and get ram/io as

[U-Boot] [PATCH 6/6] PPC 85xx: Add qemu-ppce500 machine

2014-04-11 Thread Alexander Graf
For KVM we have a special PV machine type called ppce500. This machine is inspired by the MPC8544DS board, but implements a lot less features than that one. It also provides more PCI slots and is supposed to be enumerated by device tree only. This patch adds support for the generic ppce500

[U-Boot] [PATCH v5 0/6] PPC 85xx: Add support for QEMU's ppce500 PV machine

2014-04-11 Thread Alexander Graf
In QEMU we implement a PV machine type called ppce500. That board is able to run any e500+ FSL cores (e500v2, e500mc, e5500, e6500). It is heavily inspired by the MPC8544DS SoC and board combination, but implements only the bare minimum to make Linux happy enough to drive a virtual machine. This

[U-Boot] [PATCH 2/6] fdt_support: Add helper function to read ranges property

2014-04-11 Thread Alexander Graf
This patch adds a helper function that can be used to interpret most ranges properties in the device tree. It reads the n'th range out of a ranges array and returns the node's virtual address of the range, the physical address that range starts at and the size of the range. Signed-off-by:

[U-Boot] [PATCH 1/6] fdt_support: split fdt_getprop_u32_default

2014-04-11 Thread Alexander Graf
We already have a nice helper to give us a property cell value with default fall back from a path. Split that into two helpers - one for the old path based lookup and one to give us a value based on a node offset. Signed-off-by: Alexander Graf ag...@suse.de --- common/fdt_support.c | 38

[U-Boot] [PATCH 5/6] PPC 85xx: Add ELF entry point

2014-04-11 Thread Alexander Graf
We want to be able to directly execute the ELF binary without going through the u-boot.bin one. To know where we have to start executing this ELF binary we have to tell the linker where our entry point is. Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/cpu/mpc85xx/u-boot.lds |

[U-Boot] [PATCH 3/6] PPC: 85xx: Remove IVOR reset

2014-04-11 Thread Alexander Graf
There is no need to set IVORs to anything but their default values, so let's leave them where they are. Suggested-by: Scott Wood scottw...@freescale.com Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/cpu/mpc85xx/cpu_init.c |4 -- arch/powerpc/cpu/mpc85xx/fixed_ivor.S

[U-Boot] [PATCH 1/1] Read mmc device memory capacity from EXT_CSD if memory is addressed by sector

2014-04-11 Thread Frank Bormann
Hi Pantos, hi Tom, I sent this a couple of months ago to the mailing list, never really received a response. We are testing 2014.04-rc3 right now and the issue is still there. Would you still consider bringing this fix in for the upcoming release? This is for an eMMC chip with an initial

[U-Boot] U-Boot Loop

2014-04-11 Thread Tran, Dang
Hi, I'm running a PowerPC board that uses U-Boot and I get into this loop (see terminal output below). It doesn't matter how I get into this loop. What I really care about is how to break out of it without manually resetting the board. Is there a way to break out of this loop and reset the

Re: [U-Boot] U-Boot Loop

2014-04-11 Thread James Chargin
Greetings, On 04/11/2014 09:23 AM, Tran, Dang wrote: Hi, I'm running a PowerPC board that uses U-Boot and I get into this loop (see terminal output below). It doesn't matter how I get into this loop. What I really care about is how to break out of it without manually resetting the board. Is

Re: [U-Boot] AP94 u-boot network failure

2014-04-11 Thread dontz
mii is working, maybe some configuration missing i'm not familiar with the code, so really needs some help from somebody any hint? -- View this message in context: http://u-boot.10912.n7.nabble.com/AP94-u-boot-network-failure-tp177671p177857.html Sent from the U-Boot mailing list archive at

[U-Boot] [PATCH] ARM: highbank: convert to generic board

2014-04-11 Thread Rob Herring
From: Rob Herring r...@kernel.org Enable CONFIG_SYS_GENERIC_BOARD on highbank. Signed-off-by: Rob Herring r...@kernel.org --- I meant to include this with the other config changes: http://patchwork.ozlabs.org/patch/338286/ http://patchwork.ozlabs.org/patch/338285/ include/configs/highbank.h |

Re: [U-Boot] [PATCH] AR8035/phy: Enable autonegotiation function for ar8035

2014-04-11 Thread Scott Wood
On Fri, 2014-04-11 at 15:48 +0800, Xie Xiaobo wrote: Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before, but used if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features for ar8035 to enable autonegotiation. Then removed the

Re: [U-Boot] [PATCH 1/4] [PATCH] spi: Add ST33ZP24 SPI TPM support

2014-04-11 Thread Simon Glass
Hi Jean-Luc, On 1 April 2014 05:48, Jean-Luc BLANC stmicroelectronics@gmail.comwrote: This driver add support to STMicroelectronics ST33ZP24 SPI TPM. Signed-off-by: Jean-Luc BLANC jean-luc.bl...@st.com --- README | 12 + drivers/tpm/Makefile |1

Re: [U-Boot] [U-Boot, v2] arm:board:trats2:FIX: Clear INFORM4 and INFORM5 registers at correct boot

2014-04-11 Thread Tom Rini
On Wed, Apr 09, 2014 at 03:09:44PM +0200, Łukasz Majewski wrote: During switch to device tree, commit 1ecab0f has removed this code. INFORM4 and INFORM5 registers are used by TRATS2 first stage bootloader for providing recovery. For normal operation, those two must be cleared out. This

Re: [U-Boot] [PATCH 0/3] board:tricorder: late fixups for 2014.04

2014-04-11 Thread Tom Rini
On Thu, Apr 10, 2014 at 12:52:49PM +0200, Andreas Bießmann wrote: These fixups are required for tricorder board to run with 2014.04. One big change is a different ecc layout which came in by Pekon Gupta's changes to the omap_gpmc driver. Another point was changed behaviour of omap_gpio

Re: [U-Boot] kbuild: fix a bug in regeneration of linker scripts

2014-04-11 Thread Tom Rini
On Wed, Apr 09, 2014 at 08:10:43PM +0900, Masahiro Yamada wrote: In some use cases, SPL linker script was not updated even when it should be. For instance, $ make tricoder_config all [ build complete ] ... modify include/configs/tricoder.h $ make spl/u-boot-spl.lds should

[U-Boot] [PATCH] nitrogen6x: Fix the PAD settings for the ECSPI chipselect

2014-04-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com ECSPI chipselect (MX6_PAD_EIM_D19__GPIO3_IO19) is used with GPIO functionality, so it does not make sense to set its pad as SPI pin. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Eric, This is untested.

Re: [U-Boot] [PATCH 2/4] spi: ST33ZP24 SPI: Patch driver to support 2 TPMs

2014-04-11 Thread Simon Glass
Hi Jean-Luc, On 1 April 2014 05:48, Jean-Luc BLANC stmicroelectronics@gmail.comwrote: In order to support 2 SPI TPMs on same platform, add spi_select() to tpm command set. Selection is done at driver level to keep compatibility with standard tpm commands. --- README

Re: [U-Boot] [PATCH 3/4] spi: ST33ZP24 SPI: Patch driver to support hash in locality 4

2014-04-11 Thread Simon Glass
Hi Jean-Luc, On 1 April 2014 06:05, Jean-Luc BLANC stmicroelectronics@gmail.comwrote: Add the support of direct hash function in locality 4. hash_loc4() command added in TPM command set. Signed-off-by: Jean-Luc BLANC jean-luc.bl...@st.com A nit below, but otherwise: Acked-by: Simon

Re: [U-Boot] [PATCH 4/4] i2c: Add ST33ZP24 I2C TPM support

2014-04-11 Thread Simon Glass
Hi Jean-Luc, On 1 April 2014 06:05, Jean-Luc BLANC stmicroelectronics@gmail.comwrote: This driver add support to STMicroelectronics ST33ZP24 I2C TPM. See my comments on the SPI driver, some of which apply here. Signed-off-by: Jean-Luc BLANC jean-luc.bl...@st.com --- README

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Marek Vasut
On Thursday, April 10, 2014 at 09:18:06 PM, Rob Herring wrote: From: Sebastian Siewior bige...@linutronix.de [...] +++ b/doc/README.android-fastboot @@ -0,0 +1,86 @@ +Android Fastboot + + +Overview + +The protocol that is used over USB is described in

Re: [U-Boot] [PATCH v3 2/5] usb: handle NULL table in usb_gadget_get_string

2014-04-11 Thread Marek Vasut
On Thursday, April 10, 2014 at 09:18:04 PM, Rob Herring wrote: From: Rob Herring r...@kernel.org Allow a NULL table to be passed to usb_gadget_get_string for cases when a string table may not be populated. Signed-off-by: Rob Herring r...@kernel.org Acked-by: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Marek Vasut
On Friday, April 11, 2014 at 02:55:31 PM, Rob Herring wrote: On Fri, Apr 11, 2014 at 2:14 AM, Bo Shen voice.s...@atmel.com wrote: Hi Rob Herring, I am just do a function testing on Atmel sama5d3xek board. And a small comment as following. Btw, do you test to transfer big size

Re: [U-Boot] [PATCH v3 3/5] image: add support for Android's boot image format

2014-04-11 Thread Marek Vasut
On Thursday, April 10, 2014 at 09:18:05 PM, Rob Herring wrote: From: Sebastian Siewior bige...@linutronix.de This patch adds support for the Android boot-image format. The header file is from the Android project and got slightly alterted so the struct + its defines are not generic but have

Re: [U-Boot] [PATCH v7] nand/denali: Adding Denali NAND driver support

2014-04-11 Thread Scott Wood
On Fri, 2014-04-04 at 17:31 +0900, Masahiro Yamada wrote: So my question is, what should we do to improve the performance? Is it a bad idea to use DMA? The sequence of page_read in this patch is like this: (1) Cache flush of DMA buffer area (2) DMA transfer from NAND device to DMA buffer

Re: [U-Boot] AP94 u-boot network failure

2014-04-11 Thread dontz
Compilation has some warning below In file included from /home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102, from bzlib.c:2: /home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1: warning: CONFIG_LZMA redefined command line:5:1:

Re: [U-Boot] [PATCH] mx6slevk: Add SPI NOR flash support

2014-04-11 Thread Sam Catch
Works like a charm now. Thanks for the update. U-Boot is awesome! On Fri, Apr 11, 2014 at 6:39 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com mx6slevk has a m25p32 SPI NOR flash connected to ESCSPI port. Add support for it. Signed-off-by:

Re: [U-Boot] [PATCH v5 0/6] PPC 85xx: Add support for QEMU's ppce500 PV machine

2014-04-11 Thread Scott Wood
On Fri, 2014-04-11 at 17:09 +0200, Alexander Graf wrote: In QEMU we implement a PV machine type called ppce500. That board is able to run any e500+ FSL cores (e500v2, e500mc, e5500, e6500). It is heavily inspired by the MPC8544DS SoC and board combination, but implements only the bare

Re: [U-Boot] board/freescale/mx6slevk: Add support for SPI NOR on the Freescale MCIMX6SLEVK Board

2014-04-11 Thread Nikolay Dimitrov
Hi, From what I remember when working with imx6d, the ecspi controller had a special behavior that it insisted on toggling the CS line for each 8-bit transfer. U-Boot has a workaround for this: using additional pin as bit-banged CS. Here's how it worked on a project of mine: static

Re: [U-Boot] AP94 u-boot network failure

2014-04-11 Thread dontz
AP94 has several sources and I check u-boot.bin original from package, all of them don't work even recompile also, network still failure I'm really confused where is the problem??? Vizio GPL http://store.vizio.com/xwr100-routercodes WRT400N GPL