This is the mail archive of the ecos-devel@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: Using JFFS2 and test examples


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


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