This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RedBoot: automatic load/execute of bootp file -- patc
- To: Grant Edwards <grante at visi dot com>
- Subject: RE: [ECOS] RedBoot: automatic load/execute of bootp file -- patc
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 15 Mar 2001 14:05:05 -0700 (MST)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
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