Re: [U-Boot] Possible OMAP3 regression with current mainline

2015-01-30 Thread Enric Balletbo Serra
Hi Simon, 2015-01-30 2:24 GMT+01:00 Simon Glass : > Hi Enric, > > On 26 January 2015 at 10:55, Enric Balletbo Serra wrote: >> I just tried boot with my OMAP3 based board (IGEPv2) and I found that >> is broken in current mainline and v2015.01. The boot process stops at >> >> reading u-boot.img >>

[U-Boot] [PATCH] powerpc: 85xx: Modify CONFIG_USB_MAX_CONTROLLER_COUNT for P1022DS

2015-01-30 Thread ying.zhang
From: Ying Zhang Modify CONFIG_USB_MAX_CONTROLLER_COUNT value to 1 on P1022DS. As ETSEC2 and USB2 are muxed; thus if ETSEC2 is enabled, the system bus hangs on USB2 if ETSEC2 is enabled but "usb start" command is issued. Hence making default controller count to 1 to avoid system hang. Signed-off

[U-Boot] [PATCH] common: Move dram_init() declaration to common location

2015-01-30 Thread Michal Simek
Signed-off-by: Michal Simek --- Build tested for Microblaze and x86. Created based on my discussion with Simon. --- arch/arm/include/asm/u-boot-arm.h | 1 - arch/nds32/include/asm/u-boot-nds32.h | 1 - arch/sandbox/include/asm/u-boot-sandbox.h | 1 - arch/x86/include/asm/u-boot-x86.h

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Marek Vasut
On Friday, January 30, 2015 at 08:10:34 AM, Alexey Brodkin wrote: > Hi Marek, Tom, > > On Fri, 2015-01-16 at 22:16 +0100, Pavel Machek wrote: > > On Tue 2015-01-13 17:10:24, Alexey Brodkin wrote: > > > If for some reason DMA module fails to reset user oserves only this: > > > --->--- > > > # dhcp

[U-Boot] mips

2015-01-30 Thread 赵建辉
It is so few to support the MIPS architecture,why? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-30 Thread Michal Simek
Hi Simon, On 01/29/2015 04:45 PM, Simon Glass wrote: > Hi Michal, > > > On 29 January 2015 at 07:20, Michal Simek wrote: >> Hi Simon, >> >> On 01/29/2015 03:15 AM, Simon Glass wrote: >>> Hi Michal, >>> >>> On 27 January 2015 at 08:20, Michal Simek wrote: Compile code with -fPIC to get GOT

[U-Boot] [PATCH v1 1/1] fastboot: oem format command implementation

2015-01-30 Thread Dileep Katta
This is the Modified version of http://patchwork.ozlabs.org/patch/388084/ - As flash support is already in mainline, it is removed - 'oem' command support is present - 'oem format' command is implemented - Handled review comments of the original patch Signed-off-by: Dileep Katta --- common/c

[U-Boot] [PATCH 0/4] sunxi: FEL mode fixes

2015-01-30 Thread Siarhei Siamashka
The recent u-boot changes broke FEL mode support on sunxi hardware. This patch series fixes the regression and also introduces some other cleanups. Siarhei Siamashka (4): sunxi: Make FEL mode usable again sunxi: Use Thumb2 for the FEL mode SPL sunxi: Get rid of u-boot-spl-fel.lds sunxi: Us

[U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-01-30 Thread Siarhei Siamashka
The commit f630974ccb3ce93e9607a3354e9acb266a8b7e95 'sunxi: Move SPL s_init() code to board_init_f()' broke the FEL boot mode. This patch moves the DRAM initialization back to s_init() and introduces an assembly entry point for FEL in order to provide guaranteed initialization of the gdata pointer

[U-Boot] [PATCH 3/4] sunxi: Get rid of u-boot-spl-fel.lds

2015-01-30 Thread Siarhei Siamashka
The existing u-boot-spl-fel.lds linker script is rather messy. Instead of fixing it, just use u-boot-spl.lds for both normal SPL and FEL SPL. Signed-off-by: Siarhei Siamashka --- arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds | 83 - arch/arm/cpu/armv7/sunxi/u-boot-spl.l

[U-Boot] [PATCH 4/4] sunxi: Use more realistic size limit for FEL SPL

2015-01-30 Thread Siarhei Siamashka
The older 16 KiB limit was overly optimistic. The FEL SPL binary is loaded at the address 0x2000 (which is also the entry point), and the stack pointer is set by the FEL BROM code to 0x5E00 on Allwinner A20 right at the start. This gives us around 15872 bytes for everything (code, data and stack).

[U-Boot] [PATCH 2/4] sunxi: Use Thumb2 for the FEL mode SPL

2015-01-30 Thread Siarhei Siamashka
With the FEL entry point converted to assembly code (which uses ARM mode), the rest of the SPL can be now compiled in Thumb2 mode safely. This provides a significant code size reduction: == before == textdata bss dec hex filename 13938 440 28 144063846 spl/u-boo

Re: [U-Boot] [PATCH v1 0/4] Jetson-TK1 support for PSCI

2015-01-30 Thread Thierry Reding
On Fri, Jan 23, 2015 at 12:37:20PM +, Mark Rutland wrote: > On Fri, Jan 23, 2015 at 10:10:45AM +, Thierry Reding wrote: > > On Thu, Jan 22, 2015 at 07:20:15PM +, Mark Rutland wrote: > > > On Fri, Jan 16, 2015 at 09:12:59AM +, Thierry Reding wrote: > > > > On Thu, Jan 15, 2015 at 07:

Re: [U-Boot] [PATCH 0/4] MIPS: unify start.S

2015-01-30 Thread Paul Burton
On Thu, Jan 29, 2015 at 02:48:59PM +0100, Daniel Schwierzeck wrote: > Hi Paul, > > 2015-01-29 11:04 GMT+01:00 Paul Burton : > > Currently we have mips32-specific & mips64-specific versions of start.S, > > which are very similar. This short series adapts the mips32 start.S to > > also be suitable f

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-30 Thread Thierry Reding
On Sat, Jan 24, 2015 at 12:19:56PM +0800, Bin Meng wrote: > Hi Thierry, > > On Fri, Jan 23, 2015 at 6:19 PM, Thierry Reding wrote: > > On Thu, Jan 22, 2015 at 12:04:06AM +0800, Bin Meng wrote: > >> Hi Thierry, > >> > >> On Wed, Jan 21, 2015 at 5:40 PM, Thierry Reding wrote: > >> > On Wed, Jan 21

Re: [U-Boot] [PATCH v2 08/11] common/board_r: allocate bootparams

2015-01-30 Thread Simon Glass
On 29 January 2015 at 16:07, Andreas Bießmann wrote: > Signed-off-by: Andreas Bießmann > --- > > Changes in v2: > - provide as extra patch, remove from avr32 generic board support > > Changes in v1: None > > common/board_r.c | 15 +++ > 1 file changed, 15 insertions(+) > Reviewed-

Re: [U-Boot] [PATCH v2 05/11] avr32: convert to dram_init()

2015-01-30 Thread Simon Glass
On 29 January 2015 at 16:07, Andreas Bießmann wrote: > Signed-off-by: Andreas Bießmann > --- > > Changes in v2: > - new since v1 > > Changes in v1: None > > arch/avr32/include/asm/u-boot.h |1 + > arch/avr32/lib/Makefile |1 + > arch/avr32/lib/board.c

Re: [U-Boot] [PATCH v2 02/11] avr32: rename cpu_init() -> arch_cpu_init()

2015-01-30 Thread Simon Glass
On 29 January 2015 at 16:07, Andreas Bießmann wrote: > Signed-off-by: Andreas Bießmann > --- > > Changes in v2: None > Changes in v1: None > > arch/avr32/cpu/cpu.c|2 +- > arch/avr32/include/asm/u-boot.h |2 ++ > arch/avr32/lib/board.c |2 +- > 3 files changed, 4

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

2015-01-30 Thread Simon Glass
Hi Tom / Jimmy, On 20 January 2015 at 09:35, Tom Warren wrote: > I'm no display expert, so I'd like to have Jimmy take a look - he did the > Nyan display support, and is going to be doing HDMI on another SoC, IIRC. > Added him to CC. > Any news on this please? - Simon >> -Original Messa

[U-Boot] [PATCH 09/21] board/BuR/tseries: Change pinmux for GPIO2_28 from GPIO to PWM-Timeroutput

2015-01-30 Thread Hannes Petermaier
>From now we use this pin for the Brightness regulation from LED-Backlight. Signed-off-by: Hannes Petermaier --- board/BuR/tseries/mux.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 0ba25ee..36ee04c 100644 --

[U-Boot] [PATCH 01/21] drivers/video/am335x-fb: Add possibility to wait for stable power/picture

2015-01-30 Thread Hannes Petermaier
Often on boards exists a circuit which switches power on/off to LCD display. Due to the need of limiting the in-rush current the output voltage from this circuit rises "slowly", so it is necessary to wait a bit (VCC ramp up time) before starting output on LCD-pins. This time is specified in ms wit

[U-Boot] [PATCH 10/21] board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO

2015-01-30 Thread Hannes Petermaier
On boards were we have no NAND-flash soldered, we want to use those free pins as regular gpio. Signed-off-by: Hannes Petermaier --- board/BuR/tseries/mux.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 36ee0

[U-Boot] [PATCH 08/21] board/BuR/tseries: Enable EXT4 support

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- include/configs/tseries.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 7fd0a00..986db3f 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @@ -275,6 +275,10 @@ #defi

[U-Boot] [PATCH 06/21] board/BuR/tseries: Enable HW-Watchdog

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- board/BuR/tseries/board.c |4 include/configs/tseries.h |3 +++ 2 files changed, 7 insertions(+) diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index 66747eb..a1c6887 100644 --- a/board/BuR/tseries/board.c +++ b/board/BuR/tser

[U-Boot] [PATCH 05/21] board/BuR/common: try to setup cpsw mac-address from the devicetree

2015-01-30 Thread Hannes Petermaier
since we have a dtb blob programmed on the board we try to setup the cpsw interface with the programmed mac. If this method fails, we fall back to the device-fuses. Signed-off-by: Hannes Petermaier --- board/BuR/common/common.c | 25 +++-- 1 file changed, 15 insertions(+),

[U-Boot] [PATCH 02/21] common/lcd: Add command for setting cursor within lcd-framework

2015-01-30 Thread Hannes Petermaier
We need this function if we want to make some outputs i.e position the writing cursor out of u-boot scripts. Signed-off-by: Hannes Petermaier --- common/lcd.c | 21 + 1 file changed, 21 insertions(+) diff --git a/common/lcd.c b/common/lcd.c index cc34b8a..f418da9 100644 --

[U-Boot] [PATCH 17/21] board/BuR/kwb: switch to board HW-Rev3

2015-01-30 Thread Hannes Petermaier
The board has been redesigned, therefore we need from now other I/O Pins to mux and handle. Older boards aren't supported from now anymore. Signed-off-by: Hannes Petermaier --- board/BuR/kwb/board.c | 92 ++--- board/BuR/kwb/mux.c | 51 +

[U-Boot] [PATCH 14/21] board/BuR/common: Add support for displaying BMP on LCD

2015-01-30 Thread Hannes Petermaier
Customer wants to display some logo very quickly after power on, so we support from now loading a compressed bmp.gz to the screen. Signed-off-by: Hannes Petermaier --- include/configs/bur_am335x_common.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/confi

[U-Boot] [PATCH 07/21] board/BuR/tseries: Enable U-Boot BOOTCOUNT feature

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- include/configs/tseries.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 368f588..7fd0a00 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @@ -23,6 +23,10 @@ #define

[U-Boot] [PATCH 12/21] board/BuR/common: Introduce Network Console and common environment for it

2015-01-30 Thread Hannes Petermaier
It is often necessary to "break in" into boards bootloader commandline if something fails or even for development purposes some parameters have to be changed. So we enable u-boot's CONFIG_NETCONSOLE feature. We also modify Networksettings to apply with this new use-case. Signed-off-by: Hannes Pet

[U-Boot] [PATCH 03/21] common/lcd: Add command for writing to lcd-display

2015-01-30 Thread Hannes Petermaier
We need this function if we want to make some outputs out of u-boot scripts. Signed-off-by: Hannes Petermaier --- common/lcd.c | 17 + 1 file changed, 17 insertions(+) diff --git a/common/lcd.c b/common/lcd.c index f418da9..755388f 100644 --- a/common/lcd.c +++ b/common/lcd.c

[U-Boot] [PATCH 11/21] board/BuR/tseries: Chg Pinmux - enable UART1 pins

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- board/BuR/tseries/mux.c |8 1 file changed, 8 insertions(+) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 330429a..2c87a63 100644 --- a/board/BuR/tseries/mux.c +++ b/board/BuR/tseries/mux.c @@ -25,6 +25,13 @@ static struct

[U-Boot] [PATCH 15/21] board/BuR/tseries: Rework default-environment settings.

2015-01-30 Thread Hannes Petermaier
Due to several changes of the boot-process we've redesigned the default- environment settings completly. Signed-off-by: Hannes Petermaier --- include/configs/tseries.h | 71 + 1 file changed, 66 insertions(+), 5 deletions(-) diff --git a/include/con

[U-Boot] [PATCH 18/21] board/BuR/kwb: Support booting Linux

2015-01-30 Thread Hannes Petermaier
For series testing purpose we need to boot some linux, therefore we enable the needed features - bootz - devicetree Signed-off-by: Hannes Petermaier --- include/configs/kwb.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/configs/kwb.h b/include/configs/k

[U-Boot] [PATCH 04/21] board/BuR/common: Take usage of am335x LCD-Display

2015-01-30 Thread Hannes Petermaier
>From now we use the am335x lcd driver and setup a display with displaying a summary screen to the lcd. Values are taken from environment and or devicetree blob. Signed-off-by: Hannes Petermaier --- board/BuR/common/bur_common.h |4 + board/BuR/common/common.c | 417

[U-Boot] [PATCH 21/21] board/BuR/kwb: Support modify bootcmd through reset-controller

2015-01-30 Thread Hannes Petermaier
For some cases it is necessary to modify temporaly the bootcommand. This can be done by writing into the Scratchregister a specific value: * 0xCC - modify bootcmd "run netboot" * 0xCD - modify bootcmd "run netscript" * 0xCE - modify bootcmd "run mmcboot" the environment in flash is NOT overwritte

Re: [U-Boot] [PATCH] fastboot: Add USB cable detect check

2015-01-30 Thread Rob Herring
On Thu, Jan 29, 2015 at 4:49 PM, Steve Rae wrote: > > > On 15-01-26 01:14 PM, Rob Herring wrote: >> >> Add a check for USB cable attached and only enter fastboot when a cable >> is attached. >> >> Signed-off-by: Rob Herring >> --- >> common/cmd_fastboot.c | 6 ++ >> 1 file changed, 6 inser

Re: [U-Boot] ARM: OMAP5: DRA7xx: Add support for power rail grouping

2015-01-30 Thread Tom Rini
On Fri, Dec 19, 2014 at 05:34:31PM +0200, Lubomir Popov wrote: > On the DRA72x (J6Eco) EVM one PMIC SMPS is powering three SoC > core rails. This concept of using one SMPS to supply multiple > core domains (in various, although limited combinations, per > primary device use case) has now become co

[U-Boot] [PATCH 16/21] board/BuR/tseries: cosmetic changes

2015-01-30 Thread Hannes Petermaier
remove unnary '#define ETHLED_ORANGE (96+16) /* GPIO3_16 */' Signed-off-by: Hannes Petermaier --- board/BuR/tseries/board.c |2 -- 1 file changed, 2 deletions(-) diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index a1c6887..9402aa4 100644 --- a/board/BuR/tseries/board

[U-Boot] [PATCH 20/21] board/BuR/kwb: Form a bootline for vxWorks

2015-01-30 Thread Hannes Petermaier
vxWorks needs several parameters which are set by the bootloader und his environment. So we form a vxWorks bootline and pass the result to vxWorks on a predefined address. Signed-off-by: Hannes Petermaier --- board/BuR/kwb/board.c | 30 ++ 1 file changed, 30 inserti

[U-Boot] [PATCH 19/21] board/BuR/kwb: Redesign default-environment

2015-01-30 Thread Hannes Petermaier
Due to several changes in the boot-process we do a complete redesign of the default environment. Signed-off-by: Hannes Petermaier --- include/configs/kwb.h | 81 +++-- 1 file changed, 45 insertions(+), 36 deletions(-) diff --git a/include/configs/kw

Re: [U-Boot] am335x_evm: Enable CONFIG_NAND_OMAP_GPMC_PREFETCH

2015-01-30 Thread Tom Rini
On Tue, Jan 13, 2015 at 04:42:53PM -0500, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Tom Rini
On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: > Generic board with #define CONFIG_SYS_GENERIC_BOARD is working fine. > There is no visible difference between legacy and generic board code. > > Signed-off-by: Pali Rohár > Acked-by: Pavel Machek Applied to u-boot-ti/master, thanks!

[U-Boot] [PATCH 13/21] board/BuR/common: Enable CONFIG_CMD_TIME

2015-01-30 Thread Hannes Petermaier
time measurement of u-boot commands is needed very often during development. We add this feature until development is completed. Maybe forever :) Signed-off-by: Hannes Petermaier --- include/configs/bur_am335x_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bur_am

Re: [U-Boot] [U-Boot, v1, 3/6] omap3: add SDRC settings for Samsung K4X51163PG

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:49AM +0100, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,v1,1/6] omap3: enable GP9 timer and UART2

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:47AM +0100, Albert ARIBAUD (3ADEV) wrote: > These are needed for the upcoming Cairo board support. > > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v1, 4/6] omap3: mmc: add 1.8v bias setting for MMC1

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:50AM +0100, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] OMAP3: igep00x0: Fix boot hang and add support for status LED.

2015-01-30 Thread Tom Rini
On Wed, Jan 28, 2015 at 03:01:32PM +0100, Enric Balletbò i Serra wrote: > From: Enric Balletbo i Serra > > Use the STATUS_LED APIs for indicating a boot progress instead of > show_boot_progress. > > This patch also fixes a problem introduced with commit b3f4ca1135 (dm: omap3: > Move to driver m

Re: [U-Boot] [U-Boot, v1, 2/6] omap3: make SDRC SHARING setting configurable

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:48AM +0100, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

[U-Boot] Please pull u-boot-ti/master

2015-01-30 Thread Tom Rini
Ahoy! The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-ti master for you to fetch changes up to f3b4bc458de3285a04c5f60df6372

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-30 Thread Rob Herring
On Thu, Jan 29, 2015 at 2:30 AM, Lukasz Majewski wrote: > Hi Rob, > >> From: Michael Scott >> >> Add code stub to handle "fastboot oem __" command. As unlock is a >> common fastboot command, distinguish that it is not implemented. >> >> Signed-off-by: Michael Scott >> Signed-off-by: Rob Herring

Re: [U-Boot] [U-Boot, v1, 5/6] omap3: add some MUX definitions for upcoming cairo

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:51AM +0100, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,v2] davinci: Do not duplicate setting of gd

2015-01-30 Thread Tom Rini
On Thu, Jan 22, 2015 at 09:38:10AM -0500, Tom Rini wrote: > In f0c3a6c we stopped setting gd in board_init_f, but later had to > revert to due problems on certain platforms. As davinci does not look > to have these problems, we can drop the setting here and rely upon > crt0.S to do it. > > Cc: P

Re: [U-Boot] [PATCH v1 1/1] fastboot: oem format command implementation

2015-01-30 Thread Lukasz Majewski
Hi Dileep, > This is the Modified version of > http://patchwork.ozlabs.org/patch/388084/ > - As flash support is already in mainline, it is removed > - 'oem' command support is present > - 'oem format' command is implemented > - Handled review comments of the original patch > > Signed-off-by:

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-30 Thread Lukasz Majewski
Hi Rob, > On Thu, Jan 29, 2015 at 2:30 AM, Lukasz Majewski > wrote: > > Hi Rob, > > > >> From: Michael Scott > >> > >> Add code stub to handle "fastboot oem __" command. As unlock is a > >> common fastboot command, distinguish that it is not implemented. > >> > >> Signed-off-by: Michael Scott >

[U-Boot] [GIT PULL] u-boot-mips/master

2015-01-30 Thread Daniel Schwierzeck
The following changes since commit ab92da9f47d51d363c7de42e2a7bd807e2c1bd54: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2015-01-26 17:44:49 -0500) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to eef88dfb3e16e4631e0

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Pali Rohár
On Friday 30 January 2015 15:19:53 Tom Rini wrote: > On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: > > Generic board with #define CONFIG_SYS_GENERIC_BOARD is > > working fine. There is no visible difference between legacy > > and generic board code. > > > > Signed-off-by: Pali Rohár

Re: [U-Boot] [PATCH 2/2] fastboot: add support for "oem format" command

2015-01-30 Thread Lukasz Majewski
Hi Rob, > Add "oem format" command to write partition table. This relies on the > env variable partitions to contain the list of partitions as required > by the gpt command. > > Note that this does not erase any data other than the partition table. > > Signed-off-by: Rob Herring > --- > driver

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-30 Thread Lukasz Majewski
Hi Rob, > From: Michael Scott > > Add code stub to handle "fastboot oem __" command. As unlock is a > common fastboot command, distinguish that it is not implemented. > > Signed-off-by: Michael Scott > Signed-off-by: Rob Herring > --- > drivers/usb/gadget/f_fastboot.c | 15 +++ >

Re: [U-Boot] [PATCH] common: Move dram_init() declaration to common location

2015-01-30 Thread Simon Glass
On 30 January 2015 at 02:58, Michal Simek wrote: > Signed-off-by: Michal Simek > --- > > Build tested for Microblaze and x86. > Created based on my discussion with Simon. > --- > arch/arm/include/asm/u-boot-arm.h | 1 - > arch/nds32/include/asm/u-boot-nds32.h | 1 - > arch/sandbox/in

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Tom Rini
On Fri, Jan 30, 2015 at 03:49:08PM +0100, Pali Rohár wrote: > On Friday 30 January 2015 15:19:53 Tom Rini wrote: > > On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: > > > Generic board with #define CONFIG_SYS_GENERIC_BOARD is > > > working fine. There is no visible difference between le

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Fri, Jan 30, 2015 at 4:04 AM, Marek Vasut wrote: > > On Friday, January 30, 2015 at 08:10:34 AM, Alexey Brodkin wrote: > > Hi Marek, Tom, > > > > On Fri, 2015-01-16 at 22:16 +0100, Pavel Machek wrote: > > > On Tue 2015-01-13 17:10:24, Alexey Brodkin wrote: > > > > If for some reason DMA module

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-30 Thread Simon Glass
Hi Thierry, On 30 January 2015 at 05:24, Thierry Reding wrote: > On Sat, Jan 24, 2015 at 12:19:56PM +0800, Bin Meng wrote: >> Hi Thierry, >> >> On Fri, Jan 23, 2015 at 6:19 PM, Thierry Reding wrote: >> > On Thu, Jan 22, 2015 at 12:04:06AM +0800, Bin Meng wrote: >> >> Hi Thierry, >> >> >> >> On W

Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-01-30 Thread Siarhei Siamashka
On Mon, 29 Dec 2014 09:15:36 -0700 Simon Glass wrote: > Hi Ian, > > On 28 December 2014 at 02:19, Ian Campbell wrote: > > On Tue, 2014-12-23 at 12:04 -0700, Simon Glass wrote: > > > >> +void board_init_f(ulong dummy) > >> +{ > > [...] > >> + /* Clear the BSS. */ > >> + memset(__bss_star

[U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-30 Thread Lubomir Popov
I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come into effect at all, or normal operation of internal circuitry cannot be guaranteed. The current implementation of the 'i2c write' comm

Re: [U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-01-30 Thread Siarhei Siamashka
On Fri, 30 Jan 2015 13:58:46 +0200 Siarhei Siamashka wrote: > The commit f630974ccb3ce93e9607a3354e9acb266a8b7e95 > 'sunxi: Move SPL s_init() code to board_init_f()' > broke the FEL boot mode. > > This patch moves the DRAM initialization back to s_init() and > introduces an assembly entry point

[U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Simon Glass
This series adds basic driver model support to USB. The intent is to permit the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number of USB ports of different types. So far the absolute limit on the number of USB devices is only slightly relaxed. Only USB controllers have a real

[U-Boot] [RFC PATCH 3/7] dm: usb: Adjust users of the USB stack to work with driver model

2015-01-30 Thread Simon Glass
While we currently don't have driver model support for block devices and Ethernet, we can still allow this to work when driver model is used for USB. Signed-off-by: Simon Glass --- common/cmd_usb.c| 74 -- common/usb.c| 28 + common/usb_

[U-Boot] [RFC PATCH 5/7] dm: core: Add a function to get the uclass data for a device

2015-01-30 Thread Simon Glass
This is a convenience function only so far. Eventually it could have some consistency checking added. Signed-off-by: Simon Glass --- drivers/core/device.c | 10 ++ include/dm/device.h | 10 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/core/device.c b/drivers/core

[U-Boot] [RFC PATCH 1/7] dm: usb: Add a uclass for USB controllers

2015-01-30 Thread Simon Glass
Add a uclass that can represent a USB controller. For now we do not create devices for things attached to the controller. Signed-off-by: Simon Glass --- drivers/usb/host/Makefile | 2 + drivers/usb/host/usb-uclass.c | 227 ++ include/dm/uclass-id.h

[U-Boot] [RFC PATCH 6/7] arm: Show relocated PC/LR in the register dump

2015-01-30 Thread Simon Glass
If we don't know the relocation address, the raw values are not very useful. Show the pre-relocation values as well as these can be looked up in System.map, etc. Signed-off-by: Simon Glass --- arch/arm/lib/interrupts.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --

[U-Boot] [RFC PATCH 7/7] dm: exynos: Enable driver model for snow XHCI

2015-01-30 Thread Simon Glass
Switch snow over to use driver model for USB. Signed-off-by: Simon Glass --- include/configs/snow.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/snow.h b/include/configs/snow.h index ce6676e..00bd646 100644 --- a/include/configs/snow.h +++ b/include/configs/snow.h @@ -27,

[U-Boot] [RFC PATCH 2/7] dm: usb: Support driver model in exynos XHCI

2015-01-30 Thread Simon Glass
(This patch will be split for submission) Add driver model support to the XHCI framework, and move exynos over to use it. Signed-off-by: Simon Glass --- drivers/usb/host/xhci-exynos5.c | 115 +++- drivers/usb/host/xhci.c | 229 d

[U-Boot] [RFC PATCH 4/7] dm: usb: WIP sandbox USB implementation

2015-01-30 Thread Simon Glass
This shows the basic approach with a new directory containing sandbox emulations of USB devices for testing. So far hubs are not supported. Signed-off-by: Simon Glass --- Makefile | 1 + arch/sandbox/dts/sandbox.dts | 20 + arch/sandbox/include/asm/pro

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Tue, Jan 13, 2015 at 8:10 AM, Alexey Brodkin wrote: > > If for some reason DMA module fails to reset user oserves only this: > --->--- > # dhcp > Trying dwmac.e0018000 > FAIL > --->--- > > This message makes not much sense. > With proposed change error message will be more helpful: > --->--- >

Re: [U-Boot] net: tsec: Pending patches

2015-01-30 Thread Joe Hershberger
On Fri, Feb 14, 2014 at 3:49 AM, Claudiu Manoil < claudiu.man...@freescale.com> wrote: > > Hello, > > Would you please consider applying these two "net" tree patches? > > http://patchwork.ozlabs.org/patch/299620/ > (net: Merge asm/fsl_enet.h into fsl_mdio.h) > http://patchwork.ozlabs.org/patch/2994

Re: [U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2015-01-30 Thread Joe Hershberger
On Tue, Dec 10, 2013 at 7:21 AM, Claudiu Manoil < claudiu.man...@freescale.com> wrote: > > If the PHY is not recognized don't access phydev (NULL) > and return 0 to signal failure. > > Signed-off-by: Claudiu Manoil > --- Applied, Thanks! -Joe ___ U-Boot

Re: [U-Boot] [PATCH v2 2/6] Add MS7206SE ethernet support

2015-01-30 Thread Joe Hershberger
On Thu, Feb 13, 2014 at 8:13 AM, Yoshinori Sato wrote: > > Signed-off-by: Yoshinori Sato > --- Huge apologies for the delay. Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8895 switch in SMI mode

2015-01-30 Thread Joe Hershberger
On Wed, Feb 19, 2014 at 10:21 AM, Philippe De Muyter wrote: > > This patch adds a phy driver for the Micrel KSZ8895 switch. As the SoC MAC > is directly connected to the switch MAC the link to the switch is always up. > > But the KSZ8895 switch can be hardwired in three configuration modes : > -

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Tue, Jan 13, 2015 at 8:10 AM, Alexey Brodkin wrote: > > If for some reason DMA module fails to reset user oserves only this: > --->--- > # dhcp > Trying dwmac.e0018000 > FAIL > --->--- > > This message makes not much sense. > With proposed change error message will be more helpful: > --->--- >

[U-Boot] Pull request: u-boot-net.git master

2015-01-30 Thread Joe Hershberger
The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 875143f32428b8317a2b890b34a1eeb

[U-Boot] [PATCH 03/10] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-30 Thread Marek Vasut
Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). NOTE: This change is useless until we get proper SPL support, at which point this will likely need further rework. Signed-off-by: Marek Vasut Cc: Chin Liang

[U-Boot] [PATCH 01/10] arm: socfpga: Minor coding style fix

2015-01-30 Thread Marek Vasut
Replace multiple spaces with a single tab. Signed-off-by: Marek Vasut Cc: Chin Liang See Acked-by: Dinh Nguyen Acked-by: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers --- board/altera/socfpga/iocsr_config.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --gi

[U-Boot] [PATCH V2 06/10] arm: socfpga: Zap checkboard()

2015-01-30 Thread Marek Vasut
Since all boards now have a DT, instead of hard-coding the board name into the U-Boot binary, read the board name from DT "model" property. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers --- board/altera/socfpga/socfpga.c

[U-Boot] [PATCH 05/10] arm: socfpga: Drop cyclone5 suffix from board file name

2015-01-30 Thread Marek Vasut
Drop the _cyclone5 suffix from socfpga_cyclone5.c since this file will contain Arria 5 support as well. Signed-off-by: Marek Vasut Cc: Chin Liang See Acked-by: Dinh Nguyen Acked-by: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers --- board/altera/socfpga/Makefile | 2 +

[U-Boot] [PATCH 04/10] arm: socfpga: Add USB and UDC support for Cyclone V DK

2015-01-30 Thread Marek Vasut
Add support for USB host mode and USB device mode for the Cyclone V development kit and enable support for UMS (to export SD card as USB mass storage). The UMS is activated via 'ums 0 mmc 0' command, the system must be connected to a host PC via HPS USB port and SD card must be installed for this t

[U-Boot] [PATCH 10/10] dt: socfpga: Import and enable Arria V DK DTS

2015-01-30 Thread Marek Vasut
Import DTS for Arria V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Acked-by: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers -

[U-Boot] [PATCH V2 08/10] arm: socfpga: Add Altera Arria V DK support

2015-01-30 Thread Marek Vasut
Add support for the Altera Arria V development kit. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers --- arch/arm/Kconfig | 5 + board/altera/socfpga/Kconfig | 16 + board/altera/socfpga/iocsr_c

[U-Boot] [PATCH 07/10] arm: socfpga: Zap board_early_init_f()

2015-01-30 Thread Marek Vasut
Zap this unused empty function, no point in having it. Signed-off-by: Marek Vasut Cc: Chin Liang See Acked-by: Dinh Nguyen Acked-by: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers --- board/altera/socfpga/socfpga.c | 8 include/configs/socfpga_common.h | 1 - 2 files c

[U-Boot] [PATCH 02/10] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-30 Thread Marek Vasut
Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). Signed-off-by: Marek Vasut Cc: Chin Liang See Acked-by: Dinh Nguyen Cc: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers --- board/altera/socfpga/pin

Re: [U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

2015-01-30 Thread Marek Vasut
On Sunday, January 18, 2015 at 07:21:34 AM, Dinh Nguyen wrote: > On 12/31/14 1:14 PM, Marek Vasut wrote: [...] > > diff --git a/arch/arm/dts/socfpga_arria5.dtsi > > b/arch/arm/dts/socfpga_arria5.dtsi new file mode 100644 > > index 000..5175f03 > > --- /dev/null > > +++ b/arch/arm/dts/socfpga_

[U-Boot] [PATCH 09/10] dt: socfpga: Import and enable Cyclone V DK DTS

2015-01-30 Thread Marek Vasut
Import DTS for Cyclone V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Acked-by: Pavel Machek Reviewed-by: Stefan Roese Cc: Vince Bridgers

Re: [U-Boot] [PATCH 06/12] arm: socfpga: Add Altera Arria V DK support

2015-01-30 Thread Marek Vasut
On Sunday, January 18, 2015 at 07:19:40 AM, Dinh Nguyen wrote: > On 12/31/14 1:14 PM, Marek Vasut wrote: Hi! > > diff --git a/board/altera/socfpga/socfpga.c > > b/board/altera/socfpga/socfpga.c index 459d82f..a9c330d 100644 > > --- a/board/altera/socfpga/socfpga.c > > +++ b/board/altera/socfpga/s

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-30 Thread Marek Vasut
On Monday, January 26, 2015 at 01:31:39 PM, Lukasz Majewski wrote: > Hi Marek, > > > On Monday, January 26, 2015 at 09:38:28 AM, Lukasz Majewski wrote: > > > Hi Marek, > > > > Hi! > > > > [...] > > > > > > No, unless there's a convincing technical argument that the > > > > currently mainline DW

Re: [U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Marek Vasut
On Friday, January 30, 2015 at 08:04:50 PM, Simon Glass wrote: > This series adds basic driver model support to USB. The intent is to permit > the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number > of USB ports of different types. So far the absolute limit on the number > of U

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-30 Thread Marek Vasut
On Wednesday, January 28, 2015 at 08:04:45 PM, Steve Rae wrote: > On 15-01-27 03:00 PM, Marek Vasut wrote: > > On Monday, January 26, 2015 at 06:44:14 PM, Steve Rae wrote: > > [...] > > > >>> No, unless there's a convincing technical argument that the currently > >>> mainline DWC2 gadget driver (t

Re: [U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Simon Glass
Hi Marek, On 30 January 2015 at 15:16, Marek Vasut wrote: > > On Friday, January 30, 2015 at 08:04:50 PM, Simon Glass wrote: > > This series adds basic driver model support to USB. The intent is to permit > > the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number > > of USB po

[U-Boot] Please pull u-boot-x86 branch patman

2015-01-30 Thread Simon Glass
Hi Tom, Some old patches I lost, plus a few new ones. Note this is branch 'patman'. The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at: http://git.denx

[U-Boot] Imx6 u-boot clock frequency and wrong lpj in the kernel

2015-01-30 Thread Andy Ng
Dear colleagues, I faced a problem lately with the udelay function in the Linux kernel. udelay uses loops_per_jiffy constant for its loops. lpj is calculated during the init phase of the kernel, and then the calibrate function is removed. The boot loader uses 792MHz and when the kernel comes up d

Re: [U-Boot] [PATCH 02/13] lcd: split configuration_get_cmap

2015-01-30 Thread Simon Glass
Hi Nikita, On 29 January 2015 at 04:21, Nikita Kiryanov wrote: > configuration_get_cmap() is multiple platform specific functions stuffed into > one function. Split it into multiple versions, and move each version to the > appropriate driver to reduce the #ifdef complexity. > > Signed-off-by: Nik

  1   2   >