This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to connect GDB with Redboot
- To: Jesper Skov <jskov at redhat dot com>
- Subject: Re: [ECOS] How to connect GDB with Redboot
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 01 Nov 2000 05:42:55 -0700 (MST)
- Cc: ecos-discuss at sourceware dot cygnus dot com, ness <root at zh dot t2-design dot com>
- Organization: Red Hat, Inc.
On 01-Nov-2000 Jesper Skov wrote:
>>>>>> "ness" == ness <root@zh.t2-design.com> writes:
>
> ness> I just want let GDB connect with target, and GDB can load
> ness> program via ethernet. Does redboot provide connection with GDB
> ness> and let GDB can load program via ethernet?
>
> It does, assuming there is a working driver for your board, but you
> may have to set RedBoot to accept connections via ethernet. And that
> is done via the fconfig command which you have to use via the serial
> line. At least I think you do. Gary?
The defaults (which can be changed via CDL) will have your board allow
connections over the ethernet. It will use BOOTP for the connection
and accept GDB conections on port 9000.
If you include a FLASH driver, then you can control/extend this behaviour
via the 'fconfig' command.
This, I believe, begs the question though. Until you can get the board
to run GDB protocol using RedBoot on the serial port, I would not even
attempt to use the network for same.