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]

Re: About Boot script problem


On Wed, 2001-09-19 at 14:37, sreenivas y.p.s.s wrote:
> Hi,
> when i press fconfig -l, it is displaying
> Boot script as " .. fi li" .
> when i restart the system, mean when i reload RedBoot code in to RAM using SDS
> debugger, I checked this value in the cyg_start() function.The value
> of 'hold_script' is showing " fi li \n" and it is displaying
> the " ==Executing script in 0.000 seconds -enter  ^c  to abort"
                              ^^^^^

This is your problem.  A script timeout of 0 is not allowed and treated 
like the user types ^C immediately.

Set the boot script timeout to a non-zero value.

> but after this is calling "gets" function, But i dont know wht is happenning
> in the "gets" function.
> it is coming out and waiting for console.(i.e command ).
> How actually when script will be executed??? in which function???
> plaese anyone  help me regarding this problem.
> thanks in advance.
> Sreenivas
> 
> 
> 
> Jonathan Larmour wrote:
> 
> > "sreenivas y.p.s.s" wrote:
> > >
> > > Hi ,
> > > I am working on RedBoot on MPC860.
> > > my problem:
> > > I enabled Bootscript option in RedBoot. At the shell prompt, it is
> > > accepting the fconfig command and it is waiting for "the script".
> > > when i restart the system, it is displaying the configurations stored in
> > >
> > > the flash and also displaying
> > > "== Executing boot script in10 seconds-enter ^c to abort."
                                  ^^
If you had relayed this information more accurately the first time, we 
would have had an answer much sooner :-)

> > > But it is not executing the command(script) stored in the flash.
> > > what can be reason...???
> >
> > Perhaps the script is invalid! If you type "fconfig -l" it should say what
> > redboot things the script is. What does it say?
> >
> > Jifl
> > --
> > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> > Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



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