Re: [U-Boot] [RFC] Removal of superfluous gd assignments

2015-11-25 Thread Stefan Roese
Hi Albert, first, thank you very much for taking the time to go over this in such depth. On 25.11.2015 16:20, Albert ARIBAUD wrote: Hello all, This is a follow-up to discussions on the IRC chan re: the fact that gd (the global data pointer) is being assigned in various places, which is not too

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from USB

2015-11-25 Thread Stefan Roese
On 26.11.2015 04:17, Chin Liang See wrote: Adding new environment usbload which will load zImage and Linux DTB from USB mass storage through FAT file system. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/config

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from QSPI

2015-11-25 Thread Stefan Roese
On 26.11.2015 03:32, Chin Liang See wrote: Adding new environment qspiload which will load zImage and Linux DTB from serial NOR flash. The default flash offset for the images as below and they are configurable during run time. - zImage located at 0xa with assuming file size 6MB - Linux DTB l

Re: [U-Boot] [PATCH 07/10][v4] driver: net: fsl-mc: Add DPAA2 commands to manage MC

2015-11-25 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Management complex Firmware, DPL and DPC are depolyed during u-boot boot > sequence. > > Add new DPAA2 commands to manage Management Complex (MC) i.e. start mc, aiop > and apply DPL from u-boot command prompt. > > Signed-off-by: Prabhakar Kush

[U-Boot] [PATCH v2] armv8: fsl-layerscape: Fix early MMU table for nand boot

2015-11-25 Thread York Sun
The early MMU table doesn't enable all addresses. Unused addresses are marked as invalid, as introduced by commit 9979922. An entry was missing for NAND flash space, causing nand boot failure. Signed-off-by: York Sun CC: Alison Wang CC: Prabhakar Kushwaha --- Changes in v2: Reduce the IFC m

Re: [U-Boot] [PATCH v3 1/2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 11/26/2015 10:43 AM, Chin Liang See wrote: > socfpga_dw_mmc driver will obtain the drvsel and > smplsel value from device tree instead of definition > in config header file. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen > Cc: Pavel Machek >

Re: [U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-11-25 Thread Shaohui Xie
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Thursday, November 26, 2015 1:03 AM > To: Xie Shaohui-B21989; Ciubotariu Codrin Constantin-B43658 > Cc: Yuanzheng Li; u-boot@lists.denx.de; Liu Dave-R63238 > Subject: Re: [PATCH] eth: dtsec: fix TBI ANA setting bug

[U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from USB

2015-11-25 Thread Chin Liang See
Adding new environment usbload which will load zImage and Linux DTB from USB mass storage through FAT file system. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_arria5_socdk.h | 5 - include/

[U-Boot] [PATCH] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread clsee
From: Chin Liang See socfpga_dw_mmc driver will obtain the drvsel and smplsel value from device tree instead of definition in config header file. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Cc: Pantelis Antoniou Cc: Simon

[U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from QSPI

2015-11-25 Thread Chin Liang See
Adding new environment qspiload which will load zImage and Linux DTB from serial NOR flash. The default flash offset for the images as below and they are configurable during run time. - zImage located at 0xa with assuming file size 6MB - Linux DTB located at 0x5 with assuming file size 28k

Re: [U-Boot] [PATCH] common: miiphyutil: avoid memory leak

2015-11-25 Thread Bin Meng
On Thu, Nov 26, 2015 at 10:26 AM, Peng Fan wrote: > The following code will alloc memory for new_dev and ldev: > " > new_dev = mdio_alloc(); > ldev = malloc(sizeof(*ldev)); > " > Either new_dev or ldev is NULL, directly return, but this may leak memory. > So before return, using free(ldev) and mdi

[U-Boot] [PATCH] common: miiphyutil: avoid memory leak

2015-11-25 Thread Peng Fan
The following code will alloc memory for new_dev and ldev: " new_dev = mdio_alloc(); ldev = malloc(sizeof(*ldev)); " Either new_dev or ldev is NULL, directly return, but this may leak memory. So before return, using free(ldev) and mdio_free(new_dev) to avoid leaking memory, also free can handle NUL

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-25 Thread Peng Fan
On Thu, Nov 26, 2015 at 02:35:28AM +0100, Marek Vasut wrote: >On Thursday, November 26, 2015 at 02:27:01 AM, Peng Fan wrote: >> Hi Marek, >> >> On Thu, Nov 26, 2015 at 12:15:44AM +0100, Marek Vasut wrote: >> >The following patch changed the PFUZE100 swbst register bit definitions >> >and broke PMI

[U-Boot] [PATCH v3 2/2] arm: socfpga: dts: Adding drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
Adding new node drvsel and smplsel for SDMMC Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Cc: Pantelis Antoniou Cc: Simon Glass Cc: Jaehoon Chung --- Changes for v3 - Split patch to separte DTS and driver patches --- arch

[U-Boot] [PATCH v3 1/2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
socfpga_dw_mmc driver will obtain the drvsel and smplsel value from device tree instead of definition in config header file. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Cc: Pantelis Antoniou Cc: Simon Glass Cc: Jaehoon Chu

[U-Boot] [PATCH v2 1/4] x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE

2015-11-25 Thread Bin Meng
NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge. Signed-off-by: Bin Meng --- Changes in v2: - Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too. arch/x86/cpu/Makefile | 1 - arch/x86/cpu/ivybridge/Kconfig | 33 + 2 files changed, 1

[U-Boot] [PATCH v2 4/4] x86: Remove HAVE_ACPI_RESUME

2015-11-25 Thread Bin Meng
These are currently dead codes. Until we have complete ACPI support, we don't know if it works or not. Remove to avoid confusion. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/cpu.c | 9 - arch/x86/cpu/ivybridge/lpc.c

[U-Boot] [PATCH v2 3/4] x86: Remove CPU_INTEL_SOCKET_RPGA989

2015-11-25 Thread Bin Meng
This Kconfig option name indicates it has something to do with cpu socket, however it is actually not the case. Remove it and move options inside it to NORTHBRIDGE_INTEL_IVYBRIDGE. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/Kconfig | 1

[U-Boot] [PATCH v2 2/4] x86: Clean up ivybridge/chrome Kconfig options

2015-11-25 Thread Bin Meng
There are some options which are never used, and also some options which are selected by others but have never been a Kconfg option. Clean these up. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/Kconfig | 30 --

Re: [U-Boot] [PATCH v2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
On Thu, 2015-11-26 at 10:33 +0900, Jaehoon Chung wrote: > On 11/26/2015 10:10 AM, Chin Liang See wrote: > > socfpga_dw_mmc driver will obtain the drvsel and > > smplsel value from device tree instead of definition > > in config header file. > > > > Signed-off-by: Chin Liang See > > Cc: Dinh Nguye

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-25 Thread Marek Vasut
On Thursday, November 26, 2015 at 02:27:01 AM, Peng Fan wrote: > Hi Marek, > > On Thu, Nov 26, 2015 at 12:15:44AM +0100, Marek Vasut wrote: > >The following patch changed the PFUZE100 swbst register bit definitions > >and broke PMIC configuration on multiple boards, at least on the novena > >and g

Re: [U-Boot] [PATCH v2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Jaehoon Chung
On 11/26/2015 10:10 AM, Chin Liang See wrote: > socfpga_dw_mmc driver will obtain the drvsel and > smplsel value from device tree instead of definition > in config header file. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen > Cc: Pavel Machek > Cc: Marek Vasut > Cc: Ste

Re: [U-Boot] [PATCH v2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
On Thu, 2015-11-26 at 02:26 +0100, Marek Vasut wrote: > On Thursday, November 26, 2015 at 02:10:04 AM, Chin Liang See wrote: > > socfpga_dw_mmc driver will obtain the drvsel and > > smplsel value from device tree instead of definition > > in config header file. > > > > Signed-off-by: Chin Liang Se

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-25 Thread Peng Fan
Hi Marek, On Thu, Nov 26, 2015 at 12:15:44AM +0100, Marek Vasut wrote: >The following patch changed the PFUZE100 swbst register bit definitions >and broke PMIC configuration on multiple boards, at least on the novena >and gw_ventana. This patch fixes it. > >commit 8fa46350a4c7dca7710362f6c871098557

Re: [U-Boot] [PATCH v2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Marek Vasut
On Thursday, November 26, 2015 at 02:10:04 AM, Chin Liang See wrote: > socfpga_dw_mmc driver will obtain the drvsel and > smplsel value from device tree instead of definition > in config header file. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen > Cc: Pavel Machek > Cc:

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-11-25 Thread Marek Vasut
On Wednesday, November 25, 2015 at 06:57:48 AM, Ted Chen wrote: > Add a condition of set_address and set_configuration to check > if the request is standardized. > > Signed-off-by: Ted Chen > --- > drivers/usb/host/xhci.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff

[U-Boot] [PATCH v2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
socfpga_dw_mmc driver will obtain the drvsel and smplsel value from device tree instead of definition in config header file. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Cc: Pantelis Antoniou Cc: Simon Glass Cc: Jaehoon Chu

Re: [U-Boot] [PATCH] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Chin Liang See
Hi Marek, On Thu, 2015-11-26 at 01:50 +0100, Marek Vasut wrote: > On Thursday, November 26, 2015 at 01:41:12 AM, clsee wrote: > > From: Chin Liang See > > > > socfpga_dw_mmc driver will obtain the drvsel and > > smplsel value from device tree instead of definition > > in config header file. > >

Re: [U-Boot] [PATCH] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread Marek Vasut
On Thursday, November 26, 2015 at 01:41:12 AM, clsee wrote: > From: Chin Liang See > > socfpga_dw_mmc driver will obtain the drvsel and > smplsel value from device tree instead of definition > in config header file. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen > Cc: P

[U-Boot] [PATCH] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-25 Thread clsee
From: Chin Liang See socfpga_dw_mmc driver will obtain the drvsel and smplsel value from device tree instead of definition in config header file. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Cc: Pantelis Antoniou Cc: Simon

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-25 Thread Stefan Bruens
On Wednesday 25 November 2015 16:55:54 Sumeet Jauhar wrote: > Hello All, > > I am new to Rpi and for a project I need to install Uboot for Rpi. For > starters I installed Raspbian-jessie to the pi and it worked fine. Now I am > attempting to use uboot but I don't succeed. I am trying to follow the

Re: [U-Boot] Login to Linux system over LCD console on Raspberry Pi.

2015-11-25 Thread Stefan Bruens
On Friday 20 November 2015 08:52:54 Martin Orgonas wrote: > Hello, > > I have Raspberry Pi Model B+ V1.2. > I would like to use official Raspbian OS with U-Boot. > When Raspberry Pi turn on then U-Boot starts and run Raspbian kernel.img. > But i do not have anything kernel boot message on LCD moni

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-25 Thread Vagrant Cascadian
On 2015-11-25, Marek Vasut wrote: > The following patch changed the PFUZE100 swbst register bit definitions > and broke PMIC configuration on multiple boards, at least on the novena > and gw_ventana. This patch fixes it. > > commit 8fa46350a4c7dca7710362f6c871098557b934ad > Author: Peng Fan > Date

[U-Boot] [PATCH] arm: imx6: novena: Enable extfs support in SPL

2015-11-25 Thread Marek Vasut
Simple patch to enable support for extfs filesystem in SPL, this is useful to those who want to avoid vfat like plague. Signed-off-by: Marek Vasut Cc: Stefano Babic --- include/configs/novena.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/novena.h b/include/configs/novena

[U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-25 Thread Marek Vasut
The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena and gw_ventana. This patch fixes it. commit 8fa46350a4c7dca7710362f6c871098557b934ad Author: Peng Fan Date: Fri Aug 7 16:43:45 2015 +0800 power: r

[U-Boot] [PATCH] armv8: fsl-layerscape: Fix early MMU table for nand boot

2015-11-25 Thread York Sun
The early MMU table doesn't enable all addresses. Unused addresses are marked as invalid, as introduced by commit 9979922. An entry was missing for NAND flash space, causing nand boot failure. Signed-off-by: York Sun CC: Alison Wang CC: Prabhakar Kushwaha --- arch/arm/include/asm/arch-fsl-la

Re: [U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-25 Thread Vagrant Cascadian
On 2015-11-24, Marek Vasut wrote: > From: Vagrant Cascadian > > Switch Novena to distro bootcmd, so it can be used with debian easily. > > Signed-off-by: Vagrant Cascadian > Signed-off-by: Marek Vasut > Cc: Sean Cross > Cc: Stefano Babic > --- > include/configs/novena.h | 23 +

Re: [U-Boot] [PATCH] arm: spear: x600: Enable tiny-printf

2015-11-25 Thread Tom Rini
On Tue, Nov 24, 2015 at 09:25:08AM +0100, Stefan Roese wrote: > Enabling the new tiny-printf function makes the SPL image fit again in > the 8KiB restricted area. > > Signed-off-by: Stefan Roese > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [PATCH 2/2] sf: Move SPI flash drivers to defconfig

2015-11-25 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:34:54AM -0800, Bin Meng wrote: > There are already Kconfig options for SPI flash drivers, but we > have not moved them from config.h to defconfig files. This commit > does this in a batch. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [PATCH 1/2] spi: Move SPI drivers to defconfig

2015-11-25 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:34:53AM -0800, Bin Meng wrote: > There are already Kconfig options for SPI drivers, but we > have not moved them from config.h to defconfig files. This > commit does this in a batch. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.as

[U-Boot] [PATCH] Don't wrap to negative after 2G sectors

2015-11-25 Thread Stefan Monnier
Signed-off-by: Stefan Monnier --- disk/part_dos.c | 29 + include/ide.h | 8 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/disk/part_dos.c b/disk/part_dos.c index 89263d3..6280660 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -26,

[U-Boot] Fix wrap around bug in MBR sector counts

2015-11-25 Thread Stefan Monnier
I just bumped into a problem where U-Boot refused to boot from my disk's second partition because the sector number is "negative". More specifically, my disk drive is 2TB, which means that the number of 512B blocks fits into an unsigned 32bit int but not into a signed 32bit int. U-boot's "scsi par

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-25 Thread York Sun
On 11/23/2015 10:42 PM, Kushwaha Prabhakar-B32579 wrote: > >> -Original Message- >> From: York Sun [mailto:york...@freescale.com] >> Sent: Tuesday, November 24, 2015 11:14 AM >> To: Kushwaha Prabhakar-B32579 ; u- >> b...@lists.denx.de >> Cc: Srivastava Pratiyush-B46174 >> Subject: Re: [

Re: [U-Boot] Next for x86?

2015-11-25 Thread Saket Sinha
Hi Simon, >>> >> >> Two biggest feature gaps so far are complete ACPI support, and SMM >> support. ACPI is pretty much a must-have if we want power management >> feature in the OS. F). >> >> ACPI support seems to be a must if we want to support booting Windows, >> also we may need help from SeaBIO

Re: [U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-11-25 Thread York Sun
+ Experts On 11/24/2015 11:04 PM, Yuanzheng Li wrote: > The TBI_ANA register is configurated with the wrong value 0x4001, refer > to QorIQ Data Path Acceleration Architecture (DPAA) Reference Manual. > It set the reserved areas, bit 1 and bit 11 to bit 15 in big endian, > which should be cleared.

[U-Boot] [PATCH v7 2/2] arm: move gd handling outside of C code

2015-11-25 Thread Albert ARIBAUD
As of gcc 5.2.1 for Thumb-1, it is not possible any more to assign gd from C code, as gd is mapped to r9, and r9 may now be saved in the prolog sequence, and restored in the epilog sequence, of any C functions. Therefore arch_setup_gd(), which is supposed to set r9, may actually have no effect, ca

[U-Boot] [PATCH v7 1/2] Fix board init code to respect the C runtime environment

2015-11-25 Thread Albert ARIBAUD
board_init_f_mem() alters the C runtime environment's stack it is actually already using. This is not a valid behaviour within a C runtime environment. Split board_init_f_mem into C functions which do not alter their own stack and always behave properly with respect to their C runtime environment.

Re: [U-Boot] [PATCH 3/4] x86: Remove CPU_INTEL_SOCKET_RPGA989

2015-11-25 Thread Simon Glass
On 25 November 2015 at 01:45, Bin Meng wrote: > This Kconfig option name indicates it has something to do with cpu > socket, however it is actually not the case. Remove it and move > options inside it to NORTHBRIDGE_INTEL_IVYBRIDGE. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/Kc

Re: [U-Boot] [PATCH 1/4] x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE

2015-11-25 Thread Simon Glass
On 25 November 2015 at 01:45, Bin Meng wrote: > NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/Kconfig | 33 + > 1 file changed, 1 insertion(+), 32 deletions(-) Acked-by: Simon Glass

Re: [U-Boot] Next for x86?

2015-11-25 Thread Simon Glass
Hi Bin, On 19 November 2015 at 20:38, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 20, 2015 at 11:09 AM, Simon Glass wrote: >> Hi, >> >> I'm wondering what might come next for U-Boot x86 support. >> >> The PCI conversion to driver model is coming along nicely. The ACPI >> support is only partiall

Re: [U-Boot] [PATCH 4/4] x86: Remove HAVE_ACPI_RESUME

2015-11-25 Thread Simon Glass
On 25 November 2015 at 01:45, Bin Meng wrote: > These are currently dead codes. Until we have complete ACPI support, > we don't know if it works or not. Remove to avoid confusion. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/cpu.c | 9 - > arch/x86/cpu/ivybridg

Re: [U-Boot] [PATCH 2/4] x86: Clean up ivybridge/chrome Kconfig options

2015-11-25 Thread Simon Glass
On 25 November 2015 at 01:45, Bin Meng wrote: > There are some options which are never used, and also some options > which are selected by others but have never been a Kconfg option. > Clean these up. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/Kconfig | 30 -

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-25 Thread Simon Glass
Hi, On 24 November 2015 at 23:44, Bin Meng wrote: > On Wed, Nov 25, 2015 at 11:20 AM, Thomas Chou wrote: >> Hi Simon, >> >> On 2015年11月25日 02:23, Simon Glass wrote: >>> >>> >>> Please try u-boot-dm/testing. This seems to be a different problem: >>> >>> avr32: + grasshopper >>> +lib/time

Re: [U-Boot] [PATCH 5/6] LS102XA:workaround:disable priorities within DDR

2015-11-25 Thread York Sun
Yuan, On 11/25/2015 01:14 AM, Yuan Yao-B46683 wrote: > Hi Sinan Akman, > > Thanks for your review. > There should not cause any problem with Rev1.0. > The workaround should also apply to rev1.0. Please squash your patch 4 & 5 and update your comment and commit message. The erratum document chang

[U-Boot] [RFC] Removal of superfluous gd assignments

2015-11-25 Thread Albert ARIBAUD
Hello all, This is a follow-up to discussions on the IRC chan re: the fact that gd (the global data pointer) is being assigned in various places, which is not too much of a good thing. In all architectures, common/init/board_init.c is built in, which provides board_init_f_{mem,init_reserve}, in w

[U-Boot] [PATCH] serial_mxc: Fix setup of UARTx_UFCR register

2015-11-25 Thread Maximilian Schwerin
This patch writes the default values for TXTL and RXTL to UARTx_UFCR. Without this patch some older kernel versions crash as UARTx_UFCR was not always correctly initialized. Signed-off-by: Maximilian Schwerin --- drivers/serial/serial_mxc.c | 9 - 1 file changed, 8 insertions(+), 1 delet

[U-Boot] [PATCH 1/2] spi: Move SPI drivers to defconfig

2015-11-25 Thread Bin Meng
There are already Kconfig options for SPI drivers, but we have not moved them from config.h to defconfig files. This commit does this in a batch. Signed-off-by: Bin Meng --- configs/B4420QDS_NAND_defconfig| 1 + configs/B4420QDS_SPIFLASH_defconfig| 1

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Marek Vasut
On Wednesday, November 25, 2015 at 02:15:13 PM, Przemyslaw Marczak wrote: > On 11/25/2015 01:16 PM, Marek Vasut wrote: > > On Wednesday, November 25, 2015 at 01:00:41 PM, Przemyslaw Marczak wrote: > >> Hello Marek, > >> > >> On 11/25/2015 11:56 AM, Marek Vasut wrote: > >>> On Wednesday, November 2

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Przemyslaw Marczak
On 11/25/2015 01:16 PM, Marek Vasut wrote: On Wednesday, November 25, 2015 at 01:00:41 PM, Przemyslaw Marczak wrote: Hello Marek, On 11/25/2015 11:56 AM, Marek Vasut wrote: On Wednesday, November 25, 2015 at 11:40:36 AM, Przemyslaw Marczak wrote: Hello Tim, Marek On 11/20/2015 10:40 PM, Tim

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Marek Vasut
On Wednesday, November 25, 2015 at 01:00:41 PM, Przemyslaw Marczak wrote: > Hello Marek, > > On 11/25/2015 11:56 AM, Marek Vasut wrote: > > On Wednesday, November 25, 2015 at 11:40:36 AM, Przemyslaw Marczak wrote: > >> Hello Tim, Marek > >> > >> On 11/20/2015 10:40 PM, Tim Harvey wrote: > >>> On

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Przemyslaw Marczak
Hello Marek, On 11/25/2015 11:56 AM, Marek Vasut wrote: On Wednesday, November 25, 2015 at 11:40:36 AM, Przemyslaw Marczak wrote: Hello Tim, Marek On 11/20/2015 10:40 PM, Tim Harvey wrote: On Fri, Nov 20, 2015 at 12:43 PM, Marek Vasut wrote: Using 50 MiB malloc pool in SPL is nonsense. Sinc

[U-Boot] [PATCH] cgtqmx6eval: Fix defconfig name

2015-11-25 Thread Otavio Salvador
After the conversion to SPL the defconfig was renamed, so adjust it. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/congatec/cgtqmx6eval/MAINTAINERS b/board/congatec/cgtqmx6eval/MAINTAINERS ind

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Marek Vasut
On Wednesday, November 25, 2015 at 11:40:36 AM, Przemyslaw Marczak wrote: > Hello Tim, Marek > > On 11/20/2015 10:40 PM, Tim Harvey wrote: > > On Fri, Nov 20, 2015 at 12:43 PM, Marek Vasut wrote: > >> Using 50 MiB malloc pool in SPL is nonsense. Since the caches are not > >> enabled in SPL, it ta

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-25 Thread Przemyslaw Marczak
Hello Tim, Marek On 11/20/2015 10:40 PM, Tim Harvey wrote: On Fri, Nov 20, 2015 at 12:43 PM, Marek Vasut wrote: Using 50 MiB malloc pool in SPL is nonsense. Since the caches are not enabled in SPL, it takes 2 seconds to init the pool and has no obvious benefit. Reduce the size to 1 MiB. Signe

Re: [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx

2015-11-25 Thread Stefano Babic
Hi Peter, On 24/11/2015 15:38, Bärtsch Peter wrote: > Hello Stefano, > > > > I have seen , that my patch already exist :o but not active in master > branch. > > Follow patch is the original from Ye.Le If you take a patch from someone else, you cannot change author. Patch was ok, but it was

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-25 Thread Sumeet Jauhar
In fact I tried each of the branches ; mainline ; Stephen Warren and also Olex's branch. Olex branch seems to have USB support but it does not work for me . I get a different error now . Saying the "Unrecognized filesystem type **" https://www.dropbox.com/s/n987ko6fxajco7p/P_20151125_182109.jpg

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-25 Thread Alexander Stein
On Wednesday 25 November 2015 02:20:53, Huan Wang wrote: > [Alison Wang] I didn't meet any issue when using sf commands to write and > read the serial flash. > > Hi, Alexander, > > Could you show me the detail commands and process when you meet > such issue? Then I can try to reproduce on m

Re: [U-Boot] GCC5.x support for old u-boot version

2015-11-25 Thread Ayoub Zaki
Hello Jeroen, that fixed the build problem ! many thanks:-) Best regards, Ayoub 2015-11-25 10:54 GMT+01:00 Jeroen Hofstee : > Hello Ayoub, > > > On 25-11-15 10:35, Ayoub Zaki wrote: > >> we have an am335x based custom board that use for our Project. >> At the moment only a customized version o

Re: [U-Boot] GCC5.x support for old u-boot version

2015-11-25 Thread Jeroen Hofstee
Hello Ayoub, On 25-11-15 10:35, Ayoub Zaki wrote: we have an am335x based custom board that use for our Project. At the moment only a customized version of uboot-2013.01.01 supports this board. As we use Yocto toolchains and we plan to upgrade to latest Yocto-2.0 that comes with GCC5.2. I would

[U-Boot] GCC5.x support for old u-boot version

2015-11-25 Thread Ayoub Zaki
Hello, we have an am335x based custom board that use for our Project. At the moment only a customized version of uboot-2013.01.01 supports this board. As we use Yocto toolchains and we plan to upgrade to latest Yocto-2.0 that comes with GCC5.2. I would like to be able to build this custom old ver

[U-Boot] [PATCH v1] kirkwood_spi: move all pin multiplexing to spi_claim

2015-11-25 Thread Valentin Longchamp
The pin multiplexing for the chip select pin was until now done in spi_setup_slave/spi_free_slave. If an SPI slave was probed, its chip select pin was never configured back to the possible alternate pin usage until spi_free_slave was called, even if the bus was released and the pins give back to th

[U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-25 Thread Sumeet Jauhar
Hello All, I am new to Rpi and for a project I need to install Uboot for Rpi. For starters I installed Raspbian-jessie to the pi and it worked fine. Now I am attempting to use uboot but I don't succeed. I am trying to follow the instructions http://elinux.org/RPi_U-Boot and http://arrizza.org/

[U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-11-25 Thread Yuanzheng Li
The TBI_ANA register is configurated with the wrong value 0x4001, refer to QorIQ Data Path Acceleration Architecture (DPAA) Reference Manual. It set the reserved areas, bit 1 and bit 11 to bit 15 in big endian, which should be cleared. But the normal functions of the auto-negotiation, e.g. Pause an

[U-Boot] [PATCH v2 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-25 Thread Ted Chen
From: Ted Chen This patch adds driver support for the Realtek RTL8152B/RTL8153 USB network adapters. Signed-off-by: Ted Chen [swarren, fixed a few compiler warnings] [swarren, with permission, converted license header to SPDX] [swarren, removed printf() spew during probe()] Signed-off-by: Steph

[U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-11-25 Thread Ted Chen
Add a condition of set_address and set_configuration to check if the request is standardized. Signed-off-by: Ted Chen --- drivers/usb/host/xhci.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ca598aa..cb8a04b

[U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-11-25 Thread Ted Chen
Add a condition of set_address and set_configuration to check if the request is standardized. Signed-off-by: Ted Chen --- drivers/usb/host/xhci.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ca598aa..cb8a04b

[U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx

2015-11-25 Thread Bärtsch Peter
Hello Stefano, I have seen , that my patch already exist :o but not active in master branch. Follow patch is the original from Ye.Le Kind regards Peter Bärtsch On mx6sx, the CCM register bits for GPMI are different as other mx6 platforms. Modify the GPMI clock function to support mx6sx. Signe

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2015-11-25 Thread Anand Moon
Hi Ted, On 25 November 2015 at 11:27, Ted Chen wrote: > Add a condition of set_address and set_configuration to check > if the request is standardized. > > Signed-off-by: Ted Chen > --- > drivers/usb/host/xhci.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/d

Re: [U-Boot] [PATCH v2 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-25 Thread Anand Moon
Hi Ted, On 25 November 2015 at 11:00, Ted Chen wrote: > From: Ted Chen > > This patch adds driver support for the Realtek RTL8152B/RTL8153 USB > network adapters. > > Signed-off-by: Ted Chen > [swarren, fixed a few compiler warnings] > [swarren, with permission, converted license header to SPDX

[U-Boot] [PATCH] common: cli_hush: avoid memory leak

2015-11-25 Thread Peng Fan
Need to free memory avoid memory leak, when error. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Tom Rini --- common/cli_hush.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/cli_hush.c b/common/cli_hush.c index f075459..ab85225 100644 --- a/common/cli_hush.c +++ b

[U-Boot] [PATCH] common: mmc: unsigned char compared against 0

2015-11-25 Thread Peng Fan
"enable" is unsigned char type and its value will not be negative, so discard "enable < 0". Signed-off-by: Peng Fan Cc: Diego Santa Cruz Cc: Pantelis Antoniou Cc: Andrew Gabbasov Cc: Simon Glass Cc: Stefano Babic Cc: Tom Rini --- common/cmd_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [U-Boot] [PATCH 5/6] LS102XA:workaround:disable priorities within DDR

2015-11-25 Thread Yao Yuan
Hi Sinan Akman, Thanks for your review. There should not cause any problem with Rev1.0. The workaround should also apply to rev1.0. Best Regards, Yuan Yao > -Original Message- > From: Sinan Akman [mailto:si...@writeme.com] > Sent: Wednesday, November 25, 2015 12:10 AM > To: Yuan Yao-B466

Re: [U-Boot] [U-Boot, v2, 4/5] gpt: part: Definition and declaration of GPT verification functions

2015-11-25 Thread Przemyslaw Marczak
Hi Tom, On 11/24/2015 07:56 PM, Tom Rini wrote: On Tue, Nov 24, 2015 at 10:56:41AM +0100, Przemyslaw Marczak wrote: Hello Tom, On 11/23/2015 11:44 PM, Tom Rini wrote: On Fri, Nov 20, 2015 at 08:06:16AM +0100, Lukasz Majewski wrote: This commit provides definition and declaration of GPT veri

[U-Boot] [PATCH] powerpc, mpc5xxx: fix missing bootflag init

2015-11-25 Thread Heiko Schocher
since: commit: f05ad9ba "Add a way to skip relocation" tqm5200s board fails to boot. Reason is that board_init_f has a function parameter bootflag, which is not setup in in arch/powerpc/cpu/mpc5xxx/start.S _start So board_init_f gets a undefined bootflag, currently the gd pointer address. Unfortu

Re: [U-Boot] [PATCH v6 4/6] cgtqmx6eval: Add SPL support

2015-11-25 Thread Stefano Babic
Hi Otavio, On 19/11/2015 22:02, Otavio Salvador wrote: > Congatec has several MX6 boards based on quad, dual, dual-lite and solo. > > Add SPL support so that all the variants can be supported > > Signed-off-by: Otavio Salvador > --- > Whole series applied to u-boot-imx, thanks ! Best regards

[U-Boot] [PATCH 3/4] x86: Remove CPU_INTEL_SOCKET_RPGA989

2015-11-25 Thread Bin Meng
This Kconfig option name indicates it has something to do with cpu socket, however it is actually not the case. Remove it and move options inside it to NORTHBRIDGE_INTEL_IVYBRIDGE. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/Kconfig | 15 --- board/google/chromebook_l

[U-Boot] [PATCH 4/4] x86: Remove HAVE_ACPI_RESUME

2015-11-25 Thread Bin Meng
These are currently dead codes. Until we have complete ACPI support, we don't know if it works or not. Remove to avoid confusion. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/cpu.c | 9 - arch/x86/cpu/ivybridge/lpc.c | 9 - arch/x86/cpu/ivybridge/nort

[U-Boot] [PATCH 2/4] x86: Clean up ivybridge/chrome Kconfig options

2015-11-25 Thread Bin Meng
There are some options which are never used, and also some options which are selected by others but have never been a Kconfg option. Clean these up. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/Kconfig | 30 -- board/google/chromebook_link/Kconfig |

[U-Boot] [PATCH 1/4] x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE

2015-11-25 Thread Bin Meng
NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/Kconfig | 33 + 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/arch/x86/cpu/ivybridge/Kconfig b/arch/x86/cpu/ivybridge/Kconfig index