This is the mail archive of the ecos-discuss@sourceware.org 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: Re: redboot




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


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