[U-Boot] ARM Versatile port - possibly inefficient code?

2008-09-29 Thread Roman Mashak
Hello Investigating the code for ARM Versatile port, I've found this weird piece of code. If you look in $(UBOOT)/board/versatile/flash.c, line 100, flash_init() : unsigned long flash_init (void) { int i; ulong size = 0; for (i = 0; i < CFG_MAX_FLASH_BANKS; i++) { switch (i) {

[U-Boot] [PATCH v2] net: ne2000: Divided a function of NE2000 driver

2008-09-29 Thread Nobuhiro Iwamatsu
get_prom function was used __attriute__ , but it is not enable. ax88796.o does not do link besides ne2000.o. When ld is carried out, get_prom function of ax88796.c is ignored. This problem is a thing by specifications of ld. I checked and test this patch on SuperH and MIPS. Signed-off-by: Nobuhiro

Re: [U-Boot] U-Boot configuration and latter Linux MMU init failures

2008-09-29 Thread Scott Wood
Remi Lefevre wrote: > At last, I have some doubt about the fdt "timebase-frequency" value. > It seems to be set to (bus_clk / 4) on mpc8260, but I cannot find > in the mpc8270 (mpc8280) user manual any confirmation. Does this > value only depends on cpu or could the board have any influence on it ?

Re: [U-Boot] U-Boot configuration and latter Linux MMU init failures

2008-09-29 Thread Remi Lefevre
Hi, > In message <[EMAIL PROTECTED]> you wrote: >> >> Interestingly enough, dcbst is a *data* cache store, run in the *icache* >> flush routine. I assume this is intended to flush out any instructions >> that are stuck in the dcache due to writes (self modifying code and/or >> loaded/copied code)

[U-Boot] [PATCH v3] [83xx] Adds two more ethernet interface to 83xx

2008-09-29 Thread richardretanubun
Added as a convenience for other platforms that uses MPC8360 (has 8 UCC). Six eth interface is chosen because the platform I am using combines UCC1&2 and UCC3&4 as 1000 Eth and the other four UCCs as 10/100 Eth. Signed-off-by: Richard Retanubun <[EMAIL PROTECTED]> --- Thank you for all the feedbac

Re: [U-Boot] [PATCH 1/3] ADS5121: add LPC clock support

2008-09-29 Thread John Rigby
Ralph, Wolfgang: I have checked with the 5121 validation code for PATA and it uses the IPS clock for all the timing. I think the old rev1 manual is wrong and the new rev2 manual is misleading. The PATA clock is the same speed as the IPS clock. Don't use the LPC clock. John John Rigby wrote

[U-Boot] [PATCH][Re-Submit2] Custom AFEB9260 board support

2008-09-29 Thread Sergey Lapin
This patch provides support for AFEB9260 board, a product of OpenSource hardware and software. Some commertial projects are made with this design. A board is basically AT91SAM9260-EK with some modifications and different peripherals and different parts used. Main purpose of this project is to gain

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Michael Lawnick
Detlev Zundel schrieb: >> Has anybody tried to (and succeeded in) speed up u-boot? > > We are currently working on such a speedup bringing U-Boot up to par > with Linux. I am confident that we can post our results in the next > week. > Sounds promising! > PS: Wow, message-mode in Emacs wants a

Re: [U-Boot] [PATCH][Re-Submit] Custom AFEB9260 board support

2008-09-29 Thread Ben Warren
Sergey Lapin wrote: > This patch provides support for AFEB9260 board, a product of > OpenSource hardware and software. Some commertial projects > are made with this design. A board is basically AT91SAM9260-EK > with some modifications and different peripherals and different > parts used. Main purpo

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Detlev Zundel
Hi Michael, > Joakim Tjernlund transmode.se> writes: > >> >> On Mon, 2008-09-29 at 08:45 +, Michael Lawnick wrote: >> > Hi *, >> > >> > please feel free to correct me if I tell sh**: >> > As far as I was told, bad JFFS2 boot performance of u-boot is result of not >> > supporting summary. (B

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Joakim Tjernlund
On Mon, 2008-09-29 at 12:49 +, Michael Lawnick wrote: > Joakim Tjernlund transmode.se> writes: > > > > Has anybody tried to (and succeeded in) speed up u-boot? > > > > Yes, there was an attempt some time ago(months or a year, dunno) where > > someone had improved scanning dramatically, patch

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-09-29 Thread Jerry Van Baren
Kumar Gala wrote: > On Sep 23, 2008, at 10:07 AM, Kumar Gala wrote: > >> * Use new find_cmd_tbl() to process sub-commands >> >> If this looks good I'll go ahead and clean it up for the other >> arches and OSes. >> >> --- >> common/cmd_bootm.c | 142 - >> include/image

Re: [U-Boot] [PATCH] move README.imx31 to doc/ and merge with README.mx31

2008-09-29 Thread Shinya Kuribayashi
Ping. Please consider making this into the upcoming release. Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> > > diff --git a/README.imx31 b/README.imx31 > deleted file mode 100644 > index f545f01..000 > --- a/README.imx31 > +++ /d

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-09-29 Thread Kumar Gala
On Sep 23, 2008, at 10:07 AM, Kumar Gala wrote: > * Use new find_cmd_tbl() to process sub-commands > > If this looks good I'll go ahead and clean it up for the other > arches and OSes. > > --- > common/cmd_bootm.c | 142 - > include/image.h| 20 - > lib_ppc/

[U-Boot] [RFC][PATCH 2a/3] New i386 board (includes code relocation)

2008-09-29 Thread Graeme Russ
Split to meet mailing list size limit Initial addition of eNET files - builds clean but will not run until additional i386 code changes are made Signed-off-by: Graeme Russ <[EMAIL PROTECTED]> -- diff --git a/MAKEALL b/MAKEALL index 9ccb9ac..6f65870 100755 --- a/MAKEALL +++ b/MAKEALL @@ -645,6 +

Re: [U-Boot] [PATCH v2] [83xx] Adds two more ethernet interface to 83xx

2008-09-29 Thread Jerry Van Baren
Hi Richard & Wolfgang, richardretanubun wrote: > Wolfgang Denk wrote: > >> Dear richardretanubun, >> >> In message <[EMAIL PROTECTED]> you wrote: >>> Please disregard V2. V1 is correct, except for this change: >> So you will submit a V3? > I am not so sure about it. > > This patch came to be whe

[U-Boot] [RFC][PATCH 3/3] New i386 board (includes code relocation)

2008-09-29 Thread Graeme Russ
Added relocation code Removed temporary testing code Signed-off-by: Graeme Russ <[EMAIL PROTECTED]> -- diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 1b4af58..5355fb6 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -45,40 +45,6 @@ DECLARE_GLOBAL_DATA_PTR; #define PRINTF(fmt,ar

[U-Boot] [RFC][PATCH 0/3] New i386 board (includes code relocation)

2008-09-29 Thread Graeme Russ
Renamed show_boot_progress in assembler init phase to show_boot_progress_asm to avoid link conflicts with C version Signed-off-by: Graeme Russ <[EMAIL PROTECTED]> -- diff --git a/board/sc520_cdp/sc520_cdp_asm.S b/board/sc520_cdp/sc520_cdp_asm.S index 6ac5a5d..3a8a03f 100644 --- a/board/sc520_cdp/

[U-Boot] [RFC][PATCH 0/3] New i386 board (includes code relocation)

2008-09-29 Thread Graeme Russ
Hi All, I have managed to get the initial port of U-Boot to my custom sc520 (x86) based board built and running and even managed (I think) to get the fundamentals of the code relocation working (really happy about that) and I would like some feedback on my mods - specifically the relocation method

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Michael Lawnick
Joakim Tjernlund transmode.se> writes: > > Has anybody tried to (and succeeded in) speed up u-boot? > > Yes, there was an attempt some time ago(months or a year, dunno) where > someone had improved scanning dramatically, patch was posted to the > u-boot list. Can't remember who though. Seems to

Re: [U-Boot] [PATCH v2] [83xx] Adds two more ethernet interface to 83xx

2008-09-29 Thread richardretanubun
Wolfgang Denk wrote: > Dear richardretanubun, > > In message <[EMAIL PROTECTED]> you wrote: >> Please disregard V2. V1 is correct, except for this change: > > So you will submit a V3? I am not so sure about it. This patch came to be when I wanted to make it convenient for using u-boot to test a

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Joakim Tjernlund
On Mon, 2008-09-29 at 11:34 +, Michael Lawnick wrote: > Joakim Tjernlund transmode.se> writes: > > > > > On Mon, 2008-09-29 at 08:45 +, Michael Lawnick wrote: > > > Hi *, > > > > > > please feel free to correct me if I tell sh**: > > > As far as I was told, bad JFFS2 boot performance of

Re: [U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom.

2008-09-29 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <[EMAIL PROTECTED]> you wrote: >> The EEprom contains some Manufacturerinformation, >> which are read from u-boot at boot time, and saved >> in same Environmentvars. >> >> Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> [snip] >> +{ >>

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Michael Lawnick
Joakim Tjernlund transmode.se> writes: > > On Mon, 2008-09-29 at 08:45 +, Michael Lawnick wrote: > > Hi *, > > > > please feel free to correct me if I tell sh**: > > As far as I was told, bad JFFS2 boot performance of u-boot is result of not > > supporting summary. (Because there is no JFFS

Re: [U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom.

2008-09-29 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: >> The EEprom contains some Manufacturerinformation, >> which are read from u-boot at boot time, and saved >> in same Environmentvars. >> >> Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> >> --- >> board/keymile/c

Re: [U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Joakim Tjernlund
On Mon, 2008-09-29 at 08:45 +, Michael Lawnick wrote: > Hi *, > > please feel free to correct me if I tell sh**: > As far as I was told, bad JFFS2 boot performance of u-boot is result of not > supporting summary. (Because there is no JFFS2 but only JFFS support?) It is not missing SUMMARY, it

Re: [U-Boot] [PATCH] [sensor]: Make the LM75 MULTI_BUS compatible.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > also fix CodingStyle issues for the LM75 > > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > drivers/hwmon/lm75.c | 228 > +++--- > 1 files changed, 105 insertions(+), 123 del

Re: [U-Boot] ELDK 4.1 - ARM target

2008-09-29 Thread Wolfgang Denk
Dear Roman, In message <[EMAIL PROTECTED]> you wrote: > > just downloaded ISO image for of ELDK 4.1, ARM targets. After mounted > it as a 'loop' device on my Debian system, I didn't find script in the Which "script" didn't you find? Ther eis sure a programm named "install" there, isn;t it? > r

Re: [U-Boot] [PATCH] I2C: Fix CodingStyle issues in soft_i2c.c

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > drivers/i2c/soft_i2c.c | 24 > 1 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c

Re: [U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > The EEprom contains some Manufacturerinformation, > which are read from u-boot at boot time, and saved > in same Environmentvars. > > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > board/keymile/common/common.c | 285 >

Re: [U-Boot] [PATCH] mgcoge, mgsuvd: add I2C deblocking mechanism.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > As Documented in README, adding a boardspecific Deblocking Which part of the README are you referring to? > mechansim via CFG_I2C_INIT_BOARD for the mgcoge and mgsuvd > board. Are you talking about doc/I2C_Edge_Conditions? > This

Re: [U-Boot] [POWERPC] mgcoge, mgsuvd: add I2C support.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > Also support CONFIG_I2C_MULTI_BUS for the > soft_i2c and the cpu/mpc8260/i2c.c driver. > > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > board/keymile/mgcoge/mgcoge.c | 93 > ++---

[U-Boot] JFFS2-Summary support for u-boot

2008-09-29 Thread Michael Lawnick
Hi *, please feel free to correct me if I tell sh**: As far as I was told, bad JFFS2 boot performance of u-boot is result of not supporting summary. (Because there is no JFFS2 but only JFFS support?) So my question: Has anybody done or is planning in next time (~weeks) to add summary support for

Re: [U-Boot] [PATCH] i2c: add i2c reset command.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > common/cmd_i2c.c |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c > index ef3928e..414c888 100644 >

Re: [U-Boot] [PATCH] [sensor]: Make the LM75 MULTI_BUS compatible.

2008-09-29 Thread Stefan Roese
Hi Heiko, On Monday 29 September 2008, Heiko Schocher wrote: > also fix CodingStyle issues for the LM75 Please don't mix functional changes and coding style changes into one patch. I suggest that you first send a coding style cleanup patch and then a functional patch on top of this. Thanks. B

Re: [U-Boot] [POWERPC] mgsuvd, mgcoge: move this 2 boards in one dir.

2008-09-29 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > There are some more extensions, which are for both boards > and some more boards from this manufacturer will follow soon. > > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > Makefile|4 +- > bo

[U-Boot] ELDK 4.1 - ARM target

2008-09-29 Thread Roman Mashak
Hello just downloaded ISO image for of ELDK 4.1, ARM targets. After mounted it as a 'loop' device on my Debian system, I didn't find script in the root of ELDK directory tree. What am I supposed to do, is this distribution installed in another manner? I referred to this page for instructions - htt

[U-Boot] [PATCH] mgsuvd: add common directory to Makefile.

2008-09-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- board/keymile/mgsuvd/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/mgsuvd/Makefile b/board/keymile/mgsuvd/Makefile index af0d400..0326608 100644 --- a/board/keymile/mgsuvd/Makefile +++ b/board/

[U-Boot] [PATCH] I2C: Fix CodingStyle issues in soft_i2c.c

2008-09-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- drivers/i2c/soft_i2c.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index f426bbb..bda0aaf 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2

[U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom.

2008-09-29 Thread Heiko Schocher
The EEprom contains some Manufacturerinformation, which are read from u-boot at boot time, and saved in same Environmentvars. Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- board/keymile/common/common.c | 285 + include/configs/mgcoge.h |5

[U-Boot] [PATCH] I2C: adding new "i2c bus" Command to the I2C Subsystem.

2008-09-29 Thread Heiko Schocher
With this Command it is possible to add new I2C Busses, which are behind 1 .. n I2C Muxes. Details see README. Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- README | 47 common/cmd_i2c.c | 269 +- cpu/mpc826

[U-Boot] [PATCH] mgcoge, mgsuvd: add I2C deblocking mechanism.

2008-09-29 Thread Heiko Schocher
As Documented in README, adding a boardspecific Deblocking mechansim via CFG_I2C_INIT_BOARD for the mgcoge and mgsuvd board. This code was originally written by keymile in association with Anatech and Atmel in 1998. The Code toggels the SCL until the SCA line goes to High (max. 16 times). And after

[U-Boot] [PATCH] mgcoge, mgsuvd: add DTT (LM75) support.

2008-09-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- include/configs/mgcoge.h |9 + include/configs/mgsuvd.h |9 + 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 8cff642..bfbbd45 100644 --- a/includ

[U-Boot] [PATCH] [sensor]: Make the LM75 MULTI_BUS compatible.

2008-09-29 Thread Heiko Schocher
also fix CodingStyle issues for the LM75 Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- drivers/hwmon/lm75.c | 228 +++--- 1 files changed, 105 insertions(+), 123 deletions(-) diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 67a18

[U-Boot] [PATCH] mgcoge, mgsuvd: add EEprom support.

2008-09-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- include/configs/mgcoge.h |8 include/configs/mgsuvd.h |7 +++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 159eeae..8cff642 100644 --- a/include/c

[U-Boot] [POWERPC] mgcoge, mgsuvd: add I2C support.

2008-09-29 Thread Heiko Schocher
Also support CONFIG_I2C_MULTI_BUS for the soft_i2c and the cpu/mpc8260/i2c.c driver. Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- board/keymile/mgcoge/mgcoge.c | 93 ++--- board/keymile/mgsuvd/mgsuvd.c | 13 ++ cpu/mpc8260/i2c.c |

[U-Boot] [PATCH] i2c: add i2c reset command.

2008-09-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> --- common/cmd_i2c.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index ef3928e..414c888 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -1182,6 +1182,12 @@ int do_sdra