RAM Check on startup

Hi,

I am looking for information on how to write a routine that will go out an
check to see if memory is corrupt on powerup (something similar to the
memory check on a standard PC startup). Does anyone know how I could perform
such a task? Also where would this routine go in the overall scheme of
things? I am thinking that I would have to do this somewhere early in the
IPL?

My platform is a PPC 8245 (Sandpoint evaluation system).

Thanks in advance,
Mike

“Mike Toreno” <no.spam@address.com> wrote in
news:a5e3ee$t1r$1@nntp.qnx.com:

I am looking for information on how to write a routine that will go out
an check to see if memory is corrupt on powerup (something similar to
the memory check on a standard PC startup). Does anyone know how I
could perform such a task? Also where would this routine go in the
overall scheme of things? I am thinking that I would have to do this
somewhere early in the IPL?

The most straight forward would be to scan ranges of addresses where you
know RAM is located writing “known values” and reading them back. IPL is
one place to put this.


\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

“Mike Toreno” <no.spam@address.com> wrote in message
news:a5e3ee$t1r$1@nntp.qnx.com

Hi,

I am looking for information on how to write a routine that will go out an
check to see if memory is corrupt on powerup (something similar to the
memory check on a standard PC startup). Does anyone know how I could
perform
such a task? Also where would this routine go in the overall scheme of
things? I am thinking that I would have to do this somewhere early in the
IPL?

My platform is a PPC 8245 (Sandpoint evaluation system).

Thanks in advance,
Mike

Also guess this overview article
http://www.x86.org/articles/memsize/memsizing.htm can give some ideas how to
scan RAM :slight_smile:

// wbr