[ECOS] RedBoot: automatic load/execute of bootp file -- patc
Gary Thomas
gthomas@cambridge.redhat.com
Thu Mar 15 13:05:00 GMT 2001
On 15-Mar-2001 Grant Edwards wrote:
>
> I've added code to net_io.c to load/execute the file specified
> by the bootp server. It might be a good idea to add CDL code
> to enable/disable this feature, but I haven't done that (I want
> it enabled all the time).
>
> IIRC, two of the routines (do_go and load_srec_image) may have
> be static in the CVS sources -- so they have to be made global
> for this patch to work.
>
> Here it is if anybody wants it...
While this is an interesting concept, I don't think I care too
much for adding this functionality as is.
What I would much prefer would be to let the bootp file be a
RedBoot script which could then in turn load & execute images, etc.
Another possibility we've been playing with is the [very limited]
notion of RedBoot "variables" which could be used in commands. Thus
you could have something like:
RedBoot> lo $BOOTP_FILE
More information about the Ecos-discuss
mailing list