[ECOS] Problems with JFFS2 mount
Andrew Lunn
andrew@lunn.ch
Tue Sep 28 13:59:00 GMT 2004
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
More information about the Ecos-discuss
mailing list