This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: reboot go enhancement
- From: Aaron Richardson <aarichar at cisco dot com>
- To: "Gary D. Thomas" <gary dot thomas at mind dot be>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 29 May 2003 13:45:08 -0500
- Subject: Re: [ECOS] reboot go enhancement
- References: <200305291145.17407.aarichar@cisco.com> <1054227005.8848.9039.camel@hermes>
- Reply-to: aarichar at cisco dot com
Sweet.
I used the following command to return to redboot. '0' is the return status.
CYGACC_CALL_IF_MONITOR_RETURN(0);
Also the reset is working too.
thanks!!!
Aaron
On Thursday 29 May 2003 11:50 am, Gary D. Thomas wrote:
> On Thu, 2003-05-29 at 10:45, Aaron Richardson wrote:
> > I found a thread about a redboot go command enhancement, but Im not sure
> > how to go about using it. Any pointers on where to start? Did this make
> > into the 2.0, or is it still a patch?
>
> It's in the current CVS.
>
> > Also I would like to know if there is a way to reset the board from an
> > ecos application.
>
> CYGACC_CALL_IF_RESET();
>
> Look at the routine "do_reset()" in .../packages/redboot/current/src/main.c
> to see how it gets used.
>
> --
> Gary D. Thomas <gary.thomas@mind.be>
--
Aaron Richardson
aarichar@cisco.com
512-378-1286
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss