All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] SDRAM "anti-problem"
@ 2005-05-25 15:37 Peter Asemann
  2005-05-25 18:09 ` NZG
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Asemann @ 2005-05-25 15:37 UTC (permalink / raw)
  To: u-boot

I have the "problem" that i can't corrupt my SDRAM.
To verify my SDRAM refresh settings are reasonable, I did my best in 
reprogramming my MPC865's UPM to not refresh the SDRAM often enough.

I set the timer loop field (TLFA) to minimum, the PTA to maximum and the 
PTP to maximum to have the refresh come too seldom to keep the data.

Whatever, the SDRAM is very unimpressed and keeps the data I wrote into 
it without a single bit corrupted for at least minutes.

Another problem is that the mpcbdm I use to test the SDRAM takes up to 
30 secs to read/write about 60K of data into/out of RAM (burst mode 
disabled). Is that a mpcbdm issue? I can't believe the SDRAM can be so slow.

Peter Asemann

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] SDRAM "anti-problem"
  2005-05-25 15:37 [U-Boot-Users] SDRAM "anti-problem" Peter Asemann
@ 2005-05-25 18:09 ` NZG
  2005-05-25 19:58   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: NZG @ 2005-05-25 18:09 UTC (permalink / raw)
  To: u-boot

On Wednesday 25 May 2005 10:37, Peter Asemann wrote:
> Another problem is that the mpcbdm I use to test the SDRAM takes up to
> 30 secs to read/write about 60K of data into/out of RAM (burst mode
> disabled). Is that a mpcbdm issue? I can't believe the SDRAM can be so
> slow.
In my experience the BDM connection is much, much slower than the RAM.

If I load a kernel into the RAM with the BDM I have to get up and walk away, 
get a sandwitch, have a soda, etc...
But If I transfer it in over TFTP it's nearly instantaneous.

NZG.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] SDRAM "anti-problem"
  2005-05-25 18:09 ` NZG
@ 2005-05-25 19:58   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-05-25 19:58 UTC (permalink / raw)
  To: u-boot

In message <200505251309.50618.ngustavson@emacinc.com> you wrote:
>
> In my experience the BDM connection is much, much slower than the RAM.

This is true.

> If I load a kernel into the RAM with the BDM I have to get up and walk away, 
> get a sandwitch, have a soda, etc...

Ummm... on most 8xx systems the BDI2000 needs about 7 seconds to load
and burn 1 MB of image to flash. You must be really *fast* to fetch a
sandwich in this time --- or you are using the wrong tools.

> But If I transfer it in over TFTP it's nearly instantaneous.

Of course, this is faster, but then, on some  flash  chips  the  flah
drivers in U-Boot are far from optimal.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-25 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25 15:37 [U-Boot-Users] SDRAM "anti-problem" Peter Asemann
2005-05-25 18:09 ` NZG
2005-05-25 19:58   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.