On 1/14/10 9:34 PM, Piotr Piwko wrote:
2010/1/14 Stefan Reinauer stepan@coresystems.de:
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)
Strange. I've added the ram_check() execution in mian() function in adl/msm800sev/initram.c file and the linker couldn't find reference to it.
Ah, this was for v2. No idea how it works for v3...
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.
Thanks for this hint! I've planned to write the simple application on Linux which will print values of given registers. Now it is not necessary :)
That might still be worthwhile. But: Most config registers on Geode are set via MSRs, so you might get quite far with Peter Stuge's "msrtool" (coreboot/util/msrtool)
Stefan