This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems with JFFS2 mount
- From: "Manoj Abraham" <manojkabraham at india dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 28 Sep 2004 22:54:21 +0800
- Subject: Re: [ECOS] Problems with JFFS2 mount
Hello,
Thanks for the reply. In config tool I have selected as follows:
Instantiate IO Block API is enabled
Static Configuration is selected
offset from flash base : 0x00100000
length : 0x00100000
Thanks
Manoj K Abraham
MIT
----- Original Message -----
From: Andrew Lunn <andrew@lunn.ch>
Date: Tue, 28 Sep 2004 14:49:37 +0200
To: Manoj Abraham <manojkabraham@india.com>
Subject: Re: [ECOS] Problems with JFFS2 mount
> 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
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Powered by Outblaze
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss