This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems with JFFS2 mount
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Manoj Abraham <manojkabraham at india dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 29 Sep 2004 13:38:09 +0200
- Subject: Re: [ECOS] Problems with JFFS2 mount
- References: <20040929110251.82D7623EE7D@ws5-4.us4.outblaze.com>
On Wed, Sep 29, 2004 at 07:02:51PM +0800, Manoj Abraham wrote:
> Hello,
>
> I have unlocked the flash and tried. The file system mount is
> succeeded but erasing my entire flash including redboot data,fis
> dir.. etc. It writes 0x00800080 to all flash locations. Whether the
> mount process will scan entire flash or only the image area?
It will only erase what it beleaves is inside the filesystem block
device.
Do you have assertions enabled? That might find something interesting.
Put a breakpoint in flashiodev_get_config and see if its returning
values you would expect for the different calls.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss