Do not understand use of oobfree
Philip Rakity
prakity at yahoo.com
Tue Feb 6 11:10:08 EST 2007
I am still a little confused about oobfree and jffs2. So, Jffs2 knows
about the physical layout of the out of band area -- does not treat it
as a logical linear memory area? The driver does not hide the layout
by providing a linear mapping to jffs2 ? oobfree tells jffs2 where it
can put its data ?
Philip
--- Artem Bityutskiy <dedekind at infradead.org> wrote:
> On Sun, 2007-02-04 at 19:58 -0800, Philip Rakity wrote:
> > I am asking because if I have a flash device that does not map per
> the
> > standard includes do I have to touch jffs2 to get things to work.
>
> I've just submitted a patch which teaches UBI to use MTD_OOB_AUTO
> option. Please, make sure your driver supports it and try the patch.
>
> The idea is that it is not application's business to know details of
> OOB
> - where ECC bytes ate stored, BB marker, etc. This is all legacy
> stuff,
> conceptually wrong. We now (thankfully) have the MTD_OOB_AUTO and it
> should be used instead. It represents free OOB bytes as a contiguous
> buffer and allows you read to it and write from it.
>
> The patches are not in Mainline, not even in mtd-2.6.git yet. They
> are
> at
> git://git.infradead.org/~dedekind/dedekind-mtd-2.6.git.
>
> Or web
>
http://git.infradead.org/?p=users/dedekind/dedekind-mtd-2.6.git;a=summary
>
> Try this and send us your success story or the complaint.
>
> P.S. I don't know why we don't remove the legacy OOB-related stuff -
> but
> I am all for it.
>
> --
> Best regards,
> Artem Bityutskiy (ÐиÑÑÑкий ÐÑÑÑм)
>
>
>
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile. Get started!
http://mobile.yahoo.com/services?promote=mail
More information about the linux-mtd
mailing list