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

2009-02-25 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1235402987-18990-1-git-send-email-vap...@gentoo.org you 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

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

2009-02-25 Thread Wolfgang Denk
Dear Ben Warren, In message 49a4f06c.1020...@gmail.com you wrote: 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,

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

2009-02-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:45 Wed 25 Feb , Wolfgang Denk wrote: 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 We do not need to specify the output format

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

2009-02-25 Thread Joakim Tjernlund
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

[U-Boot] [ppc4xx/next] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2009-02-25 Thread Stefan Roese
The following changes since commit 74957cb4295e39c8f2e05e0f1828917a450171f9: Graeme Russ (1): Add basic relocation to i386 port are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git next Matthias Fuchs (6): ppc4xx: Abort autoboot only by space key on

Re: [U-Boot] [PATCH 02/11] arm: unified u-boot.lds

2009-02-25 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1235542278-21451-2-git-send-email-plagn...@jcrosoft.com you wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .gitignore |1 + Makefile

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

2009-02-25 Thread Joakim Tjernlund
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

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

2009-02-25 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090225082153.gc26...@game.jcrosoft.org you wrote: On 08:45 Wed 25 Feb , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1235542278-21451-3-git-send-email-plagn...@jcrosoft.com you wrote: Signed-off-by:

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

2009-02-25 Thread Liu Dave-R63238
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

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

2009-02-25 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090225082333.gd26...@game.jcrosoft.org you wrote: -[ $5 ] [ $5 != NULL ] echo VENDOR = $5 config.mk +[ $5 ] [ $5 != NULL ] { + echo VENDOR = $5 config.mk + echo #define CONFIG_VENDOR $5 config.h +} Please do NOT do

Re: [U-Boot] [PATCH 02/11] arm: unified u-boot.lds

2009-02-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:41 Wed 25 Feb , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1235542278-21451-2-git-send-email-plagn...@jcrosoft.com you wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .gitignore

Re: [U-Boot] LDS unification initcall

2009-02-25 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090225082703.ga25...@game.jcrosoft.org you wrote: On 08:31 Wed 25 Feb , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090225060934.gb26...@game.jcrosoft.org you wrote: I'm working actually to unify

Re: [U-Boot] [ppc4xx/next] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2009-02-25 Thread Wolfgang Denk
Dear Stefan Roese, In message 200902250937.41469...@denx.de you wrote: The following changes since commit 74957cb4295e39c8f2e05e0f1828917a450171f9: Graeme Russ (1): Add basic relocation to i386 port are available in the git repository at:

Re: [U-Boot] [PATCH/next branch] powerpc: Fix compilation warning in board.c

2009-02-25 Thread Wolfgang Denk
Dear Stefan Roese, In message 1235404356-2998-1-git-send-email...@denx.de you wrote: Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese s...@denx.de --- lib_ppc/board.c

Re: [U-Boot] [PATCH/next branch] powerpc: Only use eth_getenv_enetaddr() if networking is enabled

2009-02-25 Thread Wolfgang Denk
Dear Stefan Roese, In message 1235404365-3041-1-git-send-email...@denx.de you wrote: Signed-off-by: Stefan Roese s...@denx.de --- lib_ppc/board.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index f1b62f5..fc3cef6 100644 ---

Re: [U-Boot] [PATCH/next branch] powerpc: Only use eth_getenv_enetaddr() if networking is enabled

2009-02-25 Thread Stefan Roese
On Wednesday 25 February 2009, Wolfgang Denk wrote: +++ b/lib_ppc/board.c @@ -888,8 +888,10 @@ void board_init_r (gd_t *id, ulong dest_addr) bd-bi_ethspeed = 0x; #endif +#ifdef CONFIG_CMD_NET /* kept around for legacy kernels only ... ignore the next section */

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

2009-02-25 Thread Liu Dave-R63238
The code actually is ugly. The max operation freq of the whole 83xx DDR controller is lagging the mainstream DDR2 DIMMs. We have to put the high speed DIMMs to low speed controller. It sounds like ugly. So we often happen the boundary issue. Basically, the mainstream PC industry DDR2

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

2009-02-25 Thread Graeme Russ
On Wed, Feb 25, 2009 at 9:27 AM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message 49a3c7cc.4090...@gmail.com you wrote: Fixes commit 407976185e0dda2c90e89027121a1071b9c77bfb = 4 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 cpu/i386/sc520/Makefile

Re: [U-Boot] [PATCH/next branch] powerpc: Only use eth_getenv_enetaddr() if networking is enabled

2009-02-25 Thread Wolfgang Denk
Dear Stefan Roese, In message 200902251029.42273...@denx.de you wrote: Should that #ifdef not include the code for eth1addr etc., too? I don't think this is needed. If a board has a 2nd (or 3rd...) ethernet interface, it sets CONFIG_HAS_ETH1. I can't think of a board setting this define

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

2009-02-25 Thread Wolfgang Denk
Dear Graeme Russ, In message d66caabb0902250218k6a6acf91ie0a3223ca4380...@mail.gmail.com you wrote: On Wed, Feb 25, 2009 at 9:27 AM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message 49a3c7cc.4090...@gmail.com you wrote: Fixes commit 407976185e0dda2c90e89027121a1071b9c77bfb

[U-Boot] [PATCH v2] powerpc: Only use eth_getenv_enetaddr() if networking is enabled

2009-02-25 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de --- v2: - Include all eth_getenv_enetaddr() calls in the CONFIG_CMD_NET section lib_ppc/board.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index f1b62f5..cac40ac 100644 --- a/lib_ppc/board.c

[U-Boot] [PATCH] netloop: updates for NetLoop

2009-02-25 Thread Heiko Schocher
Fix some issues introduced from commit: 2f70c49e5b9813635ad73666aa30f304c7fdeda9 suggested by Mike Frysinger. - added some comment for the env_id variable in common/cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now static void Signed-off-by: Heiko

[U-Boot] [PATCH] netloop: cleanups

2009-02-25 Thread Heiko Schocher
suggested from Mike Frysinger: - in NetInitLoop() in BOOTP/RARP case, only read once the vlan and nvlan environment vars. - deleted unnecessary PING, SNTP cases Signed-off-by: Heiko Schocher h...@denx.de --- net/net.c | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff

Re: [U-Boot] [PATCH] netloop: updates for NetLoop

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 07:40:45 Heiko Schocher wrote: +/* + * This variable is incremented on each do_setenv (), so it can + * be used as an indication, if the environment has changed or not. + * So it is possible to reread an environment variable only if the + * environment was

Re: [U-Boot] [PATCH] netloop: cleanups

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 07:40:59 Heiko Schocher wrote: suggested from Mike Frysinger: - in NetInitLoop() in BOOTP/RARP case, only read once the vlan and nvlan environment vars. - deleted unnecessary PING, SNTP cases Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Mike Frysinger

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

2009-02-25 Thread Dirk Behme
Wolfgang Denk wrote: 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

Re: [U-Boot] LDS unification initcall

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 01:09:34 Jean-Christophe PLAGNIOL-VILLARD 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 initcall for in a first

Re: [U-Boot] change autoboot

2009-02-25 Thread bundy
Dear Wolfgang Denk Sorry I was unclear in my question, its not that saveenv doesn't work as it does, it was that I was hoping to do it through the build system/configuration file. Bundy wd wrote: Dear bundy, In message 22195894.p...@talk.nabble.com you wrote: uboot is currently

Re: [U-Boot] change autoboot

2009-02-25 Thread Wolfgang Denk
Dear bundy, In message 22209226.p...@talk.nabble.com you wrote: Sorry I was unclear in my question, its not that saveenv doesn't work as it does, it was that I was hoping to do it through the build system/configuration file. You can do that, too, of course. But allyou affect this way

[U-Boot] [PATCH] lcd: Fix compilation warning in common/lcd.c

2009-02-25 Thread Anatolij Gustschin
Fix following warning while compilation for mcc200 board: lcd.c: In function 'lcd_display_bitmap': lcd.c:625: warning: unused variable 'cmap' Signed-off-by: Anatolij Gustschin ag...@denx.de --- common/lcd.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link

2009-02-25 Thread Peter Tyser
Sorry for the delayed response, On Tue, 2009-02-10 at 11:31 -0600, Scott Wood wrote: On Tue, Feb 10, 2009 at 08:59:11AM -0500, Jerry Van Baren wrote: That is my reasoning behind my statement that we can generally ignore the autonegotiation - fixed configuration case because the odds of it

[U-Boot] u-boot-v2 rc7

2009-02-25 Thread John Jeffers
In ~/u-boot-v2/board/pcm038/env/config (and in most other boards in v2) the following is found: /+ autoboot_timeout=3 nfsroot=/ptx/work/octopus/rsc/svn/oselas/bsp/phytec/phyCORE-i.MX27/OSELAS.BSP-Phytec-phyCORE-i.MX27-trunk/root bootargs=console=ttymxc0,115200 -/ I believe this causes

Re: [U-Boot] [ptxdist] u-boot-v2 rc7

2009-02-25 Thread Robert Schwebel
On Wed, Feb 25, 2009 at 03:04:56PM -0600, John Jeffers wrote: In ~/u-boot-v2/board/pcm038/env/config (and in most other boards in v2) the following is found: /+ autoboot_timeout=3

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

2009-02-25 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 49a5a2c2.5050...@denx.de you wrote: The following changes since commit f5a77a09c93fe7f04c0c56f64ea436f7d318d674: Graeme Russ (1): Moved SC520 Files (fix commit 407976185e0dda2c90e89027121a1071b9c77bfb) are available in the git repository at:

[U-Boot] [PATCH] smc911x_eeprom: update register API

2009-02-25 Thread Mike Frysinger
The smc911x driver changed the naming convention for its register funcs, so update the eeprom code accordingly. Signed-off-by: Mike Frysinger vap...@gentoo.org CC: Ben Warren biggerbadder...@gmail.com --- examples/smc911x_eeprom.c | 28 +++- 1 files changed, 15

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

2009-02-25 Thread Kim Phillips
On Wed, 25 Feb 2009 08:11:18 +0100 Heiko Schocher h...@denx.de wrote: (and not boots), then there is no reason for this to be an environment variable. No? There is a reason, because if it is an environment variable, we (or better the board manufacturer) can use one u-boot binary for all

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

2009-02-25 Thread Kim Phillips
On Wed, 25 Feb 2009 09:00:39 +0100 Heiko Schocher h...@denx.de wrote: so instead of naming it i2c_bus_num_mux it should be renamed i2c_adapter_num?, or does i2c_get_bus_num() still imply that it will No, i2c_adapter_num should be 0 or 1 for Controller 0 or 1, I think, and i2c_bus_num_mux

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

2009-02-25 Thread Timur Tabi
On Wed, Feb 25, 2009 at 2:00 AM, Heiko Schocher h...@denx.de wrote: We should rework this i2c multibus instead complete, so we can remove all this instances from i2c_get_bus_num()/i2c_set_bus_num() in every i2c driver ... such an attempt was in discussion, but unfortunately failed ... but I

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

2009-02-25 Thread Heiko Schocher
Hello Timur, Timur Tabi wrote: On Wed, Feb 25, 2009 at 2:00 AM, Heiko Schocher h...@denx.de wrote: We should rework this i2c multibus instead complete, so we can remove all this instances from i2c_get_bus_num()/i2c_set_bus_num() in every i2c driver ... such an attempt was in discussion, but

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

2009-02-25 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: On Wed, 25 Feb 2009 09:00:39 +0100 Heiko Schocher h...@denx.de wrote: so instead of naming it i2c_bus_num_mux it should be renamed i2c_adapter_num?, or does i2c_get_bus_num() still imply that it will No, i2c_adapter_num should be 0 or 1 for Controller 0 or 1,

[U-Boot] ref:fail to include stdio.h

2009-02-25 Thread Paul Wang
Hi, all, I have a simple question to ask. Any information from you would be helpful. I am using U-BOOT 1.3.3 with the cross tool chain arm-linux-gcc-3.3.2 on a Xscale platform. Basically it works fine. The problem is: When I want to add any one of std header files anywhere on my architecture

[U-Boot] [PATCH v2] netloop: updates for NetLoop

2009-02-25 Thread Heiko Schocher
[PATCH v2] netloop: updates for NetLoop Fix some issues introduced from commit: 2f70c49e5b9813635ad73666aa30f304c7fdeda9 suggested by Mike Frysinger. - added some comment for the env_id variable in common_cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now

[U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-02-25 Thread Rohit Hagargundgi
Currently OneNAND initial program loader (ipl) reads only block 0. However, u-boot image for apollon board is 195KB making the board unbootable with OneNAND. Fix ipl to read 256KB. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com --- onenand_ipl/onenand_ipl.h |1 +