Re: [U-Boot] [PATCH v4 2/2] x86: Add a simple interrupt script to the README

2015-08-13 Thread Bin Meng
On Fri, Aug 14, 2015 at 12:36 AM, Simon Glass wrote: > It is a bit tedious to figure out the interrupt configuration for a new > x86 platform. Add a script which can do this, based on the output of > 'pci long'. This may be helpful in some cases. > > Signed-off-by: Simon Glass > --- Reviewed-by:

Re: [U-Boot] [PATCH v4 1/2] x86: minnowmax: Define and enable interrupt setup

2015-08-13 Thread Bin Meng
On Fri, Aug 14, 2015 at 12:36 AM, Simon Glass wrote: > Set up interrupts correctly so that Linux can use all devices. Use > savedefconfig to regenerate the defconfig file. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Use the same interrupt routing as bayleybay > > Changes in v3: >

[U-Boot] [PATCH v2 3/9] powerpc: ipek01: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Also update maintainer info. Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- v2: - add new board maintainer board/ipek01/MAINTAINERS |2 +- include/configs/ipek01.h |2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/ipek01/MAINTAINERS b/board/ipek01/MAI

[U-Boot] [PATCH v2 2/9] powerpc: inka4x0: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Also update maintainer info. Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- v2: - add new board maintainer board/inka4x0/MAINTAINERS |2 +- include/configs/inka4x0.h |2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/inka4x0/MAINTAINERS b/board/inka4x0

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
Hi Zhiqiang, > -Original Message- > From: Zhiqiang Hou [mailto:b48...@freescale.com] > Sent: Wednesday, August 12, 2015 11:48 AM > To: u-boot@lists.denx.de; jt...@openedev.com > Cc: york...@freescale.com; mingkai...@freescale.com; Siva Durga Prasad > Paladugu; Hou Zhiqiang > Subject: [PATC

Re: [U-Boot] [PATCH 1/2] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-13 Thread Anatolij Gustschin
Hi Simon, On Thu, 13 Aug 2015 15:19:17 -0600 Simon Glass wrote: ... > diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h > index a7af351..1e40ce9 100644 > --- a/include/configs/digsy_mtc.h > +++ b/include/configs/digsy_mtc.h > @@ -23,7 +23,6 @@ > #define CONFIG_MPC5200

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
> -Original Message- > From: Hou Zhiqiang [mailto:b48...@freescale.com] > Sent: Friday, August 14, 2015 9:37 AM > To: Siva Durga Prasad Paladugu; Jagan Teki > Cc: Stefan Roese; u-boot@lists.denx.de; nofooter; York Sun > Subject: RE: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte ad

[U-Boot] [PATCH] ARM: tegra: Add p2371-2180 board

2015-08-13 Thread Stephen Warren
From: Stephen Warren P2371-2180 is a P2180 CPU board married to a P2597 I/O board. The combination contains SoC, DRAM, eMMC, SD card slot, HDMI, USB micro-B port, Ethernet via USB3, USB3 host port, SATA, PCIe, and two GPIO expansion headers. Signed-off-by: Stephen Warren --- arch/arm/dts/Makef

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Hou Zhiqiang
Hello all, As Siva said the 4-Byte support should be splited to another thread. And this patch focus on the BAR addressing mode base on the current u-boot, the aim is make the spi flash work upon warm boot, specifically when boot from SPI flash, without correcting the address mode, it will cras

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 03:05:57 AM, vikas wrote: > Hi, Hi! > On 08/13/2015 06:03 PM, Marek Vasut wrote: > > On Friday, August 14, 2015 at 02:46:20 AM, vikas wrote: > >> Hi, > > > > Hi, > > > > [...] > > > >>> I don't want to have two different codepaths in the codebase, one > >>

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread Vikas MANOCHA
Hi, > On Aug 13, 2015, at 6:57 PM, Marek Vasut wrote: > >> On Friday, August 14, 2015 at 03:39:22 AM, vikas wrote: >> Hi Marek, >> >>> On 08/13/2015 06:04 PM, Marek Vasut wrote: On Friday, August 14, 2015 at 02:37:53 AM, vikas wrote: Hi, > On 08/13/2015 03:48 PM, Marek Vas

Re: [U-Boot] efi: Error building as EFI payload (both 32bit and 64 bit)

2015-08-13 Thread Bin Meng
Hi Igor, On Fri, Aug 14, 2015 at 2:38 AM, Stoppa, Igor wrote: > +Simon > > Hello Bin, Simon, > > On 13 August 2015 at 17:52, Stoppa, Igor wrote: > >> I'm running qemu 2.1.3 on OpenSUSE and it doesn't seem to start in EFI >> mode other than with a build of the Open Virtual Machine Firmware that >

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 03:39:22 AM, vikas wrote: > Hi Marek, > > On 08/13/2015 06:04 PM, Marek Vasut wrote: > > On Friday, August 14, 2015 at 02:37:53 AM, vikas wrote: > >> Hi, > >> > >> On 08/13/2015 03:48 PM, Marek Vasut wrote: > >>> On Thursday, August 13, 2015 at 11:36:31 PM, vikas wro

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 03:44:41 AM, vikas wrote: > Hi, > > On 08/13/2015 06:43 PM, Marek Vasut wrote: > > On Friday, August 14, 2015 at 03:24:10 AM, vikas wrote: > >> Hi Marek, > > > > Hi, > > > >> On 08/13/2015 10:35 AM, Marek Vasut wrote: > >>> On Thursday, August 13, 2015 at 05:50:18 P

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread vikas
Hi, On 08/13/2015 06:43 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 03:24:10 AM, vikas wrote: >> Hi Marek, > > Hi, > >> On 08/13/2015 10:35 AM, Marek Vasut wrote: >>> On Thursday, August 13, 2015 at 05:50:18 PM, vikasm wrote: Hi Marek, >>> >>> Hi! >>> On 08/12/2015 07:07 PM,

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 06:04 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 02:37:53 AM, vikas wrote: >> Hi, >> >> On 08/13/2015 03:48 PM, Marek Vasut wrote: >>> On Thursday, August 13, 2015 at 11:36:31 PM, vikas wrote: Hi Marek, >>> >>> Hi! >>> On 08/13/2015 09:42 AM, vikasm wr

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 03:24:10 AM, vikas wrote: > Hi Marek, Hi, > On 08/13/2015 10:35 AM, Marek Vasut wrote: > > On Thursday, August 13, 2015 at 05:50:18 PM, vikasm wrote: > >> Hi Marek, > > > > Hi! > > > >> On 08/12/2015 07:07 PM, Marek Vasut wrote: > >>> On Thursday, July 16, 2015 at

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 10:35 AM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 05:50:18 PM, vikasm wrote: >> Hi Marek, > > Hi! > >> On 08/12/2015 07:07 PM, Marek Vasut wrote: >>> On Thursday, July 16, 2015 at 04:27:29 AM, Vikas Manocha wrote: >>> >>> Commit message is missing. >> >> Actu

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi, On 08/13/2015 06:03 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 02:46:20 AM, vikas wrote: >> Hi, > > Hi, > > [...] > >>> I don't want to have two different codepaths in the codebase, one of >>> which is buggy. So no, I disagree we should add this option. I also >>> do

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 02:37:53 AM, vikas wrote: > Hi, > > On 08/13/2015 03:48 PM, Marek Vasut wrote: > > On Thursday, August 13, 2015 at 11:36:31 PM, vikas wrote: > >> Hi Marek, > > > > Hi! > > > >> On 08/13/2015 09:42 AM, vikasm wrote: > >>> Hi Marek, > >>> > >>> On 08/12/2015 07:15 PM

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 02:46:20 AM, vikas wrote: > Hi, Hi, [...] > > I don't want to have two different codepaths in the codebase, one of > > which is buggy. So no, I disagree we should add this option. I also > > don't think it would be such a performance improvement, so I on

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi, On 08/13/2015 05:44 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 02:26:02 AM, vikas wrote: > > Hi! > There is no need to check for sram fill level. If sram is empty, cpu will go in the wait state till the time data is available from flash. >>

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread vikas
Hi, On 08/13/2015 03:48 PM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 11:36:31 PM, vikas wrote: >> Hi Marek, > > Hi! > >> On 08/13/2015 09:42 AM, vikasm wrote: >>> Hi Marek, >>> >>> On 08/12/2015 07:15 PM, Marek Vasut wrote: On Thursday, July 16, 2015 at 04:27:33 AM, Vikas Manoch

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 02:26:02 AM, vikas wrote: Hi! > >> There is no need to check for sram fill level. If sram is empty, > >> cpu will go in the wait state till the time data is available > >> from flash. > > > > Consider the following scenario: >

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi, On 08/13/2015 04:46 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 01:18:59 AM, vikas wrote: >> Hi Marek, > > Hi! > >> On 08/13/2015 03:47 PM, Marek Vasut wrote: >>> On Thursday, August 13, 2015 at 11:04:59 PM, vikas wrote: Hi Marek, >>> >>> Hi! >>> On 08/13/2015 01:35 PM,

Re: [U-Boot] efi: Error building as EFI payload (both 32bit and 64 bit)

2015-08-13 Thread Simon Glass
Hi Igor, On 13 August 2015 at 12:38, Stoppa, Igor wrote: > +Simon > > Hello Bin, Simon, > > On 13 August 2015 at 17:52, Stoppa, Igor wrote: > >> I'm running qemu 2.1.3 on OpenSUSE and it doesn't seem to start in EFI >> mode other than with a build of the Open Virtual Machine Firmware that >> I f

[U-Boot] [PATCH v3 8/9] dfu: tftp: Kconfig: Add Kconfig entry for dfu tftp feature

2015-08-13 Thread Lukasz Majewski
The dfu tftp feature can be now enabled via Kconfig. This commit provides necessary code for it. Signed-off-by: Lukasz Majewski --- Changes for v3: - New patch --- drivers/dfu/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index

[U-Boot] [PATCH v3 7/9] dfu: command: Extend "dfu" command to handle receiving data via TFTP

2015-08-13 Thread Lukasz Majewski
The "dfu" command has been extended to support transfers via TFTP protocol. Signed-off-by: Lukasz Majewski Reviewed-by: Simon Glass --- Changes for v2: - Remove "dfutftp" command - Modify "dfu" command to support optional [tftp] parameter - Only one flag (CONFIG_DFU_TFTP) needs to be enabled Ch

[U-Boot] [PATCH v3 9/9] dfu: tftp: Kconfig: Enable DFU_TFTP support on the am335x_boneblack_defconfig

2015-08-13 Thread Lukasz Majewski
This commit enables support for DFU_TFTP on the am335x bone black device. Signed-off-by: Lukasz Majewski --- Changes for v3: - New patch --- configs/am335x_boneblack_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defc

[U-Boot] [PATCH v2] dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID

2015-08-13 Thread Lukasz Majewski
dfu-util allows filtering on USB device vendor:product ID by using the -d flag (-d 0451:d022). Such option is very handy when many DFU devices are connected to a single host PC. This commit allows testing when above situation emerges. Signed-off-by: Lukasz Majewski Reviewed-by: Simon Glass Test

[U-Boot] [PATCH v3 6/9] update: tftp: dfu: Extend update_tftp() function to support DFU

2015-08-13 Thread Lukasz Majewski
This code allows using DFU defined mediums for storing data received via TFTP protocol. It reuses and preserves functionality of legacy code at common/update.c. The update_tftp() function now accepts parameters - namely medium device name and its number (e.g. mmc 1). Without this information pas

[U-Boot] [PATCH v3 2/9] net: tftp: Move tftp.h file from ./net to ./include/net

2015-08-13 Thread Lukasz Majewski
This change gives the ability to reuse the header file by other subsystems (like e.g. dfu). Without this change compilation error emerges for the legacy update.c file. Signed-off-by: Lukasz Majewski --- Changes for v2: - Move tftp.h from ./include to ./include/net/ directory Changes for v3: -

[U-Boot] [PATCH v3 4/9] dfu: tftp: update: Provide tftp support for the DFU subsystem

2015-08-13 Thread Lukasz Majewski
This commit adds initial support for using tftp for downloading and upgrading firmware on the device. Signed-off-by: Lukasz Majewski Acked-by: Joe Hershberger --- Changes for v2: - Return -ENOSYS instead of plain -1 - Remove interface and devstring env variables reading in the dfu_tftp_write()

[U-Boot] [PATCH v3 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP)

2015-08-13 Thread Lukasz Majewski
This commit series enables DFU subsystem to use ETH and TFTP protocol as a medium for downloading data, which should bring substantial speedup for writing large files (like rootfs). Please read provided ./doc/README.dfutftp documentation entry for more information. Those patches should be applie

Re: [U-Boot] [PATCH 1/2] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-13 Thread Simon Glass
Hi Masahiro, On 13 August 2015 at 16:38, Masahiro Yamada wrote: > Hi Simon, > > > > 2015-08-14 6:19 GMT+09:00 Simon Glass : >> All boards should be converted to generic board by now. Change the rest >> over. If this causes run-time breakages then we can remove those boards. >> >> Signed-off-by: S

[U-Boot] [PATCH v3 5/9] dfu: tftp: update: Add dfu_write_from_mem_addr() function

2015-08-13 Thread Lukasz Majewski
This function allows writing via DFU data stored from fixed buffer address (like e.g. loadaddr env variable). Such predefined buffers are used in the update_tftp() code. In fact this function is a wrapper on the dfu_write() and dfu_flush(). Signed-off-by: Lukasz Majewski --- Changes for v2: - Us

[U-Boot] [PATCH v3 3/9] tftp: update: Allow some parts of the code to be reused when CONFIG_SYS_NO_FLASH is set

2015-08-13 Thread Lukasz Majewski
Up till now it was impossible to use code from update.c when system was not equipped with raw FLASH memory. Such behavior prevented DFU from reusing this code. Signed-off-by: Lukasz Majewski Acked-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes for v2: - None Changes for v3: - None -

[U-Boot] [PATCH v3 1/9] doc: dfu: tftp: README entry for TFTP extension of DFU

2015-08-13 Thread Lukasz Majewski
Documentation file for DFU extension. With this functionality it is now possible to transfer FIT images with firmware updates via TFTP and use DFU backend for storing them. Signed-off-by: Lukasz Majewski Reviewed-by: Simon Glass --- Changes for v2: - Remove section regarding update_tftp() specif

Re: [U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number

2015-08-13 Thread Lukasz Majewski
On Thu, 13 Aug 2015 14:37:06 +0200 Tormod Volden wrote: > On Wed, Aug 12, 2015 at 11:44 PM, Lukasz Majewski wrote: > > In the dfu-util it is possible to set major:minor number by unsing > > -d flag (-d 0451:d022). > > Such option is very handy when many DFU devices are connected to a > > single h

Re: [U-Boot] [PATCH 1/2] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-13 Thread Masahiro Yamada
Hi Simon, 2015-08-14 6:19 GMT+09:00 Simon Glass : > All boards should be converted to generic board by now. Change the rest > over. If this causes run-time breakages then we can remove those boards. > > Signed-off-by: Simon Glass Did you check this commit is only touching ARM boards? > dif

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Rob Herring
On Thu, Aug 13, 2015 at 10:59 AM, Simon Glass wrote: > Hi Linus, > > On 11 August 2015 at 07:00, Linus Walleij wrote: >> On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass wrote: >> >>> This binding differs from that of Linux. Update it and change existing >>> users. >>> >>> Signed-off-by: Simon Glass

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 01:18:59 AM, vikas wrote: > Hi Marek, Hi! > On 08/13/2015 03:47 PM, Marek Vasut wrote: > > On Thursday, August 13, 2015 at 11:04:59 PM, vikas wrote: > >> Hi Marek, > > > > Hi! > > > >> On 08/13/2015 01:35 PM, Marek Vasut wrote: > >>> On Thursday, August 13, 2015 at

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 03:47 PM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 11:04:59 PM, vikas wrote: >> Hi Marek, > > Hi! > >> On 08/13/2015 01:35 PM, Marek Vasut wrote: >>> On Thursday, August 13, 2015 at 09:49:49 PM, vikas wrote: >>> >>> Hi! >>> >> On 08/12/2015 07:09 PM, Marek

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-08-13 Thread Marek Vasut
On Monday, April 27, 2015 at 10:40:18 AM, Hans de Goede wrote: > Hi, Hi again! > On 27-04-15 03:09, Marek Vasut wrote: > > On Friday, March 27, 2015 at 09:47:25 AM, Hans de Goede wrote: > >> Hi, > > > > Hi! > > > > [...] > > > >>> scanning usb for storage devices... 1 Storage Device(s

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Marek Vasut
On Friday, August 14, 2015 at 12:48:57 AM, Sergei Temerkhanov wrote: Hi, please stop top-posting :( > Well, when I was working on this, setting large transfer sizes resulted in, > AFAIR, xhci_wait_for_event() timeout and changing XHCI_TIMEOUT doesn't > help. This function returns NULL which is b

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 10:56:27 PM, Sergei Temerkhanov wrote: Hi! (please stop top-posting ; please keep the list in the loop) > Well, when I was working on this, setting large transfer sizes resulted in, > AFAIR, xhci_wait_for_event() timeout and changing XHCI_TIMEOUT doesn't > help. T

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 11:04:59 PM, vikas wrote: > Hi Marek, Hi! > On 08/13/2015 01:35 PM, Marek Vasut wrote: > > On Thursday, August 13, 2015 at 09:49:49 PM, vikas wrote: > > > > Hi! > > > On 08/12/2015 07:09 PM, Marek Vasut wrote: > > On Thursday, July 16, 2015 at 04:27:30 A

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 11:36:31 PM, vikas wrote: > Hi Marek, Hi! > On 08/13/2015 09:42 AM, vikasm wrote: > > Hi Marek, > > > > On 08/12/2015 07:15 PM, Marek Vasut wrote: > >> On Thursday, July 16, 2015 at 04:27:33 AM, Vikas Manocha wrote: > >>> This patch is to separate the base trigger

Re: [U-Boot] [PATCH 00/25] dm: Convert TPM drivers to driver model

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:22, Christophe Ricard wrote: > Hi Simon, > > Thanks for the review and your comments. > Please see mine below: > > > On 13/08/2015 03:30, Simon Glass wrote: >> >> Hi Christophe, >> >> On 11 August 2015 at 15:50, christophe.ricard >> wrote: >>> >>> Hi Simon,

Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:37, Christophe Ricard wrote: > Hi Simon, > > > On 13/08/2015 17:55, Simon Glass wrote: >> >> Hi Christophe, >> >> On 9 August 2015 at 07:19, Christophe Ricard >> wrote: >>> >>> drivers/tpm/tpm.c is a TPM core driver port from Linux. >>> So far in u-boot onl

Re: [U-Boot] [PATCH 3/3] tpm: Add st33zp24 tpm with i2c and spi phy

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:59, Christophe Ricard wrote: > Hi Simon, > > > On 13/08/2015 17:55, Simon Glass wrote: >> >> Hi Christophe, >> >> On 9 August 2015 at 07:19, Christophe Ricard >> wrote: >>> >>> Add TPM st33zp24 tpm with i2c and spi phy. This is a port from Linux. >>> This d

Re: [U-Boot] [PATCH 07/25] tpm: tpm_tis_i2c: Drop unnecessary methods

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:28, Christophe Ricard wrote: > Hi Simon, > > On 13/08/2015 03:30, Simon Glass wrote: >> >> Hi Christophe, >> >> On 11 August 2015 at 15:47, christophe.ricard >> wrote: >>> >>> Hi Simon, >>> >>> As per my comment on patch 6, i would disagree as well on this

Re: [U-Boot] [PATCH 08/25] tpm: tpm_tis_i2c: Drop struct tpm_vendor_specific

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:32, Christophe Ricard wrote: > Hi Simon, > > On 13/08/2015 03:30, Simon Glass wrote: >> >> Hi Christophe, >> >> On 11 August 2015 at 15:47, christophe.ricard >> wrote: >>> >>> Hi Simon, >>> >>> Locality concept are valid almost on any chip assuming if no lo

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Sergei Temerkhanov
Well, when I was working on this, setting large transfer sizes resulted in, AFAIR, xhci_wait_for_event() timeout and changing XHCI_TIMEOUT doesn't help. This function returns NULL which is being dereferenced somewhere else (I don't remember where exactly), there are several places in the generic xh

Re: [U-Boot] [PATCH 2/9] powerpc: inka4x0: convert to generic board

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 11:57:54PM +0200, Anatolij Gustschin wrote: > Also update maintainer info. > > Signed-off-by: Anatolij Gustschin > Cc: Wolfgang Denk > --- > board/inka4x0/MAINTAINERS |2 +- > include/configs/inka4x0.h |2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) >

[U-Boot] [PATCH 5/9] powerpc: motionpro: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- include/configs/motionpro.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h index 6dc84eb..3b97d91 100644 --- a/include/configs/motionpro.h +++ b/include/configs/motionpro.h

[U-Boot] [PATCH 9/9] powerpc: socrates: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: York Sun --- include/configs/socrates.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/socrates.h b/include/configs/socrates.h index 292b514..50911ae 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -27,6

[U-Boot] [PATCH 7/9] powerpc: pcm030: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- include/configs/pcm030.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/pcm030.h b/include/configs/pcm030.h index 83c96a8..f9d522e 100644 --- a/include/configs/pcm030.h +++ b/include/configs/pcm030.h @@ -15,6 +15,7 @

[U-Boot] [PATCH 8/9] powerpc: v38b: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- include/configs/v38b.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/v38b.h b/include/configs/v38b.h index 63049ab..3e51b9f 100644 --- a/include/configs/v38b.h +++ b/include/configs/v38b.h @@ -14,6 +14,8 @@ */

[U-Boot] [PATCH 2/9] powerpc: inka4x0: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Also update maintainer info. Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- board/inka4x0/MAINTAINERS |2 +- include/configs/inka4x0.h |2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/inka4x0/MAINTAINERS b/board/inka4x0/MAINTAINERS index 246b2d4..703f0

[U-Boot] [PATCH 6/9] powerpc: munices: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- include/configs/munices.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/munices.h b/include/configs/munices.h index 42ac029..b1b6acd 100644 --- a/include/configs/munices.h +++ b/include/configs/munices.h @@ -14,6 +1

[U-Boot] [PATCH 3/9] powerpc: ipek01: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Also update maintainer info. Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- board/ipek01/MAINTAINERS |2 +- include/configs/ipek01.h |2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/ipek01/MAINTAINERS b/board/ipek01/MAINTAINERS index 060f8a5..b289c26 1

[U-Boot] [PATCH 4/9] powerpc: jupiter: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Heiko Schocher Cc: Wolfgang Denk --- include/configs/jupiter.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/jupiter.h b/include/configs/jupiter.h index 65b3df6..5601cb4 100644 --- a/include/configs/jupiter.h +++ b/include/configs

[U-Boot] [PATCH 1/9] powerpc: canmb: convert to generic board

2015-08-13 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Cc: Wolfgang Denk --- include/configs/canmb.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/canmb.h b/include/configs/canmb.h index c656378..36cd50b 100644 --- a/include/configs/canmb.h +++ b/include/configs/canmb.h @@ -15,6 +15,8 @@

Re: [U-Boot] Pull request, u-boot-tegra/master

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 01:26:37PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is > OK (includes Tegra210 builds) > > The following changes since commit 0741701acf00749

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 09:42 AM, vikasm wrote: > Hi Marek, > > On 08/12/2015 07:15 PM, Marek Vasut wrote: >> On Thursday, July 16, 2015 at 04:27:33 AM, Vikas Manocha wrote: >>> This patch is to separate the base trigger from the read/write transfer >>> start addresses. >> >> This patch breaks th

[U-Boot] [PATCH 0/2] arm: Move all boards over to generic board

2015-08-13 Thread Simon Glass
All arm boards should have been converted to generic board by now. It is time to either remove the non-generic boards, or force-convert them to generic board. This series takes the latter approach, which may break a few boards, but most should be OK. Simon Glass (2): arm: Enable CONFIG_SYS_GEN

[U-Boot] [PATCH 1/2] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-13 Thread Simon Glass
All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can remove those boards. Signed-off-by: Simon Glass --- arch/Kconfig | 1 + arch/arm/include/asm/arch-lpc32xx/config.h | 2 -- include/configs/VC

[U-Boot] [PATCH 2/2] arm: Drop old non-generic-board code

2015-08-13 Thread Simon Glass
This code is no-longer used. Drop it. Signed-off-by: Simon Glass --- arch/arm/include/asm/u-boot.h | 19 -- arch/arm/lib/Makefile | 3 - arch/arm/lib/board.c | 687 -- 3 files changed, 709 deletions(-) delete mode 100644 arch/arm/lib/

Re: [U-Boot] [RFC PATCH 28/28] powerpc: remove sbc8641d support

2015-08-13 Thread Anatolij Gustschin
CCing Paul. On Thu, 13 Aug 2015 19:15:46 +0900 Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > --- > > arch/powerpc/cpu/mpc86xx/Kconfig | 4 - > board/sbc8641d/

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 01:35 PM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 09:49:49 PM, vikas wrote: > > Hi! > On 08/12/2015 07:09 PM, Marek Vasut wrote: > On Thursday, July 16, 2015 at 04:27:30 AM, Vikas Manocha wrote: >> There is no need to check for sram fill level. I

Re: [U-Boot] [PATCH 3/3] tpm: Add st33zp24 tpm with i2c and spi phy

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 17:55, Simon Glass wrote: Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: Add TPM st33zp24 tpm with i2c and spi phy. This is a port from Linux. This driver relies on tpm uclass. Signed-off-by: Christophe Ricard --- README

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 12:38:52PM -0600, Simon Glass wrote: > Hi, > > On 13 August 2015 at 12:23, Tom Rini wrote: > > On Thu, Aug 13, 2015 at 11:38:00PM +0530, Jagan Teki wrote: > >> On 13 August 2015 at 23:24, Tom Rini wrote: > >> > On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: >

Re: [U-Boot] [PATCH 00/25] dm: Convert TPM drivers to driver model

2015-08-13 Thread Christophe Ricard
Hi Simon, Thanks for the review and your comments. Please see mine below: On 13/08/2015 03:30, Simon Glass wrote: Hi Christophe, On 11 August 2015 at 15:50, christophe.ricard wrote: Hi Simon, I pretty much like the move to driver model for TPM. However, i have some few remarks: The current

Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 17:55, Simon Glass wrote: Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: drivers/tpm/tpm.c is a TPM core driver port from Linux. So far in u-boot only infineon i2c driver is using it but it could fit for others... Introduce a new tpm uclass so that

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 09:49:49 PM, vikas wrote: Hi! > >> On 08/12/2015 07:09 PM, Marek Vasut wrote: > >>> On Thursday, July 16, 2015 at 04:27:30 AM, Vikas Manocha wrote: > There is no need to check for sram fill level. If sram is empty, cpu > will go in the wait state till the

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 09:13:52 PM, Sergei Temerkhanov wrote: > Tried different values but transfer sizes larger than ~8k blocks never > complete on some controllers causing timeouts and crashes. So, 4k blocks is > a safe enough xfer size Would you please elaborate on this ? Best regards

Re: [U-Boot] [PATCH 08/25] tpm: tpm_tis_i2c: Drop struct tpm_vendor_specific

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 03:30, Simon Glass wrote: Hi Christophe, On 11 August 2015 at 15:47, christophe.ricard wrote: Hi Simon, Locality concept are valid almost on any chip assuming if no locality are supported the default one is locality 0. I would leave this change open for discussion. H

Re: [U-Boot] [PATCH 07/25] tpm: tpm_tis_i2c: Drop unnecessary methods

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 03:30, Simon Glass wrote: Hi Christophe, On 11 August 2015 at 15:47, christophe.ricard wrote: Hi Simon, As per my comment on patch 6, i would disagree as well on this one. It tpm_vendor_specific structure is convenient for ST33ZP24 for example. Best Regards Christoph

[U-Boot] Pull request, u-boot-tegra/master

2015-08-13 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is OK (includes Tegra210 builds) The following changes since commit 0741701acf00749672f75f4c196dabd8b235f741: Merge branch 'master' of git://git.denx.de/u-bo

Re: [U-Boot] [PATCH 06/25] tpm: Move the I2C TPM code into one file

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 03:30, Simon Glass wrote: Hi Christophe, On 11 August 2015 at 15:42, christophe.ricard wrote: Hi Simon, I would basically disagree with this one. The code from tpm.c you are merging into tpm_tis_i2c may not only be used by tpm_tis_i2c as it is using data from TPM stan

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Ian Lepore
On Thu, 2015-08-13 at 14:13 -0400, Tom Rini wrote: > On Thu, Aug 13, 2015 at 10:02:58AM -0600, Stephen Warren wrote: > > On 08/13/2015 09:59 AM, Simon Glass wrote: > > >Hi Linus, > > > > > >On 11 August 2015 at 07:00, Linus Walleij wrote: > > >>On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass wrote: >

Re: [U-Boot] [RESUBMIT PATCH v3 2/8] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 06:51:22 PM, Sergey Temerkhanov wrote: > This patch adds code which sets up 2-level page tables on ARM64 thus > extending available VA space. CPUs implementing 64k translation > granule are able to use direct PA-VA mapping of the whole 48 bit > address space. > It al

[U-Boot] tftpserver in uboot

2015-08-13 Thread Ravi Koganti
Hi I added tftpserver command in uboot. but here we have to give the tftpsrv command with load address. then only it loads the binary file from client side(nothing but PC) into the board at that particular address.but what my goal is with out accessing on board side i have to keep binary file

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikas
Hi Marek, On 08/13/2015 10:33 AM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 06:27:08 PM, vikasm wrote: >> Hi Marek, > > Hi vikasm, > > (you might want to fix your name in your mailer) ok :-) > >> On 08/12/2015 07:09 PM, Marek Vasut wrote: >>> On Thursday, July 16, 2015 at 04:27:30

[U-Boot] [PATCH v7 5/5] usb: lpc32xx: add host USB driver

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest u-boot. Signed-off-by

[U-Boot] [PATCH v7 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Linux Kernel driver. Signed-off-by: Sylvain Lemieux --- Cha

[U-Boot] [PATCH v7 2/5] nand: lpc32xx: add hardware ECC support

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver was updated and clean-up as part o

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Stephen Warren
On 08/13/2015 01:04 PM, Ian Lepore wrote: On Thu, 2015-08-13 at 14:13 -0400, Tom Rini wrote: On Thu, Aug 13, 2015 at 10:02:58AM -0600, Stephen Warren wrote: On 08/13/2015 09:59 AM, Simon Glass wrote: Hi Linus, On 11 August 2015 at 07:00, Linus Walleij wrote: On Fri, Aug 7, 2015 at 3:42 PM,

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread vikasm
Hi, On 08/13/2015 10:35 AM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 05:50:18 PM, vikasm wrote: >> Hi Marek, > > Hi! > >> On 08/12/2015 07:07 PM, Marek Vasut wrote: >>> On Thursday, July 16, 2015 at 04:27:29 AM, Vikas Manocha wrote: >>> >>> Commit message is missing. >> >> Actually s

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Sergei Temerkhanov
Tried different values but transfer sizes larger than ~8k blocks never complete on some controllers causing timeouts and crashes. So, 4k blocks is a safe enough xfer size Regards, Sergey On Thu, Aug 13, 2015 at 10:09 PM, Marek Vasut wrote: > On Thursday, August 13, 2015 at 09:00:04 PM, Sergey T

[U-Boot] [PATCH 3/3] tbs2910: remove SYS_SOC from board specific Kconfig

2015-08-13 Thread Soeren Moch
SYS_SOC is already defined in arch/arm/cpu/armv7/mx6/Kconfig, no need to define it again Signed-off-by: Soeren Moch --- Cc: Stefano Babic --- board/tbs/tbs2910/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/tbs/tbs2910/Kconfig b/board/tbs/tbs2910/Kconfig index a795837..55c4

[U-Boot] [PATCH 2/3] tbs2910: remove deprecated CONFIG_SYS_EXTRA_OPTIONS

2015-08-13 Thread Soeren Moch
move options from CONFIG_SYS_EXTRA_OPTIONS to board specific Kconfig Signed-off-by: Soeren Moch --- Cc: Stefano Babic --- board/tbs/tbs2910/Kconfig | 6 ++ configs/tbs2910_defconfig | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/board/tbs/tbs2910/Kconfig b/board/tbs/tb

Re: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 09:00:04 PM, Sergey Temerkhanov wrote: > Increase xHCI transfer size for USB storage devices. This helps to > achieve 10-20x speedup for large transfers > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla Hi! > --- > > common/usb_st

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 05:50:18 PM, vikasm wrote: > Hi Marek, Hi! > On 08/12/2015 07:07 PM, Marek Vasut wrote: > > On Thursday, July 16, 2015 at 04:27:29 AM, Vikas Manocha wrote: > > > > Commit message is missing. > > Actually subject of the mail was sufficient, this patch just moves t

Re: [U-Boot] [U-Boot PATCH v2 06/10] ARM: AM43XX: Add functions to enable and disable EDMA3 clocks

2015-08-13 Thread Jagan Teki
On 13 August 2015 at 23:56, Tom Rini wrote: > On Thu, Jul 30, 2015 at 11:04:39AM +0530, Vignesh R wrote: > >> Adds functions to enable and disable edma3 clocks which can be invoked >> by drivers using edma3 to control the clocks. >> >> Signed-off-by: Vignesh R > > Reviewed-by: Tom Rini Reviewed

[U-Boot] [PATCH 1/3] tbs2910: use full name in Kconfig board selection

2015-08-13 Thread Soeren Moch
Signed-off-by: Soeren Moch --- Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index c43cea8..3fc7532 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/ar

Re: [U-Boot] [v2 3/6] spi: cadence_qspi: remove sram polling from flash write

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 06:30:37 PM, vikasm wrote: > Hi Marek, > > On 08/12/2015 07:11 PM, Marek Vasut wrote: > > On Thursday, July 16, 2015 at 04:27:31 AM, Vikas Manocha wrote: > >> There is no need to poll sram level before writing to flash, data going > >> to SRAM till sram is full, aft

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 06:27:08 PM, vikasm wrote: > Hi Marek, Hi vikasm, (you might want to fix your name in your mailer) > On 08/12/2015 07:09 PM, Marek Vasut wrote: > > On Thursday, July 16, 2015 at 04:27:30 AM, Vikas Manocha wrote: > >> There is no need to check for sram fill level.

Re: [U-Boot] [patch] break build if it would produce broken binary

2015-08-13 Thread Marek Vasut
On Thursday, August 13, 2015 at 05:06:08 PM, Pavel Machek wrote: > On Tue 2015-06-02 11:11:35, Simon Glass wrote: > > Hi, > > > > > > > index 43cc494..ae4c21b 100644 > > > > > --- a/arch/arm/include/asm/u-boot.h > > > > > +++ b/arch/arm/include/asm/u-boot.h > > > > > @@ -49,4 +49,8 @@ typedef stru

  1   2   3   4   5   >