Re: [U-Boot] DRAM test problem

2009-07-08 Thread Scott Wood
On Wed, Jul 08, 2009 at 11:23:15AM -0300, Alemao wrote: > In cpu/mpc83xx/start.S, dcache is enable for stack-in-cache trick: > > /* enable and invalidate the data cache */ > bl dcache_enable > sync > > dcache_enable: > mfspr r3, HID0 > li r5, HID0_DCFI|HI

Re: [U-Boot] DRAM test problem

2009-07-08 Thread Alemao
On Tue, Jul 7, 2009 at 7:41 PM, Kim Phillips wrote: > On Tue, 7 Jul 2009 15:01:05 -0300 > Alemao wrote: > >> On Mon, Jul 6, 2009 at 7:07 PM, Alemao wrote: >> > On Mon, Jul 6, 2009 at 3:45 PM, Scott Wood wrote: >> >> I believe data cache is disabled on 83xx in u-boot. >> >> >> >> -Scott >> >> >> >

Re: [U-Boot] DRAM test problem

2009-07-07 Thread Kim Phillips
On Tue, 7 Jul 2009 15:01:05 -0300 Alemao wrote: > On Mon, Jul 6, 2009 at 7:07 PM, Alemao wrote: > > On Mon, Jul 6, 2009 at 3:45 PM, Scott Wood wrote: > >> I believe data cache is disabled on 83xx in u-boot. > >> > >> -Scott > >> > > > > So the time for MPC8343 makes sense??? It tooks that long? >

Re: [U-Boot] DRAM test problem

2009-07-07 Thread Alemao
On Mon, Jul 6, 2009 at 7:07 PM, Alemao wrote: > On Mon, Jul 6, 2009 at 3:45 PM, Scott Wood wrote: >> On Mon, Jul 06, 2009 at 02:39:26PM -0300, Alemao wrote: >>> Hi all, >>> >>> I've made ports of u-boot for two powerpc processors, MPC8343 and >>> MPC8541. >>> >>> The boards has 128MB of DDR2. So I

Re: [U-Boot] DRAM test problem

2009-07-06 Thread Alemao
On Mon, Jul 6, 2009 at 3:45 PM, Scott Wood wrote: > On Mon, Jul 06, 2009 at 02:39:26PM -0300, Alemao wrote: >> Hi all, >> >> I've made ports of u-boot for two powerpc processors, MPC8343 and >> MPC8541. >> >> The boards has 128MB of DDR2. So I enabled CFG_DRAM_TEST in 127MB >> of those memories, an

Re: [U-Boot] DRAM test problem

2009-07-06 Thread Scott Wood
On Mon, Jul 06, 2009 at 02:39:26PM -0300, Alemao wrote: > Hi all, > > I've made ports of u-boot for two powerpc processors, MPC8343 and > MPC8541. > > The boards has 128MB of DDR2. So I enabled CFG_DRAM_TEST in 127MB > of those memories, and I got two scenarios: > > MPC8343(ddr_clk = 264 MHz): t

[U-Boot] DRAM test problem

2009-07-06 Thread Alemao
Hi all, I've made ports of u-boot for two powerpc processors, MPC8343 and MPC8541. The boards has 128MB of DDR2. So I enabled CFG_DRAM_TEST in 127MB of those memories, and I got two scenarios: MPC8343(ddr_clk = 264 MHz): test tooks 1min 35sec MPC8541(ddr_clk = 333 MHz): test tooks 5 sec Note: