Commit 423fe194 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

panwrap: Add README

Since it's all blackmagic anyway, I don't know why I bothered, but
that's okay.
Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
parent e7e733df
Build mesa with panfrost. Clone panwrap into:
mesa/src/panfrost/pandecode/
So you have a path like:
/home/alyssa/mesa/src/panfrost/pandecode/panloader/panwrap
(Yes, really.)
Inside panwrap, make a build/ directory, cd in, meson .. . && ninja. You'll get
a libpanwrap.so out in build/panwrap/libpanwrap.so, upload that to the board
you're trying to trace and LD_PRELOAD it in to get a trace (including
disassembly of both Midgard and Bifrost).
If your name is Ryan, uncomment "#define dvalin" in include/mali-ioctl.h and panwrap will be built to trace a Dvalin kernel instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment