On 1/14/10 8:45 PM, Piotr Piwko wrote:
There is a similar function ram_check() in lib/ramtest.c.
Yes, but I don't know how I can force a compilation of /lib/ramtest.c file during building process.
It already is included in cache_as_ram_auto.c Just add a line ram_check(0x00000000, 0x000a0000); at the end of cache_as_ram_main() (assuming you use cache as ram)
Conclusion is that RAM initialization for adl/msm800sev target is not valid.
Can you try with several different model DIMMs?
It is good hint. I will make some test tomorrow with different model of DIMMs.
You can also try to use SerialICE (http://www.serialice.com) on the target to see how the original BIOS is configuring the RAM controller.
Stefan