* xmon over firewire on PPC
@ 2002-05-04 18:55 Benjamin Herrenschmidt
2002-05-04 19:01 ` Benjamin Herrenschmidt
2002-05-08 13:40 ` Harald Welte
0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2002-05-04 18:55 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
Ok, it's sorta working ;)
The UI of the client tool sucks, but i'm no good at termios , any
improvements welcome.
So basically, my rsync kernel has the necessary support in it as of
today (look at the bits in CONFIG_XMON_FW in arch/ppc/xmon/start.c),
and the client tool can be downloaded from
<http://penguinppc.org/~benh/firescope.tar.gz>
The protocol is a bit basic (pmu like ? :) and currently, xmon
don't like "losing" the link with firescope. That is, any xmon
output should properly reach firescope at any time, but if xmon
didn't have firescope attached when trying to _read_ (when
entered), then it will continue to either ADB or serial code
and will miss firewire completely. I will try to fix that one
of these days so that xmon can take input from all possible
sources at the same time.
To use the client tool, you need libraw1394 (available from
www.sourceforge.net/projects/libraw1394), this is the client
library for using the raw 1394 interface. You need to have the
ohci1394 module loaded on both machines, and the console machine
using firescope must have also raw1394 insmod'ed (so libraw1394
works) and /dev/raw1394 (c 171 0).
Now, what remains to do is some code to tweak the CPU reset
or EE lines so we can get force the jump to xmon remotely.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xmon over firewire on PPC
2002-05-04 18:55 xmon over firewire on PPC Benjamin Herrenschmidt
@ 2002-05-04 19:01 ` Benjamin Herrenschmidt
2002-05-08 13:40 ` Harald Welte
1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2002-05-04 19:01 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
>Ok, it's sorta working ;)
>
>The UI of the client tool sucks, but i'm no good at termios , any
>improvements welcome.
>
>So basically, my rsync kernel has the necessary support in it as of
>today (look at the bits in CONFIG_XMON_FW in arch/ppc/xmon/start.c),
>and the client tool can be downloaded from
><http://penguinppc.org/~benh/firescope.tar.gz>
I forgot to mention... To be able to attach to a remote kernel's
xmon, you need to pass firescope the System.map of that kernel,
that is launch it with "firescope <path_to_System.map>"
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xmon over firewire on PPC
2002-05-04 18:55 xmon over firewire on PPC Benjamin Herrenschmidt
2002-05-04 19:01 ` Benjamin Herrenschmidt
@ 2002-05-08 13:40 ` Harald Welte
1 sibling, 0 replies; 3+ messages in thread
From: Harald Welte @ 2002-05-08 13:40 UTC (permalink / raw)
To: linuxppc-dev
On Sat, May 04, 2002 at 07:55:06PM +0100, Benjamin Herrenschmidt wrote:
>
> Ok, it's sorta working ;)
Hey cool!! Thanks for implementing this feature. I've had this in mind for
more than a year, but never actually got around implementing it :)
Firewire with it's remote-DMA capability can be used for lots of evil stuff :)
> Ben.
--
Live long and prosper
- Harald Welte / laforge@gnumonks.org http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-08 13:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-04 18:55 xmon over firewire on PPC Benjamin Herrenschmidt
2002-05-04 19:01 ` Benjamin Herrenschmidt
2002-05-08 13:40 ` Harald Welte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).