Re: [U-Boot] [PATCH 2/5] net: gem: Fix return value from recv

2015-12-16 Thread Michal Simek
Hi Joe, On 15.12.2015 20:51, Joe Hershberger wrote: > Hi Michal, > > On Tue, Dec 15, 2015 at 11:47 AM, Joe Hershberger > wrote: >> On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek >> wrote: >>> recv function should return 0 instead of frame_len not to >>> proceed the same packet again in core. >>

Re: [U-Boot] [PATCH 5/5] net: gem: Add driver dependencies to PHYLIB and MII

2015-12-16 Thread Michal Simek
On 15.12.2015 18:52, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: >> Clear driver dependecies via Kconfig. Remove PHYLIB dependency from >> the driver. >> >> Signed-off-by: Michal Simek > > Acked-by: Joe Hershberger > > > >> diff --git a/include/configs/xilin

[U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Thomas Chou
Display altera sysid at startup, which was once removed during the move. Signed-off-by: Thomas Chou --- arch/nios2/cpu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c index f6d5cd3..be7f99c 100644 --- a/arch/nios2/cpu/cpu.c +++ b/arch

Re: [U-Boot] [PATCH] driver/ddr/fsl: Add workaround for A009663

2015-12-16 Thread York Sun
On 12/16/2015 04:02 PM, Shengzhou Liu wrote: > Erratum A-009663 workaround requires to set DDR_INTERVAL[BSTOPRE] to 0 > before setting DDR_SDRAM_CFG[MEM_EN] and set DDR_INTERVAL[BSTOPRE] > to the desired value after DDR initialization has completed. > > Signed-off-by: Shengzhou Liu > --- > arc

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-16 Thread Michal Simek
On 15.12.2015 23:34, Simon Glass wrote: > Hi Joe, > > On 15 December 2015 at 13:52, Joe Hershberger > wrote: >> >> Hi Simon, >> >> On Tue, Dec 15, 2015 at 12:57 PM, Simon Glass wrote: >>> Hi Michal, >>> >>> On 11 December 2015 at 04:59, Michal Simek wrote: Move driver to DM. Sig

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-16 Thread Michal Simek
On 15.12.2015 21:31, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: >> Move driver to DM. >> >> Signed-off-by: Michal Simek > > Other than a few nits below and the issue with recv return value, > > Acked-by: Joe Hershberger > >> .../xilinx/microblaze-generic/mi

Re: [U-Boot] [PATCH 2/5] net: gem: Fix return value from recv

2015-12-16 Thread Joe Hershberger
On Wed, Dec 16, 2015 at 2:05 AM, Michal Simek wrote: > Hi Joe, > > On 15.12.2015 20:51, Joe Hershberger wrote: >> Hi Michal, >> >> On Tue, Dec 15, 2015 at 11:47 AM, Joe Hershberger >> wrote: >>> On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek >>> wrote: recv function should return 0 instead

[U-Boot] [PATCH] driver/ddr/fsl: Add workaround for A009663

2015-12-16 Thread Shengzhou Liu
Erratum A-009663 workaround requires to set DDR_INTERVAL[BSTOPRE] to 0 before setting DDR_SDRAM_CFG[MEM_EN] and set DDR_INTERVAL[BSTOPRE] to the desired value after DDR initialization has completed. Signed-off-by: Shengzhou Liu --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 3 +++ arch

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-16 Thread Joe Hershberger
On Wed, Dec 16, 2015 at 2:14 AM, Michal Simek wrote: > On 15.12.2015 23:34, Simon Glass wrote: >> Hi Joe, >> >> On 15 December 2015 at 13:52, Joe Hershberger >> wrote: >>> >>> Hi Simon, >>> >>> On Tue, Dec 15, 2015 at 12:57 PM, Simon Glass wrote: Hi Michal, On 11 December 2015 at

Re: [U-Boot] [PATCH 08/10] net: axi_emac: Enable access to MDIO in probe

2015-12-16 Thread Michal Simek
On 15.12.2015 21:42, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: >> Detect phy when driver probes. >> >> Signed-off-by: Michal Simek > > A few nits below, but otherwise, > > Acked-by: Joe Hershberger All nits are valid and fixed in v2. Thanks, Michal _

Re: [U-Boot] [PATCH 02/12] net: emaclite: Add MDIO support to driver

2015-12-16 Thread Michal Simek
On 15.12.2015 22:22, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: >> Add MDIO support before move to DM. >> >> Signed-off-by: Michal Simek > > It looks like this is using the old MDIO API. I'm guessing this is a > patch that has existed for a while or something.

[U-Boot] [PATCH v2] driver/ddr/fsl: Add workaround for A009663

2015-12-16 Thread Shengzhou Liu
Erratum A-009663 workaround requires to set DDR_INTERVAL[BSTOPRE] to 0 before setting DDR_SDRAM_CFG[MEM_EN] and set DDR_INTERVAL[BSTOPRE] to the desired value after DDR initialization has completed. When DDR controller is configured to operate in auto-precharge mode(DDR_INTERVAL[BSTOPRE]=0), this

[U-Boot] [PATCH v2 1/4] sf: Fix quad bit set for micron devices

2015-12-16 Thread Jagan Teki
Setting up quad bit for micron devices need to do the same way as other flash devices like spansion, winbond etc does using enhanced volatile config register so this patch adds this support instead of printing "QEB is volatile" Cc: Simon Glass Cc: Bin Meng Cc: Peter Pan Cc: Fabio Estevam Cc: M

[U-Boot] [PATCH v2 3/4] sf: Read back and check once macronix quad bit set

2015-12-16 Thread Jagan Teki
One macronix quad bit set using SR, it's good to read back and check the written bit and also if it's already been set check for the bit and return. Cc: Vignesh R Cc: Mugunthan V N Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- Changes for v2: - none drivers/mtd/spi/spi_

Re: [U-Boot] [PATCH] driver: net: fsl-mc: remove MC firmware version check

2015-12-16 Thread York Sun
On 12/04/2015 05:14 AM, Stuart Yoder wrote: > The MC version numbers provide no meaningful information > about binary interface compatibility, so remove the > check which refuses to start the MC unless a specific > version is found. > > Version checking is supposed to be done at the individual >

[U-Boot] [PATCH v2 2/4] sf: Read back and check once spansion quad bit set

2015-12-16 Thread Jagan Teki
One spansion quad bit set using CR, it's good to read back and check the written bit and also if it's already been set check for the bit and return. Cc: Vignesh R Cc: Mugunthan V N Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Cha

[U-Boot] [PATCH v2 4/4] sf: Write quad bit along with read status

2015-12-16 Thread Jagan Teki
While setting quad bit on spansion, macronix code is writing only particular quad bit this may give wrong functionality with other register bits, So this patch fix the issue where it with write previous read reg status along particular quad bit. Cc: Vignesh R Cc: Mugunthan V N Cc: Simon Glass

Re: [U-Boot] [PATCH 2/5] armv8/fsl_lsch2: fix DCSR_DCFG address

2015-12-16 Thread York Sun
On 12/07/2015 04:58 PM, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- Applied to u-boot-fsl-qoriq master. Awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/5] armv8/ls1043a: remove print info

2015-12-16 Thread York Sun
On 12/07/2015 04:58 PM, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- > drivers/net/fm/ls1043.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) Added commit message. Applied to u-boot-fsl-qoriq master. Awaiting upstream. York

Re: [U-Boot] [PATCH 3/5] armv8/ls1043a: Implement workaround for PEX erratum A009929

2015-12-16 Thread York Sun
On 12/07/2015 04:58 PM, Mingkai Hu wrote: > Consecutive write transactions from core to PCI express outbound > path hangs after 25 to 30 transactions depending on core freq. > This erratum enable the mbist clock through COP register setting. > > Signed-off-by: Mingkai Hu > --- Applied to u-boo

Re: [U-Boot] [PATCH 4/5] armv8/ls1043ardb: change core frequency to 1600MHz

2015-12-16 Thread York Sun
On 12/07/2015 04:58 PM, Mingkai Hu wrote: > For SD boot and NAND boot. > > Signed-off-by: Mingkai Hu > --- Slightly revised subject and commit message. Applied to u-boot-fsl-qoriq master. Awaiting upstream. York ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 5/5] armv8/ls1043aqds: change core frequency to 1600MHz

2015-12-16 Thread York Sun
On 12/07/2015 04:58 PM, Mingkai Hu wrote: > For SD boot and NAND boot. > > Signed-off-by: Mingkai Hu > --- Slightly revised subject and commit message. Applied to u-boot-fsl-qoriq master. Awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH] net: fm: disables unused FM1-DTSEC1 MAC node in DTS

2015-12-16 Thread York Sun
On 12/04/2015 10:22 AM, shh@gmail.com wrote: > From: Shaohui Xie > > We don't disable unused FM1-DTSEC1 MAC node in FMAN v2 since its used > for MDIO, in FMAN v3, MDIO uses dedicated controller, so we can disable > the unused FM1-DTSEC1 MAC node to avoid it's being probed in kernel. > > Si

Re: [U-Boot] [PATCH] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-16 Thread Prafulla Wadaskar
-Original Message- From: Kevin Smith [mailto:kevin.sm...@elecsyscorp.com] Sent: Wednesday, December 16, 2015 4:46 AM To: u-boot@lists.denx.de Cc: Kevin Smith; Joe Hershberger; Prafulla Wadaskar; Stefan Roese; Marek Vasut Subject: [PATCH] net: phy: mv88e61xx: Revise as a PHY driver The p

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Nicolas Ferre
Le 15/12/2015 20:59, Joe Hershberger a écrit : > Hi Gregory, > > On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT > wrote: >> During the initialization of PHY the gigabit bit capable is set if the >> controller is a GEM. However, for sama5d4, the GEM is not gigabit >> capable. Improperly setting

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Gregory CLEMENT
Hi Joe, On mar., déc. 15 2015, Joe Hershberger wrote: > Hi Gregory, > > On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT > wrote: >> During the initialization of PHY the gigabit bit capable is set if the >> controller is a GEM. However, for sama5d4, the GEM is not gigabit >> capable. Imprope

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Andreas Bießmann
Hi all, On 16.12.2015 10:19, Nicolas Ferre wrote: > Le 15/12/2015 20:59, Joe Hershberger a écrit : >> Hi Gregory, >> >> On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT >> wrote: >>> During the initialization of PHY the gigabit bit capable is set if the >>> controller is a GEM. However, for sama

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Andreas Bießmann
Hi Gregory, On 16.12.2015 10:32, Gregory CLEMENT wrote: > Hi Joe, > > On mar., déc. 15 2015, Joe Hershberger wrote: > >> Hi Gregory, >> >> On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT >> wrote: >>> During the initialization of PHY the gigabit bit capable is set if the >>> controller is

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Gregory CLEMENT
Hi Andreas, On mer., déc. 16 2015, "Andreas Bießmann" wrote: > Hi all, > > On 16.12.2015 10:19, Nicolas Ferre wrote: >> Le 15/12/2015 20:59, Joe Hershberger a écrit : >>> Hi Gregory, >>> >>> On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT >>> wrote: During the initialization of PHY the

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-16 Thread Nicolas Ferre
Le 16/12/2015 10:41, Gregory CLEMENT a écrit : > Hi Andreas, > > On mer., déc. 16 2015, "Andreas Bießmann" > wrote: > >> Hi all, >> >> On 16.12.2015 10:19, Nicolas Ferre wrote: >>> Le 15/12/2015 20:59, Joe Hershberger a écrit : Hi Gregory, On Mon, Dec 14, 2015 at 10:37 AM, Greg

Re: [U-Boot] [PATCH 11/12] net: emaclite: Move driver to DM

2015-12-16 Thread Michal Simek
On 15.12.2015 23:34, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: >> Move driver to DM. >> >> Signed-off-by: Michal Simek > > A few nits below, but otherwise, > > Acked-by: Joe Hershberger Thanks. >> @@ -523,78 +520,105 @@ try_again: >> >> debug("Pack

Re: [U-Boot] [PATCH 05/12] net: emaclite: Use indirect register access for tx_ping/pong

2015-12-16 Thread Michal Simek
On 15.12.2015 22:36, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: >> Do initialization via indirect register access. > > I think you need to change the subject of this patch. It is identical > the the previous one. ops. It should be rx_ping/pong Will be in v2.

[U-Boot] [PATCH v2] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Gregory CLEMENT
During the initialization of PHY the gigabit bit capable is set if the controller is a GEM. However, for sama5d2 and sama5d4, the GEM is configured to support only 10/100. Improperly setting the GBE capability leads to an unresponsive MAC controller. This patch fix this behavior allowing to use th

[U-Boot] [PATCH] ARM: Add Support for the VInCo platform

2015-12-16 Thread Gregory CLEMENT
The Versatile Industrial Communication platform is a community oriented board from Landis + Gyr. It comes with: - an RS-485 port - 2 Ethernet ports - a wireless M-BUS - a 4G modem - a 4MB SPI flash - a 4GB eMMC Signed-off-by: Gregory CLEMENT --- arch/arm/mach-at91/Kconfig | 7 ++ board/l+g/vin

Re: [U-Boot] [PATCH v2] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Nicolas Ferre
Le 16/12/2015 11:27, Gregory CLEMENT a écrit : > During the initialization of PHY the gigabit bit capable is set if the > controller is a GEM. However, for sama5d2 and sama5d4, the GEM is > configured to support only 10/100. > > Improperly setting the GBE capability leads to an unresponsive MAC >

Re: [U-Boot] [PATCH] ARM: Add Support for the VInCo platform

2015-12-16 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Wed, 16 Dec 2015 11:34:00 +0100, Gregory CLEMENT wrote: > diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig > index c333647..d7e36cb 100644 > --- a/arch/arm/mach-at91/Kconfig > +++ b/arch/arm/mach-at91/Kconfig > @@ -114,6 +114,12 @@ config TARGET_SMARTW

Re: [U-Boot] [PATCH] ARM: Add Support for the VInCo platform

2015-12-16 Thread Gregory CLEMENT
Hi Thomas, On mer., déc. 16 2015, Thomas Petazzoni wrote: > Dear Gregory CLEMENT, > > On Wed, 16 Dec 2015 11:34:00 +0100, Gregory CLEMENT wrote: > >> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig >> index c333647..d7e36cb 100644 >> --- a/arch/arm/mach-at91/Kconfig >> ++

Re: [U-Boot] [PATCH v2] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Gregory CLEMENT
Hi Nicolas, On mer., déc. 16 2015, Nicolas Ferre wrote: > Le 16/12/2015 11:27, Gregory CLEMENT a écrit : >> During the initialization of PHY the gigabit bit capable is set if the >> controller is a GEM. However, for sama5d2 and sama5d4, the GEM is >> configured to support only 10/100. >> >> I

Re: [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 06:38:47 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月16日 08:32, Marek Vasut wrote: > > The uImage format is legacy for years now, enable support for the > > fitImage format, which allows combining multiple files (kernel and > > dtb) into a single file, offe

Re: [U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 09:07:47 AM, Thomas Chou wrote: > Display altera sysid at startup, which was once removed during > the move. > > Signed-off-by: Thomas Chou What if the sysid block isn't part of the design ? Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH 1/6] usb: dwc2: avoid out of bounds access

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 03:58:48 AM, Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > flush_dcache_range may access data after priv->aligned_buffer end if > > len > DWC2_DATA_BUF_SIZE. > > memcpy may access data after buffer end if done > 0 > > Acked-by: Stephen W

Re: [U-Boot] [Patch V2 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2015-12-16 Thread Gong Q . Y .
> -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Wednesday, December 16, 2015 12:55 AM > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [Patch V2 1/4] spi: fsl_qspi: fix compile warning > for 64-bit platform > > On 15 December 2015 at

[U-Boot] curious if XTRN_DECLARE_GLOBAL_DATA_PTR is still of value

2015-12-16 Thread Robert P. J. Day
perusing the code related to the global data ptr and noticed in common/board_f.c: /* * Pointer to initial global data area * * Here we initialize it if needed. */ #ifdef XTRN_DECLARE_GLOBAL_DATA_PTR #undef XTRN_DECLARE_GLOBAL_DATA_PTR #define XTRN_DECLARE_GLOBAL_DATA_PTR/* empty = allo

Re: [U-Boot] [PATCH] Revert "include/linux: move typdef for uintptr_t"

2015-12-16 Thread Tom Rini
On Wed, Dec 16, 2015 at 07:00:23AM +, Bansal Aneesh wrote: > > -Original Message- > > From: York Sun [mailto:york...@freescale.com] > > Sent: Wednesday, December 16, 2015 11:42 AM > > To: U-Boot Mailing List > > Cc: tr...@konsulko.com; Sun York-R58495 ; Bin Meng > > ; Bansal Aneesh-B3

Re: [U-Boot] [PATCH 2/7] ARM: BeagleBoard-X15: Enable HW leveling

2015-12-16 Thread Lokesh Vutla
Hi, On Monday 14 December 2015 06:40 PM, Dmitry Lifshitz wrote: > Hi Lokesh, > > We are working on U-Boot for CompuLab board based on > AM57xx SoC (CL-SOM-AM57x). > > We figured out the following note in AM57xx TRM for EMIF register > EMIF_DDR_PHY_CONTROL_1, > bits 25:27 (WRLVL_MASK, RDLVLGATE_M

Re: [U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Thomas Chou
Hi Marek, On 2015年12月16日 18:25, Marek Vasut wrote: On Wednesday, December 16, 2015 at 09:07:47 AM, Thomas Chou wrote: Display altera sysid at startup, which was once removed during the move. Signed-off-by: Thomas Chou What if the sysid block isn't part of the design ? If the sysid block i

Re: [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage

2015-12-16 Thread Thomas Chou
Hi Marek, On 2015年12月16日 18:26, Marek Vasut wrote: +CONFIG_FIT=y Amended with savedefconfig and applied to u-boot-nios. Thanks. Thanks! How exactly did you regenerate those defconfigs please ? Did you do just make nnn_config ; make savedefconfig ; cp defconfig configs/nnn_defconfig ? Yes,

Re: [U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 02:10:26 PM, Thomas Chou wrote: > Hi Marek, Hi! > On 2015年12月16日 18:25, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 09:07:47 AM, Thomas Chou wrote: > >> Display altera sysid at startup, which was once removed during > >> the move. > >> > >> Signed

Re: [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 02:15:35 PM, Thomas Chou wrote: > Hi Marek, Hi! > On 2015年12月16日 18:26, Marek Vasut wrote: > >>> +CONFIG_FIT=y > >> > >> Amended with savedefconfig and applied to u-boot-nios. Thanks. > > > > Thanks! > > > > How exactly did you regenerate those defconfigs ple

Re: [U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Thomas Chou
Hi Marek, On 2015年12月16日 21:23, Marek Vasut wrote: On Wednesday, December 16, 2015 at 02:10:26 PM, Thomas Chou wrote: Hi Marek, Hi! On 2015年12月16日 18:25, Marek Vasut wrote: On Wednesday, December 16, 2015 at 09:07:47 AM, Thomas Chou wrote: Display altera sysid at startup, which was once r

Re: [U-Boot] [PATCH 2/7] ARM: BeagleBoard-X15: Enable HW leveling

2015-12-16 Thread Dmitry Lifshitz
Hi Lokesh, On 12/16/2015 02:54 PM, Lokesh Vutla wrote: Hi, On Monday 14 December 2015 06:40 PM, Dmitry Lifshitz wrote: Hi Lokesh, We are working on U-Boot for CompuLab board based on AM57xx SoC (CL-SOM-AM57x). We figured out the following note in AM57xx TRM for EMIF register EMIF_DDR_PHY_CON

[U-Boot] [PATCH v3] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Gregory CLEMENT
During the initialization of PHY the gigabit bit capable is set if the controller is a GEM. However, for sama5d2 and sama5d4, the GEM is configured to support only 10/100. Improperly setting the GBE capability leads to an unresponsive MAC controller. This patch fixes this behavior allowing using t

[U-Boot] [PATCH v2] ARM: Add Support for the VInCo platform

2015-12-16 Thread Gregory CLEMENT
The Versatile Industrial Communication platform is a community oriented board from Landis + Gyr. It comes with: - an RS-485 port - 2 Ethernet ports - a wireless M-BUS - a 4G modem - a 4MB SPI flash - a 4GB eMMC Signed-off-by: Gregory CLEMENT --- arch/arm/mach-at91/Kconfig | 6 ++ board/l+g/vin

Re: [U-Boot] [PATCH] nios2: display altera sysid at startup

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 02:44:04 PM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月16日 21:23, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 02:10:26 PM, Thomas Chou wrote: > >> Hi Marek, > > > > Hi! > > > >> On 2015年12月16日 18:25, Marek Vasut wrote: > >>> On Wednesday, Dece

Re: [U-Boot] [PATCH v3] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Nicolas Ferre
Le 16/12/2015 14:50, Gregory CLEMENT a écrit : > During the initialization of PHY the gigabit bit capable is set if the > controller is a GEM. However, for sama5d2 and sama5d4, the GEM is > configured to support only 10/100. > > Improperly setting the GBE capability leads to an unresponsive MAC >

Re: [U-Boot] [PATCH v2] ARM: Add Support for the VInCo platform

2015-12-16 Thread Nicolas Ferre
Le 16/12/2015 14:53, Gregory CLEMENT a écrit : > The Versatile Industrial Communication platform is a community oriented > board from Landis + Gyr. It comes with: > - an RS-485 port > - 2 Ethernet ports > - a wireless M-BUS > - a 4G modem > - a 4MB SPI flash > - a 4GB eMMC > > Signed-off-by: Grego

Re: [U-Boot] [PATCH] ARM: rpi: enable USB keyboard

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:50:22 AM, Stephen Warren wrote: > Now that the DWC2 driver supports split transactions, we can reasonably > enable support for USB keyboards. This wasn't terribly useful before > since keyboards are usually LS/FS devices, and thus require split > transaction su

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 03:45:48 AM, Stephen Warren wrote: > On 12/15/2015 05:42 PM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 12:35:23 AM, Stephen Warren wrote: > >> On 11/13/2015 06:16 PM, Marek Vasut wrote: > >>> On Friday, November 13, 2015 at 09:34:09 PM, Stephen War

[U-Boot] [PATCH 2/2] arm: imx6: Enable DDR calibration on Novena

2015-12-16 Thread Marek Vasut
Enable the DDR calibration functionality on Novena to deal with the memory SoDIMM on this board. Moreover, tweak the initial DDR DRAM parameters so the calibration works properly. Signed-off-by: Marek Vasut --- board/kosagi/novena/novena_spl.c | 23 ++- 1 file changed, 14 ins

[U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code fine-tunes the behavior of the MMDC controller in order to improve the signal integrity and memory stability. Signed-off-by: Marek Vasut Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/ddr.c| 559 ++

[U-Boot] [PATCH] sparc: fix return value of disable_interrupts

2015-12-16 Thread DUHAMEL Benoit
The return value of disable_interrupts for SPARC is incorrect (false when all interrupts were enabled). As it may be used to allow re-enabling, this may causes hangs up. Observed issue on FLASH write (flash_write_cfiword in drivers/mtd/cfi_flash.c) Signed-off-by: Benoit Duhamel --- arch/sparc

[U-Boot] AM335x SPI boot not working

2015-12-16 Thread Lars Poeschel
Hi! I played a bit with spi boot on my am3359. It is currently not working with u- boot at least with the machine I work here. Has anyone else problems with spi boot on am335x ? On boot SPL reads a value from a processor register to determine from which device it was booting and it uses that va

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-12-16 Thread Lars Poeschel
Am Dienstag, 15. Dezember 2015, 16:54:45 schrieb Joe Hershberger: > Hi Lars, > > On Tue, Dec 15, 2015 at 8:44 AM, Lars Poeschel wrote: > > Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger: > >> On Tue, Aug 18, 2015 at 2:27 PM, Tom Rini wrote: > >> > On Tue, Aug 18, 2015 at 01:47:20

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 07:40 AM, Marek Vasut wrote: > Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code > fine-tunes the behavior of the MMDC controller in order to improve > the signal integrity and memory stability. > I'm glad to see that others are interested in this. I've

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
On 9.12.2015 17:32, Stephen Warren wrote: > On 12/02/2015 03:18 PM, Stephen Warren wrote: >> This tool aims to test U-Boot by executing U-Boot shell commands using >> the >> console interface. A single top-level script exists to execute or attach >> to the U-Boot console, run the entire script of t

Re: [U-Boot] [PATCH] eeprom: fix eeprom write procedure

2015-12-16 Thread Tom Rini
On Mon, Dec 14, 2015 at 06:45:34PM +0300, Alexey Brodkin wrote: > This fixes commit 1a37889b0ad084a740b4f785031d7ae9955d947b: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: > Hi Marek, > > On 12/16/2015 07:40 AM, Marek Vasut wrote: > > Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code > > fine-tunes the behavior of the MMDC controller in order to improve > > the signal integrity and

[U-Boot] Please pull u-boot-rockchip

2015-12-16 Thread Simon Glass
Hi Tom, This fixes the mkimage problem for Rockchip as previously discussed. I've also brought in the tiny printf() additions and patches to move Rockchip to use it. This reduces firefly's image size below the maximum even with the broken gcc. Finally, I've brought in another rk3036 board since it

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > This driver is meant to be used with any OHCI-compatible host > > controller in case if there's no need for platform-specific > > glue such as setup of controlle

[U-Boot] [PATCH 1/8] spi: Remove SPI_OPM_RX_EXTN

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_EXTN is a combination of all rx opmode's and spi driver shall use any one of the rx mode at a time not the combination and it is true in case of flash where spi_flash_table mention combination of supported read opmodes so-that the required one will pick based on the rx mode from spi driv

[U-Boot] [PATCH 3/8] spi: Rename SPI_OPM_RX_* to SPI_RX_*

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_AS - SPI_RX_SLOW SPI_OPM_RX_AF - SPI_RX_FAST SPI_OPM_RX_DOUT - SPI_RX_DUAL SPI_OPM_RX_QOF - SPI_RX_QUAD Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/spi/ich.c | 2 +- drivers/spi/ti_qspi.c | 2 +- inclu

[U-Boot] [PATCH 0/8] spi: Cleanup set

2015-12-16 Thread Jagan Teki
Cleanup set on spi_slave{} Jagan Teki (8): spi: Remove SPI_OPM_RX_EXTN spi: Remove SPI_OPM_RX_DIO|QIOF spi: Rename SPI_OPM_RX_* to SPI_RX_* spi: Rename op_mode_rx to mode_rx spi: Move mode, mode_rx, flags macro's to structure spi: Fix bit assignment with flags spi: Use BIT macro sp

[U-Boot] [PATCH 5/8] spi: Move mode, mode_rx, flags macro's to structure

2015-12-16 Thread Jagan Teki
This patch moves mode, mode_rx, flags macro's to respective member position on spi_slave{}, for better readabilty and finding the respective member macro's easily. This patch fix's the tab space on mode macro's as well. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladu

[U-Boot] [PATCH 2/8] spi: Remove SPI_OPM_RX_DIO|QIOF

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_DIO and SPI_OPM_RX_QIOF are rx IO commands/opmodes for dual and quad. Usually IO operation's are referred to flash protocol rather with spi controller protocol, these are still present in flash side for the usage of spi-nor controllers. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek C

[U-Boot] [PATCH 6/8] spi: Fix bit assignment with flags

2015-12-16 Thread Jagan Teki
Fixed bit assignment with flags members on spi_slave{} Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spi.h b/include/spi.h index 9e1fe3

[U-Boot] [PATCH 4/8] spi: Rename op_mode_rx to mode_rx

2015-12-16 Thread Jagan Teki
Since spi rx mode macro's are renamed to simple and meaninfull in below patch, this patch will rename the respective structure member. "spi: Rename SPI_OPM_RX_* to SPI_RX_*" (sha1: 5e9ffbc5376616449beaaf2bc100f579f12291cf) Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Pala

[U-Boot] [PATCH 7/8] spi: Use BIT macro

2015-12-16 Thread Jagan Teki
Used BIT macro like 1 << nr as BIT(nr) where nr is 0...n Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/inclu

[U-Boot] [PATCH 8/8] spi: Minor cleanup

2015-12-16 Thread Jagan Teki
- Add comments on mode_rx - Tab space's Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/spi.h b/include/spi.h index ca1ea3b..8

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > Hi Marek, > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > > This driver is meant to be used with any OHCI-compatible host > > > controller in

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 16:44 +0100, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > > Hi Marek, > > > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > > > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > > > And

[U-Boot] [PATCH v3] ARM: Add Support for the VInCo platform

2015-12-16 Thread Gregory CLEMENT
The Versatile Industrial Communication platform is a community oriented board from Landis + Gyr. It comes with: - an RS-485 port - 2 Ethernet ports - a wireless M-BUS - a 4G modem - a 4MB SPI flash - a 4GB eMMC Signed-off-by: Gregory CLEMENT Acked-by: Nicolas Ferre --- Hi again, Some of my fixe

[U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Alexey Brodkin
This commit adds support of USB 1.1 storage media on AXS103 board. For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing messages like this: >8--- AXS# usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed

[U-Boot] [PATCH] arc: make global_data.h usable in assembly files

2015-12-16 Thread Alexey Brodkin
Currently on attempt to use global_data.h in an assembly file following will happen: >8- AS arch/arc/lib/start.o ./arch/arc/include/asm/global_data.h: Assembler messages: ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_dat

[U-Boot] [PATCH] arc: introduce option to not relocate U-boot

2015-12-16 Thread Alexey Brodkin
Note option is only meant this only for advanced debugging with Synopsys proprietary MetaWare debugger which is capable of accessing much more specific hardware resources compared to gdb. For example it may show contents of L1 and L2 caches, internal states of some hardware blocks etc. But on the

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 08:11 AM, Michal Simek wrote: On 9.12.2015 17:32, Stephen Warren wrote: On 12/02/2015 03:18 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot c

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 08:33 AM, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: >> Hi Marek, >> >> On 12/16/2015 07:40 AM, Marek Vasut wrote: >>> Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code >>> fine-tunes the behavior of the MMDC co

[U-Boot] [PATCH] video: Clean up formatting, spelling mistakes in exynos_dp*

2015-12-16 Thread Robert P. J. Day
Aesthetic cleanup in drivers/video/exynos_dp*.[ch] files. Signed-off-by: Robert P. J. Day --- noticed a couple spelling mistakes in those files so figured i might as well do a thorough cleaning. not compile-tested as everything here is aesthetic. diff --git a/drivers/video/exynos_dp.c b/dri

[U-Boot] [PATCH] video: Typo cleanup in drivers/video/da8xx-fb.c

2015-12-16 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- more tidying up as i run across it ... diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index e2b2144..468f385d 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -379,7 +379,7 @@ static void lcd_cfg_ac_bias(int period,

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:45:05 PM, Alexey Brodkin wrote: > Hi Marek, > > On Wed, 2015-12-16 at 16:44 +0100, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > > > Hi Marek, > > > > > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: >

Re: [U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 05:05:15 PM, Alexey Brodkin wrote: > This commit adds support of USB 1.1 storage media on AXS103 board. > For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing > messages like this: > >8--- > AXS# usb star

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: > Hi Marek, Hi! > On 12/16/2015 08:33 AM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: > >> Hi Marek, > >> > >> On 12/16/2015 07:40 AM, Marek Vasut wrote: > >>> Add DDR3 calibration co

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 09:50 AM, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: >> On 12/16/2015 08:33 AM, Marek Vasut wrote: >>> On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: ... >>> I don't have SX/SL, so I couldn't test it there. >

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 06:07:02 PM, Eric Nelson wrote: > Hi Marek, Hi! > On 12/16/2015 09:50 AM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: > >> On 12/16/2015 08:33 AM, Marek Vasut wrote: > >>> On Wednesday, December 16, 2015 at 04:00:38

[U-Boot] [PATCH] powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx

2015-12-16 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- one more bit of tidying in the area of u-boot i'm actually working in at the moment. diff --git a/arch/powerpc/cpu/mpc83xx/ecc.c b/arch/powerpc/cpu/mpc83xx/ecc.c index 985a024..2a486e4 100644 --- a/arch/powerpc/cpu/mpc83xx/ecc.c +++ b/arch/powerpc/cpu/mpc8

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren : > On 12/16/2015 08:11 AM, Michal Simek wrote: > >> On 9.12.2015 17:32, Stephen Warren wrote: >> >>> On 12/02/2015 03:18 PM, Stephen Warren wrote: >>> This tool aims to test U-Boot by executing U-Boot shell commands using the c

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 10:43 AM, Michal Simek wrote: Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 12/16/2015 08:11 AM, Michal Simek wrote: On 9.12.2015 17:32, Stephen Warren wrote: On 12/02/2015 03:18 PM, Stephen Warren wrote:

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
2015-12-16 19:09 GMT+01:00 Stephen Warren : > On 12/16/2015 10:43 AM, Michal Simek wrote: > >> Hi Stephen, >> >> 2015-12-16 17:27 GMT+01:00 Stephen Warren > >: >> >> >> On 12/16/2015 08:11 AM, Michal Simek wrote: >> >> On 9.12.2015 17:32, Stephen Warren wr

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 11:32 AM, Michal Simek wrote: 2015-12-16 19:09 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 12/16/2015 10:43 AM, Michal Simek wrote: Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2015-12-16 Thread Stephen Warren
On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on bus 'ranges' property and including child 'reg' property. This change makes impossible to decode the 'reg' for no

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2015-12-16 Thread Stephen Warren
On 12/16/2015 11:53 AM, Stephen Warren wrote: On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on bus 'ranges' property and including child 'reg' property. This cha

  1   2   >