[U-Boot] [PATCH V2 0/2] sunxi: support for a second SD card socket

2015-12-16 Thread Karsten Merker
Hello, this patchset enables the full-size SD card socket on the A20-Olimex-SOM-EVB baseboard in u-boot and adds support for including this kind of secondary socket into the boot environment provided by config_distro_bootcmd.h on sunxi-based systems. The latter is particularly useful on the

[U-Boot] [PATCH V2 2/2] sunxi: Enable a second mmc socket as boot target in the environment

2015-12-16 Thread Karsten Merker
Some sunxi-based boards (such as the Olimex A20-SOM-EVB) have a second MMC socket. This socket is not bootable hardware-wise, i.e. u-boot itself cannot be loaded from it, but once u-boot has started, the second socket can be used in the boot process provided by config_distro_bootcmd.h. If a

[U-Boot] [PATCH V2 1/2] sunxi: A20-Olimex-SOM-EVB defconfig: enable mmc3

2015-12-16 Thread Karsten Merker
The Olimex A20-SOM-EVB is an evaluation board for the Olimex A20-SOM system-on-module. The baseboard provides a full-size SD socket (connected to mmc3) in addition to the micro-SD socket on the SOM itself (which is connected to mmc0). Enable the mmc3 controller in the board defconfig.

[U-Boot] [PATCH] net: lpc32xx: Fix MDIO busy wait

2015-12-16 Thread amessier . tyco
From: Alexandre Messier The MDIO read function waits on the busy flag after issuing the read command, while the MDIO write function waits on the busy flag before issuing the write command. This causes an issue when writing then immediately reading. As the MDIO module is

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

2015-12-16 Thread Anatolij Gustschin
On Wed, 16 Dec 2015 11:47:39 -0500 (EST) "Robert P. J. Day" wrote: > > Signed-off-by: Robert P. J. Day applied to u-boot-video/master, thanks! -- Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de

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 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 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

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

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 17:52 +0100, Marek Vasut wrote: > 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

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

2015-12-16 Thread Joe Hershberger
On Wed, Dec 16, 2015 at 7:50 AM, Gregory CLEMENT wrote: > 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

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

2015-12-16 Thread Anatolij Gustschin
On Wed, 16 Dec 2015 11:31:23 -0500 (EST) "Robert P. J. Day" wrote: > > Aesthetic cleanup in drivers/video/exynos_dp*.[ch] files. > > Signed-off-by: Robert P. J. Day applied to u-boot-video/master, thanks! -- Anatolij

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

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: >>

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 +++

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

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 >: On 12/16/2015 10:43 AM, Michal Simek wrote: Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-16 Thread Alexey Brodkin
Hi Bin, On Tue, 2015-12-15 at 20:45 +0800, Bin Meng wrote: > On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin > wrote: > > Current implementation of disabled relocation only works for EFI. > > > > In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of > >

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

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 >: 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,

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

Re: [U-Boot] [RFC PATCH 10/11] arm: Add support for Qualcomm Snapdragon family

2015-12-16 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > > First supported chip is APQ8016 (that is compatible with MSM8916). > Drivers in SoC code: > - Reset controller (PSHOLD) > - Clock controller (very simple clock configuration for MMC and UART) >

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Marek Vasut
On Thursday, December 17, 2015 at 12:32:26 AM, Mateusz Kulikowski wrote: > Hi Marek, Hi, > On 16.12.2015 23:11, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: > [...] > > >> +#include > >> +#include > >> +#include > >> + > >> +int

Re: [U-Boot] [RFC PATCH 01/11] serial: Add support for Qualcomm serial port

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, Thank you for awesome review! I fully agree with most of the suggestions (for this and following patches), so to keep it short will reply only to questions (or where I disagree) On 15.12.2015 19:58, Simon Glass wrote: > Hi Mateusz, >

Re: [U-Boot] [RFC PATCH 11/11] board: Add Qualcomm Dragonboard 410C support

2015-12-16 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > This commit add support for 96Boards Dragonboard410C. > It is board based on APQ8016 Qualcomm SoC, complying with > 96boards specification. > Features (present out of the box): > - 4x Cortex A53

Re: [U-Boot] [RFC PATCH 04/11] ehci-hcd: Add init_after_reset

2015-12-16 Thread Tom Rini
On Thu, Dec 10, 2015 at 10:41:40PM +0100, Mateusz Kulikowski wrote: > Some host controllers need addidional initialization after ehci_reset() > In non-dm implementation it is possible to use > CONFIG_EHCI_HCD_INIT_AFTER_RESET. > This patch adds similar option to ehci drivers using dm. > >

Re: [U-Boot] [RFC PATCH 06/11] drivers: Add SPMI bus uclass

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 15.12.2015 19:58, Simon Glass wrote: > Hi Matheusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] >> + >> +/** >> + * struct dm_spmi_ops - SPMI device I/O interface >> + * >> + *

[U-Boot] [PATCH v2 0/5] Add wait_for_bit()

2015-12-16 Thread Mateusz Kulikowski
Changes in V2: - wait_bit.o is always compiled in - Removed CONFIG_LIB_WAIT_BIT from configs/Kconfigs - Constified arguments to wait_bit - Removed check for CONFIG_... in drivers - Added tested-by to ohci-lp32xx @Sylvain Lemieux: I didn't changed driver logic with v2, so allowed myself to add your

[U-Boot] [PATCH v2 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski Tested-by: Sylvain Lemieux --- drivers/usb/host/ohci-lpc32xx.c | 34 +++--- 1 file changed, 7 insertions(+), 27 deletions(-) diff

Re: [U-Boot] [RFC PATCH 03/11] mmc: Add support for Qualcomm SDHCI controller

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 15.12.2015 19:58, Simon Glass wrote: > Hi Mateusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] >> +DECLARE_GLOBAL_DATA_PTR; >> + >> +static int msm_sdc_clk_init(struct udevice

[U-Boot] [PATCH v2 5/5] net: zynq_gem: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/net/zynq_gem.c | 35 ++- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c

[U-Boot] [PATCH v2 2/5] usb: dwc2: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/dwc2.c | 41 + 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/dwc2.c

[U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Add function to poll register waiting for specific bit(s). Similar functions are implemented in few drivers - they are almost identical and can be generalized. Signed-off-by: Mateusz Kulikowski --- include/wait_bit.h | 35 +++

[U-Boot] [PATCH v2 4/5] usb: ehci-mx6: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/ehci-mx6.c | 32 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/ehci-mx6.c

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: > Add function to poll register waiting for specific bit(s). > Similar functions are implemented in few drivers - they are almost > identical and can be generalized. > > Signed-off-by: Mateusz Kulikowski

Re: [U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Marek, On 13.12.2015 16:48, Marek Vasut wrote: > On Sunday, December 13, 2015 at 01:38:41 PM, Mateusz Kulikowski wrote: [...] >> It doesn't matter if I add it as >> select USB_ULPI_VIEWPORT >> in usb KConfig, or forcibly add

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Marek, On 16.12.2015 23:11, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: [...] >> +#include >> +#include >> +#include >> + >> +int wait_for_bit(const char *prefix, const u32 *reg, const u32

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 08:54:11 PM, Alexey Brodkin wrote: > Hi Marek, Hi! > On Wed, 2015-12-16 at 17:52 +0100, Marek Vasut wrote: > > 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. > > >

[U-Boot] [PATCH v2 0/7] dm: x86: Convert ICH driver fully to driver model PCI API

2015-12-16 Thread Simon Glass
This is a small series to move the ICH driver over to use the driver model PCI API. It involves creating PCH drivers which the ICH driver can use to find out its base address. At present irq-router is the 'PCH' node in most device tree files. This is not really correct since the router is just

[U-Boot] [PATCH v2 1/7] dm: pci: Move pci_bus_to_hose() to compatibility

2015-12-16 Thread Simon Glass
This function should not be used by driver-model code, so move it to the compatibility portion. Signed-off-by: Simon Glass --- Changes in v2: - Add more detail to the function comment drivers/pci/pci-uclass.c | 16 +--- drivers/pci/pci_compat.c | 15

[U-Boot] [PATCH v2 6/7] dm: x86: Add a driver for Intel PCH9

2015-12-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH9. Signed-off-by: Simon Glass --- Changes in v2: - Rename the PCH functions -

[U-Boot] p1020rdb/p2020rdb-pa

2015-12-16 Thread Bryan Hundven
Hello, I was digging through my garage and found my freescale p1020rdb-pa board. I noticed in commit: http://git.denx.de/?p=u-boot.git;a=commit;h=743d48151d2df4215b90310dc422db84d45e8002 ...that these boards were removed because were not generic, and possibly no longer maintained by freescale.

[U-Boot] [PATCH V2 4/4] imx: mx6: implement board_mmc_get_env_devno

2015-12-16 Thread Peng Fan
Implement board_mmc_get_env_devno for the boards. Following is examples: SD1/SD2/SD3: return devno; SD2/SD3: return devno - 1; SD2/SD4: if (devno == 2), return dev - 2; return dev - 1; Signed-off-by: Peng Fan Cc: Stefano Babic --- Changes V2: implement

[U-Boot] [PATCH V2 3/4] imx: mx6: implement mmc_get_env_devno

2015-12-16 Thread Peng Fan
Implement mmc_get_env_devno, devno can be got from smbr1 of SRC. Introduce a weak function board_mmc_get_env_devno, different boards can implement it according to different sdhc controllers that used by the board. Signed-off-by: Peng Fan Cc: Stefano Babic ---

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-16 Thread Mugunthan V N
On Tuesday 15 December 2015 01:43 PM, Jagan Teki wrote: > On 15 December 2015 at 13:22, Mugunthan V N wrote: >> spi bus can support dual and quad wire data transfers for tx and >> rx. So defining dual and quad modes for both tx and rx. Also add >> support to parse bus width

[U-Boot] [PATCH v2 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2015-12-16 Thread Simon Glass
At present this SPI driver works by searching the PCI buses for its peripheral. It also uses the legacy PCI API. In addition the driver has code to determine the type of Intel PCH that is used (version 7 or version 9). Now that we have proper PCH drivers we can use those to obtain the information

[U-Boot] [PATCH v2 5/7] dm: x86: Add a driver for Intel PCH7

2015-12-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH7. Signed-off-by: Simon Glass --- Changes in v2: - Rename the PCH functions -

[U-Boot] [PATCH v2 3/7] dm: pci: Avoid using pci_bus_to_hose() in the uclass

2015-12-16 Thread Simon Glass
This function is only available for compatibility with old code. Avoid using it in the uclass. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None drivers/pci/pci_auto.c | 14 +++---

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-16 Thread Masahiro Yamada
+ To: U-Boot ML I forgot to send this to ML. 2015-12-17 13:58 GMT+09:00 Masahiro Yamada : > Hi, > > I noticed some well-maintained new SoC families still > define CONFIG_CMDLINE_TAG. > > > For example, > > include/configs/tegra-common.h > > #define

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

2015-12-16 Thread Heiko Schocher
Hello Stephen, Am 16.12.2015 um 17:27 schrieb 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

[U-Boot] [PATCH V2 1/4] imx: mx7dsabresd: move mmc_get_env_devno to soc code

2015-12-16 Thread Peng Fan
Move mmc_get_env_devno to soc.c Introduce a weak function board_mmc_get_env_devno. Different boards can implement this according to sdhc controller which is used by the board. Signed-off-by: Peng Fan Cc: Stefano Babic --- Changes V2: new patch. mx7dsabresd

[U-Boot] [PATCH V2 2/4] common: env_mmc: support loading env from different cards

2015-12-16 Thread Peng Fan
Some boards support booting from different SD card slots. For example, mx6dpsabresd board supports booting from SD2, SD3, EMMC4, using different boot switch. And the index numbers are SD2(0), SD3(1), EMMC4(2). But CONFIG_SYS_MMC_ENV_DEV is hardcoded to 1(for SD3), so when booting from SD2(using

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
Jagan On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: > This patch adds time measurement and throughput calculation for > sf read/write commands. > > The output of sf read changes from > > ---8<--- > SF: 4096 bytes @ 0x0 Read: OK > --->8--- > > to > > ---8<--- > SF: 4096 bytes @ 0x0

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Jagan Teki
On 17 December 2015 at 12:33, Mugunthan V N wrote: > Jagan > > On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: >> This patch adds time measurement and throughput calculation for >> sf read/write commands. >> >> The output of sf read changes from >> >> ---8<--- >>

[U-Boot] [PATCH v2 4/7] dm: Expand the uclass for Platform Controller Hubs (PCH)

2015-12-16 Thread Simon Glass
A Platform Controller Hub is an Intel concept - it is like the peripherals on an SoC and is often in a separate chip from the CPU. The chip is typically found on the first PCI bus and integrates multiple devices. We have a very simple uclass to support PCHs. Add a few operations, such as setting

[U-Boot] [PATCH v2 2/7] dm: pci: Add a function to write a BAR

2015-12-16 Thread Simon Glass
Add a driver-model version of the pci_write_bar32 function so that this is supported in the new API. Signed-off-by: Simon Glass --- Changes in v2: - Rename the last parameter to 'addr' - Update the comment to explain usable of this function drivers/pci/pci-uclass.c | 8

[U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread ShengjiangWu
arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock. Updated pinmux and clock for EMAC1 and QSPI flash. U-BOOT-2015-10 can run on Cyclone V SoC

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-16 Thread Jagan Teki
On Dec 17, 2015 12:01 PM, "Mugunthan V N" wrote: > > On Tuesday 15 December 2015 01:43 PM, Jagan Teki wrote: > > On 15 December 2015 at 13:22, Mugunthan V N wrote: > >> spi bus can support dual and quad wire data transfers for tx and > >> rx. So defining

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

2015-12-16 Thread Jagan Teki
On 16 December 2015 at 21:10, Jagan Teki wrote: > 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,

[U-Boot] [PATCH] ARM: dts: uniphier: use stdout-path instead of console

2015-12-16 Thread Masahiro Yamada
Sync device trees with Linux. Linux commit: 06ff6b2d63210922a1b1d0f4997e29ce75b5e0c0 Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4-ref.dts| 3 +-- arch/arm/dts/uniphier-ph1-ld6b-ref.dts | 3 +--

[U-Boot] Please pull u-boot-fsl-qoriq master

2015-12-16 Thread York Sun
Tom, The following changes since commit 52bc7c7e2b31d6ba8d394f3d22b551abfa365363: eeprom: fix eeprom write procedure (2015-12-16 10:31:31 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread Wolfgang Denk
Dear Shengjiang Wu, In message you wrote: > | Subject: Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock. Please move this information into the

Re: [U-Boot] p1020rdb/p2020rdb-pa

2015-12-16 Thread Bin Meng
+York Hi Bryan, On Thu, Dec 17, 2015 at 9:18 AM, Bryan Hundven wrote: > Hello, > > I was digging through my garage and found my freescale p1020rdb-pa > board. > > I noticed in commit: > http://git.denx.de/?p=u-boot.git;a=commit;h=743d48151d2df4215b90310dc422db84d45e8002

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

2015-12-16 Thread Jagan Teki
Hi Bin, On 17 December 2015 at 12:44, Jagan Teki wrote: > On 16 December 2015 at 21:10, Jagan Teki wrote: >> Cleanup set on spi_slave{} >> >> Jagan Teki (8): >> spi: Remove SPI_OPM_RX_EXTN >> spi: Remove SPI_OPM_RX_DIO|QIOF >> spi: Rename

Re: [U-Boot] [PATCH 3/6] usb: dwc2: determine TT hub address and port for split transactions

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:17:32 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > Start split and complete split tokens need the hub address and the > > downstream port of the first HS hub (device view). > > Code copied from host/ehci_hcd.c > > Rather than cut/paste

Re: [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly

2015-12-16 Thread Robert Nelson
Hi Matwey On Sat, Dec 12, 2015 at 3:14 AM, Matwey V. Kornilov wrote: > Hello, > > I am running 2016.01-rc on BBB (Embest replica) > > printenv shows the following: > > findfdt=if test $board_name = A335BONE; then setenv fdtfile > am335x-bone.dtb; fi; if test

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

2015-12-16 Thread Stefan Bruens
On Wednesday 16 December 2015 11:29:14 Marek Vasut wrote: > > > + if (!in && xfer_len) { > > > > Do zero-length memcpy or flush_dcache_range actually cause an issue? > > I believe they should not, based on how they are implemented. I think that's correct, it is just a minor

Re: [U-Boot] [PATCH 2/6] usb: dwc2: Handle NAK during CONTROL DATA and STATUS stage

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:07:26 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > A function is allowed to return NAKs during the DATA stage to control > > data flow control. NAKs during the STATUS stage signal the function > > is still processing the request. > > For

Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread Marek Vasut
On Thursday, December 17, 2015 at 04:25:28 AM, ShengjiangWu wrote: > arm: socfpga: Fixed Phy not found error. > Fixed QSPI flash not found error > Disabled Hardware watch dog by default. > Updated MMC clock. Fix your mailer please. >

Re: [U-Boot] [PATCH 2/2] arm: lpc32xx: switch SPL builds to driver model

2015-12-16 Thread Vladimir Zapolskiy
Hi Simon, On 15.12.2015 20:57, Simon Glass wrote: > Hi Vladimir, > > On 12 December 2015 at 17:48, Vladimir Zapolskiy wrote: >> For NXP LPC32xx boards the change enables SPL_DM option, this allows >> to use any driver model UART driver in SPL images, hence a restriction >> on

Re: [U-Boot] [PATCH 4/7] dm: Expand the uclass for Peripheral Controller Hubs (PCH)

2015-12-16 Thread Simon Glass
Hi Bin, On 8 December 2015 at 06:23, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 1, 2015 at 12:11 PM, Simon Glass wrote: >> A Peripheral Controller Hub is an Intel concept - it is like the peripherals > > I believe the name is Platform Controller Hub. > >>

Re: [U-Boot] [PATCH 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2015-12-16 Thread Simon Glass
Hi Bin, On 8 December 2015 at 06:24, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 1, 2015 at 12:11 PM, Simon Glass wrote: >> At present this SPI driver works by searching the PCI buses for its >> peripheral. It also uses the legacy PCI API. >> >> In

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

2015-12-16 Thread Bin Meng
Hi Jagan, On Thu, Dec 17, 2015 at 3:15 PM, Jagan Teki wrote: > Hi Bin, > > On 17 December 2015 at 12:44, Jagan Teki wrote: >> On 16 December 2015 at 21:10, Jagan Teki wrote: >>> Cleanup set on spi_slave{} >>> >>> Jagan Teki (8): >>>

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: > On 17 December 2015 at 12:33, Mugunthan V N wrote: >> Jagan >> >> On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: >>> This patch adds time measurement and throughput calculation for >>> sf read/write

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 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 >>

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 ?

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

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

[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

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

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,

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

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

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

[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 ---

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

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,

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] 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,

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:

[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

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

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

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

[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

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.

[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

[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

  1   2   >