[U-Boot] [PATCH] Powerpc: eSDHC: Fix mmc read write err in uboot of T4240QDS board

2013-07-01 Thread Haijun Zhang
Fill the right command type when using CMD12 to stop data transfer. Signed-off-by: Haijun Zhang CC: Fleming Andrew-AFLEMING CC: Scott Wood --- drivers/mmc/fsl_esdhc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index e93

Re: [U-Boot] I'm coming back :)

2013-07-01 Thread Albert ARIBAUD
Hi Graeme, On Mon, 1 Jul 2013 13:54:45 +1000, Graeme Russ wrote: > Hi Guys, > > Due to personal circumstances I left the U-Boot community back in late > October 2012. > > Now I find my circumstances have been completely flipped upside down (long > story) and I will soon have much more time on

[U-Boot] [PATCH] Origen: Correct equation to calculate PLL output frequency

2013-07-01 Thread Rajeshwari Shinde
EXYNOS4 user manual equation for calculating PLL output is FOUT= MDIV x FIN/(PDIV x 2^(SDIV -1)) hence updating accordingly. Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7/exynos/clock.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv

[U-Boot] [PATCH 2/2] powerpc/c29xpcie: add support for C29XPCIE board

2013-07-01 Thread y
From: Mingkai Hu C29XPCIE board is a series of Freescale PCIe add-in cards to perform as public key crypto accelerator or secure key management module. It includes C293PCIE board, C293PCIE board and C291PCIE board. - 512KB platform SRAM in addition to 512K L2 Cache/SRAM - 512MB soldered DDR3 3

[U-Boot] [PATCH 1/2] powerpc/85xx: Add C29x SoC support

2013-07-01 Thread y
From: Mingkai Hu The Freescale C29x family is a high performance crypto co-processor. It combines a single e500v2 core with necessary SEC engine. There're three SoC types(C291, C292, C293) with the following features: - 512K L2 Cache/SRAM and 512 KB platform SRAM - DDR3/DDR3L 32bit DDR control

Re: [U-Boot] [PATCH] Origen: Correct equation to calculate PLL output frequency

2013-07-01 Thread Minkyu Kang
On 01/07/13 16:42, Rajeshwari Shinde wrote: > EXYNOS4 user manual equation for calculating PLL output is > FOUT= MDIV x FIN/(PDIV x 2^(SDIV -1)) > hence updating accordingly. > > Signed-off-by: Rajeshwari Shinde > --- > arch/arm/cpu/armv7/exynos/clock.c | 11 +-- > 1 files changed, 9 i

Re: [U-Boot] [PATCH] Origen: Correct equation to calculate PLL output frequency

2013-07-01 Thread Rajeshwari Birje
Hi Minkyu Kang, As per the user manual I have for EXYNOS5 it is FOUT = MDIV * FIN / (PDIV * 2^SDIV) Regards, Rajeshwari Shinde. On Mon, Jul 1, 2013 at 1:56 PM, Minkyu Kang wrote: > On 01/07/13 16:42, Rajeshwari Shinde wrote: >> EXYNOS4 user manual equation for calculating PLL output is >> FOUT=

Re: [U-Boot] [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL

2013-07-01 Thread Zhang Ying-B40530
I haven't subscribe the mail list and I didn't find the patch "creates a separate autoconf.mk". Can you tell me where I can find it? Thanks. -Original Message- From: Wood Scott-B07421 Sent: Saturday, June 29, 2013 3:40 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de;

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-07-01 Thread Prabhakar Kushwaha
On 06/28/2013 09:49 PM, Scott Wood wrote: On 06/28/2013 04:05:43 AM, Prabhakar Kushwaha wrote: On 06/27/2013 12:36 AM, Scott Wood wrote: On 06/25/2013 11:09:04 PM, Prabhakar Kushwaha wrote: then it should be like this. slightly complex. #if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && !(defined(

[U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread krishna dwivedi
Hi All, Board Configuration: TargetArch CPU BoardName qemu_mipsmipsmips32 qemu-mips - - Options qemu-mips While bitbake u-boot: Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 4 CROSS_COMPILE=mi

Re: [U-Boot] [PATCH v2 4/4] arm: add machine ID for CloudBox

2013-07-01 Thread Frédéric Leroy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 01/07/2013 00:53, Simon Guinot a écrit : > On Sun, Jun 30, 2013 at 12:12:29PM +0200, Frédéric Leroy wrote: > > CloudBox device is device tree compliant, but older LaCie kernel uses > > machine ID method to boot. > > > > Signed-off-by: Frédéric Lero

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add C29x SoC support

2013-07-01 Thread Wolfgang Denk
Dear y...@tx30smr01.am.freescale.net, In message <1372661036-11828-1-git-send-email-y> you wrote: > From: Mingkai Hu > > The Freescale C29x family is a high performance crypto co-processor. > It combines a single e500v2 core with necessary SEC engine. There're > three SoC types(C291, C292, C293)

[U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread TigerLiu
Hi, experts: I tried to turn off gcc optimazition by changing config.mk file: OPTFLAGS= -O0 #-fomit-frame-pointer But failed to compile u-boot, it tipped: .. /home/lion/Origen0921/arm-2010.09/bin/arm-none-eabi-ld: arch/arm/cpu/armv7/libarmv7.o: relocation R_ARM_MOVW_ABS_NC against `a local sym

Re: [U-Boot] [PATCH 2/2] powerpc/c29xpcie: add support for C29XPCIE board

2013-07-01 Thread Wolfgang Denk
Dear y...@tx30smr01.am.freescale.net, In message <1372661036-11828-2-git-send-email-y> you wrote: > From: Mingkai Hu > > C29XPCIE board is a series of Freescale PCIe add-in cards to perform > as public key crypto accelerator or secure key management module. It > includes C293PCIE board, C293PCIE

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, please don't top post / full quote!! In message you wrote: > > Can you please reply on this. I can reply, but I cannot help you. > > I am using xlp832 mips64 netlogic board.I referred these steps from > > u-boot README file. > > Configuration: > > TARGET

[U-Boot] [PATCH 0/4 V2] EXYNOS: Convert Assembly code to c and make it common

2013-07-01 Thread Rajeshwari Shinde
Convert the assembly code in board/samsung to c and move the same to arch/arm. lds file made common across SMDKV310, Origen and SMDK5250. Add the power reset and exit wakeup api for exynos. Initialise GPIO for uart in Origen and SMDKV310 using pinmux. Changes in V2: - Rebased on latest u-b

[U-Boot] [PATCH 1/4 V2] EXYNOS: Add API for power reset and exit wakeup

2013-07-01 Thread Rajeshwari Shinde
This patch adds APIs to get power reset status and exit the wakeup condition for both exynos5 and exynos4 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Expanded the comments for get_reset_status function declaration. arch/arm/cpu/armv7/exynos/power.c| 50 +++

[U-Boot] [PATCH 2/4 V2] EXYNOS: LDS file move to common

2013-07-01 Thread Rajeshwari Shinde
smdk5250-uboot-spl.lds is moved to common folder, so that it can be reused. It is renamed to exynos-uboot-spl.lds Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in V2: - None. .../exynos-uboot-spl.lds} |0 include/

[U-Boot] [PATCH 3/4 V2] EXYNOS4210: Configure GPIO for uart

2013-07-01 Thread Rajeshwari Shinde
This patch configures the gpio values for UART on Origen and SMDKV310 using pinmux Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Chnages in V2: - None arch/arm/cpu/armv7/exynos/pinmux.c | 40 +++ board/samsung/origen/origen.c | 46 ++

Re: [U-Boot] [PATCH v2 4/4] arm: add machine ID for CloudBox

2013-07-01 Thread Simon Guinot
On Mon, Jul 01, 2013 at 11:30:01AM +0200, Frédéric Leroy wrote: > > Le 01/07/2013 00:53, Simon Guinot a écrit : > > On Sun, Jun 30, 2013 at 12:12:29PM +0200, Frédéric Leroy wrote: > > > CloudBox device is device tree compliant, but older LaCie kernel uses > > > machine ID method to boot. > > > > >

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, In message you wrote: > > Board Configuration: > > TargetArch CPU > BoardName > qemu_mipsmipsmips32 qemu-mips This builds fine for me: + MAKEALL_LOGDIR=/work/wd/tmp-mips-LOG + BUILD_DIR=/work/wd/tmp-mip

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I tried to turn off gcc optimazition by changing config.mk file: > OPTFLAGS= -O0 #-fomit-frame-pointer > > But failed to compile u-boot, it tipped: Don't do it, then. Q: why would you want to switch off optimization? That's almost alway

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread TigerLiu
Hi, Denk: During debug u-boot with JTAG tools, maybe turning off optimizations was recommended. Best wishes, -邮件原件- 发件人: Wolfgang Denk [mailto:w...@denx.de] 发送时间: 2013年7月1日 18:03 收件人: Tiger Liu 抄送: u-boot@lists.denx.de 主题: Re: [U-Boot] compiled failed when turned off gcc optimazition De

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, I knew i have to run make qemu_mips_config before make allI am using ELDK 5.3 toolchain and compiling u-boot recipe came as a part of ELDK..But in yocto environment,we use bitbake instead of make.I already tried make: [unknown@h229 build]$ make qemu_mips_config make: *** No rule to ma

Re: [U-Boot] [PATCH 0/4 V2] EXYNOS: Convert Assembly code to c and make it common

2013-07-01 Thread Rajeshwari Birje
Hi Minkyu Kang, Can we please get this merged soon after your review as it is effort to rebase and test this each time. On Mon, Jul 1, 2013 at 3:32 PM, Rajeshwari Shinde wrote: > Convert the assembly code in board/samsung to c and move the same to arch/arm. > lds file made common across SMDKV310

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-07-01 Thread Inderpal Singh
Hi Simon, On 28 June 2013 21:20, Simon Glass wrote: > Hi Inderpal, > > On Thu, Jun 20, 2013 at 12:10 AM, Inderpal Singh < > inderpal.si...@linaro.org> wrote: > >> Hi Simon, >> >> Thanks for review. >> >> >> On 11 June 2013 19:57, Simon Glass wrote: >> >>> Hi, >>> >>> On Fri, Jun 7, 2013 at 4:5

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Pavel Machek
Hi! > > > --- /dev/null > > > +++ b/board/altera/socfpga_cyclone5/pinmux_config.c > > > @@ -0,0 +1,213 @@ > > > + > > > +#include "pinmux_config.h" > > > + > > > +/* pin mux configuration data */ > > > +unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = { > > > + 0, /* EMACIO0 - Unuse

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Pavel Machek
On Fri 2013-06-28 16:20:48, Chin Liang See wrote: > socfpga: Adding System Manager driver which will > configure the pin mux for real hardware Cyclone V > development kit (not Virtual Platform) > > Signed-off-by: Chin Liang See > +DECLARE_GLOBAL_DATA_PTR; > + > +/* > + * Configure all the pi

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, Can you please let me know on which mips board you have compiled this u-boot now. Regards, Krishna On Mon, Jul 1, 2013 at 3:28 PM, Wolfgang Denk wrote: > Dear krishna dwivedi, > > please don't top post / full quote!! > > In message m1evpjpkmmib0yvnmvqjnca5wznv...@mail.gmail.com>

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-07-01 Thread Pavel Machek
Hi! > > > @@ -21,6 +21,7 @@ > > > void reset_cpu(ulong addr); > > > void reset_deassert_peripherals_handoff(void); > > > > > > +#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > > struct socfpga_reset_manager { > > > u32padding1; > > > u32ctrl; > > > @@ -31,7 +32,23 @@ struct so

Re: [U-Boot] [PATCH v2] blackfin: Fix using gd->baudrate before setting its value

2013-07-01 Thread Sonic Zhang
Acked-by: Sonic Zhang On Mon, Jul 1, 2013 at 1:16 PM, Axel Lin wrote: > Current code uses gd->baudrate before setting its value. > Besides, I got below build warning which is introduced by > commit ddb5c5be "blackfin: add baudrate to bdinfo". > > board.c:235:3: warning: passing argument 1 of 'sim

Re: [U-Boot] [RFC] [UBOOT] [PATCH v2 2/4] USB: Adapt the usb-compat.h to uboot and fix compiler errors

2013-07-01 Thread Marek Vasut
Dear Dan Murphy, > Adapt the usb-compat.h to uBoot. > > Use #ifndef __UBOOT__ for code that is not applicable to uBoot. > Use #ifdef __UBOOT__ to add code that is uBoot specific. > > Create linux-compat.h - Linux kernel compatibility definitions that do not > exist in the uBoot. Moved the compa

Re: [U-Boot] [RFC] [UBOOT] [PATCH v2 0/4] DWC back port from Linux kernel

2013-07-01 Thread Marek Vasut
Dear Dan Murphy, > This patch series has been generated in an effort to get comments on > the implementation of the dwc code within the uBoot. > > V2 incorporates comments to first port the kernel header backward to uBoot > and then produce the uBoot changes so the uBoot changes are easily > dist

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread krishna dwivedi
Hi Amit, Sure.But i am trying to compile U-boot for default board qemu-mips without any changes that is supported in boards.cfg. Regards, Krishna On Mon, Jul 1, 2013 at 4:24 PM, Amit Virdi wrote: > Krishna, > > > On 7/1/2013 4:15 PM, krishna dwivedi wrote: > >> Hi Wolfgang, >> >> Can you p

Re: [U-Boot] U-boot2013:07-Recompile with -fPIC error for mips64 board

2013-07-01 Thread Amit Virdi
Krishna, On 7/1/2013 4:15 PM, krishna dwivedi wrote: Hi Wolfgang, Can you please let me know on which mips board you have compiled this u-boot now. Please understand that the u-boot community supports only those platforms whose support has been mainlined. If you are making changes to the u

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, please do not top post / full quote. In message you wrote: > > During debug u-boot with JTAG tools, maybe turning off optimizations was > recommended. Many people recommend many things. Even strange or non-working or incorrect or dangerous ones. Best regards, W

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, please stop top posting / full quoting. In message you wrote: > > I knew i have to run make qemu_mips_config before make allI am using ELDK > 5.3 toolchain and compiling u-boot recipe came as a part of ELDK..But in > yocto environment,we use bitbake instead of make.I alrea

[U-Boot] [PATCH v3 3/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6702 1000Mhz - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: PHY Marvell 88E1318 - Flash memory: SPI NOR 512KB (Macronix MX25L4005A) - 1 push button - 1 reset switch - 1 SATA port - 1 LED (bi-color, blue and red) Signed-o

[U-Boot] [PATCH v3 2/3] LaCie/common: Uses #defines for ethernet phy leds setup

2013-07-01 Thread Frédéric Leroy
The CloudBox device have a different ethernet phy setup than other ns2 devices. Prepare source to use different init registers Signed-off-by: Frédéric Leroy --- board/LaCie/common/common.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/board/LaCie/common/commo

[U-Boot] [PATCH v3 1/3] lacie_kw: sort #ifdef lists by CONFIG_ identifiers

2013-07-01 Thread Frédéric Leroy
Signed-off-by: Frédéric Leroy --- include/configs/lacie_kw.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h index e2b3b21..cac616a 100644 --- a/include/configs/lacie_kw.h +++ b/include/config

[U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
This series adds support for the LaCie Cloudbox v2 device. Changes in v3: - prepare other LaCie boards for led patch - fix Machine ID - use one commit for adding device Changes in v2: - sort unsorted #ifdef list in lacie_kw.h - add entry to MAINTAINERS - remove unused GPIO definitions - remove

[U-Boot] [PATCH] cmd_bootm.c: Correct check/return for unsupported sub-command

2013-07-01 Thread Tom Rini
With the do_bootm_states re-organization, we have the call to any potential sub-commands in a single spot. If one fails, we can then stop right there and return to the caller. Prior to these calls we have already ensured that ret is zero so we will not be returning this error for some other case.

Re: [U-Boot] Reminder mail [Fwd: Kernel bring Up fail in NOR boot for custom board]]

2013-07-01 Thread Marek Vasut
Dear Shrimanth, > Reminder Mail > > Please reply ASAP. I believe the remarks above won't help you, neither will top-posting. The problem looks to be either DRAM setup being incorrect or kernel problem. > -- Forwarded Message > From: Shrimanth > To: joe.hershber...@ni.com, Marek V

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Tom Rini
On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador > wrote: > > This changes were being done in every version of U-Boot and it > > makes sense to try to merge them upstream. > > > > Please review them and ack/nack them. > > I think t

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador >> wrote: >> > This changes were being done in every version of U-Boot and it >> > makes sense to try to merge them upstream. >>

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Tom Rini
On Mon, Jul 01, 2013 at 10:25:46AM -0300, Otavio Salvador wrote: > On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: > > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: > > > >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador > >> wrote: > >> > This changes were being done in every

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 10:30 AM, Tom Rini wrote: > On Mon, Jul 01, 2013 at 10:25:46AM -0300, Otavio Salvador wrote: >> On Mon, Jul 1, 2013 at 10:20 AM, Tom Rini wrote: >> > On Fri, Jun 28, 2013 at 06:56:46PM -0300, Fabio Estevam wrote: >> > >> >> On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador >

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread krishna dwivedi
Hi Wolfgang, Thanks for yours valuable time and support.U-boot got compiled for qemu-mips board. Regards, Krishna On Mon, Jul 1, 2013 at 5:19 PM, Wolfgang Denk wrote: > Dear krishna dwivedi, > > please stop top posting / full quoting. > > In message agan2ilvqknsojcnchp3qk...@mail.gmail.com>

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:39 +0200, ZY - pavel wrote: > Hi! > > > > > --- /dev/null > > > > +++ b/board/altera/socfpga_cyclone5/pinmux_config.c > > > > @@ -0,0 +1,213 @@ > > > > + > > > > +#include "pinmux_config.h" > > > > + > > > > +/* pin mux configuration data */ > > > > +unsigned lo

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:42 +0200, ZY - pavel wrote: > On Fri 2013-06-28 16:20:48, Chin Liang See wrote: > > socfpga: Adding System Manager driver which will > > configure the pin mux for real hardware Cyclone V > > development kit (not Virtual Platform) > > > > Signed-off-by: Chin L

Re: [U-Boot] [PATCH v2 1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-07-01 Thread Chin Liang See
Hi Wolfgang, On Sat, 2013-06-29 at 00:47 +0200, ZY - wd wrote: > Dear Chin Liang See, > > In message <1372451028.11240.2.ca...@drezykow-virtualbox.altera.com> you > wrote: > > socfpga: Separating the configuration file for Virtual > > Target and real hardware Cyclone V development kit > > Plea

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-07-01 Thread Chin Liang See
Hi Pavel, On Mon, 2013-07-01 at 12:46 +0200, ZY - pavel wrote: > Hi! > > > > > @@ -21,6 +21,7 @@ > > > > void reset_cpu(ulong addr); > > > > void reset_deassert_peripherals_handoff(void); > > > > > > > > +#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > > > struct socfpga_reset_manager { > > >

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-01 Thread Vivek Gautam
Hi Marek, On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> (Sorry to those on to/cc; I'm resending this so it goes to the correct >> mailing list) Dear Stephen, sorry for the delay in responding to this. >> >> Commit 020bbcb "usb: hub: Power-cycle on root-hub po

[U-Boot] [PATCH v3 1/1] socfpga: Adding configuration for development kit

2013-07-01 Thread Chin Liang See
socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- include/configs/socfpga_cyclone5.h | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/include/configs/socf

[U-Boot] [PATCH v2 1/1] socfpga: Creating driver for Reset Manager

2013-07-01 Thread Chin Liang See
socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- arch/arm/cpu/armv7/socfpga/Makefile |2 +- arch/arm/cpu/armv7/socfpga/misc.c

[U-Boot] [PATCH v3 1/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek --- arch/arm/cpu/armv7/socfpga/Makefile|2 +- arch/arm/cpu/armv7/socfpga/spl.c

[U-Boot] [PATCH v3 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
socfpga: Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek --- board/altera/socfpga_cyclone5/pinmux_config.c | 214 + board/altera/socfpga_cyclone5/pinmux_config.h | 54 +++ 2 files chang

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Stephen Warren
On 06/13/2013 05:13 PM, Stephen Warren wrote: > From: Stephen Warren > > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > const char format[] = "r5g6b5"; > > Make this data static since it doesn't chagne; the compiler will simply > place i

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/01/2013 12:30 PM, Stephen Warren wrote: > On 06/13/2013 05:13 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> Some ARM compilers may emit code that makes unaligned accesses >> when faced with constructs such as: >> >> const char format

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-01 Thread Stephen Warren
On 07/01/2013 07:49 AM, Vivek Gautam wrote: > Hi Marek, > > > On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: >> Dear Stephen Warren, >> >>> (Sorry to those on to/cc; I'm resending this so it goes to the correct >>> mailing list) > > Dear Stephen, > sorry for the delay in responding to thi

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Jagan Teki
Hi Axel, Thanks for your v2. On Sun, Jun 30, 2013 at 9:02 AM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > > Signed-off-by: Axel Lin > Cc: Albert Aribaud > Cc: Ben Warren > Cc: Jean-Christophe PLAGNIOL-VILLARD > Cc: Joe Hershberger > Cc: Marek

Re: [U-Boot] [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL

2013-07-01 Thread Scott Wood
On 07/01/2013 03:48:16 AM, Zhang Ying-B40530 wrote: I haven't subscribe the mail list and I didn't find the patch "creates a separate autoconf.mk". Can you tell me where I can find it? Thanks. Search in http://patchwork.ozlabs.org/project/uboot/list/ -Scott

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Jagan Teki
On Mon, Jul 1, 2013 at 10:26 PM, Jagan Teki wrote: > Hi Axel, > > Thanks for your v2. > > On Sun, Jun 30, 2013 at 9:02 AM, Axel Lin wrote: >> Use ARRAY_SIZE instead of having similar implementation in each drivers. >> >> Signed-off-by: Axel Lin >> Cc: Albert Aribaud >> Cc: Ben Warren >> Cc: Je

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-07-01 Thread Scott Wood
On 07/01/2013 03:56:23 AM, Prabhakar Kushwaha wrote: On 06/28/2013 09:49 PM, Scott Wood wrote: On 06/28/2013 04:05:43 AM, Prabhakar Kushwaha wrote: On 06/27/2013 12:36 AM, Scott Wood wrote: On 06/25/2013 11:09:04 PM, Prabhakar Kushwaha wrote: then it should be like this. slightly complex. #if

Re: [U-Boot] [PATCH] drivers:video:s6e8ax0: change data_to_send array to static

2013-07-01 Thread Anatolij Gustschin
On Fri, 24 May 2013 09:43:46 +0200 Piotr Wilczek wrote: > This patch change 'data_to_send' array to static to avoid > unaligned access exeption on some platforms (ex Trats2). > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > CC: Anatolij Gustschin > --- > d

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Mike Dunn
On 07/01/2013 04:37 AM, Wolfgang Denk wrote: > Dear tiger...@viatech.com.cn, > > please do not top post / full quote. > > In message > you wrote: >> >> During debug u-boot with JTAG tools, maybe turning off optimizations was >> recommended. > > Many people recommend many things. Even strange

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Anatolij Gustschin
On Mon, 1 Jul 2013 12:35:46 -0400 Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/01/2013 12:30 PM, Stephen Warren wrote: > > On 06/13/2013 05:13 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> Some ARM compilers may emit code that makes unaligned acce

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Simon Guinot
On Mon, Jul 01, 2013 at 02:57:43PM +0200, Frédéric Leroy wrote: > This series adds support for the LaCie Cloudbox v2 device. > > Changes in v3: > > - prepare other LaCie boards for led patch > - fix Machine ID > - use one commit for adding device > > Changes in v2: > > - sort unsorted #ifdef li

Re: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

2013-07-01 Thread Anatolij Gustschin
On Thu, 13 Jun 2013 17:13:11 -0600 Stephen Warren wrote: > From: Stephen Warren > > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > const char format[] = "r5g6b5"; > > Make this data static since it doesn't chagne; the compiler will sim

[U-Boot] [PATCH] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-01 Thread dinguyen
From: Dinh Nguyen Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to be more generic. Signed-off-by: Dinh Nguyen Cc: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek --- .../altera/{socfpga_cyclone5 => socf

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Jeroen Hofstee
Hello Andreas, On 06/30/2013 01:15 PM, Andreas Bießmann wrote: BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple define for them. Signed-off-by: Andreas Bießmann --- +#ifndef REG_NOERROR +/* BSD regex.h do not expose REG_NOERROR */ +# define REG_NOERROR 0 +#endif

Re: [U-Boot] [PATCH V4] lcd: align bmp header when uncopmressing image

2013-07-01 Thread Anatolij Gustschin
On Wed, 05 Jun 2013 08:14:30 +0200 Piotr Wilczek wrote: > When compressed image is loaded, it must be decompressed > to an aligned address + 2 to avoid unaligned access exception > on some ARM platforms. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Anatolij Gustschin

Re: [U-Boot] [PATCH 1/3] lib/rsa/rsa-sig.c: compile on OS X

2013-07-01 Thread Lubomir Popov
Hi Andreas, > Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it. > This also fixes an compile error on OS X: > > ---8<--- > u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory > --->8--- > > Signed-off-by: Andreas Bießmann > --- Entire series Test

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Lubomir Popov
> BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple > define for them. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

Re: [U-Boot] [PATCH 3/3] Makefile: fix readelf usage

2013-07-01 Thread Lubomir Popov
> Some OS (like OS X) do not provide a generic readelf. We should enforce to use > the toochain provided readelf instead, to do so use $(CROSS_COMPILE)readelf. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___ U-Boot mailing list

Re: [U-Boot] Pull request: nand flash

2013-07-01 Thread Tom Rini
On Fri, Jun 28, 2013 at 11:46:37AM -0500, Scott Wood wrote: > The following changes since commit 2f998071254d566c71c34ef013aef1d9d0ec0fa3: > > image: Use ENOENT instead of ENOMEDIUM for better compatibility (2013-06-17 > 09:56:42 -0400) > > are available in the git repository at: > > git:/

[U-Boot] [PATCH 2/3] btrfs: Fix crash while path parsing

2013-07-01 Thread Stefan Agner
When parsing a path with a leading slash, the root inode was freed which lead to a crash. Path parsing is now improved and allows leading slashs like other filesystem commands (e.g. ext4load). Signed-off-by: Stefan Agner --- fs/btrfs/btrfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

[U-Boot] [PATCH 1/3] btrfs: use PLATFORM_NO_UNALIGNED to allow unaligned access

2013-07-01 Thread Stefan Agner
Reading the super block leads to data abort crashes. Enabling the no unaligned option works around this. Since the format of the super block is fixed by the on-disk format unaligned access might by necessary in order to have btrfs support at all. Signed-off-by: Stefan Agner --- fs/btrfs/Make

[U-Boot] [PATCH 3/3] btrfs: removed btrfs_mangle_name

2013-07-01 Thread Stefan Agner
The function btrfs_mangle_name limited path lenght to 20 characters. Since the command parsing already checks spaces, the function is not needed at all. --- fs/btrfs/btrfs.c | 44 +--- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/fs/btrfs

[U-Boot] [PATCH 0/3] btrfs fixes

2013-07-01 Thread Stefan Agner
Hi, My goal was booting from an ArchLinux btrfs filesystem on a BeagleBone Black (am335x_evm). Therefor I patched U-Boot 2013.07-rc1 with the patches sent in May by Adnan Ali (btrfs v12). After some tweaks and help from the IRC channel I could successfully load the Kernel and the Device Tree

Re: [U-Boot] U-boot-2012.04 compilation for qemu-mips board

2013-07-01 Thread Wolfgang Denk
Dear krishna dwivedi, In message you wrote: > > Thanks for yours valuable time and support.U-boot got compiled for > qemu-mips board. You really should read up on Netiquette, like [1] in general, and especially [2] [1] http://www.catb.org/~esr/faqs/smart-questions.html [2] http://www.catb.org/

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-01 Thread Wolfgang Denk
Dear Mike Dunn, In message <51d1c455.9010...@newsguy.com> you wrote: > > But there's a good motivation for wanting to turn off optimization. I disagree here. If you are hunting down a problem, you want to be as close at the original code as possible. Disabling optimization is such a dramatic ch

Re: [U-Boot] [PATCH 0/3 v2] video: lcd: splash screen prepare changes

2013-07-01 Thread Anatolij Gustschin
Hello Robert, On Wed, 26 Jun 2013 16:00:20 -0700 Robert Winkler wrote: > Hello all, > > I haven't heard from anyone but Igor. Does that mean it looks good? Sorry for delay, I've applied this series now. Thanks! Anatolij ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Jeroen Hofstee
Hello Andreas, On 07/01/2013 08:45 PM, Jeroen Hofstee wrote: Hello Andreas, On 06/30/2013 01:15 PM, Andreas Bießmann wrote: BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple define for them. Signed-off-by: Andreas Bießmann --- +#ifndef REG_NOERROR +/* BSD regex.

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-01 Thread Robert Nelson
On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > Hey all, > > I've tagged and pushed v2013.07-rc2. A bit more over the place than I > should have gone, but picked up a lot of things that have been > outstanding for a while. The big thing is a refactor of the boot loop. > Everything should be w

[U-Boot] [PATCH v4 1/1] socfpga: Adding configuration for development kit

2013-07-01 Thread Chin Liang See
socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the patch Changes for v4: - Added change log f

Re: [U-Boot] [PATCH] bmp: Respect "splashpos" if it is defined

2013-07-01 Thread Anatolij Gustschin
Hello Otavio, Sorry for delay. On Thu, 6 Jun 2013 14:57:23 -0300 Otavio Salvador wrote: ... > +#ifdef CONFIG_SPLASH_SCREEN_ALIGN > + s = getenv("splashpos"); > + if (s != NULL) { > + if (s[0] == 'm') > + x = BMP_ALIGN_CENTER; > + else > +

[U-Boot] [PATCH] video: consolidate splash screen alignment code

2013-07-01 Thread Anatolij Gustschin
Code for checking "splashpos" environment variable is duplicated in drivers, move it to the common function. Call this function also in the bmp display command to consider "splashpos" settings. Signed-off-by: Anatolij Gustschin --- common/cmd_bmp.c|3 +++ common/lcd.c

[U-Boot] Pull request: u-boot-video/master

2013-07-01 Thread Anatolij Gustschin
Hello Tom, The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 327598945b1365ca6ba3fe96c9bd45320999

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Prafulla Wadaskar
> -Original Message- > From: Frédéric Leroy [mailto:fr...@starox.org] > Sent: 01 July 2013 18:28 > To: u-boot@lists.denx.de > Cc: Wolfgang Denk; Prafulla Wadaskar; Albert ARIBAUD; > Simon Guinot > Subject: [PATCH v3 0/3] arm: add support for LaCie > CloudBox > > This series adds support fo

Re: [U-Boot] [PATCH] video: consolidate splash screen alignment code

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:04 PM, Anatolij Gustschin wrote: > Code for checking "splashpos" environment variable is > duplicated in drivers, move it to the common function. > Call this function also in the bmp display command to > consider "splashpos" settings. > > Signed-off-by: Anatolij Gustschin

Re: [U-Boot] [PATCH] bmp: Respect "splashpos" if it is defined

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:01 PM, Anatolij Gustschin wrote: > Hello Otavio, > > Sorry for delay. > > On Thu, 6 Jun 2013 14:57:23 -0300 > Otavio Salvador wrote: > ... >> +#ifdef CONFIG_SPLASH_SCREEN_ALIGN >> + s = getenv("splashpos"); >> + if (s != NULL) { >> + if (s[0] == 'm')

[U-Boot] [PATCH v3 1/1] socfpga: Creating driver for Reset Manager

2013-07-01 Thread Chin Liang See
Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the long subject of the patch - C

[U-Boot] [PATCH v4 2/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the

[U-Boot] [PATCH v4 1/2] socfpga: Adding System Manager driver

2013-07-01 Thread Chin Liang See
Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen --- Changes for v2: - Fixed the word wrap issue within

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

2013-07-01 Thread Otavio Salvador
On Mon, Jul 1, 2013 at 7:13 PM, Anatolij Gustschin wrote: > Hello Tom, > > The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: > > Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-video.git master

[U-Boot] test HYP mode in arch/arm/cpu/armv7/start.S

2013-07-01 Thread TigerLiu
Hi, experts: I found it would determine whether CPU was in HYP mode or not before switching to SVC mode in reset handler. So, why need to test HYP mode? So, which case could cause CPU in HYP mode during U-Boot boot stage? Best wishes, ___ U-Boot mailing

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-07-01 Thread Simon Glass
Hi, On Mon, Jul 1, 2013 at 7:28 PM, Inderpal Singh wrote: > Hi Simon, > > > On 28 June 2013 21:20, Simon Glass wrote: > >> Hi Inderpal, >> >> On Thu, Jun 20, 2013 at 12:10 AM, Inderpal Singh < >> inderpal.si...@linaro.org> wrote: >> >>> Hi Simon, >>> >>> Thanks for review. >>> >>> >>> On 11 June

Re: [U-Boot] [PATCH v2] net: Use ARRAY_SIZE at appropriate places

2013-07-01 Thread Axel Lin
>>> diff --git a/drivers/net/npe/IxEthDBFeatures.c >>> b/drivers/net/npe/IxEthDBFeatures.c >>> index c5b680a..d43efaa 100644 >>> --- a/drivers/net/npe/IxEthDBFeatures.c >>> +++ b/drivers/net/npe/IxEthDBFeatures.c >>> @@ -143,22 +143,22 @@ void ixEthDBFeatureCapabilityScan(void) >>>

[U-Boot] [PATCH 1/2][v2] board/bsc9132qds: Add DSP side tlb and laws

2013-07-01 Thread Priyanka Jain
BSC9132QDS is a Freescale Reference Design Board for BSC9132 SoC which is a integrated device that contains two powerpc e500v2 cores and two DSP starcores. To support DSP starcore -Creating LAW and TLB for DSP-CCSR space. -Creating LAW for DSP-core subsystem M2 and M3 memory -Creating LAW for 1GB

  1   2   >