[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 ed.swarth...@freescale.com --- ECC and self refresh are broke for mpc8572ds in 2009.03-rc1. = md ffe02110 1 ffe02110: 8300

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 similar

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

[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

[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 graeme.russ at gmail.com --- 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

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

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

[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 graeme.russ at gmail.com --- board/sc520_cdp/sc520_cdp.c |2 +- drivers/misc/ali512x.c|2 +- include/ali512x.h |0 3 files changed, 2 insertions(+), 2 deletions(-) rename

[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 graeme.russ at gmail.com --- It appears as if the i386 interrupt handler functionality was intended to allow multiple handlers to be

[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 graeme.russ at gmail.com --- 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 graeme.russ at gmail.com --- cpu/i386/Makefile |2 cpu/i386/sc520/sc520_timer.c | 71 - cpu/i386/timer.c | 211 include/asm-i386/u-boot-i386.h |7 +

[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 graeme.r...@gmail.com --- 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

[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 h...@denx.de --- 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

[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 h...@denx.de --- drivers/i2c/fsl_i2c.c | 22

[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 h...@denx.de --- board/keymile/common/common.c|2 +-

[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 h...@denx.de --- board/keymile/kmeter1/kmeter1.c | 28 ++-- include/configs/kmeter1.h |4 ++-- 2 files

[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 h...@denx.de --- board/keymile/kmeter1/kmeter1.c |

[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

[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

[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

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; Liu

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 nvbolh...@aimvalley.nl 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

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 l...@denx.de 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 l...@denx.de Signed-off-by: Anatolij Gustschin ag...@denx.de --- Changes since v1:

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

2009-02-24 Thread Anatolij Gustschin
From: Guennadi Liakhovetski l...@denx.de 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 l...@denx.de Signed-off-by: Anatolij Gustschin ag...@denx.de --- Changes since v1: alphabetical order, typo in

Re: [U-Boot] Some question about uboot

2009-02-24 Thread loody
Hi Jerry: 2009/2/24 Jerry Van Baren gerald.vanba...@ge.com: 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

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 images

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: snip 02/07 Anatolij Gustschi [U-Boot] [PATCH 1/9 v4] i.MX31: fix SPI driver for shorter than 32 bit 02/07

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 USB

[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 h...@denx.de --- lib_ppc/board.c |5 - 1 files changed, 4 insertions(+), 1

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 this

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: snip 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

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: snip 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

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

2009-02-24 Thread Detlef Vollmann
Hello, From CHANGELOG: quote commit 49f3bdbba8071f56d950a9498b6cdb998b35340a Author: Bartlomiej Sieka t...@semihalf.com 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

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 dave...@freescale.com 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

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 h...@denx.de 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

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 the init

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 ed.swarth...@freescale.com 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 ed.swarth...@freescale.com 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-boot compiled with USB

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 not

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

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

2009-02-24 Thread Larry Johnson
Signed-off-by: Larry Johnson l...@acm.org --- 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 @@

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 CHANGELOG;

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 at:

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 graeme.russ at gmail.com --- For some reason, the following patch posted on the mailing list did not app= ly completely: [PATCH 04/15]

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_option Signed-off-by: Graeme Russ graeme.russ at gmail.com --- board/sc520_cdp/sc520_cdp.c | 16 cpu/i386/sc520/sc520.c|6 +++---

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 graeme.russ at gmail.com --- board/sc520_cdp/sc520_cdp.c |2 +- drivers/misc/ali512x.c|2 +- include/ali512x.h |

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 graeme.russ at gmail.com --- It appears as if the i386 interrupt

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 graeme.russ at gmail.com ---

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 graeme.russ at gmail.com --- 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 graeme.r...@gmail.com --- This patch provides relocation of the text (code) segment of the i386 binary (in addition to already relocated sections). However, as

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 h...@denx.de wrote: Hello Kim, Kim Phillips wrote: On Thu, 19 Feb 2009 17:24:09 +0100 Heiko Schocher h...@denx.de wrote: [...] unsigned int i2c_get_bus_num(void) { +#if defined(CONFIG_I2C_MUX) + return i2c_bus_num_mux; +#else

[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

[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 shimoda.yoshih...@renesas.com --- 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 +++

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 transfer u-boot

[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 shimoda.yoshih...@renesas.com --- drivers/net/rtl8169.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c

[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 shimoda.yoshih...@renesas.com --- 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 ---

[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 shimoda.yoshih...@renesas.com --- drivers/net/rtl8169.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/rtl8169.c

[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 shimoda.yoshih...@renesas.com --- Makefile | 15 +++-

[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 shimoda.yoshih...@renesas.com --- 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 +++

[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 shimoda.yoshih...@renesas.com --- drivers/pci/pci_sh7780.c|6 +++--- include/configs/r7780mp.h |3 +++

[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

[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 plagn...@jcrosoft.com --- 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

[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 plagn...@jcrosoft.com --- board/actux1/u-boot.lds |1 - board/actux2/u-boot.lds |1 - board/actux3/u-boot.lds |1 - board/evb4510/u-boot.lds |1 -

[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 plagn...@jcrosoft.com --- board/actux1/u-boot.lds | 62 +- board/actux2/u-boot.lds | 59 +++- board/actux3/u-boot.lds | 59

[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 plagn...@jcrosoft.com --- 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 @@

[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 plagn...@jcrosoft.com --- board/mpr2/u-boot.lds | 109 board/ms7720se/u-boot.lds | 108 --- board/ms7722se/u-boot.lds | 105

[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 plagn...@jcrosoft.com --- avr32_config.mk|1 + board/atmel/atngw100/u-boot.lds| 73 board/earthlcd/favr-32-ezkit/u-boot.lds| 71 ---

[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 plagn...@jcrosoft.com --- board/dbau1x00/u-boot.lds | 70 --- board/gth2/u-boot.lds | 70 --- board/incaip/u-boot.lds| 70

[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 plagn...@jcrosoft.com --- board/altera/ep1c20/u-boot.lds | 136 --- board/altera/ep1s10/u-boot.lds | 136 --- board/altera/ep1s40/u-boot.lds | 136

[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 plagn...@jcrosoft.com --- board/altera/dk1s10/u-boot.lds | 70 board/ssv/adnpesc1/u-boot.lds | 70 lib_nios/Makefile |5 +-

[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 plagn...@jcrosoft.com --- 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

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 h...@denx.de --- lib_ppc/board.c |5 - 1 files changed,

[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 shimoda.yoshih...@renesas.com --- 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

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 h...@denx.de 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 driver

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 then

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 the

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 plagn...@jcrosoft.com --- mkconfig | 32 +--- 1 files changed, 21 insertions(+), 11 deletions(-)

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, when they

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: +#endif +

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 plagn...@jcrosoft.com Please STOP posting patches that do not contain even a single line of explanation why you are making these

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 plagn...@jcrosoft.com there is no Coding Style specification for loader scripts - at least I am not aware of one. - . =

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 plagn...@jcrosoft.com There is a fundamental problem with such changes: --- a/board/dbau1x00/u-boot.lds +++ /dev/null @@ -1,70

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 h...@denx.de wrote: Hello Kim, Kim Phillips wrote: On Thu, 19 Feb 2009 17:24:09 +0100 Heiko Schocher h...@denx.de wrote: [...] unsigned int i2c_get_bus_num(void) { +#if defined(CONFIG_I2C_MUX) +