This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: BOOPT bootfile
On Thu, 2003-01-30 at 08:29, Grant Edwards wrote:
> On Thu, Jan 30, 2003 at 08:26:04AM -0700, Gary D. Thomas wrote:
>
> > > One obvious improvement would be to auto-detect the filetype.
> >
> > Agreed - I'll try and find a solution which handles this.
> >
> > > Another option I was thinking about would be to treat the
> > > downloaded file as a script rather than an application
>
> Which might as well be combined with the filetype detection so
> that if a downloaded file begins with #!RedBoot it's
> interpreted as a script. That would be cool.
>
That's an idea - I'll think about it.
> > > That way you could do just put
> > >
> > > load foobar.bin
> > > go
> > >
> > > into the file pointed to by BOOTP/DHCP
> >
> > Which is exactly what I suggested two years ago :-)
>
> I guess I misunderstood. I thought that the suggestion was for
> the DHCP/BOOTP info to be put into script variables so that the
> script (still required to be in flash) could do something like
> "load $BOOTPFILE". I didn't realize that you were suggesting
> that the downloaded file be interpreted as a script.
Actually, I suggested both approaches. Since we now have
script macros - which are very much just variables - this
approach is also now a possibility.
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary.thomas@mind.be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss