On Fri, 2004-10-22 at 17:24, Li-Ta Lo wrote:
On Fri, 2004-10-22 at 14:55, Ronald G. Minnich wrote:
On Fri, 22 Oct 2004 Stephen.Kimball@bench.com wrote:
I have looked at the readelf output. Readelf says hardwaremain is at 000020b8, but I can't find it. SourcePoint thinks it's at 0008:000020B8 (32-bit mode). But it's not there even after the copy into RAM.
well that's interesting, now I have to try to remember if you're v1 or v2. But that segment: address pair looks quite reasonable.
I'm using freebios2. Is that v2?
For example on the arima I am using hardwaremain is 723c. Basically all this stuff is in low memory.
When you say "not there" you mean you see nothing in memory, right?
I look at the hardwaremain source code in mixed mode (assembly with C code mixed in). Even the two post_code() calls don't disassemble to similar code. It's code, but not the right code.
I think he means the ROMCC part of LinuxBIOS copy the hardwaremain part to RAM but he can't find it at the address.
I think you should try "linear" or "physical" address 000020b8. Some hardware debugger have problem doing virtual to physical translation.
Ollie
I wonder if there's an issue with the debugger?
ron