This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problems to mount JFFS2
- From: Andrew Lunn <andrew at lunn dot ch>
- To: daniel at fh-konstanz dot de
- Cc: ecos-discuss at sourceware dot org
- Date: Thu, 22 Sep 2005 10:50:18 +0200
- Subject: Re: [ECOS] Problems to mount JFFS2
- References: <1127377406.433269fec4288@webmail.fh-konstanz.de>
On Thu, Sep 22, 2005 at 10:23:26AM +0200, daniel@fh-konstanz.de wrote:
>
> Hallo list!
>
>
>
> I want to port the jffs2 filesystem to following embedded processor:
>
> ARM Industrial Module AIM 711 with following features:
>
> ARM7 50 MHz 32 Bit RISC CPU
> 8 MB SDRAM, 2 MB Flash, RTC
>
> I have created an jffs2-image, which includes a file named hello.jar.
> For creating and Uploading to the Flash of the ARM, I have conducted the
> following described steps:
>
> 1. Creating the jffs2 with the binary "MKFS.JFFS2" in that directory, you can
> find the output.jar, so the jffs2 includes this file.
...
> Mkfs.jffs2 ?r /usr/local/jffs2 ?o JFFS2.jffs2
> Is the problem occurring when creating the jffs2 file with mkfs.jffs2 ? Is the
> "erase size" wrong? How can i get the right "erase size"?
Setting the correct erase size will help. The erase size is the
minimum size block you can erase in your flash. You set this with -e
when calling mkfs.jffs2. You should also use the -p option so that the
image is the same size as the flash you have allocated for the
filesystem.
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