Re: [U-Boot] [PATCH 3/3] Update all board to support new bbmiiphy driver (with multibus support)

2009-10-10 Thread Ben Warren
Luigi, Luigi 'Comio' Mantellini wrote: > Signed-off-by: Luigi 'Comio' Mantellini > --- > include/configs/ISPAN.h |4 > include/configs/MPC8260ADS.h |3 +++ > include/configs/MPC8266ADS.h |4 > include/configs/MPC8560ADS.h |4 > include/configs/Rattler.h|

Re: [U-Boot] [PATCH 0/3 v4] New MIIPHYBB implementation with multi-bus support

2009-10-10 Thread Ben Warren
Hi Luigi, Sorry, I'm going to have to ask you to re-submit again :( There are a few things that need to be addressed Luigi 'Comio' Mantellini wrote: > This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to > support an arbitrary number of mii buses. This feature is useful whe

Re: [U-Boot] [PATCH V3 1/3] lib_generic memcpy: copy one word at a time if possible

2009-10-10 Thread Alessandro Rubini
Hello Chris >> +unsigned long *dl = (unsigned long *)dest, *sl = (unsigned long *)src; > Nitpick: Are you sure the casts are necessary here ? Without the one on src it complains because of "const". So I write both for symetry. > + if ( (((ulong)dest | (ulong)src) & (sizeof(*dl) - 1)) ==

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 06:43:52: > > On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund > wrote: > >> > >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell > >> wrote: > >> > Graeme Russ wrote: > >> >> > >> >> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell > >> >> wrote: > >> >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund wrote: > Graeme Russ wrote on 10/10/2009 06:43:52: >> >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund >> wrote: >> >> >> >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >> >> wrote: >> >> > Graeme Russ wrote: >> >> >> >> >> >> On Fri

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 10:46:52: > > On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund > wrote: > > Graeme Russ wrote on 10/10/2009 06:43:52: > >> > >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund > >> wrote: > >> >> > >> >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >

[U-Boot] [PATCH V4 1/3] lib_generic memcpy: copy one word at a time if possible

2009-10-10 Thread Alessandro Rubini
From: Alessandro Rubini If source and destination are aligned, this copies ulong values until possible, trailing part is copied by byte. Thanks for the details to Wolfgang Denk, Mike Frysinger, Peter Tyser, Chris Moore. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Fry

[U-Boot] [PATCH V4 2/3] lib_generic memset: fill one word at a time if possible

2009-10-10 Thread Alessandro Rubini
From: Alessandro Rubini If the destination is aligned, fill ulong values until possible. Then fill remaining part by byte. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Frysinger --- lib_generic/string.c | 22 +++--- 1 files changed, 19 insertions(+

[U-Boot] [PATCH V4 3/3] lcd: remove '#if 0' 32-bit scroll, now memcpy does it

2009-10-10 Thread Alessandro Rubini
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- common/lcd.c | 21 - 1 files changed, 0 insertions(+), 21 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index dc8fea6..4e31618 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -99,

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund wrote: > > > Graeme Russ wrote on 10/10/2009 10:46:52: >> >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund >> wrote: >> > Graeme Russ wrote on 10/10/2009 06:43:52: >> >> >> >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund >> >> wrote: >

[U-Boot] [PATCH 0/3 v5] New MIIPHYBB implementation with multi-bus support

2009-10-10 Thread Luigi 'Comio' Mantellini
This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to support an arbitrary number of mii buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via bit-banging mode. The driver requires that

[U-Boot] [PATCH 3/3 v5] Update all board to support new bbmiiphy driver (with multibus support)

2009-10-10 Thread Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |4 include/configs/MPC8260ADS.h |3 +++ include/configs/MPC8266ADS.h |4 include/configs/MPC8560ADS.h |4 include/configs/Rattler.h|4 include/configs/SBC8540.h|4 in

[U-Boot] [PATCH 1/3 v5] Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses.

2009-10-10 Thread Luigi 'Comio' Mantellini
This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via bit-banging mode. The driver requires that the following macros should be defined into the board configuration file: CONFIG_BITBANGMII - Enable the miiph

[U-Boot] [PATCH 2/3 v5] Add bb_miiphy_init call before any ethernet bring-up code.

2009-10-10 Thread Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |7 +++ lib_avr32/board.c|7 +++ lib_blackfin/board.c |7 +++ lib_i386/board.c |9 - lib_m68k/board.c |7 +++ lib_mips/board.c |7 +++ lib_ppc/board.c |7 +

Re: [U-Boot] [PATCH V4 2/3] lib_generic memset: fill one word at a time if possible

2009-10-10 Thread Joakim Tjernlund
u-boot-boun...@lists.denx.de wrote on 10/10/2009 11:51:16: > From: > > Alessandro Rubini > > To: > > u-boot@lists.denx.de > > Cc: > > stericsson_nomadik_li...@list.st.com, andrea.ga...@stericsson.com > > Date: > > 10/10/2009 11:51 > > Subject: > > [U-Boot] [PATCH V4 2/3] lib_generic memset: fil

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 12:38:19: > > On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund > wrote: > > > > > > Graeme Russ wrote on 10/10/2009 10:46:52: > >> > >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund > >> wrote: > >> > Graeme Russ wrote on 10/10/2009 06:43:52: > >> >> > >>

Re: [U-Boot] [PATCH 0/3 v5] New MIIPHYBB implementation with multi-bus support

2009-10-10 Thread Luigi Mantellini
my log: co...@cartesio:/mnt/devel/olt-ppc/u-boot$ ./MAKEALL ISPAN MPC8260ADS MPC8266ADS MPC8560ADS Rattler sbc8540 VoVPN-GW_66MHz TQM8272 ZPC1900 ep8248 gw8260 hymod muas3001 ppmc8260 sacsng sbc8260 sbc8560 Configuring for ISPAN board... textdata bss dec hex filename 185851

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund wrote: > > > Graeme Russ wrote on 10/10/2009 12:38:19: >> >> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund >> wrote: >> > >> > >> > Graeme Russ wrote on 10/10/2009 10:46:52: >> >> >> >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund >> >>

[U-Boot] [PATCH] TI DaVinci DM355: Add Config option for 64 bit Support

2009-10-10 Thread s-paulraj
From: Sandeep Paulraj Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM355 EVM config. Signed-off-by: Sandeep Paulraj --- include/configs/davinci_dm355evm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/davinci_dm355evm.h b/include/configs/davinci_dm355

[U-Boot] [PATCH] TI DaVinci DM365: Add Config option for 64 bit Support

2009-10-10 Thread s-paulraj
From: Sandeep Paulraj Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM365 EVM config. Signed-off-by: Sandeep Paulraj --- include/configs/davinci_dm365evm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/davinci_dm365evm.h b/include/configs/davinci_dm365

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 13:21:10: > > On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund > wrote: > > > > > > Graeme Russ wrote on 10/10/2009 12:38:19: > >> > >> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund > >> wrote: > >> > > >> > > >> > Graeme Russ wrote on 10/10/2009 10:46:52:

[U-Boot] [PATCH] TI DaVinci DM646x: Adding initial support for DM6467 EVM

2009-10-10 Thread s-paulraj
From: Sandeep Paulraj This patch adds the initial support for DM6467 EVM. Signed-off-by: Sandeep Paulraj --- Changes since the initial version - Add entries to MAKEALL and MAINTAINERS as suggested by Tom - Fix whitespace issues as pointed out by Tom There are multiple flavours

Re: [U-Boot] [PATCH 1/3] memcpy: use 32-bit copies if possible

2009-10-10 Thread Eric Lammerts
On 10/08/09 03:41, Alessandro Rubini wrote: > For memcpy all is well, for memset I have this problem: > if (sizeof(long) > 4) > cl |= cl << 32; > string.c:416: warning: left shift count >= width of type > > (obviously there is no such shift in the generated co

Re: [U-Boot] [PATCH v3] TI: OMAP3: Overo Tobi ethernet support

2009-10-10 Thread Paulraj, Sandeep
> > On Thu, Oct 08, 2009 at 10:08:08AM -0700, Ben Warren wrote: > > Paulraj, Sandeep wrote: > Most probably we need a Signed-off-by then ;) > > >>> Take your pick. Either a: > >>> > >>> Acked-by: Olof Johansson > >>> > >>> Or apply the below revised patch instead. > >>> > >>> > >>> SMC

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Mike Frysinger
On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: > Graeme Russ wrote on 10/10/2009 12:38:19: > > -fpic / -pic make no difference > > not on x86, on ppc it is a big difference. i think you guys mean -fpic and -fPIC because there is no -pic flag ... while the two make a big diff on so

[U-Boot] [PATCH v2] TI: DaVinci: DM355 Leopard board support

2009-10-10 Thread s-paulraj
From: Sandeep Paulraj This patch adds support for the leopard board which is based on the DM355 SOC. Signed-off-by: Sandeep Paulraj --- Changes since the initial version - Add entries to MAINTAINERS and MAKEALL as suggested by Wolfgang - Use GPIO memory map to write to GPIO regi

[U-Boot] [PATCH] TI DaVinci: Maintainer for DM355 and DM365 EVM

2009-10-10 Thread s-paulraj
From: Sandeep Paulraj Adding entries to the MAINTAINERS directory for the DM355 and DM365 EVM. Signed-off-by: Sandeep Paulraj --- MAINTAINERS |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 28d164d..b5d91fb 100644 --- a/MAINTAINERS +++

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Mike Frysinger wrote on 10/10/2009 18:52:29: > > On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: > > Graeme Russ wrote on 10/10/2009 12:38:19: > > > -fpic / -pic make no difference > > > > not on x86, on ppc it is a big difference. > > i think you guys mean -fpic and -fPIC because th

Re: [U-Boot] [PATCH v3] TI: OMAP3: Overo Tobi ethernet support

2009-10-10 Thread Dirk Behme
Paulraj, Sandeep wrote: >> On Thu, Oct 08, 2009 at 10:08:08AM -0700, Ben Warren wrote: >>> Paulraj, Sandeep wrote: >> Most probably we need a Signed-off-by then ;) >> > Take your pick. Either a: > > Acked-by: Olof Johansson > > Or apply the below revised patch instead.

Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-10-10 Thread Steve Sakoman
On Sun, Sep 27, 2009 at 7:21 AM, Tom wrote: > Steve Sakoman wrote: >> >> On Sun, Sep 27, 2009 at 4:52 AM, Tom wrote: >>> >>> Steve Sakoman wrote: On Fri, Sep 25, 2009 at 1:47 PM, Tom wrote: > > Dirk Behme wrote: >> >> From: Steve Sakoman >> >> Update default en

Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-10-10 Thread Dirk Behme
Steve Sakoman wrote: > On Sun, Sep 27, 2009 at 7:21 AM, Tom wrote: >> Steve Sakoman wrote: >>> On Sun, Sep 27, 2009 at 4:52 AM, Tom wrote: Steve Sakoman wrote: > On Fri, Sep 25, 2009 at 1:47 PM, Tom wrote: >> Dirk Behme wrote: >>> From: Steve Sakoman >>> >>> Update defa

Re: [U-Boot] [PATCH v3] TI: OMAP3: Overo Tobi ethernet support

2009-10-10 Thread Paulraj, Sandeep
> > I'm a little confused :-) > > I realized when I was trying to apply this patch that this is already > part of the u-boot-ti and u-boot-arm trees. > > > > I am referring to > > http://git.denx.de/?p=u-boot/u-boot- > ti.git;a=commitdiff;h=4eb3af078267e103fb957cb831497cf7670fb3f4 > > > > The pat

Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-10-10 Thread Paulraj, Sandeep
> -Original Message- > From: Dirk Behme [mailto:dirk.be...@googlemail.com] > Sent: Saturday, October 10, 2009 2:13 PM > To: Paulraj, Sandeep > Cc: Steve Sakoman; u-boot@lists.denx.de; Tom > Subject: Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment > > Steve Sakoman wrote:

Re: [U-Boot] [PATCH 5/5 v3] ARM:OMAP3:SDP3430: initial support

2009-10-10 Thread Paulraj, Sandeep
> > Sandeep pointed me to: > http://lists.denx.de/pipermail/u-boot/2009-October/062086.html > so the v3 of patch with size fixes > > Start of support of > Texas Instruments Software Development Platform(SDP) > for OMAP3430 - SDP3430 > > Highlights of this platform are: > Flash Memory d

Re: [U-Boot] [PATCH 2/5] OMAP3: export enable_gpmc_cs_config to board files

2009-10-10 Thread Paulraj, Sandeep
> > Export enable_gpmc_cs_config into common header to > prevent warning: > warning: implicit declaration of function 'enable_gpmc_cs_config' > > Signed-off-by: Nishanth Menon > Cc: David B > Cc: Vikram Pandita > Cc: Richard Woodruff > Cc: Sandeep Paulraj > Cc: Tom Rix > Cc: Dirk Behme >

Re: [U-Boot] [PATCH 4/5] OMAP3: fix warnings when NAND/ONENAND is not used

2009-10-10 Thread Paulraj, Sandeep
> > Fix build warnings by putting specific used variables > under required #ifdefs for removing: > mem.c:227: warning: unused variable 'f_sec' > mem.c:226: warning: unused variable 'f_off' > mem.c:225: warning: unused variable 'size' > mem.c:224: warning: unused variable 'base' > mem.c:222: warn

Re: [U-Boot] [PATCH 1/5 v2] OMAP3: Fix SDRC init

2009-10-10 Thread Paulraj, Sandeep
> > Defaults are for Infineon DDR timings. > Since none of the supported boards currently do > XIP boot, these seem to be faulty. fix the values > as per the calculations(ACTIMA,B), conf > the sdrc power with pwdnen and wakeupproc bits > > Signed-off-by: Nishanth Menon > Cc: David B > Cc: Vikra

Re: [U-Boot] [PATCH 3/5] OMAP3: make gpmc_config as const

2009-10-10 Thread Paulraj, Sandeep
> > gpmc_config should not be a variant as it is board specific > hence make it a const parameter > > Signed-off-by: Nishanth Menon > Cc: David B > Cc: Vikram Pandita > Cc: Richard Woodruff > Cc: Sandeep Paulraj > Cc: Tom Rix > Cc: Dirk Behme > --- > cpu/arm_cortexa8/omap3/mem.c

[U-Boot] u-boot-ti next updated

2009-10-10 Thread Paulraj, Sandeep
All, I've updated the u-boot-ti next tree with quite a few patches. There are instances were multiple patches modify the same file. Can the OMAP 3 boards be tested to see if things are ok? It will be nice to have this info before I send Tom a pull request some time next week. This pull request w

Re: [U-Boot] MIPS cpu has problem detecting CFI

2009-10-10 Thread Andrew Dyer
On Sat, Oct 10, 2009 at 12:27 PM, wrote: > On Fri, 09 Oct 2009 12:16 -0500, "Andrew Dyer" wrote: >> On Fri, Oct 9, 2009 at 11:21 AM,   wrote: >> > I think I found a problem in cpu/mips/start.S. >> > >> > gp register is used to point to the SDRAM. But after gp is adjusted to >> > proper location,

Re: [U-Boot] [PATCH V4 2/3] lib_generic memset: fill one word at a time if possible

2009-10-10 Thread Alessandro Rubini
> The above while can be slow if not the complier manages to turn into: But the compiler is able, and Wolfgang already told that in another thread. Yes, I checked my assembly. No, not all platforms and all versions. like Wolfgang. I think you may have a point, but unless you have a measured misw

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sun, Oct 11, 2009 at 4:45 AM, Joakim Tjernlund wrote: > Mike Frysinger wrote on 10/10/2009 18:52:29: >> >> On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: >> > Graeme Russ wrote on 10/10/2009 12:38:19: >> > > -fpic / -pic make no difference >> > >> > not on x86, on ppc it is a bi

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sun, Oct 11, 2009 at 3:18 AM, J. William Campbell wrote: > Graeme Russ wrote: >> >> On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund >> wrote: >> >>> >>> Graeme Russ wrote on 10/10/2009 12:38:19: >>> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund wrote: > > Gr

[U-Boot] Can not access global variable in uboot command function?

2009-10-10 Thread wilbur.chan
mips64 , xlr732 I've added a test command in uboot, say, U_BOOT_CMD(test_globa,...do_test_global) ,which is in cmd_command.c . And in cmd_command.c, there is also a global string array ,say ,char* p = "test"; In do_test_global, I used pointer to access elements of array p like this: cha

[U-Boot] Pull request - net

2009-10-10 Thread Ben Warren
Wolfgang, With this pull, I believe all net-related changes for 2009.11 are in. The following changes since commit cd77dd109c4a439519a78c32eddc42bdebc7a61f: Wolfgang Denk (1): Merge branch 'reloc' are available in the git repository at: git://git.denx.de/u-boot-net.git master Luigi

Re: [U-Boot] [PATCH 0/3 v5] New MIIPHYBB implementation with multi-bus support

2009-10-10 Thread Ben Warren
Hi Luigi, Luigi 'Comio' Mantellini wrote: > This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to > support an arbitrary number of mii buses. This feature is useful when your > board uses different mii buses for different phys and all (or a part) of these > buses are implement