Re: [U-Boot] [PATCH 3/3 v5] SAMSUNG: SMDKC100: Adds ethernet support.

2010-02-25 Thread Naveen Krishna Ch
HI Kang, On 26 February 2010 08:12, Minkyu Kang wrote: > Dear Naveen Krishna CH, > > On 25 February 2010 21:28, wrote: > > From: Naveen Krishna CH > > > > Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be > > loaded over tftp. > > > > The preinit function will configure GPIO (

Re: [U-Boot] [PATCH 3/3 v5] SAMSUNG: SMDKC100: Adds ethernet support.

2010-02-25 Thread Minkyu Kang
Dear Naveen Krishna CH, On 25 February 2010 21:28, wrote: > From: Naveen Krishna CH > > Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be > loaded over tftp. > > The preinit function will configure GPIO (GPK0CON) & SROMC to look > for environment in SROM Bank 3. > > Signed-off-b

Re: [U-Boot] [PATCH v2] Add bootcount to AT91

2010-02-25 Thread Tom
Anders Darander wrote: > Use AT91_GPBR 3 as a bootcount register. > The bootmagic and the bootcount shares AT91_GPBR 3. This has been applied to ARM Thanks. Tom ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2 rev2] ep93xx: Refactoring of timer code

2010-02-25 Thread Tom
Matthias Kaehlcke wrote: > Hi Tom, > > El Thu, Feb 25, 2010 at 09:54:59AM -0600 Tom ha dit: > >> Matthias Kaehlcke wrote: >>> ep93xx: Refactoring of the timer code, including the following changes >>> >>> * use a free running timer instead of a periodical one >>> * use unsigned long long for tota

Re: [U-Boot] [PATCH 2/2 rev2] ep93xx: Refactoring of timer code

2010-02-25 Thread Matthias Kaehlcke
Hi, El Thu, Feb 25, 2010 at 08:22:59PM +0100 Alessandro Rubini ha dit: > > i was/am working on a new version of the patch, taking into account > > your remarks about the unit of TIMER_FREQ and fixing some issues > > discussed with Alessandro Rubini off-list, who worked on a similar > > patch. >

Re: [U-Boot] [PATCH 2/2 rev2] ep93xx: Refactoring of timer code

2010-02-25 Thread Alessandro Rubini
> i was/am working on a new version of the patch, taking into account > your remarks about the unit of TIMER_FREQ and fixing some issues > discussed with Alessandro Rubini off-list, who worked on a similar > patch. Actually, I checked the point we disagreed about, which is the unit of get_ticks()

Re: [U-Boot] [PATCH 2/2 rev2] ep93xx: Refactoring of timer code

2010-02-25 Thread Matthias Kaehlcke
Hi Tom, El Thu, Feb 25, 2010 at 09:54:59AM -0600 Tom ha dit: > Matthias Kaehlcke wrote: > >ep93xx: Refactoring of the timer code, including the following changes > > > > * use a free running timer instead of a periodical one > > * use unsigned long long for total number of ticks > > * hold the ti

[U-Boot] EBC_NUM_BANKS for Virtex5 PPC440?

2010-02-25 Thread Lucas
I'm working on a custom board that is similar to the ml507 (with a virtex 5 powerpc 440), and I ran across this error compiling u-boot: fdt.c: In function '__ft_board_setup': fdt.c:43: error: 'EBC_NUM_BANKS' undeclared (first use in this function) fdt.c:43: error: (Each undeclared identifier is re

[U-Boot] [PATCH] ppc4xx fix unstable 440EPx bootstrap options

2010-02-25 Thread Rupjyoti Sarmah
440EPx fixed bootstrap options A, B, D, and E sets PLL FWDVA to a value = 1. This results in the PLLOUTB being greater than the CPU clock frequency resulting unstable 440EPx operation resulting in various software hang conditions. Signed-off-by: Rupjyoti Sarmah Acked-by : Victor Gallardo --- cp

Re: [U-Boot] [PATCH] mpc8315erdb: fix out-of-tree building for NAND config

2010-02-25 Thread Anton Vorontsov
On Tue, Feb 23, 2010 at 06:48:15PM -0600, Kim Phillips wrote: [...] > > Can you please look into this? Thanks. > > it seems a complete merge of mpc8313 and mpc8315 into mpc831x is in > order. I'll see what I can do. IIRC some 837x boards can boot from nand too, and I guess there isn't much diffe

Re: [U-Boot] About Die ID When Booting u-boot

2010-02-25 Thread Tom
huadong2008 wrote: > Hi, > I'm studying porting Android onto Beagleboard(OMAP3530 based). > When booting u-boot version 2009 11 from SD card, the terminal show "Die ID > #7fa2000304013f7806011011 ". > Could you please tell me what is Die ID? Or where can I download relative > document abo

Re: [U-Boot] memory display question

2010-02-25 Thread Steve Iribarne
Detlev Zundel wrote: > Hi Steve, > >> I'm currently getting an error when I try to do a secure boot (internal >> to the processor). So the next step is to verify that my u-boot image is >> loaded where I think it should be loaded (at TEXT_BASE (0x83F0_)). >> >> When I do a md.w 0x83F0 0x

Re: [U-Boot] [PATCH 2/2 rev2] ep93xx: Refactoring of timer code

2010-02-25 Thread Tom
Matthias Kaehlcke wrote: > ep93xx: Refactoring of the timer code, including the following changes > > * use a free running timer instead of a periodical one > * use unsigned long long for total number of ticks > * hold the timer state in a structure instead of separate variables > * increment

[U-Boot] [PATCH v2] Add bootcount to AT91

2010-02-25 Thread Anders Darander
Use AT91_GPBR 3 as a bootcount register. The bootmagic and the bootcount shares AT91_GPBR 3. Signed-off-by: Anders Darander --- Changes since V1: * Corrected multiline comment. * Added a comment about why a common register is used for the bootmagic and the bootcount.

Re: [U-Boot] [PATCH] Add bootcount to AT91

2010-02-25 Thread Anders Darander
Hi Tom, Thanks for your comments. On Thu, Feb 25, 2010 at 15:24, Tom wrote: > Anders Darander wrote: >> >> From: Anders Darander >> --- a/cpu/arm926ejs/at91/cpu.c >> +++ b/cpu/arm926ejs/at91/cpu.c >> @@ -31,6 +31,11 @@ >>  #define AT91_MAIN_CLOCK 0 >>  #endif >>  +/* The at91sam9260 has 4 GPBR

Re: [U-Boot] [PATCH v2] OMAP3: workaround for ARM Cortex-A8 erratum 725233

2010-02-25 Thread Tom
Paulraj, Sandeep wrote: >> Siarhei Siamashka wrote: >>> 725233: PLD instructions executed with PLD data forwarding >>> enabled can result in a processor deadlock >>> >>> This deadlock can happen when NEON load instructions are used together >>> with cache preload instructions (PLD). The problematic

Re: [U-Boot] [PATCH] Add bootcount to AT91

2010-02-25 Thread Tom
Anders Darander wrote: > From: Anders Darander > > Use AT91_GPBR 3 as a bootcount register. > > Signed-off-by: Anders Darander > --- > cpu/arm926ejs/at91/cpu.c | 28 > 1 files changed, 28 insertions(+), 0 deletions(-) > > diff --git a/cpu/arm926ejs/at91/cpu.c

Re: [U-Boot] setexpr syntax

2010-02-25 Thread Wolfgang Denk
Dear Frans Meulenbroeks, In message you wrote: > > I noticed setexpr help says: > can be &, |, ^, +, -, *, /, % > > However, when one uses the hush shell additional escapes might be needed. Well, yes, of course. > Not sure whether we should document this somewhere (or modify the help text)

[U-Boot] [PATCH] cmd_mmc remove \n

2010-02-25 Thread Frans Meulenbroeks
This patch removed the \n after the help message for mmcinfo. This one resulted in an empty line being displayed after the mmcinfo line when the help command was given. Signed-off-by: Frans Meulenbroeks --- common/cmd_mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH 7/7] cmd_setexpr: allow memory addresses and env vars in expressions

2010-02-25 Thread Frans Meulenbroeks
Resubmitted the patch (see previous message) as I noticed a \n in the help was missing. Apologies for any inconvenience. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] setexpr syntax

2010-02-25 Thread Frans Meulenbroeks
Dear all, I noticed setexpr help says: can be &, |, ^, +, -, *, /, % However, when one uses the hush shell additional escapes might be needed. => setexpr tst 3 & f syntax error => setexpr tst 3 | f syntax error This works: => setexpr tst 3 \| f => print tst tst=f Not sure whether we should d

[U-Boot] [PATCH 7/7] cmd_setexpr: allow memory addresses and env vars in expressions

2010-02-25 Thread Frans Meulenbroeks
This patch add functionality to use memory addresses and environment variables in expressions. This increases the power of expressions substantially It adheres to the standard convemtions: memory addresses can be given in the format *address (e.g. *1000), environment variables as $this_var. envi

Re: [U-Boot] [PATCH 7/7] cmd_setexpr: allow memory addresses and env vars in expressions

2010-02-25 Thread Frans Meulenbroeks
btw no idea why this patch became 7/7. I did not use -n in format-patch (but indeed I am 7 patches ahead the first 5 then an unnumbered one (which is independent of the earlier ones) and this one (which is again independent of earlier ones. Ah well, the mysteries of git I assume. Frans __

[U-Boot] [PATCH 3/3 v5] SAMSUNG: SMDKC100: Adds ethernet support.

2010-02-25 Thread ch . naveen
From: Naveen Krishna CH Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be loaded over tftp. The preinit function will configure GPIO (GPK0CON) & SROMC to look for environment in SROM Bank 3. Signed-off-by: Naveen Krishna Ch --- Changes since V1: 1. The CONFIG_BOOTP* and Net co

[U-Boot] [PATCH 2/3 v5] S5PC100: Function to configure the SROMC registers.

2010-02-25 Thread ch . naveen
From: Naveen Krishna CH Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly. The config_sromc() functions helps with this. Signed-off-by: Naveen Krishna Ch --- Changes since V1: 1. Funtion config_sromc() is renamed to s5pc1xx_config_sromc(). Comments fr

[U-Boot] [PATCH 1/3 v5] S5PC100: Memory SubSystem Header file, register description(SROMC).

2010-02-25 Thread ch . naveen
From: Naveen Krishna CH Memory subsystem of S5PC100 handles SROM, SRAM, OneDRAM, OneNand, NAND Flash, DDRs. smc.h is a common place for the register description of Memory subsystem of S5PC100. Note: Only SROM related registers are descibed now. Signed-off-by: Naveen Krishna Ch --- Changes since

Re: [U-Boot] imx27lite board support no longer compile

2010-02-25 Thread Stefano Babic
Heiko Schocher wrote: > Hello Stefano, > Hi Heiko, > your following commit breaks building the imx27lite board > (and all boards, which uses the ./drivers/net/fec_mxc.c > I think), because the following function is missing: > > [...@pollux u-boot]$ grep -lr imx_get_fecclk . > ./drivers/net/fec_

Re: [U-Boot] [PATCH 1/3 v4] S5PC100: Memory SubSystem Header file, register description(SROMC).

2010-02-25 Thread Minkyu Kang
Naveen Krishna Ch, On 25 February 2010 20:37, Naveen Krishna Ch wrote: > Sure sure, > Do i need to send as v5 > or can i send this patch alone Please don't top posting. And please send v5. > > On 25 February 2010 17:03, Minkyu Kang wrote: >> >> Dear Naveen Krishna CH, >> >> On 23 February 2010

[U-Boot] imx27lite board support no longer compile

2010-02-25 Thread Heiko Schocher
Hello Stefano, your following commit breaks building the imx27lite board (and all boards, which uses the ./drivers/net/fec_mxc.c I think), because the following function is missing: [...@pollux u-boot]$ grep -lr imx_get_fecclk . ./drivers/net/fec_mxc.c ./drivers/net/fec_mxc.o ./drivers/net/libnet

Re: [U-Boot] [PATCH 1/3 v4] S5PC100: Memory SubSystem Header file, register description(SROMC).

2010-02-25 Thread Naveen Krishna Ch
Sure sure, Do i need to send as v5 or can i send this patch alone On 25 February 2010 17:03, Minkyu Kang wrote: > Dear Naveen Krishna CH, > > On 23 February 2010 18:21, wrote: > > From: Naveen Krishna CH > > > > Memory subsystem of S5PC100 handles SROM, SRAM, OneDRAM, OneNand, > > NAND Flash,

Re: [U-Boot] [PATCH 1/3 v4] S5PC100: Memory SubSystem Header file, register description(SROMC).

2010-02-25 Thread Minkyu Kang
Dear Naveen Krishna CH, On 23 February 2010 18:21, wrote: > From: Naveen Krishna CH > > Memory subsystem of S5PC100 handles SROM, SRAM, OneDRAM, OneNand, > NAND Flash, DDRs. > mem.h is a common place for the register description of Memory subsystem > of S5PC100. > Note: Only SROM related regist

Re: [U-Boot] coldfire support

2010-02-25 Thread angelo
Hi all, so unfortunately (for me), MCF5307 is still not supported. I took a fast look inside these supported models, to start up a new 5307 support, but every starting point, for the specific 5307 internal memory layout, is too different, and can't have the time to accomplish it now. Hope that

Re: [U-Boot] memory display question

2010-02-25 Thread Detlev Zundel
Hi Steve, > > I'm currently getting an error when I try to do a secure boot (internal > to the processor). So the next step is to verify that my u-boot image is > loaded where I think it should be loaded (at TEXT_BASE (0x83F0_)). > > When I do a md.w 0x83F0 0x20 it display's all zero's w

[U-Boot] [PATCH 7/7] cmd_setexpr: allow memory addresses and env vars in expressions

2010-02-25 Thread Frans Meulenbroeks
This patch add functionality to use memory addresses and environment variables in expressions. This increases the power of expressions substantially It adheres to the standard convemtions: memory addresses can be given in the format *address (e.g. *1000), environment variables as $this_var. envi

[U-Boot] About Die ID When Booting u-boot

2010-02-25 Thread huadong2008
Hi, I'm studying porting Android onto Beagleboard(OMAP3530 based). When booting u-boot version 2009 11 from SD card, the terminal show "Die ID #7fa2000304013f7806011011 ". Could you please tell me what is Die ID? Or where can I download relative document about it? I'm sorry for my poor E

[U-Boot] [PATCH] cmd_itest.c: also support environment variables as arguments

2010-02-25 Thread Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks --- common/cmd_itest.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/common/cmd_itest.c b/common/cmd_itest.c index 58c5e7b..78a4082 100644 --- a/common/cmd_itest.c +++ b/common/cmd_itest.c @@ -69,6 +69,10 @@ static long evalexp(c

[U-Boot] [PATCH 4/5] cmd_i2c.c: sorted commands alphabetically

2010-02-25 Thread Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks --- common/cmd_i2c.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index e54fc20..b51e3f4 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -1302,25 +1302,24 @@ int do_i2c(cmd_tbl_t *

[U-Boot] [PATCH 0/5] i2c patches. Again!

2010-02-25 Thread Frans Meulenbroeks
Below are my i2c patches again, (and the bootm one but that is pretty minor) Now decently numbered and with the remarks of Heiko applied. Thanks go to - Heiko for the comments - Eric and Wolfgang for teaching me a little bit more git (btw: what happend to sccs? :-) ) - everyone for having patie

[U-Boot] [PATCH 2/5] cmd_bootm.c: made subcommand array static

2010-02-25 Thread Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 23ab0c4..827d542 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -462,7 +462,7 @@ static int bootm_start_sta

[U-Boot] [PATCH 3/5] cmd_i2c.c: reworked subcommand handling

2010-02-25 Thread Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks --- common/cmd_i2c.c | 77 +++-- 1 files changed, 45 insertions(+), 32 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 7531702..e54fc20 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@

[U-Boot] [PATCH 1/5] cmd_i2c.c: reduced subaddress length to 3 bytes

2010-02-25 Thread Frans Meulenbroeks
according to some of the comments the subaddress length is 1 or 2, but we are being prepared for the case it becomes 3. However the code also accepted 4. This repairs this by changing the constand 4 to 3. Signed-off-by: Frans Meulenbroeks --- common/cmd_i2c.c | 10 +- 1 files changed,

[U-Boot] [PATCH 5/5] cmd_i2c.c: added i2c read to memory function

2010-02-25 Thread Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks --- common/cmd_i2c.c | 62 - 1 files changed, 60 insertions(+), 2 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index b51e3f4..9e7143a 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -

Re: [U-Boot] [PATCH] cmd_i2c.c: added i2c read to memory function

2010-02-25 Thread Heiko Schocher
Hello Frans, Frans Meulenbroeks wrote: > Signed-off-by: Frans Meulenbroeks > --- > common/cmd_i2c.c | 60 > ++ > 1 files changed, 60 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c > index 1dd4df3..552b4e5

Re: [U-Boot] [PATCH] cmd_i2c.c: sorted commands alphabetically

2010-02-25 Thread Heiko Schocher
Hello Frans, First, thanks for your patches! They look good to me, just one nitpicking comment. Frans Meulenbroeks wrote: > Signed-off-by: Frans Meulenbroeks > --- > common/cmd_i2c.c | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/common/cmd_i2c.c b/commo