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: Tue, 28 Sep 2004 14:49:37 +0200
- Subject: Re: [ECOS] Problems with JFFS2 mount
- References: <20040928112105.B75864160A1@ws5-2.us4.outblaze.com>
On Tue, Sep 28, 2004 at 07:21:05PM +0800, Manoj Abraham wrote:
> Hi all,
> I am trying to mount the JFFS2 file system. I am using the jff2.img given in ecos source tree(/fs/jffs/). Flash used is Intel Strata Flash(INTEL 28F128Jx ( 8192 x 16 ) 2 Devices).My memorymap is as follows
>
> Flash base: FE000000
> Flash size: 32MB
> RAM BASE : 00000000
> RAM Size : 128 MB
>
> After Booting the board, I did fis init and loaded the jffs2.img using load(tftp) and create commands.
>
> The fis list is as follows
> Name FLASHaddr Memaddr Len Entry
> RedBoot 0xFE000000 0xFE0000000 x40000 0x0
> jffs2 0xFE100000 0xFE100000 0x40000 x3000000
> FISdir 0xFFFC0000 0xFFFC0000 0x3F000 x0
> RedBtcfg0xFFFFF000 0xFFFFF000 0x1000 x0
>
> After this I have given the mount command
>
> RedBoot> mount -t jffs2 -d /dev/flash1
> <4>Write clean marker to block at 0x00000000 failed: -5
-d mean use the device /dev/flash1. How have you configure this
device? Have you told eCos where the device should start and end etc?
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