[ECOS] Redboot - fis create - erase
Gary Thomas
gary@mlbassoc.com
Wed Apr 13 12:01:00 GMT 2005
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
More information about the Ecos-discuss
mailing list