This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reboot go enhancement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]