This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: loading images with redboot
- To: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] loading images with redboot
- From: "Dan Conti" <danc at iobjects dot com>
- Date: Tue, 9 Oct 2001 22:10:00 -0700
> -----Original Message-----
> From: Gary Thomas [mailto:gthomas@redhat.com]
> Sent: Tuesday, October 09, 2001 9:57 PM
> Subject: RE: [ECOS] loading images with redboot
>
> What's the problem? I do this all the time. The only thing that you
> need to remember to do is set the PC before you start.
> (gdb) tar rem XXX
> (gdb) set $pc=0x20040
> (gdb) ...
>
> If this doesn't work for you, we'd like to know the details.
> As I said,
> we use it all the time.
I was giving redboot a bad command after issuing 'fis load' to it. If i
just do 'fis load', then attach gdb, set the pc etc, my program runs
fine. Sorry for the false alarm.
I'm still at a loss as to why i can't do 'go 0x20040' from inside
redboot. My eventual goal is to not have a debugger attached to this
image. The image itself is apparently being transferred properly, since
i can attach gdb and run it.