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: JFFS2 on big-endian system


On Mon, 2003-11-24 at 10:46, Roland Caßebohm wrote:
> Hello,
> 
> I try to use jffs2 on my big-endian system. First I had the problem, that
> mkfs.jffs2 couldn't make big-andian images, even if -b was set. Now I have
> a newer version which could do that.
> 
> This is what I have done:
> 
> Linux> mkfs.jffs2 -o jffs2_b.img -b -r experimental -e 0x10000
> 
> RedBoot> load -r -b 0x40000 -h 192.168.1.36 jffs2_b.img
> RedBoot> fis create -f 0x20c0000 -l 0x30000 jffs2
> 
> It works except of mount() gave th following output:
> 
> <4>Node at 0x00000c30 with length 0x000004d6 would run over the end of the 
> erase block
> <4>Perhaps the file system was created with the wrong erase size?
> <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000c38: 
> 0xde82 instead
> <5>Further such events for this erase block will not be printed
> <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001000: 
> 0x7cba instead
> <5>Further such events for this erase block will not be printed
> 
> Does anybody know what could be wrong?

Does your FLASH actually have an erase block size of 64K (0x10000)?
This number is *critical* - if it's wrong, either too large or too 
small, the whole file system fails.

Other than that, try turning on the low level debug messages.  That may
show you something.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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