This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: cannot mount effs2 filesystem at boot


> > > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]