[ECOS] redboot, eb40a and the cross-compiler

Andrew Lunn andrew.lunn@ascom.ch
Thu Dec 5 06:47:00 GMT 2002

On Thu, Dec 05, 2002 at 04:50:38PM +0100, Konstantin Kletschke wrote:
> On Thu, Dec 05, 2002 at 03:13:22PM +0100, Andrew Lunn wrote:
> > the stub telling gdb what happened and where. Connect gdb to your
> > target it it will decode this message for you.
> Oh Ohhhh... How does one that?
> Well, going to search the gdb how-to :-)

Start redboot and pass the elf of the redboot image you are running as
a command line parameter.

Something like

arm-elf-gdb redboot.elf

Then you need to set the serial port and speed. That goes something

set remotebaud <speed>    

I forgotten what you said the speed was....


target remote com0


target remote /dev/ttyS0

or whatever depending on your platform.

gdb should then connect. You can do things like where, list, print etc
to find out what happened.


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list