From: Frank Rowand <frank_rowand@mvista.com>
To: "Wright, David" <dwright@infiniswitch.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Anyone using an IBM RISCWatch ICE?
Date: Wed, 15 Aug 2001 10:58:57 -0700 [thread overview]
Message-ID: <3B7AB861.FF1E13DD@mvista.com> (raw)
In-Reply-To: FF6CF34C346E724596A2FB5CAAB2C49750C3C1@voyager.ops.infiniswitch.com
"Wright, David" wrote:
>
> Hi,
>
> I've been attempting to use an IBM RISCWatch ICE on a Walnut system
> and I'm having problems. (Spare me any lectures about how I should
> be using a BDI. I'm just trying to find out how usable the IBM is,
> since it's already here.)
>
> The specific problem I'm trying to solve is this: how do I set a
> breakpoint early in kernel startup, say at start_kernel (just as
> the MMU is enabled)? I've tried booting the Walnut so that it
> comes up into its ROM monitor, then stopping it with the ICE, and
> setting a hardware breakpoint at the start_kernel virtual address.
The disk in the PC that hosts my RISCWatch crashed yesterday so I'm
doing this from memory.
I've done that sort of thing quite often. OpenBios is sitting
at the menu prompt,
RW> stop
RW> bp set ihw 0xc015a644
RW> run
(0xc015a644 is start_kernel)
Then tell OpenBios to boot the kernel.
> Problem is, when I start the CPU running again, the Walnut is no
> longer responding to the keyboard (serial line). Can't do anything
> except reset it at that point. Using the ICE reveals that the CPU
> is still running, but I have no real idea what it's doing. It sure
> isn't responding to the serial port.
If you stop it with RISCWatch, what is the program counter?
>
> As an alternative, I tried setting a hardware breakpoint at the
> physical address of "start_here". That doesn't hang, but the
> breakpoint is never hit, either.
>
> Any ideas gratefully accepted. I've tried this kind of thing with
> a BDI and had no problems.
>
> -- David Wright, InfiniSwitch Corp.
>
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-08-15 17:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-15 15:12 Anyone using an IBM RISCWatch ICE? Wright, David
2001-08-15 17:58 ` Frank Rowand [this message]
2001-08-16 0:18 ` David Gibson
-- strict thread matches above, loose matches on Subject: below --
2001-08-15 17:15 John F Davis
2001-08-15 19:44 Wright, David
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B7AB861.FF1E13DD@mvista.com \
--to=frank_rowand@mvista.com \
--cc=dwright@infiniswitch.com \
--cc=frowand@mvista.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).