Re: [U-Boot] [PATCH V5 1/3] Initial support for Marvell Orion5x SoC

2010-04-08 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Friday, April 09, 2010 10:55 AM > To: Prafulla Wadaskar > Cc: U-Boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V5 1/3] Initial support for > Marvell Orion5x SoC > > Prafulla Wadaskar a écrit : > > D

Re: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order.

2010-04-08 Thread Stefan Roese
Hi David, On Thursday 08 April 2010 17:47:46 David Wu wrote: > > I didn't mean that you should split this patch, but that you should > > split it > > from your *patchset* of 7 parts. Resulting in a patchset with 6 parts > > ([PATCH > > 1/6] ...) and one single patch. This way it's easier for me to

Re: [U-Boot] [PATCH V5 3/3] Add support for the LaCie ED Mini V2 board

2010-04-08 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Friday, April 09, 2010 2:41 AM > To: U-Boot@lists.denx.de > Subject: [U-Boot] [PATCH V5 3/3] Add support for the LaCie ED > Mini V2 board > > This patc

Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?

2010-04-08 Thread Stefan Roese
Hi Prakash, On Friday 09 April 2010 07:26:37 prakash bedge wrote: > In U-boot I am not seeing the support for Spansion S29GL512P NOR flash. > > This chip is CFI compliant so I believe the common CFI driver should work > with this chip. > > Does U-boot supports S29GL512P NOR flash or I have to im

[U-Boot] [PATCH v2 1/2] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Dave Liu
After power on, the SATA host controller of P1022 Rev1 is configured in legacy mode instead of the expected enterprise mode. Software needs to clear bit[28] of HControl register to change to enterprise mode after bringing the host offline. Signed-off-by: Dave Liu --- * address the second comment

[U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?

2010-04-08 Thread prakash bedge
Hi, In U-boot I am not seeing the support for Spansion S29GL512P NOR flash. This chip is CFI compliant so I believe the common CFI driver should work with this chip. Does U-boot supports S29GL512P NOR flash or I have to implement the functionality to support S29GL512P? If anyone has tried with

Re: [U-Boot] [PATCH V5 1/3] Initial support for Marvell Orion5x SoC

2010-04-08 Thread Albert ARIBAUD
Prafulla Wadaskar a écrit : > Dear Albert >> +++ b/cpu/arm926ejs/orion5x/Makefile >> @@ -0,0 +1,55 @@ >> +# >> +# Copyright (C) 2009 Albert ARIBAUD > > General comment for all files, > You should change copyright statement for year 2010 instead of 2009 Drat--didn't realize this. :o) > +#defin

Re: [U-Boot] [PATCH v1 1/2] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 6:32 PM, Dave Liu wrote: > After power on, the SATA host controller of P1022 Rev1 is configured > in legacy mode instead of the expected enterprise mode. > > Software needs to clear bit[28] of HControl register to change to > enterprise mode after bringing the host offline. >

Re: [U-Boot] [PATCH v1 1/2] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 8:15 PM, Timur Tabi wrote: > On Thu, Apr 8, 2010 at 6:32 PM, Dave Liu wrote: > >> +#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_FSL_SATA_ERRATUM_A001) > > Is there ever a situation where CONFIG_FSL_SATA_ERRATUM_A001 is > defined but CONFIG_FSL_SATA_V2 is not defined? N

Re: [U-Boot] [PATCH V5 1/3] Initial support for Marvell Orion5x SoC

2010-04-08 Thread Prafulla Wadaskar
Dear Albert > -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Friday, April 09, 2010 2:41 AM > To: U-Boot@lists.denx.de > Subject: [U-Boot] [PATCH V5 1/3] Initial support for Marvell > Orion5x SoC > > Th

Re: [U-Boot] [PATCH v1 1/2] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Timur Tabi
On Thu, Apr 8, 2010 at 6:32 PM, Dave Liu wrote: > +#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_FSL_SATA_ERRATUM_A001) Is there ever a situation where CONFIG_FSL_SATA_ERRATUM_A001 is defined but CONFIG_FSL_SATA_V2 is not defined? -- Timur Tabi Linux kernel developer at Freescale _

[U-Boot] [PATCH v1 2/2] fsl_sata: Move the snoop bit to another place

2010-04-08 Thread Dave Liu
For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28. Signed-off-by: Dave Liu --- * address Kumar's comments drivers/block/fsl_sata.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/block/fsl_sata.h b/drivers/block/fsl_sata.h in

[U-Boot] [PATCH v1 1/2] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Dave Liu
After power on, the SATA host controller of P1022 Rev1 is configured in legacy mode instead of the expected enterprise mode. Software needs to clear bit[28] of HControl register to change to enterprise mode after bringing the host offline. Signed-off-by: Dave Liu --- * address Kumar's comments

Re: [U-Boot] [PATCH] Add KGDB support for ARM platforms

2010-04-08 Thread Mike Frysinger
On Thursday 08 April 2010 05:40:02 Tonny Tzeng wrote: > --- a/common/kgdb.c > +++ b/common/kgdb.c > @@ -220,6 +220,29 @@ hexToInt(char **ptr, int *intValue) >return (numChars); > } > > +/* Handle the 'z' or 'Z' breakpoint remove or set packets */ > +static void gdb_cmd_break(kgdb_data *kd

[U-Boot] [PATCH V5 3/3] Add support for the LaCie ED Mini V2 board

2010-04-08 Thread Albert Aribaud
This patch adds support for the LaCie ED Mini V2 product which is based on the Marvell Orion5x SoC. Signed-off-by: Albert Aribaud --- MAINTAINERS|4 + MAKEALL|1 + Makefile |3 + boa

[U-Boot] [PATCH V5 2/3] Add Orion5x support to 16550 device driver

2010-04-08 Thread Albert Aribaud
This patch provides access to the 16550-compatible serial device of the Orion5x SoC. Signed-off-by: Albert Aribaud --- drivers/serial/serial.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index dd5f332..18686a2 10064

[U-Boot] [PATCH V5 1/3] Initial support for Marvell Orion5x SoC

2010-04-08 Thread Albert Aribaud
This patch adds support for the Marvell Orion5x SoC. It has no use alone, and must be followed by a patch to add Orion5x support for serial, then support for the ED Mini V2, an Orion5x-based product from LaCie. Signed-off-by: Albert Aribaud --- Patchset history V1: Initial monolithic patch. V2:

[U-Boot] Pull request: u-boot-usb

2010-04-08 Thread Remy Bohmer
The following changes since commit a233631095eba3e853049f6656642e3a7ef1d73c: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash are available in the git repository at: git://git.denx.de/u-boot-usb.git master Kim B. Heino (2): USB storage count

Re: [U-Boot] Please pull u-boot-mpc85xx

2010-04-08 Thread Timur Tabi
On Wed, Apr 7, 2010 at 5:23 PM, Wolfgang Denk wrote: > Applied, thanks. Wolfgang, would you also please apply my two print_size() patches? They're not 85xx-specific, but I posted them to this list around the same time. -- Timur Tabi Linux kernel developer at Freescale _

Re: [U-Boot] U-boot env variables parsing

2010-04-08 Thread Joakim Tjernlund
Detlev Zundel wrote on 2010-04-08 18:06:40: > > Hi Jocke, Hi again :) > > [...] > > > Since an escape char appear to exist, one should be able to use it much > > like you > > did above so I don't think that any use case disappears. Instead the common > > usage > > becomes simpler and the so fa

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Scott Wood
On Thu, Apr 08, 2010 at 02:27:01AM -0500, Kumar Gala wrote: > > On Apr 8, 2010, at 1:14 AM, Liu Dave-R63238 wrote: > > >>> @@ -369,8 +370,8 @@ static int fsl_diu_enable_panel(struct > >> fb_info *info) > >>> struct diu_ad *ad = &fsl_diu_fb_ad; > >>> > >>> debug("Entered: enable_panel\n"); >

Re: [U-Boot] [PATCH v2] mpc512x_fec: Move PHY initialization from probe into init routine.

2010-04-08 Thread Ben Warren
Hi Detlev, On 4/8/2010 2:49 AM, Detlev Zundel wrote: > This saves the autonegotation delay when not using ethernet in U-Boot > > Signed-off-by: Detlev Zundel > --- > drivers/net/mpc512x_fec.c | 29 +++-- > 1 files changed, 7 insertions(+), 22 deletions(-) > > Changes f

Re: [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25

2010-04-08 Thread Ben Warren
Hi John, On 4/7/2010 10:29 PM, John Rigby wrote: > Avoid using the internal eeprom onf MX25 > like MX51 already does. > > Signed-off-by: John Rigby > CC: Ben Warren > --- > drivers/net/fec_mxc.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/fec_mxc

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Timur Tabi
On Thu, Apr 8, 2010 at 10:50 AM, Kumar Gala wrote: > Good point, I wasn't look at what the src info was.  We should probably fix > the struct diu_ad, diu to use 'u32' etc. Or __be32. I think the consensus is that struct fields for hardware registers should use endian-specific sized integers.

Re: [U-Boot] U-boot env variables parsing

2010-04-08 Thread Detlev Zundel
Hi Jocke, [...] > Since an escape char appear to exist, one should be able to use it much like > you > did above so I don't think that any use case disappears. Instead the common > usage > becomes simpler and the so far artificial use case needs an extra escape char. Hm. I have to admit that

Re: [U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot

2010-04-08 Thread Stefano Babic
John Rigby wrote: > Replace call to imx_get_mpllclk with imx_get_armclk > to show frequency of ARM core instead of mpll internal > bus in print_cpuinfo. > > Signed-off-by: John Rigby > CC: Stefano Babic > --- > cpu/arm926ejs/mx25/generic.c |2 +- > 1 files changed, 1 insertions(+), 1 deleti

[U-Boot] [PATCH 1/2] config_cmd_all.h: added missing CONFIG_CMD_UBI and CONFIG_CMD_UBIFS

2010-04-08 Thread Detlev Zundel
From: Frans Meulenbroeks Signed-off-by: Frans Meulenbroeks --- include/config_cmd_all.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index 058fdf1..1cb7067 100644 --- a/include/config_cmd_all.h +++ b/include/config

[U-Boot] [PATCH 2/2] config_cmd_all.h: Sort entries alphabetically

2010-04-08 Thread Detlev Zundel
Signed-off-by: Detlev Zundel --- include/config_cmd_all.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index 1cb7067..746bf18 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -15,6 +15,7 @@

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 5:11 AM, Wolfgang Denk wrote: > Dear "Liu Dave-R63238", > > In message > you > wrote: >> >>> 'ad' should be cast to a u32, not an "unsigned int". You >>> shouldn't compare a sized type with an unsized type. > ... > >> The u32 is same as "unsigned int". > > Maybe, maybe

[U-Boot] [PATCH] command.c: Enable auto tab for the editenv command

2010-04-08 Thread Ralf Trübenbach
Enable the auto completion (with TAB) of the environment variable name after the editenv command. Signed-off-by: Ralf Trübenbach --- === modified file 'common/command.c' (properties changed: -x to +x) --- common/command.c2009-11-22 23:06:11 + +++ common/command.c2010-04-08 15:12:44

Re: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order.

2010-04-08 Thread David Wu
Hi Stefan, On Thu, 08 Apr 2010 11:21:45 -0400, Stefan Roese wrote: > Hi David, > > On Thursday 08 April 2010 17:16:26 David Wu wrote: >> I am new here and I am not quite clear about how to split this patch. >> Any suggestion? > > I didn't mean that you should split this patch, but that you shoul

Re: [U-Boot] U-boot env variables parsing

2010-04-08 Thread Joakim Tjernlund
Detlev Zundel wrote on 2010-04-08 12:00:05: > > Hi Jocke, Hi Detlev :) > > >> > > To me it looks like the new code would indeed do a "greedy" > >> > > substitution > >> > > only stopping when no more substitutions can be done. This is very > >> > > un-unixy and thus not something I'd like to s

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-08 Thread Detlev Zundel
Hi Ben, >>> Add a new function to the eth_device struct for programming a network >>> controller's hardware address. >>> >>> After all network devices have been initialized and the proper MAC address >>> for >>> each has been determined, make a device driver call to program the address >>> into t

Re: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order.

2010-04-08 Thread Stefan Roese
Hi David, On Thursday 08 April 2010 17:16:26 David Wu wrote: > I am new here and I am not quite clear about how to split this patch. > Any suggestion? I didn't mean that you should split this patch, but that you should split it from your *patchset* of 7 parts. Resulting in a patchset with 6 part

Re: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order.

2010-04-08 Thread David Wu
Hi Stefan, I am new here and I am not quite clear about how to split this patch. Any suggestion? Regards, David On Thu, 08 Apr 2010 05:35:35 -0400, Stefan Roese wrote: > On Thursday 08 April 2010 02:00:23 David Wu wrote: >> The device id for this Flash is 0xc8. >> >> Signed-off-by: David Wu

[U-Boot] usb EHCI failing with 'EHCI fail timeout STD_ASS reset'

2010-04-08 Thread Dan Lykowski
Hi everyone, I've seen this question posted a few times in the past with no answer. Since I was having the same problem, I thought I would share the solution I came up with. I'll try to provide a patch if I can get my mess cleaned up. After some digging, I was able to see the EHCI HC getting a Ma

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

2010-04-08 Thread Anatolij Gustschin
Dear Wolfgang, The following changes since commit a233631095eba3e853049f6656642e3a7ef1d73c: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash are available in the git repository at: git://git.denx.de/u-boot-video.git master Anatolij Gustschin (2):

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Brian Hutchinson
Hi Wolfgang, >> I noticed my malloc pool was only 128k so I changed that to 256 and it >> didn't help. >> >> CFG_MONITOR_LEN is set to 256k, the same size as a flash sector. > > Well, and what hapopens when you inclrease the malloc size to - say - > 1024 kB ? > About a hour before your post, I tr

Re: [U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG

2010-04-08 Thread Anatolij Gustschin
On Thu, 8 Apr 2010 16:31:54 +0200 Anatolij Gustschin wrote: > Fixes this warning: > > ati_radeon_fb.c: In function 'radeon_probe': > ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int', > but argument 2 has type 'void *' > > Signed-off-by: Anatolij Gustschin > --- > drivers

Re: [U-Boot] [PATCH V2] ati_radeon: Support PCI virtual not eq bus mapping.

2010-04-08 Thread Anatolij Gustschin
On Wed, 31 Mar 2010 15:52:40 -0500 Ed Swarthout wrote: > Use pci_bus_to_virt() to convert the bus address from the BARs to > virtual address' to eliminate the direct mapping requirement. > > Rename variables to better match usage (_phys -> _bus or no-suffix) > > This fixes the mpc8572ds CONFIG_

Re: [U-Boot] [PATCH] ati_radeon: return error with when emulator fails

2010-04-08 Thread Anatolij Gustschin
On Wed, 31 Mar 2010 09:54:28 -0500 Ed Swarthout wrote: > Console was being switched to video even if emulator fails and > causing this hang: > >Scanning PCI bus 04 > 04 00 1095 3132 0104 00 > PCIE3 on bus 03 - 04 > Video: ATI Radeon video card (1002, 5b60) found

[U-Boot] [PATCH] video: ati_radeon_fb.c: fix warning while compiling with DEBUG

2010-04-08 Thread Anatolij Gustschin
Fixes this warning: ati_radeon_fb.c: In function 'radeon_probe': ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'void *' Signed-off-by: Anatolij Gustschin --- drivers/video/ati_radeon_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-

Re: [U-Boot] [PATCH] video: cfb_console.c: add support for RLE8 bitmaps

2010-04-08 Thread Anatolij Gustschin
On Mon, 15 Mar 2010 14:50:25 +0100 Anatolij Gustschin wrote: > Allow displaying 8-bit RLE BMP images. > > Signed-off-by: Anatolij Gustschin > --- > README |6 ++ > drivers/video/cfb_console.c | 200 > ++- > 2 files changed, 204

Re: [U-Boot] Problem with u-boot-2009.08.tar.bz2

2010-04-08 Thread Wolfgang Denk
Dear Ronny D, In message <606657.96511...@web46112.mail.sp1.yahoo.com> you wrote: > --0-933404002-1270734065=:96511 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: quoted-printable > > I am using u-boot-2009.08.tar.bz2 version for my board. while compiling the= > u-bo

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Wolfgang Denk
Dear Brian Hutchinson, In message you wrote: > > > A load address of 0x8000 / entry point of 0x8000 is pretty > > certainly bogus on a ARM system, which typically has ROM at this > > address range. =A0Are you sure that you have unused RAM there on your > > system? > > Yes, again, every

Re: [U-Boot] [u-boot-release] [PATCH 3/3] fsl_sata: Move the snoop bit to another place

2010-04-08 Thread Liu Dave-R63238
> > +#ifdef CONFIG_P1022 > > This should be something like CONFIG_FSL_SATA_V2. While > P1022 is the first others will need this change and its more > specific the the 2nd generation of the SATA HW IP block. Good idea, CONFIG_FSL_SATA_V2 is better. __

Re: [U-Boot] [u-boot-release] [PATCH 2/3] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Liu Dave-R63238
> > @@ -191,6 +192,19 @@ int init_sata(int dev) > > /* Wait the controller offline */ > > ata_wait_register(®->hstatus, HSTATUS_ONOFF, 0, 1000); > > > > +#ifdef CONFIG_SYS_P1022_ERRATUM_SATA-A001 > > This should just be #ifdef CONFIG_SYS_FSL_SATA_ERRATUM_A001 > (the A001 # is not specifi

Re: [U-Boot] [u-boot-release] [PATCH 3/3] fsl_sata: Move the snoop bit to another place

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 2:58 AM, Dave Liu wrote: > For P1022 SATA host controller, the data snoop bit of DW3 in PRDT > is moved to bit28. > > Signed-off-by: Dave Liu > --- > drivers/block/fsl_sata.h |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/drivers/block/fsl_sa

[U-Boot] [PATCHv2 13/13] mop500: add board-specific files

2010-04-08 Thread Rabin Vincent
Add base board code for the MOP500 board, which uses the U8500 SoC. Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- MAINTAINERS |4 ++ MAKEALL |9 +++ Makefile |9 +++- board/stericsson/mop500/Makefil

[U-Boot] [PATCHv2 12/13] pl01x: add support for Ux500 variant of pl011

2010-04-08 Thread Rabin Vincent
The Ux500 variants of the pl011 have separate LCRH registers for RX and TX. The TX register is at the same offset as the unmodified pl011, so we need to additionally program only the RX register. Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- drivers/serial/serial_pl01x.c |8 +++

[U-Boot] [PATCHv2 11/13] ux500: add SoC-specific code

2010-04-08 Thread Rabin Vincent
Add the base SoC code for ST-Ericsson's Ux500 series of Cortex A9 based SoCs. Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm_cortexa9/ux500/Makefile | 45 ++ cpu/arm_cortexa9/ux500/clock.c| 56 +++ cpu/arm_cortexa9/ux500/c

[U-Boot] [PATCHv2 10/13] ARM Cortex A9: ifdef code calling lowlevel init

2010-04-08 Thread Rabin Vincent
Conditionally compile the code calling lowlevel_init, to avoid the following build error when CONFIG_SKIP_LOWLEVEL_INIT is defined: start.S:218: undefined reference to `lowlevel_init' Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm_cortexa9/start.S |4 +++- 1 files chan

[U-Boot] [PATCHv2 09/13] arm: add Cortex A9 support

2010-04-08 Thread Rabin Vincent
Add Cortex A9 support by copying the code for Cortex A8. The only change is a removal of some OMAP3 specific code. Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/{arm_cortexa8 => arm_cortexa9}/Makefile |0 cpu/{arm_cortexa8 => arm_cortexa9}/config.mk |0 cpu/{arm_cort

[U-Boot] [PATCHv2 01/13] Nomadik: move nomadik.h to asm/arch/nhk8815.h

2010-04-08 Thread Rabin Vincent
It contains only 8815-specific addresses, so move it to an appropriate location and name, freeing up the nomadik.h name for common Nomadik-family peripherals. Cc: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- .../{nomadik.h => asm-arm/arch-nomadik/nmdk8815.h} |

[U-Boot] [PATCHv2 03/13] Nomadik: timer: remove header and use C structs

2010-04-08 Thread Rabin Vincent
Eliminate register address #defines by using C structs, and move the rest of the header contents into timer.c. Cc: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm926ejs/nomadik/timer.c | 45 ++-- include/asm-arm/arch-nomadik/mtu.h

[U-Boot] [PATCHv2 06/13] nomadik-gpio: check for invalid gpio numbers

2010-04-08 Thread Rabin Vincent
Cc: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- drivers/gpio/nomadik_gpio.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/nomadik_gpio.c b/drivers/gpio/nomadik_gpio.c index 670b684..d084235 100644 --- a/dri

[U-Boot] [PATCHv2 08/13] nomadik-mtu: support configurable clock rates

2010-04-08 Thread Rabin Vincent
Change the Nomadik MTU driver to get the clock rate and prescaler from the config file. Also remove the hardcoded divisors and do the calculations based on the configured rate. Acked-by: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- drivers/misc/nomadik_mtu.c |

[U-Boot] [PATCHv2 04/13] Nomadik: move timer code to drivers/misc

2010-04-08 Thread Rabin Vincent
The Nomadik MTU driver will also be used on the U8500 SoC, so move it out of platform-specific code. Acked-by: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm926ejs/nomadik/Makefile |2 +- drivers/misc/Makefile

[U-Boot] [PATCHv2 07/13] nomadik-gpio: get base address from platform code

2010-04-08 Thread Rabin Vincent
Change the Nomadik GPIO driver to get the base addresses from platform specific code, since it will be used on multiple platforms with different base addresses. Acked-by: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- board/st/nhk8815/nhk8815.c |9 + d

[U-Boot] [PATCHv2 02/13] Nomadik: timer: push down single-use macros

2010-04-08 Thread Rabin Vincent
Eliminate some single-use macros. USEC_TO_COUNT and COUNT_TO_USEC are replaced in a later patch. Cc: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm926ejs/nomadik/timer.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cpu/arm92

[U-Boot] [PATCHv2 05/13] Nomadik: move gpio driver to drivers/gpio

2010-04-08 Thread Rabin Vincent
The Nomadik GPIO driver will also be used on the U8500 SoC, so move it out of platform-specific code. Acked-by: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- board/st/nhk8815/nhk8815.c |2 +- cpu/arm926ejs/nomadik/Makefile

[U-Boot] [PATCHv2 00/13] ST-Ericsson Ux500 support

2010-04-08 Thread Rabin Vincent
v2: Addressed review comments. This series adds base support for ST-Ericsson's Ux500 series of Cortex-A9 based SoCs. Several peripherals are shared with the Nomadik family, for which support already exists in U-Boot. Rabin Vincent (13): Nomadik: move nomadik.h to asm/arch/nhk8815.h Nomadik:

Re: [U-Boot] [u-boot-release] [PATCH 2/3] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 2:58 AM, Dave Liu wrote: > After power on, the SATA host controller of P1022 Rev1 is configured > in legacy mode instead of the expected enterprise mode. > > software needs to clear bit[28] of HControl register to change to > enterprise mode after bringing the host offline. >

Re: [U-Boot] [PATCH 8/8] mop500: add board-specific files

2010-04-08 Thread Rabin VINCENT
On Sun, Mar 28, 2010 at 07:49:15PM +0200, Tom wrote: > Rabin Vincent wrote: > > + /* UART2 */ > > + nmk_gpio_af(29, GPIO_ALT_C); > > + nmk_gpio_af(30, GPIO_ALT_C); > > Change these to immediates to logical #define's I've changed this in the other places you mentioned, but for these GPIOs, I

[U-Boot] Problem with u-boot-2009.08.tar.bz2

2010-04-08 Thread Ronny D
I am using u-boot-2009.08.tar.bz2 version for my board. while compiling the u-boot in debug mode i am getting following error. Please let me know if there is any fixup for this issue. werpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Iinclude  -Wall -Wstri

Re: [U-Boot] [PATCH] mmc: modified calculated mmc-capacity & set mmc trans_speed

2010-04-08 Thread Minkyu Kang
On 8 April 2010 12:36, Jae hoon Chung wrote: > The patches do the following > 1. If mmc size is more than 2GB , we need to calculated using the > extended csd register. > 2. mmc_set_clock() is hard setting, that is not good solution. > > If mmc is not MMC_MODE_HS, mmc will set card's trans_speed.

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Brian Hutchinson
Hi Wolfgang, >> > ... which to my understanding is intended to allow you to save RAM by >> > using a env. smaller than your sector size which is my case. > > This has nothing to do with saving RAM. > You are right (as usual). I was searching the archives before I started posting and I read somet

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Brian Hutchinson
On Thu, Apr 8, 2010 at 6:08 AM, Wolfgang Denk wrote: > Dear Brian Hutchinson, > > In message > you wrote: >> > ... >> > ## Booting image at 0020 ... >> >   Image Name:   Linux-2.6.28-picochip-3.2.0 >> >   Created:      2010-04-05  19:24:18 UTC >> >   Image Type:   ARM Linux Kernel Image (unc

Re: [U-Boot] [PATCH] config_cmd_all.h: added missing CONFIG_CMD_UBI and CONFIG_CMD_UBIFS

2010-04-08 Thread Detlev Zundel
Hi Frans, > Signed-off-by: Frans Meulenbroeks > --- > include/config_cmd_all.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h > index 058fdf1..1cb7067 100644 > --- a/include/config_cmd_all.h > +++ b/include/confi

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Wolfgang Denk
Dear "Liu Dave-R63238", In message you wrote: > > > 'ad' should be cast to a u32, not an "unsigned int". You > > shouldn't compare a sized type with an unsized type. ... > The u32 is same as "unsigned int". Maybe, maybe not. If you want to be safe, then compare u32 with u32 only. Best regar

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Wolfgang Denk
Dear Brian Hutchinson, In message you wrote: > ... > > ## Booting image at 0020 ... > > Image Name: Linux-2.6.28-picochip-3.2.0 > > Created: 2010-04-05 19:24:18 UTC > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size:1700808 Bytes = 1.6 MB > > Load Ad

Re: [U-Boot] Adding new partition in uboot

2010-04-08 Thread Detlev Zundel
Hi Wolfgang, > Dear David Gibson, > > In message <20100401185147.ga17...@yookeroo> you wrote: >> >> > Let me know if we need to increase size of the blob or something which i m >> > missing. >> > This is going to help a lot if you can reply. >> >> For this case where there's a flash partition th

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Wolfgang Denk
Dear Brian Hutchinson, In message you wrote: > > > Looks like the malloc of up_data (which is 0x3) is failing. So maybe you want to increase the size of the malloc arena? > > My env size is 0x1 so why am I trying to malloc 0x3? To have room for two copies of the environment sector

Re: [U-Boot] Getting "Unable to save the rest of sector (196608)" when I turn on Redundant env with CFG_ENV_ADDR_REDUND

2010-04-08 Thread Wolfgang Denk
Dear Brian Hutchinson, In message you wrote: > > > #if CFG_ENV_SECT_SIZE > CFG_ENV_SIZE > >up_data = (end_addr_new + 1 - ((long)flash_addr_new + CFG_ENV_SIZE)); > >debug ("Data to save 0x%x\n", up_data); > >if (up_data) { > >if ((saved_data = malloc(up_dat

Re: [U-Boot] U-boot env variables parsing

2010-04-08 Thread Detlev Zundel
Hi Jocke, >> > > To me it looks like the new code would indeed do a "greedy" substitution >> > > only stopping when no more substitutions can be done. This is very >> > > un-unixy and thus not something I'd like to see as a default behaviour. >> > >> > Why not? What is gained by the current metho

[U-Boot] [PATCH v2] mpc512x_fec: Move PHY initialization from probe into init routine.

2010-04-08 Thread Detlev Zundel
This saves the autonegotation delay when not using ethernet in U-Boot Signed-off-by: Detlev Zundel --- drivers/net/mpc512x_fec.c | 29 +++-- 1 files changed, 7 insertions(+), 22 deletions(-) Changes from v1: - Use mac address from dev structure instead of environment

[U-Boot] [PATCH] Add KGDB support for ARM platforms

2010-04-08 Thread Tonny Tzeng
These patches add kgdb support for ARM platforms. The add and invocation of the bad_restore_user_regs macro in cpu/arm720t/start.S should be made to other cpu/arm*/start.S files as well. Signed-off-by: Tonny Tzeng ---  common/kgdb.c          |   30 ++  cpu/arm720t/start.S    |    7 ++  inclu

Re: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order.

2010-04-08 Thread Stefan Roese
On Thursday 08 April 2010 02:00:23 David Wu wrote: > The device id for this Flash is 0xc8. > > Signed-off-by: David Wu > --- > drivers/mtd/cfi_flash.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c > index

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-08 Thread Joakim Tjernlund
Kim Phillips wrote on 2010-04-08 10:27:03: > > On Thu, 8 Apr 2010 09:49:08 +0300 > Michael Zaidman wrote: > > > On Wed, Apr 7, 2010 at 7:01 PM, Joakim Tjernlund > > wrote: > > >> > > >> On Wed, Apr 7, 2010 at 6:10 PM, Timur Tabi wrote: > > >> > On Wed, Apr 7, 2010 at 9:47 AM, Michael Zaidman >

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-08 Thread Kim Phillips
On Thu, 8 Apr 2010 09:49:08 +0300 Michael Zaidman wrote: > On Wed, Apr 7, 2010 at 7:01 PM, Joakim Tjernlund > wrote: > >> > >> On Wed, Apr 7, 2010 at 6:10 PM, Timur Tabi wrote: > >> > On Wed, Apr 7, 2010 at 9:47 AM, Michael Zaidman > >> > wrote: > >> > > >> >> The version #2 of the patch is lo

[U-Boot] [PATCH 3/3] fsl_sata: Move the snoop bit to another place

2010-04-08 Thread Dave Liu
For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28. Signed-off-by: Dave Liu --- drivers/block/fsl_sata.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/block/fsl_sata.h b/drivers/block/fsl_sata.h index 18e88fa..75165ab 100644

[U-Boot] [PATCH 2/3] fsl_sata: Add the workaround for errata SATA-A001

2010-04-08 Thread Dave Liu
After power on, the SATA host controller of P1022 Rev1 is configured in legacy mode instead of the expected enterprise mode. software needs to clear bit[28] of HControl register to change to enterprise mode after bringing the host offline. Signed-off-by: Dave Liu --- drivers/block/fsl_sata.c |

[U-Boot] [PATCH v1 1/3] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Dave Liu
From: Jerry Huang Using PPC I/O accessor to DIU I/O space instead of directly read/write. It will prevent the dozen of compiler order issue and PPC hardware order issue for accessing I/O space. Using the toolchain(tc-fsl-x86lnx-e500-dp-4.3.74-2.i386.rpm) can show up the order issue of DIU driver

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 2:32 AM, Liu Dave-R63238 wrote: > - if (hw->desc[0] != (unsigned int)ad) > - hw->desc[0] = (unsigned int)ad; > + if (in_be32(&hw->desc[0]) != (unsigned int)ad) > + out_be32(&hw->desc[0], ad); >>> 'ad' should be cast to a u32, not an "unsign

Re: [U-Boot] [PATCH] ppc4xx: alpr: Remove some not needed commands to make image fit again

2010-04-08 Thread Pieter Voorthuijsen
Hi Stefan, > The latest changes increased the size of the alpr image a bit more. > Now it doesn't fit into the 256k reserved for it. This patch > now removes the commands "loads" and "loadb" which are not > needed in the production systems. I see that PCI is also enabled again. This is not used

Re: [U-Boot] [PATCH] ppc4xx: alpr: Remove some not needed commands to make image fit again

2010-04-08 Thread Stefan Roese
Hi Pieter, I didn't hear from you for a long time. Hope you are doing well and business is good for Prodrive as always. On Thursday 08 April 2010 09:37:05 Pieter Voorthuijsen wrote: > > The latest changes increased the size of the alpr image a bit more. > > Now it doesn't fit into the 256k reser

[U-Boot] [PATCH] ppc4xx: alpr: Remove some not needed commands to make image fit again

2010-04-08 Thread Stefan Roese
The latest changes increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "loads" and "loadb" which are not needed in the production systems. Signed-off-by: Stefan Roese Cc: Pieter Voorthuijsen --- include/configs/a

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Liu Dave-R63238
> >>> - if (hw->desc[0] != (unsigned int)ad) > >>> - hw->desc[0] = (unsigned int)ad; > >>> + if (in_be32(&hw->desc[0]) != (unsigned int)ad) > >>> + out_be32(&hw->desc[0], ad); > > > >> 'ad' should be cast to a u32, not an "unsigned int". You > >> shouldn't compare a sized type wi

Re: [U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space

2010-04-08 Thread Kumar Gala
On Apr 8, 2010, at 1:14 AM, Liu Dave-R63238 wrote: >>> @@ -369,8 +370,8 @@ static int fsl_diu_enable_panel(struct >> fb_info *info) >>> struct diu_ad *ad = &fsl_diu_fb_ad; >>> >>> debug("Entered: enable_panel\n"); >>> - if (hw->desc[0] != (unsigned int)ad) >>> - hw->desc[0]