[ECOS] RedBoot fis_create defaults

Gary D. Thomas gary.thomas@mind.be
Thu Jan 30 20:42:00 GMT 2003


On Thu, 2003-01-30 at 12:52, Grant Edwards wrote:
> 
> I've been comparing my version of RedBoot to a recent version
> that came with an Intel XScale eval board.   One of the changes
> I made in my version is that when you do an "fis create" it
> will default to using the address/length from the last "load"
> command.  That allows one to do someting like this:
> 
>   load -h 1.2.3.4 foobar.srec
>   fis create foobar
> 
> While it may not be much of a problem to enter the base address
> and size when commands are entered interactively, it's a pain
> if you're trying to automate the process via a script.
> 
> It appears that in the current verion of RedBoot the "fis
> create foobar" command will default to using values of an
> existing file name "foobar".
> 
> Would there be interest in a patch that used the address/size
> of the last loaded file in the case where the file does not
> already exist?

Sure, as long as the assumptions are displayed so the user
can make sure that the correct operation is taking place.

-- 
.--------------------------------------------------------.
|       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



More information about the Ecos-discuss mailing list