-----Original Message----- From: Joseph Smith [mailto:joe@settoplinux.org] Sent: Wednesday, March 04, 2009 9:14 PM To: Myles Watson Cc: coreboot Subject: RE: [coreboot] Trace MMIO Read/Write
On Wed, 4 Mar 2009 20:44:38 -0700, "Myles Watson" mylesgw@gmail.com wrote:
-----Original Message----- From: coreboot-bounces+mylesgw=gmail.com@coreboot.org [mailto:coreboot- bounces+mylesgw=gmail.com@coreboot.org] On Behalf Of Joseph Smith Sent: Wednesday, March 04, 2009 6:13 PM To: Patrick Georgi; coreboot Subject: Re: [coreboot] Trace MMIO Read/Write
On Wed, 04 Mar 2009 17:48:55 -0500, Joseph Smith joe@settoplinux.org wrote:
On Wed, 04 Mar 2009 17:37:50 -0500, Joseph Smith
wrote:
On Wed, 04 Mar 2009 23:27:07 +0100, Patrick Georgi patrick@georgi-clan.de wrote:
Am 04.03.2009 23:23, schrieb Joseph Smith: > Hello, > Is there anyway to trace (capture) reads and writes to a mmio
space
in
> Linux? A utility program maybe? > I think that's what the renouveau project does, so they should have
a
tool for that. It should work by mapping the mmio area away, then catching all
accesses
before passing them trough.
Thanks Patrick, I will check it out. Does it catch reads as well as writes?
Ahhh, thanks again Patrick!
hmmm :-( I need to do this on a older kernel 2.6.10 and mmiotrace does not
support
older kernels....
Any other suggestions?
Does it run in a simulator or an emulator? SimNow or Qemu could log
them
for you.
Can they simulate a Intel onboard graphics adapter?
Probably not easily. Is the driver not open-source? I'm wondering why you couldn't recompile it for the newer kernel if you really want to use MmioTrace.
Thanks, Myles