Re: [U-Boot] [PATCHv3 01/17] arm: socfpga: spl: Add main sdram code

2015-03-30 Thread Wolfgang Denk
Dear dingu...@opensource.altera.com, In message <1427752878-18426-2-git-send-email-dingu...@opensource.altera.com> you wrote: > ... > +/* Register: sdr.ctrlgrp.ctrlcfg */ > +#define SDR_CTRLGRP_CTRLCFG_ADDRESS 0x5000 > +/* Register: sdr.ctrlgrp.dramtimin

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-30 Thread Albert ARIBAUD
Bonjour Jagan, Le Mon, 30 Mar 2015 17:37:47 +0530, Jagan Teki a écrit : > Tom, > > On 17 February 2015 at 21:40, Tom Rini wrote: > > On Tue, Feb 17, 2015 at 02:26:47PM +0100, Albert ARIBAUD wrote: > >> Bonjour Tom, > >> > >> Le Tue, 17 Feb 2015 08:20:09 -0500, Tom Rini a écrit : > >> > >> > O

[U-Boot] [PATCH 0/12] dm: use "select DM"

2015-03-30 Thread Masahiro Yamada
01/12 fixes SOCFPGA boards. (Because of a wrong dependency, SOCFPGA boards cannot enable CONFIG_DM_SPI_FLASH. The other patches move CONFIG options from defcofig to Kconfig and use "select". 02 thru 12 do not change the output binaries at all. I compared MD5SUM of all the boards and confirmed th

[U-Boot] [PATCH 02/12] dm: select CONFIG_DM* options

2015-03-30 Thread Masahiro Yamada
As mentioned in the previous commit, adding default values in each Kconfig causes problems because it does not co-exist with the "depends on" syntax. (Please note this is not a bug of Kconfig.) We should not do so unless we have a special reason. Actually, for CONFIG_DM*, we have no good reason t

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-30 Thread Marcin Krzemiński
Hi Heiko, I'm not stating that is ubi problem. I just found it playing with ubi. It is in MTD driver, that is why I doubt it is related with u-boot at all, but real check would be nice... Regards, Marcin 2015-03-31 7:24 GMT+02:00 Heiko Schocher : > Hello Marcin, > > Am 30.03.2015 20:07, schrieb

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-30 Thread Heiko Schocher
Hello Marcin, Am 30.03.2015 20:07, schrieb mar.krzeminski: Hello Heiko, I tried all people I know and unfortunately no one has this board. :-( If someone has this board here, it is very easy to check. 1. fli command returns number of sectors. Should be 256 sectors, in wrong case is 128. Al

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Scott Wood
On Tue, 2015-03-31 at 00:24 +0200, Stefan Agner wrote: > Actually, I just realized that the driver is not caching writes. > > switch (command) { > case NAND_CMD_PAGEPROG: > nfc->page = -1; > +vf610_nfc_transfer_size(nfc->regs, nfc->page_sz); > vf610_nfc_send_com

Re: [U-Boot] Can't boot DaVinci EVM with Green Hills' Integrity OS

2015-03-30 Thread Idan Noti
Why do you think caches have something to do with the problem? Also, how do I config the compilation to disable caches? The only configuration I'm aware about it modifying the header file: $(uboot_folder)/include/configs/davinci_dvevm.h Thanks On Mar 31, 2015 2:39 AM, "Jeroen Hofstee" wrote: >

[U-Boot] [PATCH] x86: Move CONFIG_ENV_IS_IN_SPI_FLASH to x86-common.h

2015-03-30 Thread Bin Meng
Since all x86 boards use spi flash as its bootloader storage media, it makes sense to make CONFIG_ENV_IS_IN_SPI_FLASH a common option. So far only minnowmax board does not support it so undefine it in its board configuration file. Signed-off-by: Bin Meng --- include/configs/chromebook_link.h |

[U-Boot] [PATCH 07/12] ARM: mx6: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 6 ++ configs/mx6dlsabreauto_defconfig | 2 -- configs/mx6dlsabresd_defconfig | 2 -- configs/mx6qsabreauto_defconfig| 2 -- configs/mx6qsabresd_defconfig | 2 -- configs/mx6sabresd_spl_defconfig | 2 --

[U-Boot] [PATCH 12/12] powerpc: ids8313: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + configs/ids8313_defconfig| 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig index 4d6cb09..88a3bd6 100644 --- a/arch/powerpc/cpu

[U-Boot] [PATCH 09/12] ARM: bav335x: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 2 ++ configs/birdland_bav335a_defconfig | 3 --- configs/birdland_bav335b_defconfig | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6ae48c6..3453ad0 100644 -

[U-Boot] [PATCH 10/12] ARM: stv0991: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 2 ++ configs/stv0991_defconfig | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3453ad0..bade196 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -230,6 +230,8 @

[U-Boot] [PATCH 05/12] ARM: rmobile: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/rmobile/Kconfig | 12 configs/alt_defconfig | 2 -- configs/gose_defconfig | 2 -- configs/koelsch_defconfig | 2 -- configs/lager_defconfig| 2 -- configs/porter_defconfig

[U-Boot] [PATCH 11/12] ARM: cm_fx6: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 3 +++ configs/cm_fx6_defconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bade196..735ee43 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -617,6 +617,9 @

[U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 6 ++ configs/socfpga_arria5_defconfig | 3 --- configs/socfpga_cyclone5_defconfig | 3 --- configs/socfpga_socrates_defconfig | 3 --- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/arm/Kconfig b/

[U-Boot] [PATCH 03/12] ARM: UniPhier: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
All the UniPhier boards have switch to Driver Model. "select DM" is better than default value in each defconfig. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 3 +++ configs/ph1_ld4_defconfig | 3 --- configs/ph1_pro4_defconfig | 3 --- configs/ph1_sld8_defconfig | 3 --- 4 f

[U-Boot] [PATCH 06/12] ARM: snapper9260: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/mach-at91/Kconfig| 3 +++ configs/snapper9260_defconfig | 3 --- configs/snapper9g20_defconfig | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 30945c1..193f4d1 10

[U-Boot] [PATCH 01/12] dm: spi_flash: fix wrong dependency

2015-03-30 Thread Masahiro Yamada
CONFIG_SPI does not exist in Kconfig in the first place, so the dependency "depends on DM && SPI" is never met, i.e., DM_SPI_FLASH can never be enabled (unless you ignore the dependency in an illegal way. See below.) Actually, some defconfigs such as socfpga_*_defconfig define CONFIG_DM_SPI_FLASH

[U-Boot] [PATCH 04/12] ARM: zynq: use "select" instead of default value in defconfig

2015-03-30 Thread Masahiro Yamada
All the Zynq boards have switch to Driver Model. "select DM" is better than default value in each defconfig. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + configs/zynq_microzed_defconfig| 1 - configs/zynq_zc70x_defconfig | 1 - configs/zynq_zc770_xm010_

[U-Boot] [PATCH] x86: Set serial port IRQ for SMSC LPC47M

2015-03-30 Thread Bin Meng
For starting a Linux console on the superio serial port under interrupt mode, the IRQ number must be configured. Signed-off-by: Jian Luo Signed-off-by: Bin Meng --- arch/x86/include/asm/ibmpc.h | 3 +++ board/intel/crownbay/crownbay.c | 2 +- board/intel/minnowmax/minnowmax.c | 2 +- dr

[U-Boot] [ PATCH] patman: cover letter shows like 00/xx if more than 10 patches

2015-03-30 Thread Josh Wu
Make cover letter shows like 0/x, 00/xx and 000/xxx etc. Signed-off-by: Josh Wu --- tools/patman/patchstream.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 8c3a0ec..4bfb1e9 100644 --- a/tools/patman

[U-Boot] [PATCH v4 12/25] tegra: config: Use CONFIG_LCD to detect LCD presence

2015-03-30 Thread Simon Glass
Instead of CONFIG_VIDEO_TEGRA, use CONFIG_LCD to determine whether an LCD is present. Tegra124 uses a different driver. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/tegra-common-post.h | 2 +- 1 file changed, 1 insertion(+), 1 delet

[U-Boot] [PATCH v4 14/25] tegra: clock: Split the clock source code into a separate function

2015-03-30 Thread Simon Glass
Create a function which sets the source clock for a peripheral, given the number of mux bits to adjust. This can then be used more generally. For now, don't export it. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/clo

[U-Boot] [PATCH v4 11/25] tegra124: dts: Add host1x node to provide display information

2015-03-30 Thread Simon Glass
This peripheral is required to get the LCD display running. Add it to tegra124 and also bring in the binding file from Linux 3.18 Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/tegra124.dtsi | 84 + .../gpu/n

[U-Boot] [PATCH v4 16/25] tegra: Move display controller header into common

2015-03-30 Thread Simon Glass
Allow this to be used by other Tegra SoCs. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None .../include/asm/{arch-tegra20 => arch-tegra}/dc.h | 63 ++ arch/arm/include/asm/arch-tegra20/display.h| 2 +- arch/arm/mach-tegra/

[U-Boot] [PATCH v4 21/25] tegra: video: Support serial output resource (SOR) on tegra124

2015-03-30 Thread Simon Glass
The SOR is required for talking to eDP LCD panels. Add a driver for this which will be used by the DisplayPort driver. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: - Reorder parameters to tegra_dc_sor_attach() - Simplify timouts to remove repeated multiplication by 1000 Cha

[U-Boot] [PATCH v4 15/25] tegra124: clock: Add display clocks and functions

2015-03-30 Thread Simon Glass
Add functions to provide access to the display clocks on Tegra124 including setting the clock rate for an EDP display. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/clk_rst.h | 15 ++- arch/arm/include/asm/ar

[U-Boot] [PATCH v4 01/25] dm: gpio: Add error handling and a function to claim vector GPIOs

2015-03-30 Thread Simon Glass
gpio_get_values_as_int() should return an error if something goes wrong. Also provide gpio_claim_vector(), a function to request the GPIOs and set them to input mode. Otherwise callers have to do this themselves. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v

[U-Boot] [PATCH v4 18/25] edid: Add a function to read detailed monitor timings

2015-03-30 Thread Simon Glass
For digital displays (such as EDP LCDs) we would like to read the EDID information and use that to set display timings. Provide a function to do this. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None common/edid.c | 105 +++

[U-Boot] [PATCH v4 07/25] power: Export register access functions from as3722

2015-03-30 Thread Simon Glass
With the full PMIC framework we may be able to avoid this. But for now we need access to the PMIC. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/power/as3722.c | 16 +--- include/power/as3722.h | 3 +++ 2 files changed, 16 inser

[U-Boot] [PATCH v4 22/25] tegra: video: Add Embedded DisplayPort driver

2015-03-30 Thread Simon Glass
This interface is used on laptop devices based on Tegra. Add a driver which provides access to the eDP interface. The driver uses the display port uclass. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: - Fix 64-bit maths error - Fix trainging typo - Set scramble_ena to 1 on st

[U-Boot] [PATCH v4 02/25] fdt: Add binding decode function for display-timings

2015-03-30 Thread Simon Glass
This is useful for display parameters. Add a simple decode function to read from this device tree node. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Remove definition of BIT() doc/device-tree-bindings/video/display-timing.txt | 110 +++

[U-Boot] [PATCH v4 09/25] tegra: Add support for setting up a as3722 PMIC

2015-03-30 Thread Simon Glass
Add support for this PMIC which is used on some Tegra124 boards. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/nvidia/common/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/b

[U-Boot] [PATCH v4 17/25] video: Add drm_dp_helper.h

2015-03-30 Thread Simon Glass
This file (from Linux 3.17) provides defines for display port. Use it so that our naming is consistent with Linux. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/linux/drm_dp_helper.h | 405 ++ 1 file c

[U-Boot] [PATCH v4 23/25] tegra: video: support eDP displays on Tegra124 devices

2015-03-30 Thread Simon Glass
Connect up the clocks and the eDP driver to make these displays work with Tegra124-based devices. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: - Change parameters of update_display_mode() Changes in v2: - Rebase on top of u-boot-dm arch/arm/include/asm/arch-tegra124/displ

[U-Boot] [PATCH v4 06/25] tegra: Add a board ID function

2015-03-30 Thread Simon Glass
Add a way of displaying a numeric board ID on start-up. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/sys_proto.h | 11 ++- board/nvidia/common/board.c | 12 +++- 2 files changed, 17 in

[U-Boot] [PATCH v4 10/25] tegra: nyan-big: Add LCD PMIC init and board ID

2015-03-30 Thread Simon Glass
Add required setup for the LCD display, and a function to provide the board ID. This requires GPIOs to be available prior to relocation. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/tegra124-nyan-big.dts | 4 board/nvidia/nyan-bi

[U-Boot] [PATCH v4 13/25] tegra: clock: Add checking for invalid clock IDs

2015-03-30 Thread Simon Glass
The get_pll() function can do the wrong thing if passed values that are out of range. Add checks for this and add a function which can return a 'simple' PLL. This can be defined by SoCs with their own clocks. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: N

[U-Boot] [PATCH v4 24/25] tegra: config: nyan-big: Enable LCD

2015-03-30 Thread Simon Glass
Add the PMIC, LCD settings, PWM and also show the board info at the top of the LCD when starting up. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None configs/nyan-big_defconfig | 2 ++ include/configs/nyan-big.h | 14 ++ 2 files changed, 1

[U-Boot] [PATCH v4 25/25] tegra124: video: Add full link training for eDP

2015-03-30 Thread Simon Glass
Add full link training as a fallback in case the fast link training fails. Signed-off-by: Simon Glass --- Changes in v4: - Rebase on tegra/master since this series is still pending Changes in v3: - Add full link training support Changes in v2: - Rebase on top of u-boot-dm arch/arm/include/as

[U-Boot] [PATCH v4 05/25] tegra: Move checkboard() into the board code

2015-03-30 Thread Simon Glass
This is only used by Nvidia boards, so move it into nvidia/common to simplify things. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/mach-tegra/board.c | 8 board/nvidia/common/board.c | 13 + 2 files changed, 9 inserti

[U-Boot] [PATCH v4 08/25] tegra: Provide a function to allow LCD PMIC setup

2015-03-30 Thread Simon Glass
Some LCDs require a PMIC to be set up - add a function for this. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/sys_proto.h | 8 board/nvidia/common/board.c | 10 ++ 2 files changed, 1

[U-Boot] [PATCH v4 04/25] tegra: pwm: Allow the clock rate to be left as is

2015-03-30 Thread Simon Glass
When enabling a PWM, allow the existing clock rate and source to stand unchanged. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/pwm.h | 2 +- arch/arm/mach-tegra/pwm.c | 5 - 2 files changed, 5 inserti

[U-Boot] [PATCH v4 20/25] tegra: dts: nyan-big: Add definitions for eDP display

2015-03-30 Thread Simon Glass
Add the various host1x peripherals to allow an eDP display to be connected. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/tegra124-nyan-big.dts | 43 ++ 1 file changed, 43 insertions(+) diff --git a/

[U-Boot] [PATCH v4 0/25] tegra: Add eDP support for nyan-big

2015-03-30 Thread Simon Glass
This series adds eDP support for nyan-big so that the display works. Nyan-big is based on tegra124. Some support is added for new clocks to make this work. The drm_dp_helper.h file is brought in from Linux since many of the DisplayPort constants are generic. A very simple uclass is added for Disp

[U-Boot] [PATCH v4 19/25] dm: video: Add a uclass for display port

2015-03-30 Thread Simon Glass
eDP (Embedded DisplayPort) is a standard widely used in laptops to drive LCD panels. Add a uclass for this which supports a few simple operations. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/video/Kconfig | 7 ++ drivers/video/Mak

[U-Boot] [PATCH v4 03/25] tegra: Move the pwm into tegra-common

2015-03-30 Thread Simon Glass
This is needed for tegra124 also, so make it common and add a header file for tegra124. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-tegra/pwm.h| 60 arch/arm/include/asm/arch-tegra124/

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2015-03-30 Thread Simon Glass
Hi Sjoerd, On 30 March 2015 at 02:14, Sjoerd Simons wrote: > On Fri, 2015-02-27 at 22:11 -0700, Simon Glass wrote: >> Hi Sjoerd, >> >> On 25 February 2015 at 17:12, Sjoerd Simons >> wrote: >> > Hey Simon, >> > >> > Incidentally i got acces to a Nyan big and wanted to start testing >> > u-boot on

Re: [U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

2015-03-30 Thread Simon Glass
Hi Tom, On 30 March 2015 at 12:05, Tom Warren wrote: > > If you want to rework them against current u-boot-tegra/master and resend, > I'll apply them, and maybe get a chance later this week to test them on my > Nyan. Thanks. Thanks - I'm rebasing this now and waiting for buildman. Regards, Si

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-31 00:15, Scott Wood wrote: > On Mon, 2015-03-30 at 23:26 +0200, Stefan Agner wrote: >> On 2015-03-30 22:48, Scott Wood wrote: >> > What is special about this controller, that caching makes sense here but >> > not on other controllers? If it makes sense everywhere, then the upper >> > l

Re: [U-Boot] [PATCH 1/4] ARM: Add ARMv7-M support

2015-03-30 Thread Andreas Färber
Am 05.03.2015 um 16:32 schrieb Tom Rini: > On Sun, Mar 01, 2015 at 12:44:39PM +0100, Kamil Lulko wrote: > >> Signed-off-by: Kamil Lulko > [snip] >> diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S > [snip] >> @@ -66,15 +69,30 @@ ENTRY(_main) >> #else >> ldr sp, =(CONFIG_SYS_INIT_S

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Scott Wood
On Mon, 2015-03-30 at 23:26 +0200, Stefan Agner wrote: > On 2015-03-30 22:48, Scott Wood wrote: > > What is special about this controller, that caching makes sense here but > > not on other controllers? If it makes sense everywhere, then the upper > > layer is the place to do it. > > > > Well, i

[U-Boot] [PATCHv3 16/17] arm: socfpga: remove the need to map sdram in arch_early_init

2015-03-30 Thread dinguyen
From: Dinh Nguyen Since we are already mapping sdram 0x0 in board_init_f, we can remove it here. Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut --- arch/arm/cpu/armv7/socfpga/misc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/cpu/armv7/socfpga/misc.c b/arch/arm/cpu/ar

[U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-30 Thread dinguyen
From: Dinh Nguyen commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" incorrectly set the muxing for UART0 on the Cyclone V DK. This fixes it up so UART0 is working again. Signed-off-by: Dinh Nguyen --- board/altera/socfpga/pinmux_config.c | 4 ++-- 1 file changed, 2 in

[U-Boot] [PATCHv3 14/17] arm: socfpga: spl: Add SDRAM check

2015-03-30 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- v3: Only report the failure v2: Be a bit more verbose about the fail message --- arch/arm/cpu/armv7/socfpga/spl.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index

[U-Boot] [PATCHv3 13/17] arm: socfpga: spl: add board_init_f to SPL

2015-03-30 Thread dinguyen
From: Dinh Nguyen Remap SDRAM to 0x0, and clear OCRAM's ECC in board_init_f(). Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut --- v3: Move the code from s_init to board_init_f --- arch/arm/cpu/armv7/socfpga/spl.c | 30 ++ 1 file changed, 30 insertions(+) diff

[U-Boot] [PATCHv3 11/17] arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h

2015-03-30 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 4e7ecac..1cbaa84 100644 --- a/include/configs/socfpga_common.h +++ b/include/confi

[U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

2015-03-30 Thread dinguyen
From: Dinh Nguyen Add a stub s_init function in the board file. Signed-off-by: Dinh Nguyen --- v3: move the contents of s_init into board_init_f v2: remove redundant code that is already in arch_early_init_r --- board/altera/socfpga/socfpga.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCHv3 15/17] arm: socfpga: spl: update pll_config for dev kit

2015-03-30 Thread dinguyen
From: Dinh Nguyen This sets the CPU clocks to 925MHz and DDR to 400MHz, and the correct CONFIG_HPS_MAINPLLGRP_VCO_NUMER should be 79. Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut --- board/altera/socfpga/pll_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCHv3 12/17] arm: socfpga: spl: Adjust the SYS_INIT_RAM_SIZE to have room for the spl malloc

2015-03-30 Thread dinguyen
From: Dinh Nguyen We need to adjust the SYS_INIT_RAM_SIZE to have room for the SPL_MALLOC_SIZE. Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.

[U-Boot] [PATCHv3 05/17] arm: socfpga: spl: Add call to timer_init

2015-03-30 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/spl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index a4dbe4f..95992f0 100644 --- a/arch/arm/cpu/armv7/socfpga/spl.c +++ b/arch/arm/cpu/arm

[U-Boot] [PATCHv3 09/17] arm: socfpga: spl: Use common lowlevel_init

2015-03-30 Thread dinguyen
From: Dinh Nguyen For SoCFGPA, use the common ARMv7 lowlevel_init. Thus, we can delete the SoCFPGA lowlevel_init.S file. Signed-off-by: Dinh Nguyen --- v3: Delete SoCFPGA's lowlevel_init.S file --- arch/arm/cpu/armv7/Makefile| 2 +- arch/arm/cpu/armv7/socfpga/Makefile|

[U-Boot] [PATCHv3 07/17] arm: socfpga: spl: add sdram init and calibration

2015-03-30 Thread dinguyen
From: Dinh Nguyen Add a call to checkboard along with sdram intilialization and calibration. Signed-off-by: Dinh Nguyen --- v3: Use debug instead of puts and add a newline for visual separation v2: Add a fail message --- arch/arm/cpu/armv7/socfpga/spl.c | 13 + 1 file changed, 13 i

[U-Boot] [PATCHv3 08/17] arm: socfpga: spl: printout sdram size

2015-03-30 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut --- v3: remove extra brackets v2: Add a debug print --- arch/arm/cpu/armv7/socfpga/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index 128fe

[U-Boot] [PATCHv3 02/17] arm: socfpga: spl: Add CONFIG_SPL_MAX_SIZE to be 64KB

2015-03-30 Thread dinguyen
From: Dinh Nguyen The Cyclone5 SoCFPGA has 64KB of OCRAM for SPL use. Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 6d93472..4e7ecac 100644 --- a/incl

[U-Boot] [PATCHv3 04/17] arm: socfpga: spl: enable sdram, timer and uart

2015-03-30 Thread dinguyen
From: Dinh Nguyen Add the calls in the spl_board_init to enable SDRAM, timer, and UART. Signed-off-by: Dinh Nguyen Acked-by: Marek Vasut --- arch/arm/cpu/armv7/socfpga/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/s

[U-Boot] [PATCHv3 06/17] arm: socfpga: spl: allow bootrom to enable IOs after warm reset

2015-03-30 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen Acked-by: Marek Vasut --- arch/arm/cpu/armv7/socfpga/spl.c | 3 +++ arch/arm/cpu/armv7/socfpga/system_manager.c| 9 + arch/arm/include/asm/arch-socfpga/system_manager.h | 1 + 3 files changed, 13 insertions(+) diff

[U-Boot] [PATCHv3 03/17] arm: socfpga: add functions to bring sdram, timer, and uart out of reset

2015-03-30 Thread dinguyen
From: Dinh Nguyen These functions will be needed for use by the SPL for enabling the console and sdram initialization. Signed-off-by: Dinh Nguyen Acked-by: Marek Vasut Acked-by: Pavel Machek --- arch/arm/cpu/armv7/socfpga/reset_manager.c| 24 +++ arch/arm/include/

[U-Boot] [PATCHv3 00/17] Add SPL support for SoCFPGA

2015-03-30 Thread dinguyen
From: Dinh Nguyen Hello, This is v3 of the patchset that adds all the SPL code that is necessary to support the SoCFPGA platform. For v3, here are the changes: - Remove gdata - Remove s_init - Remove socfpga lowlevel_init.S - Use common u-boot-spl.lds - Properly use CONFIG_SPL_TEXT_BASE so we d

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Bill Pringlemeir
On 30 Mar 2015, scottw...@freescale.com wrote: > On Mon, 2015-03-30 at 22:40 +0200, Stefan Agner wrote: >> However, if removing the caching in the driver would lead to a >> performance drop, I would rather prefer to keep it... > What is special about this controller, that caching makes sense her

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-30 22:48, Scott Wood wrote: > On Mon, 2015-03-30 at 22:40 +0200, Stefan Agner wrote: >> On 2015-03-30 22:34, Scott Wood wrote: >> > On Mon, 2015-03-30 at 13:02 -0400, Bill Pringlemeir wrote: >> >> On 24 Mar 2015, ste...@agner.ch wrote: >> >> >> >> > The driver tries to re-use the page bu

Re: [U-Boot] Can't boot DaVinci EVM with Green Hills' Integrity OS

2015-03-30 Thread Jeroen Hofstee
Hello noti1234, On 30-03-15 20:44, noti1234 wrote: I'm having problems booting my DaVinci board with Green-Hills' Integrity OS. My setup is: Hardware: TI's DaVinci EVM: http://www.spectrumdigital.com/product_info.php?products_id=192 u-boot: u-boot-2015.4-rc3. Configured for dvevm with elf suppor

[U-Boot] Can't boot DaVinci EVM with Green Hills' Integrity OS

2015-03-30 Thread noti1234
I'm having problems booting my DaVinci board with Green-Hills' Integrity OS. My setup is: Hardware: TI's DaVinci EVM: http://www.spectrumdigital.com/product_info.php?products_id=192 u-boot: u-boot-2015.4-rc3. Configured for dvevm with elf support. * If the board's flash is programmed with u-boot t

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Scott Wood
On Mon, 2015-03-30 at 22:40 +0200, Stefan Agner wrote: > On 2015-03-30 22:34, Scott Wood wrote: > > On Mon, 2015-03-30 at 13:02 -0400, Bill Pringlemeir wrote: > >> On 24 Mar 2015, ste...@agner.ch wrote: > >> > >> > The driver tries to re-use the page buffer by storing the page > >> > number of the

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Scott Wood
On Mon, 2015-03-30 at 22:14 +0200, Stefan Agner wrote: > On 2015-03-30 19:02, Bill Pringlemeir wrote: > > On 24 Mar 2015, ste...@agner.ch wrote: > > > >> The driver tries to re-use the page buffer by storing the page > >> number of the current page in the buffer. The page is only read > >> if the

[U-Boot] [PATCH] dm: eth: Provide a way for drivers to manage packet buffers

2015-03-30 Thread Joe Hershberger
Some drivers need a chance to manage their receive buffers after the packet has been handled by the network stack. Add an operation that will allow the driver to be called in that case. Reported-by: Simon Glass Signed-off-by: Joe Hershberger --- This patch depends on dm/next include/net.h | 4

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-30 22:34, Scott Wood wrote: > On Mon, 2015-03-30 at 13:02 -0400, Bill Pringlemeir wrote: >> On 24 Mar 2015, ste...@agner.ch wrote: >> >> > The driver tries to re-use the page buffer by storing the page >> > number of the current page in the buffer. The page is only read >> > if the reque

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Scott Wood
On Mon, 2015-03-30 at 13:02 -0400, Bill Pringlemeir wrote: > On 24 Mar 2015, ste...@agner.ch wrote: > > > The driver tries to re-use the page buffer by storing the page > > number of the current page in the buffer. The page is only read > > if the requested page number is not currently in the buff

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Stefan Agner
On 2015-03-30 19:02, Bill Pringlemeir wrote: > On 24 Mar 2015, ste...@agner.ch wrote: > >> The driver tries to re-use the page buffer by storing the page >> number of the current page in the buffer. The page is only read >> if the requested page number is not currently in the buffer. When >> a blo

Re: [U-Boot] [PATCH v2] net: Update hardware MAC address if it changes in env

2015-03-30 Thread Joe Hershberger
Hi Michal, On Tue, Mar 24, 2015 at 2:41 AM, Joe Hershberger wrote: > > When the ethaddr changes in the env, the hardware should also be updated > so that MAC filtering will work properly without resetting U-Boot. > > Also remove the manual calls to set the hwaddr that was included in a > few driv

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-30 Thread mar.krzeminski
Hello Heiko, I tried all people I know and unfortunately no one has this board. If someone has this board here, it is very easy to check. 1. fli command returns number of sectors. Should be 256 sectors, in wrong case is 128. Also sector addresses differs by 0x8 in wrong case, but should be

Re: [U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

2015-03-30 Thread Tom Warren
If you want to rework them against current u-boot-tegra/master and resend, I'll apply them, and maybe get a chance later this week to test them on my Nyan. Thanks. > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, March 30, 201

Re: [U-Boot] Driver model Ethernet issue

2015-03-30 Thread Simon Glass
+mailing list which got dropped off at some point Hi Joe, On 30 March 2015 at 11:50, Joe Hershberger wrote: > Hi Simon, > > On Thu, Mar 26, 2015 at 3:11 AM, Joe Hershberger > wrote: >> >> Hi Simon, >> >> On Wed, Mar 25, 2015 at 10:10 PM, Simon Glass wrote: >> > >> > Hi Joe, >> > >> > I think m

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Bill Pringlemeir
On 24 Mar 2015, ste...@agner.ch wrote: > The driver tries to re-use the page buffer by storing the page > number of the current page in the buffer. The page is only read > if the requested page number is not currently in the buffer. When > a block is erased, the page number is marked as invalid if

Re: [U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

2015-03-30 Thread Simon Glass
Hi Tom, On 30 March 2015 at 11:02, Tom Warren wrote: > > Simon, > > This series applied to u-boot-tegra/next locally. I've got to look at some > patches from Marcel to see if they've been ACK'd. Once I've collected any > other pending patches, I'll push a new /next to Denx. Thanks - also what

Re: [U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

2015-03-30 Thread Tom Warren
Simon, This series applied to u-boot-tegra/next locally. I've got to look at some patches from Marcel to see if they've been ACK'd. Once I've collected any other pending patches, I'll push a new /next to Denx. Tom > -Original Message- > From: s...@google.com [mailto:s...@google.com] On

Re: [U-Boot] [PATCH 1/4] ARM: tegra: pinctrl: move Tegra210 code to the correct dir

2015-03-30 Thread Tom Warren
Stephen, Applied this series to u-boot-tegra/next. I'm still working on some of Simon's and Marcel's latest patches; when I'm done I'll push a new /next to Denx. Tom > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 25, 2015 11:05 AM > T

[U-Boot] How to reduce SDcard speed in u-boot

2015-03-30 Thread Marco Cavallini
Hello, I am probably working on a 'buggy hardware' based on i.MX6 that isn't able to manage a SDcard speed properly. I mean, u-boot starts, but as soon as I try to perform a fatload if the uImage the command won't work properly. I had the possibility to test the SoM on another carrier with a differ

Re: [U-Boot] [PATCH V2 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-30 Thread Marek Vasut
On Monday, March 30, 2015 at 04:07:40 PM, Jagan Teki wrote: > On 30 March 2015 at 19:23, Marek Vasut wrote: > > On Thursday, March 05, 2015 at 10:53:06 PM, Simon Glass wrote: > >> Hi Marek, > > > > Hi! > > > >> On 5 March 2015 at 14:51, Marek Vasut wrote: > >> > On Thursday, March 05, 2015 at 1

Re: [U-Boot] [PATCH V2 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-30 Thread Jagan Teki
On 30 March 2015 at 19:23, Marek Vasut wrote: > On Thursday, March 05, 2015 at 10:53:06 PM, Simon Glass wrote: >> Hi Marek, > > Hi! > >> On 5 March 2015 at 14:51, Marek Vasut wrote: >> > On Thursday, March 05, 2015 at 10:46:08 PM, Simon Glass wrote: >> > >> > Thanks. >> > >> >> > diff --git a/dri

Re: [U-Boot] [PATCH V2 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-30 Thread Marek Vasut
On Thursday, March 05, 2015 at 10:53:06 PM, Simon Glass wrote: > Hi Marek, Hi! > On 5 March 2015 at 14:51, Marek Vasut wrote: > > On Thursday, March 05, 2015 at 10:46:08 PM, Simon Glass wrote: > > > > Thanks. > > > >> > diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig > >> > index 0f1d74

Re: [U-Boot] [PATCH V2 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-30 Thread Marek Vasut
On Monday, March 30, 2015 at 02:16:05 PM, Jagan Teki wrote: > On 6 March 2015 at 12:22, Stefan Roese wrote: > > On 05.03.2015 21:51, Marek Vasut wrote: > >> Add Cadence QSPI controller Kconfig entry. > >> > >> Signed-off-by: Marek Vasut > >> Cc: Chin Liang See > >> Cc: Dinh Nguyen > >> Cc: Jag

Re: [U-Boot] [PATCH v2 1/3] usb: usb_new_device return codes consistency

2015-03-30 Thread Paul Kocialkowski
Le lundi 30 mars 2015 à 10:06 +0200, Lukasz Majewski a écrit : > Hi Paul, > > > Signed-off-by: Paul Kocialkowski > > --- > > common/usb.c | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/common/usb.c b/common/usb.c > > index 32e15cd..ea5b406 100644 > > ---

Re: [U-Boot] [PATCH] usb: Early failure when the first descriptor read fails, one way or another

2015-03-30 Thread Paul Kocialkowski
Le lundi 30 mars 2015 à 01:47 +0200, Marek Vasut a écrit : > On Saturday, March 28, 2015 at 06:31:42 PM, Paul Kocialkowski wrote: > > Le samedi 28 mars 2015 à 18:26 +0100, Marek Vasut a écrit : > > > On Saturday, March 28, 2015 at 06:23:58 PM, Paul Kocialkowski wrote: > > > > When using an USB1 dev

Re: [U-Boot] [RESEND] [PATCH] fastboot: Proper download gadget unregister and clear when cable is missing

2015-03-30 Thread Paul Kocialkowski
Le lundi 30 mars 2015 à 10:06 +0200, Lukasz Majewski a écrit : > Hi Paul, > > > Signed-off-by: Paul Kocialkowski > > --- > > common/cmd_fastboot.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c > > index 346ab80..7956a5b 100644 > >

Re: [U-Boot] [PATCH 1/4] sunxi: musb: Fix some lo speed devices not working with musb host

2015-03-30 Thread Paul Kocialkowski
Le vendredi 27 mars 2015 à 22:06 +0100, Hans de Goede a écrit : > The usb0 / otg phy on sunxi boards has a bug where it wrongly detects a > high speed squelch on usb reset deassert when a lo speed device is plugged in. > > The android kernel has a work around for this in the form of temporary > di

Re: [U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-30 Thread Nikita Kiryanov
On 03/27/2015 10:01 AM, Hannes Petermaier wrote: Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degree, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are print

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-30 Thread Jagan Teki
Tom, On 17 February 2015 at 21:40, Tom Rini wrote: > On Tue, Feb 17, 2015 at 02:26:47PM +0100, Albert ARIBAUD wrote: >> Bonjour Tom, >> >> Le Tue, 17 Feb 2015 08:20:09 -0500, Tom Rini a écrit : >> >> > On Thu, Feb 12, 2015 at 06:36:59PM +0100, Albert ARIBAUD (3ADEV) wrote: >> > >> > > This serie

Re: [U-Boot] [PATCH V2 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-30 Thread Jagan Teki
On 6 March 2015 at 12:22, Stefan Roese wrote: > On 05.03.2015 21:51, Marek Vasut wrote: >> >> Add Cadence QSPI controller Kconfig entry. >> >> Signed-off-by: Marek Vasut >> Cc: Chin Liang See >> Cc: Dinh Nguyen >> Cc: Jagannadha Sutradharudu Teki >> Cc: Pavel Machek >> Cc: Simon Glass >> Cc:

  1   2   >