From: Wolfgang Denk <wd@denx.de>
To: "Doug Hubbard" <dhubbard@scires.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Downloading and Debugging linux / programs via BDM
Date: Tue, 14 Aug 2001 00:37:07 +0200 [thread overview]
Message-ID: <20010813223713.09EAE10CBA@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 13 Aug 2001 18:27:28 EDT." <sb781c1a.090@mail.scires.com>
In message <sb781c1a.090@mail.scires.com> you wrote:
>
> I am fairly new to embedded Linux.
Welcome.
> 7.0 and I am using the tools provided with the RH EDK along with the
> BDM dongle and software from Macraigor Systems.
AFAIK the Macraigor dongle does not support the MMU; you cannot use
it to debug Linux.
> What is the procedure for getting Linux downloaded to the board
> (via BDM) and started, then getting my program(s) downloaded and
> started and attaching the debugger (ddd/gdb) to the desired program?
You should be aware that you cannot simply download a Linux kernel
image to some board and run it. Linux expects a lot of hardware
initialization to be done before it runs, and some parameters passed
to it.
> The initial target is a Motorola MBX board with an MPC860 ppc processor,
> the ultimate target is a custom board utilizing the same processor.
First, get a BDM debugger that understands to use the MMU, and that
can be used in a Linux environment. My recommendation is the BDI2000
by Abatron. See http://www.abatron.ch
Then, install some Linux-friendly firmware on your board. My
recommendation is PPCBoot. See http://ppcboot.sourceforge.net and
ftp://ftp.denx.de/pub/ppcboot/ . The MBX860 board is one of the
standard configurations of PPCBoot and should run out of the box.
Finally, use PPCboot to load the kernel image and start it with the
right parameters, and use GDB to connect to your BDI2000 and debug
the running Linux kernel.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
I have the simplest tastes. I am always satisfied with the best.
-- Oscar Wilde
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-08-13 22:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-13 22:27 Downloading and Debugging linux / programs via BDM Doug Hubbard
2001-08-13 22:37 ` Wolfgang Denk [this message]
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=20010813223713.09EAE10CBA@denx.denx.de \
--to=wd@denx.de \
--cc=dhubbard@scires.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).