Re: [U-Boot] [PATCH 0/2] e1000: add i210 support

2014-08-20 Thread Tim Harvey
On Fri, Aug 8, 2014 at 7:41 AM, Tim Harvey wrote: > Two patches to add Intel i210 support to the e1000 driver. > > Marek Vasut (2): > e1000: Implement dcache support > e1000: add i210 support > > drivers/net/e1000.c | 266 > ++-- > drivers/net/

Re: [U-Boot] [PATCH 0/2] imx: ventana: Add pci fixup for PLX switch

2014-08-20 Thread Tim Harvey
On Thu, Aug 7, 2014 at 10:49 PM, Tim Harvey wrote: > Many of the Gateworks Ventana boards have a PLX PCIe switch where GPIO > on the switch is used as the PERST# of the downstream ports. In the Linux > kernel there is a PCI fixup that asserts these properly when the upstream > port is enumerated.

Re: [U-Boot] [PATCH] arm: fix missing exception handling

2014-08-20 Thread Christian Riesch
Benoît, On Wed, Aug 20, 2014 at 12:47 PM, Benoît Thébaudeau wrote: > On Wed, Aug 20, 2014 at 9:21 AM, Christian Riesch > wrote: >> On Tue, Aug 19, 2014 at 8:35 PM, Benoît Thébaudeau >> wrote: >>> Commit 41623c9 'arm: move exception handling out of start.S files' missed >>> some >>> linker scri

[U-Boot] [PATCH] imx: ventana: add GW5520 support

2014-08-20 Thread Tim Harvey
The GW5520 has an IMX6Q SoC with 512MB of DDR3, 256MB of NAND flash as well as: * 2x MiniPCIe sockets * 2x USB host sockets * 2x i210 GigE * HDMI out * digital I/O expansion Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/eeprom.c | 3 ++ board/gateworks/gw_ventana/gsc.c

[U-Boot] [PATCH] imx: ventana: base SPL MMDC calibration on width and size not board

2014-08-20 Thread Tim Harvey
The IMX6 MMDC calibration registers depend on propagation delay and capacitive loading between the SoC's MMDC and the DDR3 chips. On the Ventana boards the board layout varies little in trace-lengths such that propagation delays are irrelevant thus we can simply things by using calibration values o

[U-Boot] [PATCH] imx: ventana: updated notes regarding NAND boot errata

2014-08-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 2928ac1..2610e0a 100644 --- a/board/gateworks/gw_ventana/gw_venta

Re: [U-Boot] [PATCH v2 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Stefan Roese
Hi Fabio, On 20.08.2014 23:24, Fabio Estevam wrote: From: Fabio Estevam mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Adjust it accordingly. Signed-off-by: Fabio Estevam --- Changes since v1: - Avoid too many ifdef's by providing a dma_rx_align() funtion as suggeste

Re: [U-Boot] [PATCH V4 04/19] mtd: spi: add support for M25PE16 and M25PX16

2014-08-20 Thread Jagan Teki
On Wed, Aug 20, 2014 at 5:38 PM, Nikita Kiryanov wrote: > Add support for M25PE16 and M25PX16 > > Cc: Jagannadha Sutradharudu Teki > Cc: Marek Vasut > Acked-by: Marek Vasut > Signed-off-by: Nikita Kiryanov > --- > Changes in V4: > - No changes. > > Changes in V3: > - No changes

[U-Boot] [PATCH] git-mailrc: add patman and buildman alias

2014-08-20 Thread Masahiro Yamada
It's easier to Cc Simon on patches related to Patman or Buildman. Signed-off-by: Masahiro Yamada Cc: Simon Glass --- doc/git-mailrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 70405f2..0fba100 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -

Re: [U-Boot] [PATCH V4 01/19] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-20 Thread Jagan Teki
On Wed, Aug 20, 2014 at 5:38 PM, Nikita Kiryanov wrote: > Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in > SPL. These #defines do not allow the user to select SPI mode for the SPI flash > (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in > spi_spl_load.c),

[U-Boot] [PATCH] buildman: refactor help message

2014-08-20 Thread Masahiro Yamada
"buildman [options]" is displayed by default. Append the rest of help messages to parser.usage instead of replacing it. Signed-off-by: Masahiro Yamada --- tools/buildman/buildman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/buildman.py b/tools/buildman/

[U-Boot] [PATCH] patman: refactor help message

2014-08-20 Thread Masahiro Yamada
"patman [options]" is displayed by default. Append the rest of help messages to parser.usage instead of replacing it. Signed-off-by: Masahiro Yamada --- tools/patman/patman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/patman.py b/tools/patman/patman.py in

[U-Boot] dfu: some wrong usb_qualifier_descriptor settings?

2014-08-20 Thread Heiko Schocher
Hello Lukasz, In the dfu spez [1] chapter 4.2.1 the following fields are specified: bDeviceClass = 00h (Description: „see interface“), currently set in U-Boot to 2. bDeviceSubClass = 00h (Description: „see interface“), currently set in U-Boot to 2. bcdUSB = h (Description: USB specificatio

Re: [U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Marek Vasut
On Thursday, August 21, 2014 at 06:11:16 AM, Ye Li wrote: > The TDAR bit is set when the descriptors are all out from TX ring, but the > descriptor properly is in transmitting not READY. I don't quite understand this, can you please rephrase ? > These are two signals, > and in Ic simulation, we f

[U-Boot] A minor issue of Patman

2014-08-20 Thread Masahiro Yamada
Hi Simon, I noticed a minor issue of Patman by chance. For example, git log is as follows: commit da5ee79915c54bf9ac5b1a82a7241a88ff214e4e Author: Masahiro Yamada Date: Thu Aug 21 13:14:31 2014 +0900 foo: test Blah Blah Signed-off-by: Masahiro Yamada Suggested-by

Re: [U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Ye Li
The TDAR bit is set when the descriptors are all out from TX ring, but the descriptor properly is in transmitting not READY. These are two signals, and in Ic simulation, we found the TDAR always clear prior than the READY bit of last BD. In mx6solox, we use a latest version of FEC IP. It looks

Re: [U-Boot] [PATCH 6/7] tools/genboardscfg.py: check if the boards.cfg is up to date

2014-08-20 Thread Masahiro Yamada
Hi Simon, On Wed, 20 Aug 2014 13:13:13 -0600 Simon Glass wrote: > > +def output_is_new(): > > +"""Check if the boards.cfg file is up to date. > > + > > +Returns: > > + True if the boards.cfg file exists and is newer than any of > > + *_defconfig, MAINTAINERS and Kconfig*. Fal

Re: [U-Boot] [PATCH 5/7] tools/genboardscfg.py: fix minor problems on termination

2014-08-20 Thread Masahiro Yamada
Hi Simon, On Wed, 20 Aug 2014 13:10:52 -0600 Simon Glass wrote: > I try to put an _ before private members to indicate that they should > not be used outside the class. But It is not particularly important - > just thought I'd mention it. I will try my best to keep this in mind when I send t

Re: [U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Marek Vasut
On Wednesday, August 20, 2014 at 11:34:30 PM, Otavio Salvador wrote: > On Wed, Aug 20, 2014 at 6:24 PM, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is > > set. > > > > Without this change, mx6solox is not capable of do

Re: [U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Marek Vasut
On Wednesday, August 20, 2014 at 11:24:36 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is set. > > Without this change, mx6solox is not capable of doing TFTP transfers. > > Succesfully tested on mx25, mx28, mx51, mx53, mx

Re: [U-Boot] [PATCH v2 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Marek Vasut
On Wednesday, August 20, 2014 at 11:24:35 PM, Fabio Estevam wrote: > From: Fabio Estevam > > mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. > > Adjust it accordingly. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Avoid too many ifdef's by providing a dm

Re: [U-Boot] [PATCH v2 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Li Ye-B37916
Hi Fabio, I feel the name "ARCH_DMA_MINALIGN_MX6SX" is not good here. Because the 64 bytes alignment is only required by the DMA engine in FEC controller, not a ARCH DMA value. Best regards, Ye Li On 8/21/2014 5:24 AM, Fabio Estevam wrote: > From: Fabio Estevam > > mx6solox has a requirem

Re: [U-Boot] [PATCH] kconfig: convert Kconfig helper script into a shell script

2014-08-20 Thread Masahiro Yamada
Hi Simon. Thanks for your review! I have posted v3 (only comments updates). And some comments below: On Wed, 20 Aug 2014 12:43:22 -0600 Simon Glass wrote: > > + > > + sed -n -e 's/^CONFIG_\(SPL\|TPL\)=y$/\1/p' $KCONFIG_CONFIG | \ > > +

[U-Boot] [PATCH v3] kconfig: convert Kconfig helper script into a shell script

2014-08-20 Thread Masahiro Yamada
Commit 51148790 added scripts/multiconfig.py written in Python 2 to adjust Kconfig for U-Boot. It has been hard for Python 3 users because Python 2 and Python 3 are not compatible with each other. We are not happy about adding a new host tool dependency (in this case, Python version dependency) f

Re: [U-Boot] Please pull u-boot-mpc85xx.git master

2014-08-20 Thread Tom Rini
On Wed, Aug 20, 2014 at 12:29:57PM -0700, York Sun wrote: > Tom, > > The following changes since commit 6d1966e1236838c8c59d58459901283a0e72: > > env_fat.c: Make sure our buffer is cache aligned (2014-08-09 11:26:34 -0400) > > are available in the git repository at: > > git://git.denx.

[U-Boot] Patman bug report: Commit-notes not working

2014-08-20 Thread Masahiro Yamada
Hi Simon, I found 'Commit-notes:' is not working correctly. It seems a bit fatal. Could you fix it asap, please? I bisected and the first bad commit is: commit cda2a611520e679495e7d2cf8e436b0df9afc675 patman: Move the 'git log' command into a function How to repeat the bug -

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-20 Thread Simon Glass
Hi Bryan, On 20 August 2014 11:24, Bryan Wu wrote: > Hi Simon, Tom and Stephen, > > Could you guys review this patch which solved the issue York reported? > Sorry, busy week, will get to it soon though. Regards, Simon ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Otavio Salvador
On Wed, Aug 20, 2014 at 6:24 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is set. > > Without this change, mx6solox is not capable of doing TFTP transfers. > > Succesfully tested on mx25, mx28, mx51, mx53, mx6q, mx6sl and m

[U-Boot] [PATCH v2 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Fabio Estevam
From: Fabio Estevam Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is set. Without this change, mx6solox is not capable of doing TFTP transfers. Succesfully tested on mx25, mx28, mx51, mx53, mx6q, mx6sl and mx6sx. Signed-off-by: Fabio Estevam --- Changes since v1: - None

[U-Boot] [PATCH v2 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Fabio Estevam
From: Fabio Estevam mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Adjust it accordingly. Signed-off-by: Fabio Estevam --- Changes since v1: - Avoid too many ifdef's by providing a dma_rx_align() funtion as suggested by Otavio drivers/net/fec_mxc.c | 17 ++

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Fabio Estevam
On Wed, Aug 20, 2014 at 6:11 PM, Otavio Salvador wrote: >> Not sure I understood your suggestion. Care to provide an example? > > static int _rx_alignment() > { > #ifdef SX > static int v = ??; > #else > static int v = ??; > #endif > > return v; Understood it now. Will do like this i

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Otavio Salvador
On Wed, Aug 20, 2014 at 5:48 PM, Fabio Estevam wrote: > On Wed, Aug 20, 2014 at 4:38 PM, Otavio Salvador > wrote: >> On Wed, Aug 20, 2014 at 4:01 PM, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. >>> >>> Adjust it acc

[U-Boot] USB console support for Cypress

2014-08-20 Thread Hristozov, Anton
Hi, If one wants to have support for usb console (instead of serial) for u-boot using a specific USB host controller like the Cypress 7C63xxx family what is the correct approach? Is usbtty.c I need to start looking into, with all the necessary chip specific changes that need to be added, or is

[U-Boot] [PATCH 2/8] net/ethoc: fix warnings from ethoc_read/ethoc_write

2014-08-20 Thread Max Filippov
There's no need to use loff_t to specify in-memory offset; size_t is smaller and is guaranteed to be sufficient to represent any memory object size. Signed-off-by: Max Filippov --- drivers/net/ethoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethoc.c b/d

[U-Boot] [PATCH 1/8] net/ethoc: support private memory configurations

2014-08-20 Thread Max Filippov
From: Chris Zankel The 'ethoc' device could also be configured to have a private memory region instead of having access to the main memory. In that case, the packets must be copied into (transmit) or out of (receive) that memory. This behavior is configured by defining CONFIG_SYS_ETHOC_BUFFER_AD

[U-Boot] [PATCH 5/8] xtensa: add support for the xtensa processor architecture [1/2]

2014-08-20 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Cadence. This is the first part of the basic architecture port with changes to common files. The 'arch/xtensa' directory, and boards and additional drivers

[U-Boot] U-boot for Banana Pi

2014-08-20 Thread TooMeeK Admin
Hello, I'm getting some troubles booting FreeBSD on Banana Pi. I wrote simple script that creates bootable SD card image for FreeBSD OS. #!/bin/bash cd /root/banana rm /root/banana/banana.img truncate -s 940M banana.img mdconfig -f banana.img -u0 gpart create -s mbr md0 gpart add -b 1m -s 64m -t

[U-Boot] [PATCH 3/8] net/ethoc: don't advertise gigabit on the connected PHY

2014-08-20 Thread Max Filippov
Introduce MDIO communication routines. Scan MDIO bus at reset to find attached PHYs and see if they support gigabit speeds. If they do check their gigabit control register: if gigabit autonegotiation is enabled clear it and reset the PHY. This allows using OpenCores 10/100 MAC with gigabit PHY con

[U-Boot] [PATCH 0/8] U-Boot port to Xtensa architecture

2014-08-20 Thread Max Filippov
series is also available in the following git tree: git://github.com/jcmvbkbc/u-boot-xtensa.git tags/xtensa-for-mainline-20140820 The port has been done mainly by Chris Zankel. I've been maintaining it internally for some time now and I'll maintain it upstream. Chris Zankel (5):

[U-Boot] [PATCH 6/8] xtensa: add support for the xtensa processor architecture [2/2]

2014-08-20 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Tensilica, inc. This is the second part of the basic architecture port, adding the 'arch/xtensa' directory and a readme file. Signed-off-by: Chris Zankel

[U-Boot] [PATCH 7/8] xtensa: add core information for the dc232b processor

2014-08-20 Thread Max Filippov
From: Chris Zankel Signed-off-by: Chris Zankel Signed-off-by: Max Filippov --- arch/xtensa/include/asm/arch-dc232b/core.h| 422 ++ arch/xtensa/include/asm/arch-dc232b/tie-asm.h | 120 arch/xtensa/include/asm/arch-dc232b/tie.h | 129 3 files cha

[U-Boot] [PATCH 8/8] xtensa: add support for the 'xtfpga' evaluation board

2014-08-20 Thread Max Filippov
From: Chris Zankel The 'xtfpga' board is actually a set of FPGA evaluation boards that can be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705 These boards share the same components (open-ethernet, ns16550 se

[U-Boot] [PATCH 4/8] Makefile: allow overriding '-ansi' in LDPPFLAGS

2014-08-20 Thread Max Filippov
xtensa linker script cannot be preprocessed with -ansi option specified, so xtensa needs a way to override it. Signed-off-by: Max Filippov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 666d291..344492f 100644 --- a/Makefile +++ b/Mak

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Fabio Estevam
On Wed, Aug 20, 2014 at 4:38 PM, Otavio Salvador wrote: > On Wed, Aug 20, 2014 at 4:01 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. >> >> Adjust it accordingly. >> >> Signed-off-by: Fabio Estevam > > I'd use a stati

Re: [U-Boot] Recommended AVR32 toolchain

2014-08-20 Thread Andreas Bießmann
Hi Vasili, On 20.08.14 18:10, Vasili Galka wrote: > Hi Andreas, > > I'm trying to verify the correct build of all AVR32 boards. What is > the recommended toolchain to use? it depends, at least you should use a avr32-linux toolchain. The avr32-elf one builds u-boot fine but has some runtime flaws

[U-Boot] [PATCH v4] Makefile: remove generated boards.cfg within make distclean

2014-08-20 Thread Roger Meier
Signed-off-by: Roger Meier Cc: Masahiro Yamada Cc: Tom Rini Cc: Wolfgang Denk Cc: Simon Glass --- Changes for v2: - remove boards.cfg within make distclean instead of mrproper - use mrproper instead of distclean within MAKEALL Changes for v3: - use @rm instead of rm as suggested by M

Re: [U-Boot] [PATCH v3] kmp204x: reset the Zarlink clocking chips at power up only

2014-08-20 Thread York Sun
On 08/19/2014 06:40 AM, Valentin Longchamp wrote: > There is the requirement on the chassis's backplane that when the clocks > have been enabled, they then should not disappear. > > Resetting the Zarlink clocking chips at unit reset violates this > requirement because the backplane clocks are not

Re: [U-Boot] [PATCH v2] km-powerpc: define CONFIG_PRAM to protect PHRAM and PNVRAM

2014-08-20 Thread York Sun
On 08/13/2014 01:24 AM, Valentin Longchamp wrote: > When u-boot initializes the RAM (early in boot) it looks for the "pram" > env variable to know which is area it cannot use. If the "pram" env variable > is not found, the default CONFIG_PRAM value is used. > > This value used to be 0 (no protecti

Re: [U-Boot] [PATCH][v2] powerpc/T4240QDS/eth: some fix for XFI

2014-08-20 Thread York Sun
On 08/13/2014 03:19 AM, shh@gmail.com wrote: > From: Shaohui Xie > > XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs > of serdes2 are routed to a SFP+ cages, which to house fiber cable or > direct attach cable(copper), the copper cable is used to emulate the > 10GBASE

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Otavio Salvador
On Wed, Aug 20, 2014 at 4:01 PM, Fabio Estevam wrote: > From: Fabio Estevam > > mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. > > Adjust it accordingly. > > Signed-off-by: Fabio Estevam I'd use a static method to return the value, so you avoid some of #ifdef -- Otavio

Re: [U-Boot] [PATCH] driver/qe: update status of QE microcode

2014-08-20 Thread York Sun
On 07/23/2014 06:03 AM, Vijay Rai wrote: > This Patch updates error print for QE which should be easily understood > > Signed-off-by: Vijay Rai > --- Applied to u-boot-mpc85xx master branch, awaiting for upstream. York ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2014-08-20 Thread York Sun
On 07/01/2014 11:14 PM, Shaveta Leekha wrote: > If hwconfig does not contains "en_cpc" then by default all cpcs are enabled > If this config is defined then only those individual cpcs which are defined > in the subargument of "en_cpc" will be enabled e.g en_cpc:cpc1,cpc2; (this > will enable cpc1 a

[U-Boot] Please pull u-boot-mpc85xx.git master

2014-08-20 Thread York Sun
Tom, The following changes since commit 6d1966e1236838c8c59d58459901283a0e72: env_fat.c: Make sure our buffer is cache aligned (2014-08-09 11:26:34 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to f38391793f1a5c62

Re: [U-Boot] [PATCH 2/2] powerpc/t104xrdb: support deep sleep in SPI/SD boot

2014-08-20 Thread York Sun
On 07/23/2014 02:27 AM, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > Add deep sleep support in SPI/SD boot. The destination address > second stage uboot image is loaded to is changed because > currently this address will be used by kernel which means > we can't reserve it for resu

Re: [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Make boot flag effective

2014-08-20 Thread York Sun
On 07/23/2014 02:27 AM, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > bootflag as a parameter is passed to board_init_f(). > But it is not actually used in this function. > Make it effective by assigned it to gd->flags. > > Signed-off-by: Tang Yuantian > --- Applied to u-boot-mp

Re: [U-Boot] [PATCH v2 2/2] powerpc/t1042RDB: Add Video - HDMI support

2014-08-20 Thread York Sun
On 03/18/2014 07:47 PM, Dongsheng Wang wrote: > From: Jason Jin > > T1042 has internal display interface unit (DIU) for driving video. > T1042RDB supports video mode via > -LCD using TI enconder > -HDMI type interface via HDMI encoder > > Chrontel, CH7301C encoder which is I2C programmable is us

Re: [U-Boot] [PATCH v2 1/2] fsl/diu: ch7301 encoder split off from t1040qds/diu.c

2014-08-20 Thread York Sun
On 03/18/2014 07:47 PM, Dongsheng Wang wrote: > From: Wang Dongsheng > > The ch7301 encoder not only used in t1040qds platform, so we split > it for t1042rdb and LSx platform. > > Signed-off-by: Wang Dongsheng > --- > V2: No Change Applied to u-boot-mpc85xx master branch, awaiting for upstream

Re: [U-Boot] [PATCH 8/9] net: rtl8169: Use non-cached memory if available

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding To work around potential issues with explicit cache maintenance of the RX and TX descriptor rings, allocate them from a pool of uncached memory if the architecture supports it. diff --git a/drivers/net/rtl8169.c b/drivers/net

Re: [U-Boot] [PATCH 7/9] net: rtl8169: Properly align buffers

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding RX and TX descriptor rings should be aligned to 256 byte boundaries. Use the DEFINE_ALIGN_BUFFER() macro to define the buffers so that they don't have to be manually aligned later on. Also make sure that the buffers do align to

Re: [U-Boot] [PATCH 5/9] ARM: tegra: Enable non-cached memory

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding Some boards, most notably those with a PCIe ethernet NIC, require this to avoid cache coherency problems. Since the option adds very little code and overhead enable it across all Tegra generations. Other drivers may also start s

Re: [U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding Implement an API that can be used by drivers to allocate memory from a poll that is mapped uncached. This is useful if drivers would otherwise s/poll/pool/ need to do extensive cache maintenance (or explicitly maintaining th

Re: [U-Boot] [PATCH 7/7] tools/genboardscfg.py: improve performance

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > I guess some developers are already getting sick of this tool > because it takes a few minites to generate the boards.cfg > on reasonable computers. > > This commit makes it about 4 times faster. > You might not be satisfied at all, but better than

Re: [U-Boot] [PATCH 2/9] ARM: cache-cp15: Use unsigned long for address and size

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding size is always non-negative, so it should be unsigned, whereas the address and size can be larger than 32 bit on 64-bit architectures. Change the mmu_set_region_dcache_behaviour() to use these types in anticipation of making the

Re: [U-Boot] [PATCH 6/7] tools/genboardscfg.py: check if the boards.cfg is up to date

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > It looks silly to regenerate the boards.cfg even when it is > already up to date. > > The tool should exit with doing nothing if the boards.cfg is newer > than any of defconfig, Kconfig and MAINTAINERS files. > > Specify -f (--force) option to get

Re: [U-Boot] [PATCH 0/9] net: rtl8169: Fix cache maintenance issues

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding This series attempts to fix a long-standing problem in the rtl8169 driver (though the same problem may exist in other drivers as well). Let me first explain what exactly the issue is: The rtl8169 driver provides a set of RX and

Re: [U-Boot] [PATCH 5/7] tools/genboardscfg.py: fix minor problems on termination

2014-08-20 Thread Simon Glass
HI Masahiro, On 20 August 2014 05:47, Masahiro Yamada wrote: > This tool deletes the incomplete boards.cfg > if it encounters an error or is is terminated by the user. > > I notice some problems even though they rarely happen. > > [1] The boards.cfg is removed if the program is terminated > durin

Re: [U-Boot] [PATCH 4/7] tools/genboardscfg.py: wait for unfinished subprocesses before error-out

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > When an error occurs or the program is terminated by the user > on the way, the destructer __del__ of class Slot is invoked and > the work directories are removed. > > We have to make sure there are no subprocesses (in this case, > "make O= ...") u

Re: [U-Boot] [PATCH 3/7] tools/genboardscfg.py: be tolerant of insane Kconfig

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > The tools/genboardscfg.py expects all the Kconfig and defconfig are > written correctly. Imagine someone accidentally has broken a board. > Error-out just for one broken board is annoying for the other > developers. Let the tool skip insane board

Re: [U-Boot] [PATCH 2/7] tools/genboardscfg.py: be tolerant of missing MAINTAINERS

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > tools/genboardscfg.py expects all the boards have MAINTAINERS. > If someone adds a new board but misses to add its MAINTAINERS file, > tools/genboardscfg.py fails to generate the boards.cfg file. > It is annoying for the other developers. > > This

Re: [U-Boot] [PATCH 15/23] pci: tegra: Add Tegra PCIe driver

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add support for the PCIe controller found on some generations of Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports with a total of 5 lanes.

Re: [U-Boot] [PATCH 1/7] tools/genboardscfg.py: ignore defconfigs starting with a dot

2014-08-20 Thread Simon Glass
On 20 August 2014 05:47, Masahiro Yamada wrote: > Kconfig in U-Boot creates a temporary file configs/.tmp_defconfig > during processing "make _defconfig". The temporary file > might be left over for some reasons. > > Just in case, tools/genboardscfg.py should make sure to > not read such garbage

[U-Boot] [PATCH 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-20 Thread Fabio Estevam
From: Fabio Estevam mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Adjust it accordingly. Signed-off-by: Fabio Estevam --- drivers/net/fec_mxc.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/n

[U-Boot] [PATCH 2/2] net: fec_mxc: Do not error out when FEC_TBD_READY

2014-08-20 Thread Fabio Estevam
From: Fabio Estevam Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is set. Without this change, mx6solox is not capable of doing TFTP transfers. Succesfully tested on mx25, mx28, mx51, mx53, mx6q, mx6sl and mx6sx. Signed-off-by: Fabio Estevam --- drivers/net/fec_mxc.c |

Re: [U-Boot] [PATCH 0/7] tools/genboardscfg.py: various fixes and performance improvement

2014-08-20 Thread Simon Glass
Hi Masahiro, On 20 August 2014 05:47, Masahiro Yamada wrote: > > This series depends on the following prerequisites > > http://patchwork.ozlabs.org/patch/380316/ > http://patchwork.ozlabs.org/patch/376222/ > > > > Masahiro Yamada (7): > tools/genboardscfg.py: ignore defconfigs starting with a d

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes the second root port to a miniPCIe slot. Enable the PCIe controller and the network driver to allow the device to boot over the network. diff --git a/arc

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes the second root port to a miniPCIe slot. Enable the PCIe controller and diff --git a/arch/arm/dts/tegra124-jetson-tk1.dts b/arch/arm/dts/tegra124-jetson

Re: [U-Boot] [PATCH 22/23] ARM: tegra: Add Tegra124 PCIe device tree node

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add the device tree node for the PCIe controller found on Tegra124 SoCs. This matches what's proposed for the kernel, so, Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH 21/23] ARM: tegra: Add GIC for Tegra124

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add a device tree node for the GIC v2 found on the Cortex-A15 CPU complex of Tegra124. U-Boot doesn't use this but subsequent patches will add device tree nodes that reference it by phandle. Matches the kernel, so, Acked-by: S

Re: [U-Boot] [PATCH] kconfig: convert Kconfig helper script into a shell script

2014-08-20 Thread Simon Glass
Hi Masahiro, On 16 August 2014 19:56, Masahiro Yamada wrote: > > Commit 51148790 added scripts/multiconfig.py written in Python 2 > to adjust Kconfig for U-Boot. > > The problem is that Python 2 and Python 3 are not compatible > with each other and some users are using Python 3. > > We are not ha

Re: [U-Boot] [PATCH 19/23] ARM: tegra: Enable PCIe on Beaver

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The Beaver has an ethernet NIC connected to the PCIe bus. Enable the PCIe controller and the network device driver so that the device can boot over the network. In addition the board has a mini-PCIe expansion slot. diff --gi

Re: [U-Boot] [PATCH 18/23] ARM: tegra: Add Tegra30 PCIe device tree node

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add the device tree node for the PCIe controller found on Tegra30 SoCs. diff --git a/arch/arm/dts/tegra30.dtsi b/arch/arm/dts/tegra30.dtsi + pcie-controller { + compatible = "nvidia,tegra30-pcie"; +

Re: [U-Boot] [PATCH 17/23] ARM: tegra: Enable PCIe on TrimSlice

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the PCIe controller and the network driver so that the device can boot over the network. diff --git a/arch/arm/dts/tegra20-trimslice.dts b/arch/arm/dts/tegr

Re: [U-Boot] [PATCH 16/23] ARM: tegra: Add Tegra20 PCIe device tree node

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add the device tree node for the PCIe controller found on Tegra20 SoCs. This matches the kernel, so Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH 14/23] ARM: tegra: Enable XUSB pad controller on Jetson TK1

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add the PCIe and SATA lane configuration to the Jetson TK1 device tree, so that the XUSB pad controller can be appropriately configured. Aside from the differing #address-cells at the top-level of the DT, this matches what's

Re: [U-Boot] [PATCH 13/23] ARM: tegra: Add XUSB pad controller on Tegra124

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The XUSB pad controller is used for pinmuxing of the XUSB, PCIe and SATA lanes. Aside from the differing #address-cells at the top-level of the DT, this matches what's been proposed for the Linux kernel, so, Acked-by: Steph

Re: [U-Boot] [PATCH 12/23] ARM: tegra: Implement XUSB pad controller

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding This controller was introduced on Tegra114 to handle XUSB pads. On Tegra124 it is also used for PCIe and SATA pin muxing and PHY control. Only the Tegra124 PCIe and SATA functionality is currently implemented, with weak symbols

Re: [U-Boot] [PATCH 11/23] ARM: tegra: Implement powergate support

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Implement the powergate API that allows various power partitions to be power up and down. diff --git a/arch/arm/cpu/tegra-common/powergate.c b/arch/arm/cpu/tegra-common/powergate.c +static int tegra_powergate_set(enum teg

Re: [U-Boot] [PATCH 10/23] ARM: tegra: Provide PCIEXCLK reset ID

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding This reset is required for PCIe and the corresponding ID therefore needs to be defined. It might be worth mentioning in the commit description why this patch does different things for each SoC; namely that some SoCs already d

Re: [U-Boot] [PATCH 09/23] ARM: tegra: Implement tegra_plle_enable()

2014-08-20 Thread Stephen Warren
On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding This function is required by PCIe and SATA. This patch implements it on Tegra20, Tegra30 and Tegra124. It isn't implemented for Tegra114 because it doesn't support PCIe or SATA. I see no issue with the structure of the code so

Re: [U-Boot] [PATCH v8 0/6] Add some missing buildman features and deprecate MAKEALL

2014-08-20 Thread York Sun
On 08/14/2014 08:59 PM, Simon Glass wrote: > Buildman has been around for a little over a year and is used by a fair > number of U-Boot developers. However quite a few people still use MAKEALL. > > Buildman was intended to replace MAKEALL, so perhaps now is a good time to > start that process. >

Re: [U-Boot] [PATCH v5 15/16] ls102xa: dcu: Add platform support for DCU on LS1021ATWR board

2014-08-20 Thread York Sun
On 08/18/2014 07:55 PM, Alison Wang wrote: > From: Wang Huan > > This patch adds the TWR_LCD_RGB card/HDMI options and the common > configuration for DCU on LS1021ATWR board. > > Signed-off-by: Alison Wang > --- > Change log: > v5: Change the patch order. > v4: Add commit messages. > v3: New

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-20 Thread Bryan Wu
Hi Simon, Tom and Stephen, Could you guys review this patch which solved the issue York reported? Thanks, -Bryan On Fri, Aug 15, 2014 at 4:51 PM, Bryan Wu wrote: > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > a bug for booting FIT image. It's because calling fit_parse_

Re: [U-Boot] [PATCH v5 13/16] serial: lpuart: add 32-bit registers lpuart support

2014-08-20 Thread York Sun
On 08/18/2014 07:55 PM, Alison Wang wrote: > From: Jingchang Lu > > On vybrid, lpuart's registers are 8-bit. On LS102xA, lpuart's registers > are 32-bit. This patch adds the support for 32-bit registers on > LS102xA. > > Signed-off-by: Jingchang Lu > Signed-off-by: Yuan Yao > --- > Change log:

Re: [U-Boot] [PATCH v2] buildman: Create parent directories as necessary

2014-08-20 Thread Simon Glass
On 19 August 2014 02:22, Thierry Reding wrote: > From: Thierry Reding > > When creating build directories also create parents as necessary. This > fixes a failure when building a hierarchical branch (i.e. foo/bar). > > Signed-off-by: Thierry Reding Acked-by: Simon Glass ___

[U-Boot] pull request for u-boot-tegra/master into ARM/master

2014-08-20 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL -s tegra AOK, checkpatch.pl is OK, and ./MAKEALL -a arm only shows failures that were already present in ARM/master. The following changes since commit 1899fac925eda817e12234aef3d01d354788662e: Merge branch 'u-boot-sun

[U-Boot] Recommended AVR32 toolchain

2014-08-20 Thread Vasili Galka
Hi Andreas, I'm trying to verify the correct build of all AVR32 boards. What is the recommended toolchain to use? I tried the one that comes with Ubuntu: sudo apt-get install gcc-avr binutils-avr gdb-avr avr-libc avrdude But it does not work, I get the following build errors: Building atngw100

Re: [U-Boot] [UBOOT RFC PATCH 07/13] usb: gadget: g_dnl: Explicitly set the max packet size in descriptor

2014-08-20 Thread Felipe Balbi
On Wed, Aug 20, 2014 at 09:34:13AM +0200, Lukasz Majewski wrote: > Hi Felipe, > > > On Tue, Aug 19, 2014 at 09:08:00PM +0530, Kishon Vijay Abraham I > > wrote: > > > > > > > > > On Monday 18 August 2014 08:26 PM, Lukasz Majewski wrote: > > > > Hi Kishon, > > > > > > > >>> Explicity set the max

[U-Boot] [PULL] Please pull u-boot-imx

2014-08-20 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 1899fac925eda817e12234aef3d01d354788662e: Merge branch 'u-boot-sunxi/master' into 'u-boot-arm/master' (2014-08-09 16:48:34 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-imx.gi

Re: [U-Boot] [PATCH 03/23] fdt: Add resource parsing functions

2014-08-20 Thread Simon Glass
Hi Thierry, On 20 August 2014 00:36, Thierry Reding wrote: > On Tue, Aug 19, 2014 at 03:28:09PM -0600, Simon Glass wrote: >> Hi Thierry, >> >> On 19 August 2014 07:12, Thierry Reding wrote: >> > On Tue, Aug 19, 2014 at 06:55:18AM -0600, Simon Glass wrote: >> >> On 19 August 2014 05:35, Thierry R

Re: [U-Boot] [PATCH 3/4] arm: debug: import debug files from Linux 3.16

2014-08-20 Thread Masahiro YAMADA
2014-08-19 20:01 GMT+09:00 Stefan Roese : > > Please use SPDX license identifiers instead. Please fix this globally. > Thanks! I have sent a follow up patch. http://patchwork.ozlabs.org/patch/381530/ -- Best Regards Masahiro Yamada ___ U-Boot mailin

  1   2   >