This is the mail archive of the ecos-discuss@sourceware.org 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: JFFS2 questions with eCos


On Mon, Oct 03, 2005 at 05:35:01PM +0800, Steven_cheng wrote:
> Hi Andrew,
> 
>     I'm sorry to disturb you, because I take some tests
> with the mkfs.jffs2.
> 
> When I use the following commands, the size of the image are
> different, it is tested in i386-linux and cygwin.
> 
> (1) ./mkfs.jffs2 -b -o myjffs2_1.img -r
> jffs2_dir/ --pad=4194304 --eraseblock=131072
>       [image size = 4,194,304 bytes ]
> 
> (2) ./mkfs.jffs2 -b -o myjffs2_2.img -r jffs2_dir/ --pad=4194304 -e 131072
>       [image size = 4,194,304 bytes  ]
> 
> (3) ./mkfs.jffs2 -b -o myjffs2_3.img -r jffs2_dir/ --pad=4194304 -e=131072
>       [ error !!
>        i386linux: Increasing erase size to 8KiB minimum
>        cygwin: mkfs.jffs2: Unrecognisable erase size]
> 
> (4) ./mkfs.jffs2 -b -o myjffs2_4.img -r jffs2_dir/ -p 4194304 -e 131072
>       [image size = 393,216 bytes]
> 
> (5) ./mkfs.jffs2 -b -o myjffs2_5.img -r jffs2_dir/ -p=4194304 -e 131072
>       [image size = 320,688 bytes]
> 
> So I am not sure which is the correct usage !!
> 

Which do you think? 

Why?

My answering you questions all the time is not going to help you in
the long term. You need to start thinking for yourself and answer your
own questions....

        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]