jffs2_scan_medium effor
Kári Davíðsson
kd at flaga.is
Wed Jun 20 11:55:57 EDT 2001
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