linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RAM test - How to
@ 2005-04-20  4:52 Atit_Shah
  2005-04-20  7:40 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Atit_Shah @ 2005-04-20  4:52 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

	I am using a SDRAM having a port size 64 and size 32MB, and the
burst length is 4. I want to know how i can test my RAM for burst mode
operation. I have read in a couple of places that there is no sure RAM
test but there must be some reasonable test which can be performed to
atleast be sure that the RAM functions fine under burst mode.

Thanks=20
Atit


DISCLAIMER:
This email (including any attachments) is intended for the sole use of =
the intended recipient/s and may contain material that is CONFIDENTIAL =
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or =
copying or distribution or forwarding of any or all of the contents in =
this message is STRICTLY PROHIBITED. If you are not the intended =
recipient, please contact the sender by email and delete all copies; =
your cooperation in this regard is appreciated.

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

* Re: RAM test - How to
  2005-04-20  4:52 RAM test - How to Atit_Shah
@ 2005-04-20  7:40 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-04-20  7:40 UTC (permalink / raw)
  To: Atit_Shah; +Cc: linuxppc-embedded

In message <D8595042F3765A4285B848A78A2C2ED102774F@bsdmsg002.corp.satyam.ad> you wrote:
> 
> 	I am using a SDRAM having a port size 64 and size 32MB, and the
> burst length is 4. I want to know how i can test my RAM for burst mode
> operation. I have read in a couple of places that there is no sure RAM
> test but there must be some reasonable test which can be performed to
> atleast be sure that the RAM functions fine under burst mode.

You can probably implement a memory test like this one:

1)  Map a region of physical RAM into two virtual regions:
    one cached and the the other one uncached.
2)  Fill the cached region with a pattern, and flush the cache
2a) Check the uncached region to match the pattern
2b) Check the cached region to match the pattern
3)  Fill the uncached region with a pattern
3a) Check the cached region to match the pattern
3b) Check the uncached region to match the pattern
4)  Change the patterns and go to step 2.

You probably want to do this in your boot loader, though.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A Freudian slip is when you say one thing but mean your mother.

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

end of thread, other threads:[~2005-04-20  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20  4:52 RAM test - How to Atit_Shah
2005-04-20  7:40 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).