This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: Using JFFS2 and test examples
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Raghu <raghu_dk at yahoo dot com>
- Cc: ecos <ecos-devel at sources dot redhat dot com>
- Date: Wed, 19 Jan 2005 14:08:44 +0100
- Subject: Re: Using JFFS2 and test examples
- References: <20050119040231.58097.qmail@web40429.mail.yahoo.com>
On Tue, Jan 18, 2005 at 08:02:31PM -0800, Raghu wrote:
> Hello All,
>
> I configured JFFS2 package into eCOS, and followed the
> steps in readme.txt under
> "ecos\packages\fs\jffs2\current\doc\readme.txt".
>
> I used the "jffs2.img" provided in he "support/jffs2"
> directory, to create a jffs2 partition in Redboot.
>
> I am using IXDP425 Eval development board and
> I28F128J3A flash device. The RedBoot partition is as,
> RedBoot> fis list
> Name FLASH addr
> RedBoot 0x50000000
> RedBoot config 0x50FC0000
> FIS directory 0x50FE0000
> romfs 0x50040000
> jffs2 0x50060000
> RedBoot>
>
> The IXDP425 board is big endian. The test samples
> jffs2_1.c, jffs2_2.c and romfileio1.c are not workign
> as expected.
The example image is little endian. You need to rebuild it as big
endian. mkfs.jffs2 can build both endian's so this should not be a
problem.
Andrew