
27 May
2010
27 May
'10
10:10 p.m.
On 05/27/2010 03:00 PM, Wolfgang Denk wrote:
Dear Timur Tabi,
In message4BFECDF7.4070405@freescale.com you wrote:
What if the mapping is too big? Isn't the whole point of get_ram_size() that there is less RAM than we say there is? That is, if there's only 1GB of RAM, and we do this:
get_ram_size() will also detect a number of hardware problems list stuck / swapped / mirrored address lines etc. (actually a pretty large percentage of the real world hardware problems).
How about splitting out the testing bit into something that will just test a specified range, and report any errors, rather than quietly pretend you have less RAM if the test fails?
-Scott