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: RedBoot: automatic load/execute of bootp file -- patc



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


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