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]
Other format: [Raw text]

Re: Redboot - fis create - erase


On Wed, 2005-04-13 at 13:54 +0200, Manfred Gruber wrote:
> Hi ecos users !
> 
> I have a question about fis create command.
> 
> I do this in redboot:
>  fis create -f some addre -l some_leng -e0x0 rootfs
>  fis create -f some addre -l some_leng -e0x0 another_fs
> 
> in linux i do in my init scripts:
> 
> flash_eraseall -j /dev/mtdx
> and then copy my jffs image to mtd !
> 
> My problem is I don't want that fis create erases the flash content.
> This will be done in linux done. I only want to create a partition.
> 
> Is there any fast solution not to erase the flash content of the partition to 
> save a lot of time when installing?   

Use the "-n" option to "fis create".  This way, only the FIS directory
gets updated - the actual FLASH data is untouched.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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