[coreboot] Trace MMIO Read/Write

Myles Watson mylesgw at gmail.com
Thu Mar 5 04:44:38 CET 2009



> -----Original Message-----
> From: coreboot-bounces+mylesgw=gmail.com at coreboot.org [mailto:coreboot-
> bounces+mylesgw=gmail.com at 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 at settoplinux.org>
> wrote:
> >
> >
> >
> > On Wed, 04 Mar 2009 17:37:50 -0500, Joseph Smith <joe at settoplinux.org>
> > wrote:
> >>
> >>
> >>
> >> On Wed, 04 Mar 2009 23:27:07 +0100, Patrick Georgi
> >> <patrick at 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!
> >
> > http://nouveau.freedesktop.org/wiki/MmioTrace
> >
> 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.

Myles






More information about the coreboot mailing list