This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: Restarting a program without reseting the ta
- To: Bart Veer <bartv at redhat dot com>
- Subject: Re: [ECOS] RedBoot: Restarting a program without reseting the ta
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Tue, 07 Nov 2000 05:01:06 -0700 (MST)
- Cc: Fabrice_Gautier at sdesigns dot com, ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat, Inc.
On 07-Nov-2000 Bart Veer wrote:
> Gary> However, once in GDB, sending the string "$k#6b" (without
> Gary> quotes of course) will kill the GDB session and should
> Gary> restart RedBoot.
>
> Out of interest, what is the definition of "restart" in this context?
> Ideally there would be some code in each platform HAL to reset the
> various chips as much as possible and get back to a coherent state.
> Obviously this cannot be achieved 100% on all platforms, but getting
> close would be useful.
That's exactly what's meant. Each platform has the notion of reset,
defined by the HAL, which is supposed to mean "put the system back into
a state similar to power-on or pressing reset". On some platforms we
have hardware support for this and it works very well. On others, we
default to just jumping into the start of the ROM environment.