Marc, Jordan, or another SimNOW user,
f[b|w|d|q] <Address range> <Value> [,[l|p]] Fill physical(default) or linear Memory
I wanted to fill the VGA RAM with a pattern, but I can't figure out the syntax for an <Address range>. It keeps freezing the simulator. Could you give me an example for filling 1M of memory in physical address space with some pattern?
I would have expected the [,[l|p]] to come after the <Address range> too.
Thanks, Myles
Myles Watson wrote:
Marc, Jordan, or another SimNOW user,
f[b|w|d|q] <Address range> <Value> [,[l|p]] Fill physical(default) or linear Memory
I wanted to fill the VGA RAM with a pattern, but I can't figure out the syntax for an <Address range>. It keeps freezing the simulator. Could you give me an example for filling 1M of memory in physical address space with some pattern?
I would have expected the [,[l|p]] to come after the <Address range> too.
Thanks, Myles
fd 100000 10001f ,p 5a5a5a5a
worked for me. You are right about the ,p. I am not sure why it would be freezing unless the mem map is really screwed up and it is going somewhere bad.
Marc
-----Original Message----- From: Marc Jones [mailto:Marc.Jones@amd.com] Sent: Tuesday, October 21, 2008 2:50 PM To: Myles Watson Cc: Coreboot; Jordan Crouse Subject: Re: SimNOW debugger syntax help
Myles Watson wrote:
Marc, Jordan, or another SimNOW user,
f[b|w|d|q] <Address range> <Value> [,[l|p]] Fill physical(default) or linear Memory
I wanted to fill the VGA RAM with a pattern, but I can't figure out the syntax for an <Address range>. It keeps freezing the simulator. Could you give me an example for filling 1M of memory in physical address space with some pattern?
I would have expected the [,[l|p]] to come after the <Address range>
too.
Thanks, Myles
fd 100000 10001f ,p 5a5a5a5a
worked for me. You are right about the ,p. I am not sure why it would be freezing unless the mem map is really screwed up and it is going somewhere bad.
Thanks. It looks like the IO addresses are getting through to the VGA card, but I can't find the memory addresses changing for the buffer memory. This should help me look.
I set a breakpoint on c0040 since that's the string that gets copied to the display memory. The first time it gets accessed is when the ROM gets copied to c0000, but the next time is the right one.
Thanks, Myles