[U-Boot] [PATCH] Fix mpc85xx ddr-gen3 ddr_sdram_cfg.

2009-02-24 Thread Ed Swarthout
Commit e1be0d25, "32bit BUg fix for DDR2 on 8572" prevented other sdram_cfg bits (such as ecc and self_refresh_in_sleep) from being set. Signed-off-by: Ed Swarthout --- ECC and self refresh are broke for mpc8572ds in 2009.03-rc1. => md ffe02110 1 ffe02110: 8300 (should be e3...) cpu/mpc8

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
rudresh wrote: > i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR > Flash , u-boot stored in NOR flash. when i do the saveenv , reset command > the u-boot is erased. i'm not able to fix this issue. help me to fix this > issue > > Thanks > Rudresh > > > > I had a s

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Frank Svendsbøe
Hi Norbert, I just looked at your comment in the gmane archive. You shouldn't hardcode a new CONFIG_ENV_ADDR. Instead, you should correct the CONFIG_SYS_MONITOR_LEN, which is the number of bytes the U-Boot image uses rounded up to the next flash sector address. Maybe we should define this in terms

[U-Boot] [PATCH 0/7] i386 Modifications (continued)

2009-02-24 Thread Graeme Russ
Hi All, This patch set continues from the partially applied patch set submitted on December 07 and applied on January 24th. Alas, I had practically rewritten the entire series after the comments regarding split patches in the original submission (Rule #0 of Software Development - you will always f

[U-Boot] [PATCH 1/7] Moved SC520 Files (fix commit 407976185e0dda2c90e89027121a1071b9c77bfb)

2009-02-24 Thread Graeme Russ
Fixes commit 407976185e0dda2c90e89027121a1071b9c77bfb Signed-off-by: Graeme Russ --- For some reason, the following patch posted on the mailing list did not apply completely: [PATCH 04/15] Moved sc520 specific code into new cpu/i386/sc520 folder --- cpu/i386/Makefile |3 +-- cpu/

[U-Boot] [PATCH 2/7] Rename SC520 Configuration Options

2009-02-24 Thread Graeme Russ
Options are now all uniformly CONFIG_SYS_SC520_ Signed-off-by: Graeme Russ --- board/sc520_cdp/sc520_cdp.c | 16 cpu/i386/sc520/sc520.c|6 +++--- cpu/i386/timer.c |2 +- include/configs/eNET.h| 12 ++-- include/configs/sc520_cdp

[U-Boot] [PATCH 3/7] Move ali512x.h

2009-02-24 Thread Graeme Russ
Moved ali512x.h from include/asm-i386/ic/ to /include Signed-off-by: Graeme Russ --- board/sc520_cdp/sc520_cdp.c |2 +- drivers/misc/ali512x.c|2 +- include/ali512x.h |0 3 files changed, 2 insertions(+), 2 deletions(-) rename include/{asm-i386/ic/ali512x.h =>

[U-Boot] [PATCH 4/7] Rewrite i386 interrupt handling

2009-02-24 Thread Graeme Russ
Rewrite interrupt handling functionality for the i386 port. Separated functionality into separate CPU and Architecture components. Signed-off-by: Graeme Russ --- It appears as if the i386 interrupt handler functionality was intended to allow multiple handlers to be installed for a given interrupt

[U-Boot] [PATCH 5/7] Factor out SC520 sub-features

2009-02-24 Thread Graeme Russ
Moved sub-features of the SC520 code which is currently selectively compiled using #ifdef out of sc520.c into individual files selectively compiled via the makefile Signed-off-by: Graeme Russ --- cpu/i386/sc520/Makefile |4 + cpu/i386/sc520/sc520.c | 277 -

[U-Boot] [PATCH 6/7] Implement SC520 timers

2009-02-24 Thread Graeme Russ
Implement SC520 timers Signed-off-by: Graeme Russ --- cpu/i386/Makefile |2 cpu/i386/sc520/sc520_timer.c | 71 - cpu/i386/timer.c | 211 include/asm-i386/u-boot-i386.h |7 + lib_i386/Makefile

[U-Boot] [PATCH 7/7] Add primitive relocation to i386 port

2009-02-24 Thread Graeme Russ
Add basic relocation to i386 port Signed-off-by: Graeme Russ --- This patch provides relocation of the text (code) segment of the i386 binary (in addition to already relocated sections). However, as discussed previously on the mailing list, the relocation does not fix up references to read-only d

[U-Boot] [PATCH 00/07 v4] updates for keymile kmeter1 board

2009-02-24 Thread Heiko Schocher
The following series replaces the v3 series of this patch set. Changes since v3: added comments from Kim Phillips, rebased against current u-bot-mpc83xx.git. The following changes since commit 7e91558032a0c1932dd7f4f562f9c7cc55efc496: Anton Vorontsov (1): mpc83xx: MPC837XERDB: Add PCIe

[U-Boot] [PATCH 1/7 v4] i2c, dtt: move dtt_init () to board_init_r ()

2009-02-24 Thread Heiko Schocher
In case where a board not uses CONFIG_POST, it is not necessary to init the DTTs when running from flash. Signed-off-by: Heiko Schocher --- lib_ppc/board.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 3bcfb45..375b091 100644

[U-Boot] [PATCH 3/7 v4] 83xx, i2c: add mux support for fsl_i2c

2009-02-24 Thread Heiko Schocher
This patch adds I2C mux support for the fsl_i2c driver. This allows you to add "new" i2c busses, which are reached over i2c muxes. For more infos, please look in the README and search for CONFIG_I2C_MUX. Signed-off-by: Heiko Schocher --- drivers/i2c/fsl_i2c.c | 22 +- 1 fil

[U-Boot] [PATCH 2/7 v4] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-24 Thread Heiko Schocher
This patch adds I2C support for the Keymile kmeter1 board. It uses the First I2C Controller from the CPU, for accessing 4 temperature sensors, an eeprom with IVM data and the booteeprom over a pca9547 mux. Signed-off-by: Heiko Schocher --- board/keymile/common/common.c|2 +- board/keymil

[U-Boot] [PATCH 4/7 v4] 83xx, kmeter1: autodetect size of DDR II RAM

2009-02-24 Thread Heiko Schocher
it is possible that some board variants have different DDR II RAM sizes. So we autodetect the size of the assembled RAM. Signed-off-by: Heiko Schocher --- board/keymile/kmeter1/kmeter1.c | 28 ++-- include/configs/kmeter1.h |4 ++-- 2 files changed, 20 inserti

[U-Boot] [PATCH 5/7 v4] 83xx, kmeter1: updates for 2009.03

2009-02-24 Thread Heiko Schocher
- HRCW update HRCWH_BOOTSEQ_DISABLE not HRCWH_BOOTSEQ_NORMAL HRCWH_LALE_EARLY added - DDR-SDRAM settings modified. This solves sporadically problems with this memory. - CS1 now 128 MB window size - CS3 now 512 MB window size - PRAM activated - MTDPARTS_DEFAULT defined - CONFIG_HOSTNAME added

[U-Boot] [PATCH 6/7 v4] 83xx, kmeter: QE_ENET10 errata for Silicon Revision 2.1

2009-02-24 Thread Heiko Schocher
old code implemented the QE_ENET10 errata only for Silicon Revision 2.0. New code reads now the Silicon Revision register and sets dependend on the Silicon Revision the values as advised in the QE_ENET10 errata. Signed-off-by: Heiko Schocher --- board/keymile/kmeter1/kmeter1.c | 20 +++

[U-Boot] [PATCH 7/7 v4] 8360, kmeter1: added bootcount feature.

2009-02-24 Thread Heiko Schocher
add CONFIG_BOOTCOUNT_LIMIT feature for 8360 CPU. The bootcounter uses 8 bytes from the muram, because no other memory was found on this CPU for the bootcount feature. So we must correct the muram size in DTS before booting Linux. This feature is actual only implemented for MPC8360, because not al

[U-Boot] Is the TI AR7 architecture supported?

2009-02-24 Thread Rogan Dawes
Hi folks, I have an ADSL router (Linksys WAG200G) that is based on the TI AR7 (MIPS) architecture. Unfortunately, it has been supplied with a boot loader (ADAM2) that has been configured to not allow interruption, or upload of replacement firmwares via the bootloader. While I'd love to be able to

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

2009-02-24 Thread Anatolij Gustschin
Dear Wolfgang, The following changes since commit bd76729bcbfd64b5d016a9b936f058931fc06eaf: Becky Bruce (1): MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default are available in the git repository at: git://git.denx.de/u-boot-video.git master Guennadi Liakhovetski (7): i.MX31:

[U-Boot] [PATCH] 83xx: Fix some bugs in spd sdram code

2009-02-24 Thread Dave Liu
1. rd_to_pre is missed to add the AL. 2. add the support of DDR2-533,667,800 DIMMs 3. cpo 4. make the AL to min to gain better performance. The Micron MT9HTF6472CHY-667D1 DIMMs test passed on MPC837xEMDS platform at 266MHz/333MHz/400MHz data rate. Reported-by: Joakim Tjernlund Signed-off-by: Dav

[U-Boot] [PATCH] fsl-ddr: Fix two bugs in the ddr infrastructure

2009-02-24 Thread Dave Liu
1. wr_lat UM said the total write latency for DDR2 is equal to WR_LAT + ADD_LAT, the write latency is CL + ADD_LAT - 1. so, the WR_LAT = CL - 1; 2. rd_to_pre we missed to add the ADD_LAT for DDR2 case. Reported-by: Joakim Tjernlund Signed-off-by: Dave Liu --- cpu/mpc8xxx/ddr/ctrl_re

Re: [U-Boot] [PATCH] fsl-ddr: Fix two bugs in the ddr infrastructure

2009-02-24 Thread Liu Dave-R63238
Kim, If not any objection for the patch, Could you pick it up to 83xx tree to go main tree. Thanks, Dave > -Original Message- > From: Liu Dave-R63238 > Sent: 2009?2?24? 7:10 PM > To: Phillips Kim-R1AAHA; Fleming Andy-AFLEMING > Cc: u-boot@lists.denx.de; joakim.tjernl...@transmode.se; L

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread rudresh
i fix this issue with the help of all u-boot USERS, Thanks for helping .. This problem occurred because of u-boot.bin size taking 2 sector of Flash, and less space for Environment(few bytes in 2nd sector) . Then i incremented one sector in config env address , shown below. #define CFG_ENV_ADDR

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
Hi Frank, You're right. At the time I discovered this, I wasn't sure what 'monitor' exactly is (I feared there was more to it than just the u-boot binary code itself). So I decided to fix it this way, let the list know and not submit a patch. If you want, you can submit a patch. I think correctin

Re: [U-Boot] Some question about uboot

2009-02-24 Thread Jerry Van Baren
loody wrote: > Dear all: > While porting uboot, I find there are too many things I don't need at > all, like net, i2c etc. > How could I remove them from my uboot binary to minimize the size of > uboot, my flash limitation is 6k? If 6K is truly what you have, you aren't going to get there with u-b

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Frank Svendsbøe
On Tue, Feb 24, 2009 at 1:01 PM, Norbert van Bolhuis wrote: > Hi Frank, > > You're right. > At the time I discovered this, I wasn't sure what 'monitor' exactly > is (I feared there was more to it than just the u-boot binary code itself). > So I decided to fix it this way, let the list know and not

Re: [U-Boot] [PATCH 1/9 v4] i.MX31: fix SPI driver for shorter than 32 bit

2009-02-24 Thread Anatolij Gustschin
> From: Guennadi Liakhovetski > > Fix setting the SPI Control register, 8 and 16-bit transfers > and a wrong pointer in the free routine in the mxc_spi driver. > > Signed-off-by: Guennadi Liakhovetski > Signed-off-by: Anatolij Gustschin > --- > > Changes since v1: chose a simpler fix > Change

Re: [U-Boot] [PATCH 2/9 v4] i.MX31: add a simple gpio driver

2009-02-24 Thread Anatolij Gustschin
> From: Guennadi Liakhovetski > > This is a minimal driver, so far only managing output. It will > be used by the mxc_spi.c driver. > > Signed-off-by: Guennadi Liakhovetski > Signed-off-by: Anatolij Gustschin > --- > > Changes since v1: alphabetical order, typo in copyright fixed, use > ARRAY

Re: [U-Boot] Some question about uboot

2009-02-24 Thread loody
Hi Jerry: 2009/2/24 Jerry Van Baren : > loody wrote: >> >> Dear all: >> While porting uboot, I find there are too many things I don't need at >> all, like net, i2c etc. >> How could I remove them from my uboot binary to minimize the size of >> uboot, my flash limitation is 6k? > > If 6K is truly w

Re: [U-Boot] [PATCH 3/9 v4] i.MX31: support GPIO as a chip-select in the mxc_spi driver

2009-02-24 Thread Anatolij Gustschin
On Friday 13 February 2009 09:26:40 am Guennadi Liakhovetski wrote: > Some SPI devices have special requirements on chip-select handling. > With this patch we can use a GPIO as a chip-select and strictly follow > the SPI_XFER_BEGIN and SPI_XFER_END flags. > > Signed-off-by: Guennadi Liakhovetski >

Re: [U-Boot] [PATCH 9/9 v4] ARM: add an "eet" variant of the imx31_phycore board

2009-02-24 Thread Anatolij Gustschin
On Monday 23 February 2009 01:34:32 pm Guennadi Liakhovetski wrote: > The "eet" variant of the imx31_phycore board has an OLED display, using a > s6e63d6 display controller on the first SPI interface, using GPIO57 as a > chip-select for it. With this configuration you can display 256 colour BMP > i

Re: [U-Boot] Status open patches: ARM, AT91, IXP, PXA

2009-02-24 Thread Anatolij Gustschin
Dear Wolfgang, Wolfgang Denk wrote: > Dear Jean-Christophe, > > I have the following patches still marked as open in my list. Could > you please have a look... > > ARM, AT91: > > 02/07 Anatolij Gustschi [U-Boot] [PATCH 1/9 v4] i.MX31: fix SPI driver for > shorter than 32 bit > 02/07 Jean-Ch

Re: [U-Boot] [PATCH 1/1] net: Add Xilinx LL Temac driver version2

2009-02-24 Thread Michal Simek
Hi Ben, > Hi Michal, > > Michal Simek wrote: > > >>> All of the above mentioned issues are ones that I could easily deal >>> with, but one thing that really does need to change is that you need to >>> use the CONFIG_NET_MULTI API. In other words, your driver should have a >>> single initialize(

Re: [U-Boot] Some question about uboot

2009-02-24 Thread Wolfgang Denk
Dear loody, In message <3a665c760902240521y768bead8x9bebc4a30ac04...@mail.gmail.com> you wrote: > > If I only need uboot to do cpu basic setting with USB ehci and file > system support, does it still need 128k at least? File system support is big (which file system(s) are we talking about?), and

[U-Boot] [PATCH] at91: change CONFIG_SYS_HZ to 1000

2009-02-24 Thread Detlef Vollmann
It seems that resistance is futile... Nearly all boards now use a value of 1000 for CONFIG_SYS_HZ, and a commit from Oct 1 last year in the net code breaks all boards silently that have a different value. So here's a patch for the at91 arm926ejs CPUs and boards that changes get_timer and get_ticks

Re: [U-Boot] [PATCH 1/7 v4] i2c, dtt: move dtt_init () to board_init_r ()

2009-02-24 Thread Peter Tyser
Hi Heiko, On Tue, 2009-02-24 at 11:30 +0100, Heiko Schocher wrote: > In case where a board not uses CONFIG_POST, it is not > necessary to init the DTTs when running from flash. > > Signed-off-by: Heiko Schocher > --- > lib_ppc/board.c |5 - > 1 files changed, 4 insertions(+), 1 deletion

Re: [U-Boot] [PATCH 6/7 v2] OMAP3: Add OMAP3 core changes for MUSB

2009-02-24 Thread Dirk Behme
Wolfgang Denk wrote: > Dear Nishanth Menon, > > In message <49a296f0.4000...@gmail.com> you wrote: >>> He probably wants to say that clocks should be enabled only when "usb >>> start" is issued, as you might have u-boot compiled with USB defines >>> set, but never actually use USB. > > Correct.

Re: [U-Boot] Clock handling (wasRe: [PATCH 6/7 v2] OMAP3: Add OMAP3 core changes for MUSB)

2009-02-24 Thread Dirk Behme
Nishanth Menon wrote: > Wolfgang Denk said the following on 02/23/2009 11:36 PM: >>> Comparing having all clock initialization at a central point (clock.c) - >>> which seems simple vs having get-put kind of clock apis in U-boot : I >>> >> But the explicit rule is only to enable interfaces (and

Re: [U-Boot] [PATCH 1/1] net: Add Xilinx LL Temac driver version2

2009-02-24 Thread Ben Warren
Hi Michal, Michal Simek wrote: > Hi Ben, > >> Hi Michal, >> >> Michal Simek wrote: >> >> >> All of the above mentioned issues are ones that I could easily deal with, but one thing that really does need to change is that you need to use the CONFIG_NET_MULTI API. In other wo

Re: [U-Boot] [PATCH 1/1] net: Add Xilinx LL Temac driver version2

2009-02-24 Thread Michal Simek
Ben Warren wrote: > Hi Michal, > > Michal Simek wrote: >> Hi Ben, >> >>> Hi Michal, >>> >>> Michal Simek wrote: >>> >>> >>> > All of the above mentioned issues are ones that I could easily deal > with, but one thing that really does need to change is that you > need to > use

[U-Boot] CONFIG_SYS_HZ: Please revert breaking net commit

2009-02-24 Thread Detlef Vollmann
Hello, From CHANGELOG: commit 49f3bdbba8071f56d950a9498b6cdb998b35340a Author: Bartlomiej Sieka Date: Wed Oct 1 15:26:28 2008 +0200 net: express the first argument to NetSetTimeout() in milliseconds Enforce millisecond semantics of the first argument to NetSetTimeout() -- th

Re: [U-Boot] [PATCH] fsl-ddr: Fix two bugs in the ddr infrastructure

2009-02-24 Thread Kim Phillips
On Tue, 24 Feb 2009 04:24:29 -0700 "Liu Dave-R63238" wrote: > Kim, > > If not any objection for the patch, > Could you pick it up to 83xx tree to go main tree. no, this must go through either Andy or jdl, since it affects code mpc8 [56]xx use, and not mpc83xx. > > rd_to_pre = picos_to_mcl

Re: [U-Boot] [PATCH 2/7 v4] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-24 Thread Kim Phillips
On Tue, 24 Feb 2009 11:30:34 +0100 Heiko Schocher wrote: > diff --git a/board/keymile/kmeter1/kmeter1.c b/board/keymile/kmeter1/kmeter1.c > index f04a57a..a3c58ae 100644 > --- a/board/keymile/kmeter1/kmeter1.c > +++ b/board/keymile/kmeter1/kmeter1.c > @@ -59,6 +59,23 @@ const qe_iop_conf_t qe_iop

Re: [U-Boot] netloop: speed up NetLoop

2009-02-24 Thread Mike Frysinger
On Tuesday 10 February 2009 03:38:52 Heiko Schocher wrote: > NetLoop polls every cycle with getenv some environment variables. > This is horribly slow, especially when the environment is big. > > This patch reads only the environment variables in NetLoop, > when they were changed. > > Also moved th

Re: [U-Boot] netloop: speed up NetLoop

2009-02-24 Thread Mike Frysinger
On Tuesday 10 February 2009 03:38:52 Heiko Schocher wrote: > +int NetInitLoop(proto_t protocol) and some comments not really specific to your code ... > + switch (protocol) { > +#if defined(CONFIG_CMD_NFS) > + case NFS: > +#endif > + case NETCONS: > +

Re: [U-Boot] [PATCH] Fix mpc85xx ddr-gen3 ddr_sdram_cfg.

2009-02-24 Thread Andy Fleming
On Tue, Feb 24, 2009 at 2:37 AM, Ed Swarthout wrote: > Commit e1be0d25, "32bit BUg fix for DDR2 on 8572" prevented other > sdram_cfg bits (such as ecc and self_refresh_in_sleep) from being set. > > Signed-off-by: Ed Swarthout Applied, thanks! Andy ___

Re: [U-Boot] [PATCH 6/7 v2] OMAP3: Add OMAP3 core changes for MUSB

2009-02-24 Thread Wolfgang Denk
Dear Dirk, In message <49a427d1.6050...@googlemail.com> you wrote: > Wolfgang Denk wrote: > > Dear Nishanth Menon, > > > > In message <49a296f0.4000...@gmail.com> you wrote: > >>> He probably wants to say that clocks should be enabled only when "usb > >>> start" is issued, as you might have u-boo

Re: [U-Boot] CONFIG_SYS_HZ: Please revert breaking net commit

2009-02-24 Thread Wolfgang Denk
Dear Detlef Vollmann, In message <49a44806.9050...@vollmann.ch> you wrote: > > commit 49f3bdbba8071f56d950a9498b6cdb998b35340a ... > This commit breaks *silently* all boards that don't return > milliseconds from get_timer, i.e. have a different value for > CONFIG_SYS_HZ than 1000. No, this is no

Re: [U-Boot] [PATCH 1/7 v4] i2c, dtt: move dtt_init () to board_init_r ()

2009-02-24 Thread Wolfgang Denk
Dear Peter Tyser, In message <1235491846.19570.71.ca...@localhost.localdomain> you wrote: > > Is there a reason we can't just move the dtt_init() call to after > relocation to RAM for both the cases with and without CONFIG_POST > defined? If some POST relies on the temperature sensors being > in

[U-Boot] [PATCH] Move test for unnecessary memmove to memmove_wd()

2009-02-24 Thread Larry Johnson
Signed-off-by: Larry Johnson --- common/cmd_bootm.c |7 ++- common/image.c |3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 6fdeef4..bc38aaa 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -339,11 +339

Re: [U-Boot] [PATCH] at91: change CONFIG_SYS_HZ to 1000

2009-02-24 Thread Wolfgang Denk
Dear Detlef Vollmann, In message <49a4095e.7010...@vollmann.ch> you wrote: > It seems that resistance is futile... > Nearly all boards now use a value of 1000 for CONFIG_SYS_HZ, > and a commit from Oct 1 last year in the net code breaks all > boards silently that have a different value. > So here'

Re: [U-Boot] Please pull u-boot-mpc83xx.git

2009-02-24 Thread Wolfgang Denk
Dear Kim Phillips, In message <20090223165401.39c72a6d.kim.phill...@freescale.com> you wrote: > Wolfgang, > > please pull what is primarily PCIe support for the 837xRDB: > > The following changes since commit 32688e572ff96715b41420e9a7f280db6c399b65: > Wolfgang Denk (1): > Update CHANG

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

2009-02-24 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <49a3ce71.8040...@denx.de> you wrote: > Dear Wolfgang, > > The following changes since commit bd76729bcbfd64b5d016a9b936f058931fc06eaf: > Becky Bruce (1): > MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default > > are available in the git repository a

Re: [U-Boot] [PATCH 1/7] Moved SC520 Files (fix commit 407976185e0dda2c90e89027121a1071b9c77bfb)

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c7cc.4090...@gmail.com> you wrote: > Fixes commit 407976185e0dda2c90e89027121a1071b9c77bfb = > > > Signed-off-by: Graeme Russ > --- > For some reason, the following patch posted on the mailing list did not app= > ly > completely: > [PATCH 04/15] Moved sc520 spe

Re: [U-Boot] [PATCH 2/7] Rename SC520 Configuration Options

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c804.2010...@gmail.com> you wrote: > Options are now all uniformly CONFIG_SYS_SC520_ > > Signed-off-by: Graeme Russ > --- > board/sc520_cdp/sc520_cdp.c | 16 > cpu/i386/sc520/sc520.c|6 +++--- > cpu/i386/timer.c |

Re: [U-Boot] [PATCH 3/7] Move ali512x.h

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c813.90...@gmail.com> you wrote: > Moved ali512x.h from include/asm-i386/ic/ to /include > > Signed-off-by: Graeme Russ > --- > board/sc520_cdp/sc520_cdp.c |2 +- > drivers/misc/ali512x.c|2 +- > include/ali512x.h |0 > 3 file

Re: [U-Boot] [PATCH 4/7] Rewrite i386 interrupt handling

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c854.2030...@gmail.com> you wrote: > Rewrite interrupt handling functionality for the i386 port. Separated > functionality into separate CPU and Architecture components. > > Signed-off-by: Graeme Russ > --- > It appears as if the i386 interrupt handler functiona

Re: [U-Boot] [PATCH 5/7] Factor out SC520 sub-features

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c888.5010...@gmail.com> you wrote: > Moved sub-features of the SC520 code which is currently selectively compiled > using #ifdef out of sc520.c into individual files selectively compiled via > the makefile > > Signed-off-by: Graeme Russ > --- > cpu/i386/sc520/M

Re: [U-Boot] [PATCH 6/7] Implement SC520 timers

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c895.9070...@gmail.com> you wrote: > Implement SC520 timers > > Signed-off-by: Graeme Russ > --- > cpu/i386/Makefile |2 = > > cpu/i386/sc520/sc520_timer.c | 71 - > cpu/i386/timer.c | 211 ---

Re: [U-Boot] [PATCH 7/7] Add primitive relocation to i386 port

2009-02-24 Thread Wolfgang Denk
Dear Graeme Russ, In message <49a3c8a0.2010...@gmail.com> you wrote: > Add basic relocation to i386 port > > Signed-off-by: Graeme Russ > --- > This patch provides relocation of the text (code) segment of the i386 > binary (in addition to already relocated sections). However, as discussed > prev

Re: [U-Boot] [PATCH 4/9 v3] 83xx, i2c: add mux support for fsl_i2c

2009-02-24 Thread Kim Phillips
On Tue, 24 Feb 2009 08:53:33 +0100 Heiko Schocher wrote: > Hello Kim, > > Kim Phillips wrote: > > On Thu, 19 Feb 2009 17:24:09 +0100 > > Heiko Schocher wrote: > [...] > >> unsigned int i2c_get_bus_num(void) > >> { > >> +#if defined(CONFIG_I2C_MUX) > >> + return i2c_bus_num_mux; > >> +#else >

[U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-02-24 Thread Detlef Vollmann
Change at91 CPUs based on arm926ejs to return milliseconds from get_timer and get_ticks. Also changes in the value of CONFIG_SYS_HZ to 1000 in all board configs using these CPUs. This will not compile on boards using these CPUs with a different value for CONFIG_SYS_HZ. Signed-off-by: Detlef

[U-Boot] [PATCH] mflash: Initial mflash support

2009-02-24 Thread unsik Kim
Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC do

[U-Boot] change autoboot

2009-02-24 Thread bundy
Newbie with question: uboot is currently configured to autoboot with "run boot_nor". In the configuration I found a variable called BOOTCOMMAND which is set to "run boot_nor". Which I now want to set it to "run prog_all_usb; run boot_nor" I then recompile everything transfer u-boot to my device

[U-Boot] [PATCH] 83xx: Fix some bugs in spd sdram code

2009-02-24 Thread Dave Liu
1. RD_TO_PRE missed to add the AL, and need min 2 clocks for tRTP according to DDR2 JEDEC spec. 2. WRTORD - tWTR need min 2 clocks according to DDR2 JEDEC spec. 3. add the support of DDR2-533,667,800 DIMMs 4. cpo 5. make the AL to min to gain better performance. The Micron MT9HTF6472CHY-667D1 DI

[U-Boot] [PATCH] fsl-ddr: Fix some bugs in the ddr infrastructure

2009-02-24 Thread Dave Liu
1. wr_lat UM said the total write latency for DDR2 is equal to WR_LAT + ADD_LAT, the write latency is CL + ADD_LAT - 1. so, the WR_LAT = CL - 1; 2. rd_to_pre we missed to add the ADD_LAT for DDR2 case and check the min tRTP. 3. wr_to_rd add the check the min requirement for tWTR.

[U-Boot] [PATCH 4/5] sh7785lcr: add value for PCI system memory registration

2009-02-24 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- include/configs/sh7785lcr.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h index 2d562bf..94c8d6b 100644 --- a/include/configs/sh7785lcr.h +++ b/include/configs/sh7785lcr.h

Re: [U-Boot] change autoboot

2009-02-24 Thread Pieter
bundy wrote: > Newbie with question: > uboot is currently configured to autoboot with "run boot_nor". In the > configuration I found a variable called BOOTCOMMAND which is set to "run > boot_nor". Which I now want to set it to "run prog_all_usb; run boot_nor" > I then recompile everything trans

[U-Boot] [PATCH 1/2] rtl8169: fix cache coherency problem

2009-02-24 Thread Yoshihiro Shimoda
Fix the problem that cannot access actual data when CPU data cache enabled. Signed-off-by: Yoshihiro Shimoda --- drivers/net/rtl8169.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index e9f6391..b441ec4 100644 -

[U-Boot] [PATCH 3/5] pci_sh4: Add system memory registration

2009-02-24 Thread Yoshihiro Shimoda
It is necessary for some pci device driver. Signed-off-by: Yoshihiro Shimoda --- drivers/pci/pci_sh4.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 057b6dd..c7963ed 100644 --- a/drivers/pci/pci_sh4.c +++ b/

[U-Boot] [PATCH 2/2] rtl8169: fix PCI system memory address

2009-02-24 Thread Yoshihiro Shimoda
When PCI device use system memory, some PCI host controller should be set physical memory address. Signed-off-by: Yoshihiro Shimoda --- drivers/net/rtl8169.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index b

[U-Boot] [PATCH 5/5] sh7785lcr: Add support 32-Bit Extended Address Mode

2009-02-24 Thread Yoshihiro Shimoda
We can built 'make sh7785lcr_32bit_config'. And add new command "pmb" for this mode. This command changes PMB for using 512MB system memory. Signed-off-by: Yoshihiro Shimoda --- Makefile | 15 +++- board/renesas/sh7785lcr/config.mk |

[U-Boot] [PATCH 1/5] sh: Add macros for SH-4A 32-Bit Address Extended Mode

2009-02-24 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- include/asm-sh/cpu_sh4.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/asm-sh/cpu_sh4.h b/include/asm-sh/cpu_sh4.h index d2dbfcd..7c6c6ae 100644 --- a/include/asm-sh/cpu_sh4.h +++ b/include/asm-sh/cpu_sh4.h @@ -54,4 +

[U-Boot] [PATCH 2/5] pci-sh7780: some register value configurable

2009-02-24 Thread Yoshihiro Shimoda
Some register value was hardcoded for System memory size 128MB and memory offset 0x0800. This patch fixed the problem. Signed-off-by: Yoshihiro Shimoda --- drivers/pci/pci_sh7780.c|6 +++--- include/configs/r7780mp.h |3 +++ include/configs/sh7785lcr.h |3 +++ 3 files chang

[U-Boot] LDS unification & initcall

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi all, I'm working actually to unify the lds of ARM, SH, and some other arch in order to firstly improve its maintaining and secondly prepare the field to the introduction of the initcall for in a first time post relocation. Please all Custodian take a loo

[U-Boot] [PATCH 01/11] mkconfig: export ARCH, CPU, SOC, BOARD, VENDOR to config.h

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- mkconfig | 32 +--- 1 files changed, 21 insertions(+), 11 deletions(-) diff --git a/mkconfig b/mkconfig index b0bbbd1..5ab9c2d 100755 --- a/mkconfig +++ b/mkconfig @@ -62,25 +62,35 @@ if [ "$2" = "arm" ] ; then fi

[U-Boot] [PATCH 03/11] ARM: LDS remove the OUTPUT_FORMAT

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/actux1/u-boot.lds |1 - board/actux2/u-boot.lds |1 - board/actux3/u-boot.lds |1 - board/evb4510/u-boot.lds |1 - board/freescale/mx31ads/u

[U-Boot] [PATCH 06/11] actuax/B2: fix coding style

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/actux1/u-boot.lds | 62 +- board/actux2/u-boot.lds | 59 +++- board/actux3/u-boot.lds | 59 +++- 3 files chan

[U-Boot] [PATCH 05/11] sh: LDS remove the OUTPUT_FORMAT

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- lib_sh/u-boot.lds.S |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib_sh/u-boot.lds.S b/lib_sh/u-boot.lds.S index 7e2800d..eba1027 100644 --- a/lib_sh/u-boot.lds.S +++ b/lib_sh/u-boot.lds.S @@ -23,7 +23,6 @@ #includ

[U-Boot] [PATCH 04/11] sh: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/mpr2/u-boot.lds | 109 board/ms7720se/u-boot.lds | 108 --- board/ms7722se/u-boot.lds | 105 --- board/m

[U-Boot] [PATCH 07/11] avr32: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- avr32_config.mk|1 + board/atmel/atngw100/u-boot.lds| 73 board/earthlcd/favr-32-ezkit/u-boot.lds| 71 --- board/mimc/mimc200/u-boot

[U-Boot] [PATCH 08/11] mips: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/dbau1x00/u-boot.lds | 70 --- board/gth2/u-boot.lds | 70 --- board/incaip/u-boot.lds| 70 --- board/pb

[U-Boot] [PATCH 09/11] nios2: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/altera/ep1c20/u-boot.lds | 136 --- board/altera/ep1s10/u-boot.lds | 136 --- board/altera/ep1s40/u-boot.lds | 136 --- board/ps

[U-Boot] [PATCH 10/11] nios: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/altera/dk1s10/u-boot.lds | 70 board/ssv/adnpesc1/u-boot.lds | 70 lib_nios/Makefile |5 +- .../dk1c20/u-boot.lds =

[U-Boot] [PATCH 11/11] sparc: unified u-boot.lds

2009-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/gaisler/gr_cpci_ax2000/u-boot.lds| 160 --- board/gaisler/gr_ep2s60/u-boot.lds | 160 --- board/gaisler/gr_xc3s_1500/u-boot.lds | 162 board/g

Re: [U-Boot] [PATCH 1/7 v4] i2c, dtt: move dtt_init () to board_init_r ()

2009-02-24 Thread Heiko Schocher
Hello Peter, Peter Tyser wrote: > On Tue, 2009-02-24 at 11:30 +0100, Heiko Schocher wrote: >> In case where a board not uses CONFIG_POST, it is not >> necessary to init the DTTs when running from flash. >> >> Signed-off-by: Heiko Schocher >> --- >> lib_ppc/board.c |5 - >> 1 files change

[U-Boot] [PATCH] r2dplus: fix cannot work rtl8139

2009-02-24 Thread Yoshihiro Shimoda
The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory registration. Signed-off-by: Yoshihiro Shimoda --- This patch depend on as follows patch. http://www.mail-archive.com/u-boot@lists.denx.de/msg09816.html include/configs/r2dplus.h |3 +++ 1 files changed, 3 insertions(+),

Re: [U-Boot] [PATCH 2/7 v4] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-24 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: > On Tue, 24 Feb 2009 11:30:34 +0100 > Heiko Schocher wrote: > >> diff --git a/board/keymile/kmeter1/kmeter1.c >> b/board/keymile/kmeter1/kmeter1.c >> index f04a57a..a3c58ae 100644 >> --- a/board/keymile/kmeter1/kmeter1.c >> +++ b/board/keymile/kmeter1/kmeter1.c >

Re: [U-Boot] [PATCH v3] smc911x: split out useful defines/functions into local header

2009-02-24 Thread Ben Warren
Thanks Mike, you're a machine. Mike Frysinger wrote: > The smc911x driver has a lot of useful defines/functions which can be used > by pieces of code (such as example eeprom programmers). Rather than > forcing each place to duplicate these defines/functions, split them out > of the smdc911x drive

Re: [U-Boot] change autoboot

2009-02-24 Thread Wolfgang Denk
Dear bundy, In message <22195894.p...@talk.nabble.com> you wrote: > > uboot is currently configured to autoboot with "run boot_nor". In the > configuration I found a variable called BOOTCOMMAND which is set to "run > boot_nor". Which I now want to set it to "run prog_all_usb; run boot_nor" > I t

Re: [U-Boot] LDS unification & initcall

2009-02-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090225060934.gb26...@game.jcrosoft.org> you wrote: > > I'm working actually to unify the lds of ARM, SH, and some other arch > in order to firstly improve its maintaining and secondly prepare the > field to the introduction of

Re: [U-Boot] [PATCH 01/11] mkconfig: export ARCH, CPU, SOC, BOARD, VENDOR to config.h

2009-02-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1235542278-21451-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > mkconfig | 32 +--- > 1 files changed, 21 insertions(+), 11 deletions(-) > > diff --git

Re: [U-Boot] netloop: speed up NetLoop

2009-02-24 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: > On Tuesday 10 February 2009 03:38:52 Heiko Schocher wrote: >> NetLoop polls every cycle with getenv some environment variables. >> This is horribly slow, especially when the environment is big. >> >> This patch reads only the environment variables in NetLoop, >>

Re: [U-Boot] netloop: speed up NetLoop

2009-02-24 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: > On Tuesday 10 February 2009 03:38:52 Heiko Schocher wrote: >> +int NetInitLoop(proto_t protocol) > > and some comments not really specific to your code ... > >> +switch (protocol) { >> +#if defined(CONFIG_CMD_NFS) >> +case NFS: >> +#end

Re: [U-Boot] [PATCH 03/11] ARM: LDS remove the OUTPUT_FORMAT

2009-02-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1235542278-21451-3-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Please STOP posting patches that do not contain even a single line of explanation why you are making these changes, i. e. which

Re: [U-Boot] [PATCH 06/11] actuax/B2: fix coding style

2009-02-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1235542278-21451-6-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD there is no Coding Style specification for loader scripts - at least I am not aware of one. > - . = ALIGN (4); > - .te

Re: [U-Boot] [PATCH 08/11] mips: unified u-boot.lds

2009-02-24 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1235542278-21451-8-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD There is a fundamental problem with such changes: > --- a/board/dbau1x00/u-boot.lds > +++ /dev/null > @@ -1,70 +0,0 @@ > -/* >

Re: [U-Boot] [PATCH 4/9 v3] 83xx, i2c: add mux support for fsl_i2c

2009-02-24 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: > On Tue, 24 Feb 2009 08:53:33 +0100 > Heiko Schocher wrote: > >> Hello Kim, >> >> Kim Phillips wrote: >>> On Thu, 19 Feb 2009 17:24:09 +0100 >>> Heiko Schocher wrote: >> [...] unsigned int i2c_get_bus_num(void) { +#if defined(CONFIG_I2C_MUX)

  1   2   >