linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Cal Erickson <cal_erickson@mvista.com>
To: Nguyen Xuan Hoang <hoang_nguyen@smartstors.com>
Cc: linuxppc-embedded@lists.linuxppc.org, support@mvista.com,
	Jeff Maddox <support@hmi.com>
Subject: Re: BDM problem
Date: Fri, 25 Aug 2000 14:46:36 -0700	[thread overview]
Message-ID: <39A6E93C.54BA9C60@mvista.com> (raw)
In-Reply-To: 00ba01c00f0c$abd41100$0401a8c0@hoangmobile


Hoang,
When you are trying to use the Avocet Systems HMI BMD device
have you built a kernel with Kernel Hacking disabled? It appears
from your description the it is still enabled. When kgdb is enabled
through kernel hacking, it starts and immediately hits a breakpoint.
If you at this time set a breakpoint further on then you should be
able to proceed. If you want to use the HMI BMD then you need
to un-select kernel hacking and rebuild your kernel.
Cal Erickson

Nguyen Xuan Hoang wrote:

> Hi All, I have problem when running Linux kernel using BDM. It seems
> not a new problem, from this mail list I can learn some thing: Before
> run the debugger: - Set DER to 0 using BDM command:                X
> DER                30002400f                0- Set ICTRL to 7 using
> BDM command:                X ICTRL
> 00000000                7- Run the debugger: g However, the BDM auto
> stop right after the kernel execute: (perhaps it turn on the virtual
> mode here)            execve("/sbin/init",argv_init,envp-init);  in
> file /init/main.c The BDM show that an breakpoint occur (the PC =
> 0xFEEDDA8),but of course I didn't set any breakpoint. My system is:
> RPX LITE + HMI BDM + SOURCE GATE II Could anyone please point me a
> solution. Thank in advancesHoang

--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Customer Support Engineer    490 Potrero Avenue
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         e-mail cal_erickson@mvista.com
Pager 877-566-2012           support 1-800-759-8888 pin 202-7489
web http://www.mvista.com    support e-mail: support@mvista.com
eCode: http://cal@work.com.ecode.com
===========================================================================


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2000-08-25 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <00ba01c00f0c$abd41100$0401a8c0@hoangmobile>
2000-08-25 21:46 ` Cal Erickson [this message]
2000-08-29  5:28   ` BDM problem Nguyen Xuan Hoang
2000-08-28 14:51     ` Cal Erickson

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=39A6E93C.54BA9C60@mvista.com \
    --to=cal_erickson@mvista.com \
    --cc=hoang_nguyen@smartstors.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=support@hmi.com \
    --cc=support@mvista.com \
    /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).