[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: JFFS2 problem



Hi david,
Thanx.I solved the Initial problem by giving the option 
-e in mkfs.jffs2 and the -p option.Now there is one more
message which is intesting
JFFS2: Erase block at 0x00200000 is not formatted. It will be erased
JFFS2: Erase block at 0x00240000 is not formatted. It will be erased
JFFS2: Erase block at 0x00280000 is not formatted. It will be erased
JFFS2: Erase block at 0x002c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x00300000 is not formatted. It will be erased

I have only one JFFS2 partition and it starts 
from 0x800000. Why does JFFS2 scan these blocks?

Also how many blocks are allocated for gc in JFFS2 5 
or 4 ?
While loading the jffs2 image to the flash it erases 
only 2 MB but yet the df comamnd output shows that 
3184 1k blocks have been consumed. I am not able to 
understand how many sectors are for GC.Please help.
Thanx in advance,
Hari

------------- Original Message --------------
David Woodhouse <dwmw2@xxxxxxx.org> wrote:
To:"Harishankkar" <harishankkar@xxxxxxx.com>
From:David Woodhouse <dwmw2@xxxxxxx.org>
Date:Tue, 08 May 2001 14:53:37 +0100
CC:"jffs-dev@xxxxxxx.com>
Subject: Re: JFFS2 problem 


harishankkar@xxxxxxx.com said:
> jffs2_scan_empty(): Empty block at 0x0000fffc ends at 0x00010000 (with 0xe00219y 

You didn't tell mkfs.jffs2 the correct erase block size (-e 0x40000). Harmless.

harishankkar@xxxxxxx.com said:
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001dc140: 0x1a1a id 

Compaq bootldr bug. It seems to fill the end of the erase block in which 
the downloaded image ends with 0x1a. Use the '-p' option to mkfs.jffs2 to 
pad it out to the end of the erase block. Also mostly harmless.

--
dwmw2



_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com