[ECOS] RedBoot: Restarting a program without reseting the ta

Gary Thomas gthomas@redhat.com
Tue Nov 7 04:00:00 GMT 2000


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.


More information about the Ecos-discuss mailing list