jffs2_scan_medium effor
Frederic Giasson
fgiasson at mediatrix.com
Thu Jun 21 12:51:39 EDT 2001
Thank you Kari for your help.
I tried partionning as you suggested, but I loose a lot of space
because I have two seperate partitions on which I mount JFFS2. It takes the
same space ( roughly 324 KB ) for its own usage per partition. Therefore, I
can't afford the partitioning method to map my flash because I was already
tight on it with 324K taken by JFFS2.
Does someone has ideas about this issue?
Thanks!
Frédéric Giasson
-----Original Message-----
From: Kári Davíðsson [mailto:kd at flaga.is]
Sent: Wednesday, June 20, 2001 11:56 AM
To: Frederic Giasson; MTD mailing list (E-mail)
Subject: RE: jffs2_scan_medium effor
Hi,
Create partitions for you chip.
Make those partitions resemble your flash chip layout, i.e. first
partition is the same size as your boot
monitor, next partiton is same size as the linux kernel image etc....
only mount the parttiton that jffs2 should touch, the others are not
touched.
You can look at cfi_flagadm.c (where I have four partitions,
bootmonitor, kernel image, ramdisk image and
a jffs2 partition) and other map drivers on how to set up the
partitions.
Hope this helps,
K.D.
> -----Original Message-----
> From: Frederic Giasson [mailto:fgiasson at mediatrix.com]
> Sent: 20. júní 2001 15:24
> To: MTD mailing list (E-mail)
> Subject: jffs2_scan_medium effor
>
>
> Hi all,
>
> I have some sectors on my flash memory that I don't give out to
> jffs2 because they contain boot data that I cannot integrate
> to jffs2. I
> had locked them in a software way in my flash driver by
> simply not allowing
> erase calls on those sectors. Up to this morning it had
> worked fine. But
> this morning I checked out last CVS code and now the jffs2_scan_medium
> function does not seem to like my lock feature.
>
> It says: "Cowardly refusing to erase blocks on filesystem
> with no valid
> JFFS2 nodes."
>
> I guess that the way I "mapped" my flash is not MTD's
> way. Could
> someone tell me what should be the "right" way to prevent jffs2 to use
> sectors I don't want to give it at mount time?
>
> Thanks!
>
> Frédéric Giasson
>
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
More information about the linux-mtd
mailing list