This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: cannot mount effs2 filesystem at boot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "brix82 at libero dot it" <brix82 at libero dot it>
- Cc: andrew <andrew at lunn dot ch>, ecos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 1 Sep 2004 12:31:20 +0200
- Subject: Re: [ECOS] Re: cannot mount effs2 filesystem at boot
- References: <I3CWLB$467DF3851445021B396A557432906F34@libero.it>
> > > And here is the FIS directory listing:
> > >
> > > RedBoot> fis list
> > > Name FLASH addr Mem addr Length Entry point
> > > RedBoot 0x50000000 0x50000000 0x00040000 0x00000000
> > > ...
> > > jffs 0x50300000 0x50300000 0x00080000 0x00050000
> > >
> I built my filesystem image with mkfs.jffs2 1.39 for redhat with the following
> command:
>
> $ mkfs.jffs2 -o jffs.img -d jffs_tree/ -p 0x00400000 -e 0x00040000
> $ ls -l jffs2.img
> -rw-r--r-- 1 root root 262144 1 set 11:19 jffs.img
>
> It produces a file of 256Kbytes (the erase block size), although i tried to pad
> it to 4Mbytes. Is this ok?
Have you changed the fis entry and the other CDL configurations to
4Mbytes?
Also mkfs.jffs2 should produce a filesystem of 4Mbytes. It looks like
there is a bug in the parameter handling. Try:
mkfs.jffs2 -d jffs_tree --pad=4194304 -e 262144 -o jffs.img
-p does not seem to be working.
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