[U-Boot] [PATCH v2 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Chin Liang See
Enable SDMMC calibration to determine the best setting for drvsel and smpsel. It will be triggered whenever there is a change of card frequency and bus width. This is to ensure reliable transmission between the controller and the card. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Mach

[U-Boot] [PATCH v2 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-20 Thread Chin Liang See
Remove hard-coded SDMMC timing parameter drvsel and smplsel. This setting now will come from SDMMC calibration Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- Changes for v2 - Update the CC list --- include/configs/socfpga_common.h |2 -

Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Thursday, August 20, 2015 at 08:58:23 AM, Chin Liang See wrote: > On Thu, 2015-08-20 at 07:27 +0200, ma...@denx.de wrote: > > On Thursday, August 20, 2015 at 07:15:25 AM, Chin Liang See wrote: > > > Hi Marek, > > > > Hi, > > > > > On Wed, 2015-08-19 at 03:22 -0500, Chin Liang See wrote: > > >

[U-Boot] [PATCH 2/3] colibri_t20: enable early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
Enable early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at lower DVFS states which is e.g. the case upon watchdo

[U-Boot] [PATCH 3/3] colibri_t20: get rid of spurious MAX_I2C_RETRY define

2015-08-20 Thread Marcel Ziswiler
That MAX_I2C_RETRY define has been a copy/paste left over not actually used anywhere in this file therefore get rid of it. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_t20/colibri_t20.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/toradex/colibri_t20/colibri_t20.c b/boa

[U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
Implement early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at lower DVFS states which is e.g. the case upon watc

[U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
Implement early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at lower DVFS states which is e.g. the case upon wat

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-08-20 Thread Thierry Reding
On Wed, Aug 19, 2015 at 11:41:09AM -0600, Stephen Warren wrote: > On 08/19/2015 07:56 AM, Thierry Reding wrote: > >On Wed, Jul 29, 2015 at 02:16:33PM -0600, Stephen Warren wrote: > >>From: Stephen Warren > >> > >>Signed-off-by: Stephen Warren > >>--- > >>v2: Use named constants for PMIC I2C and r

[U-Boot] [PATCH 1/6] armv8: Make COUNTER_FREQUENCY optional

2015-08-20 Thread Thierry Reding
From: Thierry Reding Some platforms have the means to determine the counter frequency at runtime, so give them an opportunity to do so. Signed-off-by: Thierry Reding --- arch/arm/cpu/armv8/start.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/a

[U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m

2015-08-20 Thread Thierry Reding
From: Thierry Reding On currently supported SoCs, clk_m always runs at the same frequency as the oscillator input. However newer SoC generations such as Tegra210 no longer have that restriction. Prepare for that by separating clk_m from the oscillator clock and allow SoC code to override the clk_

[U-Boot] [PATCH 4/6] e2220-1170: Remove hard-coded counter frequency

2015-08-20 Thread Thierry Reding
From: Thierry Reding The counter frequency is derived from clk_m on Tegra, but that clock can be configured by the primary bootloader to run at the same frequency as the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most typically 19.2 MHz). Remove the hard-coded frequency and al

[U-Boot] [PATCH 5/6] p2371: Remove hard-coded counter frequency

2015-08-20 Thread Thierry Reding
From: Thierry Reding The counter frequency is derived from clk_m on Tegra, but that clock can be configured by the primary bootloader to run at the same frequency as the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most typically 19.2 MHz). Remove the hard-coded frequency and al

[U-Boot] [PATCH 6/6] p2571: Remove hard-coded counter frequency

2015-08-20 Thread Thierry Reding
From: Thierry Reding The counter frequency is derived from clk_m on Tegra, but that clock can be configured by the primary bootloader to run at the same frequency as the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most typically 19.2 MHz). Remove the hard-coded frequency and al

[U-Boot] [PATCH 3/6] ARM: tegra: clk_m is the architected timer source clock

2015-08-20 Thread Thierry Reding
From: Thierry Reding While clk_m and the oscillator run at the same frequencies on Tegra114 and Tegra124, clk_m is the proper source for the architected timer. On more recent Tegra generations, Tegra210 and later, both the oscillator and clk_m can run at different frequencies. clk_m will be divid

[U-Boot] x86: EFI: boot fails at exit_boot_services - Was: Stuck trying to build a non-qemu EFI payload

2015-08-20 Thread Stoppa, Igor
Hi Bin, Simon, On 18 August 2015 at 15:47, Stoppa, Igor wrote: > Hi, > I have verified that I can reproduce a working build of U-Boot as > x86-64bit EFI payload for Qemu: I can boot it, interact with various > filesystems of both real and emulated disks, etc. > > > Now I would like to build and

[U-Boot] [PATCH] image: Fix loop condition to avoid warning

2015-08-20 Thread Thierry Reding
From: Thierry Reding GCC 5.1 starts warning for comparisons such as !a > 0, assuming that the negation was meant to apply to the whole expression rather than just the left operand. Indeed the comparison in the FIT loadable code is confusingly written, though it does end up doing the right thing.

[U-Boot] [PATCH 1/3] armv8/mmu: Clean up TCR programming

2015-08-20 Thread Thierry Reding
From: Thierry Reding Use the inner shareable attribute for memory, which makes more sense considering that this code is called when caches are being enabled. Cc: Albert Aribaud Cc: Marc Zyngier Signed-off-by: Thierry Reding --- arch/arm/include/asm/armv8/mmu.h | 4 ++-- 1 file changed, 2 ins

[U-Boot] [PATCH 3/3] armv8/gic: Fix GIC v2 initialization

2015-08-20 Thread Thierry Reding
From: Thierry Reding Initialize all GICD_IGROUPRn registers and set up GICC_CTLR to enable interrupts to the primary CPU. This fixes issues seen after booting a Linux kernel from U-Boot. Suggested-by: Marc Zyngier Suggested-by: Mark Rutland Cc: Albert Aribaud Cc: Mark Rutland Cc: Marc Zyngie

[U-Boot] [PATCH 2/3] armv8/mmu: Set bits marked RES1 in TCR

2015-08-20 Thread Thierry Reding
From: Thierry Reding For EL3 and EL2, the documentation says that bits 31 and 23 are reserved but should be written as 1. For EL1, only bit 23 is not reserved, so only write bit 31 as 1. Cc: Albert Aribaud Cc: Marc Zyngier Signed-off-by: Thierry Reding --- arch/arm/cpu/armv8/cache_v8.c|

[U-Boot] [PATCH 4/5] colibri_t30: enable display driver

2015-08-20 Thread Marcel Ziswiler
On popular request enable the display driver on Colibri T30. A few notes about some things encountered during porting: While analogue VGA (e.g. via the on-carrier RAMDAC) worked just fine from the beginning the EDT display flickered like crazy which turned out to be a pin muxing issue. Unfortunatel

[U-Boot] [PATCH 1/5] arm: tegra20: video: rename display header ifdef gating

2015-08-20 Thread Marcel Ziswiler
As a preparatory step make sure the Tegra20 display header file is properly ifdef gated with its name. Signed-off-by: Marcel Ziswiler --- arch/arm/include/asm/arch-tegra20/display.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-tegra20/displ

[U-Boot] [PATCH 5/5] apalis_t30: enable display driver

2015-08-20 Thread Marcel Ziswiler
Enable the display driver on Apalis T30. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/tegra30-apalis.dts| 29 ++ .../toradex/apalis_t30/pinmux-config-apalis_t30

[U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

2015-08-20 Thread Marcel Ziswiler
As a preparatory step make sure the display driver is buildable for Tegra30 as well by ifdef gating any hard-coded ugly Tegra20 pin muxing stuff. Signed-off-by: Marcel Ziswiler --- drivers/video/tegra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/tegra.c b/drivers/video/

[U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-20 Thread Marcel Ziswiler
On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as PWM support but it turns out this can simply be

Re: [U-Boot] [PATCH 2/2] MIPS: fix syntax for fdt_chosen/initrd.

2015-08-20 Thread Daniel Schwierzeck
2015-08-19 20:19 GMT+02:00 Govindraj Raja : > From: Govindraj Raja > > The syntax for the fdt_chosen/initrd > functions seem to deprecated in usage > from MIPS bootm implementation. > > Third parameter is no more used in these api's > Refer to : include/fdt_support.h > > Signed-off-by: Govindraj R

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-20 Thread Marek Vasut
On Wednesday, August 19, 2015 at 02:02:18 PM, Tom Rini wrote: > On Wed, Aug 19, 2015 at 06:39:29AM +0200, Marek Vasut wrote: > > On Tuesday, August 18, 2015 at 07:53:23 PM, Tom Rini wrote: > > > On Wed, Aug 12, 2015 at 07:31:55AM +0900, Masahiro Yamada wrote: > > > > We have flipped CONFIG_SPL_DISA

[U-Boot] Question on fitupd

2015-08-20 Thread Brian_Brelsford
Dell Customer Communication PURPOSE: This email is with respect to the "fitupd" command. In looking at the source in the current u-boot tree, fitupd supports a NOR flash only. OUR GOAL: We would like to expand fitupd to be able to flash a SPI NOR, and MMC block devices. This would require

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

2015-08-20 Thread Masahiro Yamada
2015-08-19 13:35 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 With this, we will lose reason to drop old unmaintained boards that might b

[U-Boot] ext4load and ls

2015-08-20 Thread Glen Cook
Hi, Can anyone tell me if there is any work going on for further ext4 support in u-boot. In particular ext4load mmc and ls. This is notoriously slow for a large number of files. Cheers Glen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.

[U-Boot] [PATCH 0/5] arm: tegra: apalis/colibri_t30: video: add display driver

2015-08-20 Thread Marcel Ziswiler
On popular request this series integrates the display driver from T20 to work on T30 as well and enables it for our Apalis/Colibri T30 computer/system on modules. Enjoy. Marcel Ziswiler (5): arm: tegra20: video: rename display header ifdef gating arm: tegra20: video: ifdef gate hard-coded ugly

Re: [U-Boot] [PATCH 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

2015-08-20 Thread Daniel Schwierzeck
2015-08-19 20:19 GMT+02:00 Govindraj Raja : > From: Govindraj Raja > > usb stack utilizes the clr/set_bits macros > also usb stack needs phy_to_bus/bus_to_phys functions. > Thus adding these macro and functions for mips platform. > > This makes usb stack usable with mips platform. > Also fixes a c

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Michal Simek
On 08/13/2015 09:46 AM, Michal Simek wrote: > Current behavior is that if CTRL+C is pressed command returns 0 that was > successful which is not correct behavior. > The easiest test case is "tftpboot 8 uImage && echo yes" > and press CTRL+C. Then the second command is called which is incorrect.

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-20 Thread Stefan Roese
Hi, I've not done sunxi development for a while. So I need to ask you guys about some details. I hope you don't mind. Please see questions below. On 06.08.2015 09:55, Piotr Zierhoffer wrote: I've merged patches 1 - 3 in my sunxi-wip branch, and I'll include them in the next u-boot-sunxi pull-

[U-Boot] [PATCH v2 02/12] x86: fsp: Delay x86_fsp_init() call a little bit

2015-08-20 Thread Bin Meng
Move x86_fsp_init() call after initf_malloc() so that we can fix up the gd->malloc_limit later. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None common/board_f.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/board_f.c b/common/board_f.c

[U-Boot] [PATCH v2 09/12] fdtdec: Fix possible infinite loop in fdtdec_get_pci_vendev()

2015-08-20 Thread Bin Meng
When there is no valid compatible string in current list, we should advance to next one in the compatible string list. Signed-off-by: Bin Meng --- Changes in v2: None lib/fdtdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index d21fb74..3

[U-Boot] [PATCH v2 07/12] x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()

2015-08-20 Thread Bin Meng
Per Intel FSP specification, we should call FSP notify API to inform FSP that PCI enumeration has been done so that FSP will do any necessary initialization as required by the chipset's BIOS Writer's Guide (BWG). Unfortunately we have to put this call here as with driver model, the enumeration is

[U-Boot] [PATCH v2 08/12] dm: pci: Remove the unnecessary pci_bus_find_devfn() in pci_bind_bus_devices()

2015-08-20 Thread Bin Meng
During pci_bind_bus_devices() before finding a proper driver to bind the device, pci_bus_find_devfn() is called to find if this device already exists. However since device is even not bound, this call always returns -ENODEV. It is really unnecessary hence remove it. Signed-off-by: Bin Meng --- C

[U-Boot] [PATCH v2 00/12] x86: dm: pci: Support pci uart devices with driver model

2015-08-20 Thread Bin Meng
This is the 2nd attempt to support pci uart devices with driver model. The v1 patch series is at [1]. Instead of creating a pci-specific device driver for ns16550 in v1, this v2 patch supports binding pci devices using device tree. As previously mentioned in the ML, we should call fsp_notify() im

[U-Boot] [PATCH v2 10/12] dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()

2015-08-20 Thread Bin Meng
In pci_uclass_child_post_bind(), bdf is extracted from fdt_pci_addr. Mask bus number before save it to pplat->devfn. Signed-off-by: Bin Meng --- Changes in v2: None drivers/pci/pci-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-uclass.c b/drive

[U-Boot] [PATCH v2 03/12] x86: fsp: Enlarge the size of malloc() pool before relocation

2015-08-20 Thread Bin Meng
After fsp_init() returns, the stack has already been switched to a place within system memory as defined by CONFIG_FSP_TEMP_RAM_ADDR. Enlarge the size of malloc() pool before relocation since we have plenty of memory now. Signed-off-by: Bin Meng --- Changes in v2: - Add some comments in x86_fsp

[U-Boot] [PATCH v2 12/12] dm: pci: Document binding of pci device drivers

2015-08-20 Thread Bin Meng
Document how pci devices are bound to device drivers. Also mention its limitation in the pre-relocation phase. Signed-off-by: Bin Meng --- Changes in v2: None doc/driver-model/pci-info.txt | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/doc/drive

[U-Boot] [PATCH v2 01/12] dm: pci: Support selected device/driver binding before relocation

2015-08-20 Thread Bin Meng
On some platforms pci devices behind bridge need to be probed (eg: a pci uart on recent x86 chipset) before relocation. But we won't bind all devices found during the enumeration. Only devices whose driver with DM_FLAG_PRE_RELOC set will be bound. Any other generic devices except bridges won't be b

[U-Boot] [PATCH v2 06/12] x86: baytrail: Remove the fsp_init_phase_pci() call

2015-08-20 Thread Bin Meng
It turns out that calling fsp_init_phase_pci() in arch_misc_init() is subject to break pci device drivers as with driver model, when the bus enumeration happens is not deterministic. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/baytrail/valleyview.c | 8 +--- 1 file changed

[U-Boot] [PATCH v2 04/12] x86: fsp: Add comments about U-Boot entering start.S twice

2015-08-20 Thread Bin Meng
Add some comments in start.S for the fact that with FSP U-Boot actually enters the code twice. Also change to use fsp_init() and fsp_continue for accuracy. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/Kconfig | 2 +- arch/x86/cpu/start.S | 6 -- arch/x86/lib/fsp

[U-Boot] [PATCH v2 05/12] x86: queensbay: Move unprotect_spi_flash() to arch_misc_init()

2015-08-20 Thread Bin Meng
With dm pci conversion, pci config read/write in unprotect_spi_flash() silently fails as at that time dm pci is not ready and bus enumeration is not done yet. Actually we don't need to do this in that early phase, hence we delay this call to arch_misc_init(). Signed-off-by: Bin Meng --- Simon's

[U-Boot] [PATCH v2 11/12] dm: pci: Really support binding pci device in the device tree

2015-08-20 Thread Bin Meng
The dm pci doc says it supports binding pci device which appears in the device tree. However it is not true, at least on Intel Crown Bay. Currently the crownbay.dts defines 4 pci uart devices within the pci bus controller's node. pci_find_and_bind_driver() only scans U_BOOT_PCI_DEVICE defined drive

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-20 Thread Hans de Goede
Hi, On 08/20/2015 02:37 PM, Stefan Roese wrote: Hi, I've not done sunxi development for a while. So I need to ask you guys about some details. I hope you don't mind. Please see questions below. On 06.08.2015 09:55, Piotr Zierhoffer wrote: I've merged patches 1 - 3 in my sunxi-wip branch, and

Re: [U-Boot] x86: EFI: boot fails at exit_boot_services - Was: Stuck trying to build a non-qemu EFI payload

2015-08-20 Thread Stoppa, Igor
Hi again, On 20 August 2015 at 12:44, Stoppa, Igor wrote: > It happens much earlier than I thought: I was expecting it would get > stuck during the handover from the stub to the real U-Boot, after the > jump_to_uboot call, instead it never reaches that point. Now I am able to reach the jump_to_

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-20 Thread Stefan Roese
Hi Hans, On 20.08.2015 15:42, Hans de Goede wrote: Okay, this driver SPL NAND is now integrated in mainline. Great. But how about NAND support for the main U-Boot (load Linux from NAND etc.)? It seems to be missing. Is somebody working on this? Yes, see: https://github.com/NextThingCo/CHIP-u

Re: [U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m

2015-08-20 Thread Stephen Warren
On 08/20/2015 03:42 AM, Thierry Reding wrote: From: Thierry Reding On currently supported SoCs, clk_m always runs at the same frequency as the oscillator input. However newer SoC generations such as Tegra210 no longer have that restriction. Prepare for that by separating clk_m from the oscillat

[U-Boot] [PATCH v2 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

2015-08-20 Thread Govindraj Raja
From: Govindraj Raja usb stack utilizes the clr/set_bits macros also usb stack needs phy_to_bus/bus_to_phys functions. Thus adding these macro and functions for mips platform. This makes usb stack usable with mips platform. Signed-off-by: Govindraj Raja --- Changes from v1: --- Fi

Re: [U-Boot] [PATCH 5/6] p2371: Remove hard-coded counter frequency

2015-08-20 Thread Stephen Warren
On 08/20/2015 03:42 AM, Thierry Reding wrote: From: Thierry Reding The counter frequency is derived from clk_m on Tegra, but that clock can be configured by the primary bootloader to run at the same frequency as the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most typically 1

Re: [U-Boot] [PATCH 1/6] armv8: Make COUNTER_FREQUENCY optional

2015-08-20 Thread Stephen Warren
On 08/20/2015 03:42 AM, Thierry Reding wrote: From: Thierry Reding Some platforms have the means to determine the counter frequency at runtime, so give them an opportunity to do so. Aside from the one comment I already made, the series, Acked-by: Stephen Warren Tested-by: Stephen Warren I

[U-Boot] [PATCH 1/3] sysboot: Add support for ubifs to the sysboot command

2015-08-20 Thread Hans de Goede
ubifs does not go though the generic block layer because mtd devices are special, so the "any" filesystem option to sysboot does not work, this adds support for a "ubifs" filesystem to the sysboot command which makes it possible to boot from ubifs using an extlinux.conf file. Signed-off-by: Hans d

[U-Boot] [PATCH 2/3] ubifs: Add a ubifsexists command

2015-08-20 Thread Hans de Goede
Add a ubifsexists command to check whether a file exists on an ubifs volume. This is useful for use in standardized bootscripts, such as the scripts from include/config_distro_bootcmd.h. Signed-off-by: Hans de Goede --- common/cmd_ubifs.c | 23 +++ fs/ubifs/ubifs.c | 12 ++

[U-Boot] [PATCH 3/3] distro_bootcmd: Add support for booting from ubifs

2015-08-20 Thread Hans de Goede
From: Roy Spliet Under the assumptions of having a UBI partition called boot Signed-off-by: Hans de Goede --- include/config_distro_bootcmd.h | 42 + 1 file changed, 42 insertions(+) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_b

Re: [U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m

2015-08-20 Thread Tom Warren
Stephen/Thierry, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, August 20, 2015 7:59 AM > To: Thierry Reding > Cc: Albert Aribaud; Tom Warren; u-boot@lists.denx.de; Stephen Warren > Subject: Re: [U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m

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

2015-08-20 Thread vikas
Hi, On 08/19/2015 08:46 PM, Marek Vasut wrote: > On Saturday, August 15, 2015 at 04:15:57 AM, Vikas Manocha wrote: >> No need to configure indirect trigger address for every read/write. >> >> Signed-off-by: Vikas Manocha >> --- >> >> Changes in v3: added commit message & removed extra bracket. >>

Re: [U-Boot] [GIT PULL] Zynq changes

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 12:02:02PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. There are 3 warnings. > One zynq_zc70x which will be removed in the next release. > The second is gem for 64bit warnings. And the third one by DCW3 the same > as GEM. > > Thanks, >

Re: [U-Boot] [PULL] u-boot-usb/master

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 10:33:12PM +0200, Marek Vasut wrote: > The following changes since commit 0f9258228e2b2070368ffccf5c243218128770a8: > > of: clean up OF_CONTROL ifdef conditionals (2015-08-18 13:46:05 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb

Re: [U-Boot] [v3 2/4] spi: cadence_qspi: fix indirect read/write start address

2015-08-20 Thread vikas
Hi, On 08/19/2015 08:46 PM, Marek Vasut wrote: > On Saturday, August 15, 2015 at 04:15:58 AM, Vikas Manocha wrote: >> Indirect read/write start addresses are flash start addresses for indirect >> read or write transfers. These should be absolute flash addresses instead >> of offsets. >> >> Signed-

Re: [U-Boot] [PATCH] image: Fix loop condition to avoid warning

2015-08-20 Thread Tom Rini
On Thu, Aug 20, 2015 at 11:45:43AM +0200, Thierry Reding wrote: > From: Thierry Reding > > GCC 5.1 starts warning for comparisons such as !a > 0, assuming that the > negation was meant to apply to the whole expression rather than just the > left operand. > > Indeed the comparison in the FIT loa

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Tom Rini
On Thu, Aug 20, 2015 at 02:15:27PM +0200, Michal Simek wrote: > On 08/13/2015 09:46 AM, Michal Simek wrote: > > Current behavior is that if CTRL+C is pressed command returns 0 that was > > successful which is not correct behavior. > > The easiest test case is "tftpboot 8 uImage && echo yes" > >

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-20 Thread Joe Hershberger
Hi Michal, On Thu, Aug 20, 2015 at 7:15 AM, Michal Simek wrote: > On 08/13/2015 09:46 AM, Michal Simek wrote: >> Current behavior is that if CTRL+C is pressed command returns 0 that was >> successful which is not correct behavior. >> The easiest test case is "tftpboot 8 uImage && echo yes" >>

Re: [U-Boot] [PATCH v2] ARM: davinci: remove support for cam_enc_4xx

2015-08-20 Thread Tom Rini
On Thu, Aug 20, 2015 at 10:20:55AM +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 > Acked-by: Heiko Schocher > Acked-by: Marek Vasut Applied to u-boot/master,

Re: [U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-20 Thread vikas
Hi, On 08/19/2015 08:54 PM, Marek Vasut wrote: > On Saturday, August 15, 2015 at 04:15:59 AM, Vikas Manocha wrote: >> This patch is to separate the base trigger from the read/write transfer >> start addresses. >> >> Base trigger register address (0x1c register) corresponds to the address >> which

Re: [U-Boot] [PATCH v2 1/4] ARM: OMAP5: Add functions to enable and disable USB clocks

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 04:16:25PM +0530, Kishon Vijay Abraham I wrote: > Added functions to enable and disable USB clocks which can be invoked > during USB init and USB exit respectively. > > Cc: Roger Quadros > Cc: Tero Kristo > Cc: Nishanth Menon > Signed-off-by: Kishon Vijay Abraham I R

Re: [U-Boot] [PATCH 1/3] board: ti: beagle_x15: added USB initializtion code

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 02:13:19PM +0530, Kishon Vijay Abraham I wrote: > Implemented board_usb_init(), board_usb_cleanup() and > usb_gadget_handle_interrupts() in beagle_x15 board file that > can be invoked by various gadget drivers. > > Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Tom R

Re: [U-Boot] [PATCH 2/3] board: ti: OMAP5: added USB initializtion code

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 02:13:20PM +0530, Kishon Vijay Abraham I wrote: > Implemented board_usb_init(), board_usb_cleanup() and > usb_gadget_handle_interrupts() in omap5 board file that > can be invoked by various gadget drivers. > > Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 3/3] include: configs: Enable DWC3 and DFU in ti_omap5_common

2015-08-20 Thread Tom Rini
On Wed, Aug 19, 2015 at 02:13:21PM +0530, Kishon Vijay Abraham I wrote: > Enabled configs for dwc3, dwc3-omap and PHY for dwc3 in > ti_omap5_common. Also enabled support for DFU. > > Since ti_omap5_common is used by dra7 too, removed these configs > from dra7xx_evm config file. > > Signed-off-by

Re: [U-Boot] [PATCH 1/3] sysboot: Add support for ubifs to the sysboot command

2015-08-20 Thread Stephen Warren
On 08/20/2015 10:04 AM, Hans de Goede wrote: ubifs does not go though the generic block layer because mtd devices are special, so the "any" filesystem option to sysboot does not work, this adds support for a "ubifs" filesystem to the sysboot command which makes it possible to boot from ubifs usin

Re: [U-Boot] [PATCH 0/4] arm: rmobile: Stout board support and minor fixes

2015-08-20 Thread Vladimir Barinov
Hello Nobuhiro-san, Could you provide any response for this patchset. TIA, Vladimir On 20.07.2015 20:48, Vladimir Barinov wrote: This patch series adds the following: 1) sh-pfc: fix gpio input read 2) serial-sh: SCIFA interface for R-Car Gen2 SoCs 3) rmobile: add SCIFA port base offsets 4) rmo

Re: [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-20 Thread Stephen Warren
On 08/20/2015 01:52 AM, Marcel Ziswiler wrote: Implement early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at

Re: [U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration

2015-08-20 Thread Stephen Warren
On 08/20/2015 01:52 AM, Marcel Ziswiler wrote: Implement early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at l

Re: [U-Boot] [PATCH 2/3] colibri_t20: enable early pmic rail configuration

2015-08-20 Thread Stephen Warren
On 08/20/2015 01:52 AM, Marcel Ziswiler wrote: Enable early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at lowe

Re: [U-Boot] [PATCH] ARM: cpu: Add ARMv7 barrier operations support

2015-08-20 Thread Vladimir Barinov
Hello Albert, Could you provide any response on this patch. TIA, Vladimir On 20.03.2015 18:16, Vladimir Barinov wrote: From: Valentine Barshak This enables ARMv7 barrier operations support when march=armv7-a is enabled. Using CP15 barriers causes U-Boot bootm command crash when transferring

Re: [U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

2015-08-20 Thread Stephen Warren
On 08/20/2015 05:29 AM, Marcel Ziswiler wrote: As a preparatory step make sure the display driver is buildable for Tegra30 as well by ifdef gating any hard-coded ugly Tegra20 pin muxing stuff. diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c @@ -215,8 +215,10 @@ static int handle_

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-20 Thread Stephen Warren
On 08/20/2015 05:29 AM, Marcel Ziswiler wrote: On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as

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

2015-08-20 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 16:52, Simon Glass wrote: > 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,

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Dinh Nguyen
+CC: Simon Glass On Thu, Aug 20, 2015 at 12:32 AM, Marek Vasut wrote: > On Thursday, August 20, 2015 at 07:28:02 AM, Chin Liang See wrote: >> Hi, >> >> On Wed, 2015-08-19 at 14:36 +, ma...@denx.de wrote: >> > On Wednesday, August 19, 2015 at 10:21:17 AM, Chin Liang See wrote: >> > > Hi, >> >

Re: [U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-20 Thread Marek Vasut
On Thursday, August 20, 2015 at 06:48:36 PM, vikas wrote: > Hi, > > On 08/19/2015 08:54 PM, Marek Vasut wrote: > > On Saturday, August 15, 2015 at 04:15:59 AM, Vikas Manocha wrote: > >> This patch is to separate the base trigger from the read/write transfer > >> start addresses. > >> > >> Base tr

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Thursday, August 20, 2015 at 11:55:02 PM, Dinh Nguyen wrote: > +CC: Simon Glass Hi Dinh, > On Thu, Aug 20, 2015 at 12:32 AM, Marek Vasut wrote: > > On Thursday, August 20, 2015 at 07:28:02 AM, Chin Liang See wrote: > >> Hi, > >> > >> On Wed, 2015-08-19 at 14:36 +, ma...@denx.de wrote: >

Re: [U-Boot] [PULL] u-boot-usb/master

2015-08-20 Thread Marek Vasut
On Thursday, August 20, 2015 at 06:35:43 PM, Tom Rini wrote: > On Wed, Aug 19, 2015 at 10:33:12PM +0200, Marek Vasut wrote: > > The following changes since commit 0f9258228e2b2070368ffccf5c243218128770a8: > > of: clean up OF_CONTROL ifdef conditionals (2015-08-18 13:46:05 -0400) > > > > are avai

Re: [U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-20 Thread vikas
Hi, On 08/20/2015 02:56 PM, Marek Vasut wrote: > On Thursday, August 20, 2015 at 06:48:36 PM, vikas wrote: >> Hi, >> >> On 08/19/2015 08:54 PM, Marek Vasut wrote: >>> On Saturday, August 15, 2015 at 04:15:59 AM, Vikas Manocha wrote: This patch is to separate the base trigger from the read/wri

Re: [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 21:58, Stephen Warren wrote: > Is there any guarantee that the voltage levels are high enough for the > AVP to run correctly before the CORE rail is adjusted? It sounds to me > like a HW design issue; the SoC reset output should reset the PMIC too. If by guarantee you mean whether

Re: [U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-20 Thread Marek Vasut
On Friday, August 21, 2015 at 12:25:54 AM, vikas wrote: > Hi, Hi, > On 08/20/2015 02:56 PM, Marek Vasut wrote: > > On Thursday, August 20, 2015 at 06:48:36 PM, vikas wrote: > >> Hi, > >> > >> On 08/19/2015 08:54 PM, Marek Vasut wrote: > >>> On Saturday, August 15, 2015 at 04:15:59 AM, Vikas Mano

Re: [U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:00, Stephen Warren wrote: > Does the CORE rail get adjusted by DVFS? Hopefully if it does, it is > never set so low that AVP operation at reset is impossible... Exactly. > > + udelay(1000); > > all the delays in this patch seem very large. What drove the choice of > the de

Re: [U-Boot] [PATCH 2/3] colibri_t20: enable early pmic rail configuration

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:01, Stephen Warren wrote: > Rather than enable this with yet another CONFIG_ option, perhaps we can > put this code into a C file dedicated to the colibri_t20 board, and then > have the common code call it (and implement a weak function that does > nothing to satisfy the linker

Re: [U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:04, Stephen Warren wrote: > That option doesn't seem to exist, except in > arch/arm/include/asm/mach-types.h where I think it's the name of an > unrelated board. Do you mean CONFIG_TEGRA20, as defined by > arch/arm/mach-tegra/tegra20/Kconfig? No, I'm talking about T20 in genera

[U-Boot] [PATCH] usb: ehci: remember init mode

2015-08-20 Thread Stephen Warren
From: Stephen Warren When an EHCI device is registered in device mode, the HW isn't actually initialized at all, and hence isn't left in a running state. Consequently, when the device is deregistered, ehci_shutdown() will fail, since the HW bits it expects to see set in response to its shutdown r

[U-Boot] [PATCH] ARM: tegra: replace V_PROMPT define with kconfig

2015-08-20 Thread Stephen Warren
From: Stephen Warren Commit 181bd9dc61d2 "kconfig: add config option for shell prompt" replaced define V_PROMPT with Kconfig option SYS_PROMPT. This crossed with patches adding Tegra T210 boards. Migrate the boards to the new scheme. Signed-off-by: Stephen Warren --- configs/e2220-1170_defconf

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-20 Thread Marcel Ziswiler
On 20 Aug 2015 22:09, Stephen Warren wrote: > Hopefully the process was to copy the Linux Tegra30 DT verbatim? No, the T20 one is far from verbatim neither. So I just did the adjustments analogous by comparing the T20 and T30 Linux DTs. > That's > far more likely to yield a correct DT than cop

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Dinh Nguyen
On 8/20/15 4:59 PM, Marek Vasut wrote: > On Thursday, August 20, 2015 at 11:55:02 PM, Dinh Nguyen wrote: >> +CC: Simon Glass > > Hi Dinh, > >> On Thu, Aug 20, 2015 at 12:32 AM, Marek Vasut wrote: >>> On Thursday, August 20, 2015 at 07:28:02 AM, Chin Liang See wrote: Hi, On Wed,

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Friday, August 21, 2015 at 02:33:56 AM, Dinh Nguyen wrote: > On 8/20/15 4:59 PM, Marek Vasut wrote: > > On Thursday, August 20, 2015 at 11:55:02 PM, Dinh Nguyen wrote: > >> +CC: Simon Glass > > > > Hi Dinh, > > > >> On Thu, Aug 20, 2015 at 12:32 AM, Marek Vasut wrote: > >>> On Thursday, Augus

Re: [U-Boot] [PATCH v2 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Chin Liang See
Hi guys, Any comment or ack for this patch? Thanks Chin Liang On Thu, 2015-08-20 at 02:18 -0500, Chin Liang See wrote: > Enable SDMMC calibration to determine the best setting for > drvsel and smpsel. It will be triggered whenever there is > a change of card frequency and bus width. This is to e

Re: [U-Boot] [PATCH v2 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-20 Thread Chin Liang See
Hi guys, Any comment or ack for this patch? Thanks Chin Liang On Thu, 2015-08-20 at 02:18 -0500, Chin Liang See wrote: > Remove hard-coded SDMMC timing parameter drvsel and smplsel. > This setting now will come from SDMMC calibration > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH v2 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Friday, August 21, 2015 at 02:54:15 AM, Chin Liang See wrote: > Hi guys, > > Any comment or ack for this patch? > Thanks Please stop top-posting ;-) This one is all right ; it's 1/2 which is the problem. Best regards, Marek Vasut ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Friday, August 21, 2015 at 02:54:00 AM, Chin Liang See wrote: > Hi guys, Hi, > Any comment or ack for this patch? Please don't expect that the reviewers/maintainers have nothing else on their plate but to review your patch. Besides, this change is really low priority one, since thus far the S

Re: [U-Boot] [PATCH v2 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Chin Liang See
On Fri, 2015-08-21 at 03:07 +0200, ma...@denx.de wrote: > On Friday, August 21, 2015 at 02:54:00 AM, Chin Liang See wrote: > > Hi guys, > > Hi, > > > Any comment or ack for this patch? > > Please don't expect that the reviewers/maintainers have nothing else on > their plate but to review your pa

Re: [U-Boot] [PATCH v2 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-20 Thread Marek Vasut
On Friday, August 21, 2015 at 03:25:00 AM, Chin Liang See wrote: > On Fri, 2015-08-21 at 03:07 +0200, ma...@denx.de wrote: > > On Friday, August 21, 2015 at 02:54:00 AM, Chin Liang See wrote: > > > Hi guys, > > > > Hi, Hi, > > > Any comment or ack for this patch? > > > > Please don't expect tha

  1   2   >