This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot - fis create - erase
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Manfred Gruber <gruber dot m at utanet dot at>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 13 Apr 2005 06:00:49 -0600
- Subject: Re: [ECOS] Redboot - fis create - erase
- Organization: MLB Associates
- References: <200504131354.08236.gruber.m@utanet.at>
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