This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: redboot
- From: "Syed Ismail" <ismail dot riyaz at dyansys dot com>
- To: "Gary Thomas" <gary at chez-thomas dot org>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: 19 Nov 2007 12:58:38 -0000
- Subject: Re: Re: [ECOS] redboot
- Reply-to: "Syed Ismail" <ismail dot riyaz at dyansys dot com>
On Mon, 19 Nov 2007 Gary Thomas wrote :
> Syed Ismail wrote:
> > Hi
> > I Am working on redboot. I want to call a few defined
> functions like do_fconfig(); do_exec(); in source code
> as soon as redboot prompt comes up. Where do i do this
> and What are the command line arguements to pass.
> >
> Your question is a bit vague. Are you asking how to
> execute a set of
> commands
> automatically when RedBoot comes up? If so, look at
> startup scripts.
>
> --
> Gary Thomas
I am in quite a mess,(hardware), actually. Please bear with me. I know i can execute any commands by writing a startup/boot script. I want to call it from code. for example, the command "version" is executed as do_version(0,0); in cyg_start().
Similarly i want to call two fuctions, "do_load()" and "do_exec()" here. Can you please tell me the command line arguements to pass for these functions. I am just trying to skip a more messy problem by doing this. pl help.
Thank You
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss