public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] GDB Stub and Redboot
@ 2000-12-05 15:02 Anthony Massa
  2000-12-05 21:01 ` [ECOS] " Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Massa @ 2000-12-05 15:02 UTC (permalink / raw)
  To: Gary Thomas (E-mail), Jonathan Larmour (E-mail); +Cc: eCos (E-mail)

I noticed that there are redboot images under the MBX source tree.  Is
redboot supported on the MBX platform?

I want to be able to have GDB access to my MBX board to use the debugger.  I
would like to connect to the
board using the Ethernet port so I can have the serial port available for my
own I/O.  Do I build the GDB stub
and add the redboot package or is it an either or type of thing?

If it is a choice of either redboot or GDB, what packages do I need to add
for networking support under GDB?

What additional packages do I need to add for networking support in redboot?

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: GDB Stub and Redboot
  2000-12-05 15:02 [ECOS] GDB Stub and Redboot Anthony Massa
@ 2000-12-05 21:01 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-12-05 21:01 UTC (permalink / raw)
  To: Anthony Massa; +Cc: Gary Thomas (E-mail), eCos (E-mail)

Anthony Massa wrote:
> 
> I noticed that there are redboot images under the MBX source tree.  Is
> redboot supported on the MBX platform?

Yep.

> I want to be able to have GDB access to my MBX board to use the debugger.  I
> would like to connect to the
> board using the Ethernet port so I can have the serial port available for my
> own I/O.  Do I build the GDB stub
> and add the redboot package or is it an either or type of thing?

It's sort of an either or thing. Redboot includes a GDB stub.
 
> If it is a choice of either redboot or GDB, what packages do I need to add
> for networking support under GDB?
> 
> What additional packages do I need to add for networking support in redboot?

You should be able to get what you want either by just installing the
prebuilt images, or:

ecosconfig new mbx redboot
ecosconfig import
PATHTOREPOSITORY/hal/powerpc/mbx/current/misc/redboot_ROM.cfg
ecosconfig tree
make

This will generate an image under install/bin suitable for loading into
ROM.
You can use one suitable for loading into RAM by using redboot_RAM.cfg.
This could be used if you already have GDB stubs on the board, since you
can then load redboot as a RAM program, and use it to write the ROM image
into flash! However this isn't for the faint-hearted in the absence of
decent documentation, so I'd recommend you just install it just as you
installed the GDB stub.

There's some admittedly incomplete documentation at
http://sources.redhat.com/ecos/docs-latest/redboot/redboot.2.html

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-05 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-05 15:02 [ECOS] GDB Stub and Redboot Anthony Massa
2000-12-05 21:01 ` [ECOS] " Jonathan Larmour

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 read-only IMAP folder(s) and NNTP newsgroup(s).