Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2009 12:24:10 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Andrew Turner <andrew@fubar.geek.nz>
Cc:        freebsd-embedded@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: FreeBSD NAND flash driver
Message-ID:  <20090406122410.daab24b3.stas@FreeBSD.org>
In-Reply-To: <20090405175014.6aef7016@fubar.geek.nz>
References:  <20090405175014.6aef7016@fubar.geek.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 5 Apr 2009 17:50:14 +1200
Andrew Turner <andrew@fubar.geek.nz> mentioned:

> I've been working on a FreeBSD NAND flash driver and NAND simulator [1].
> I have tested reading and writing to the simulated NAND device but not
> erasing.

Great news!
 
> It is not usable yet as the write will not perform any deletes from the
> device, either the file system or another geom will have to issue
> a BIO_DELETE followed by BIO_WRITE's to write to the disk. This is done
> to support NAND flash aware file systems.
>

So, for ordinary file systems we're going to use the special geom layer
that will sit above the nand(8) device and perform BIO_DELETE operations
when required?
 
> TODO:
>  * ECC support.
>  * Add GEOM attributes to get information about the NAND device out,
>    eg. Block size, OOB data, etc.
>  * Test the erase code.
>  * Add support for real hardware.
>  * Read the parameter page on parts that support it to get the required
>    information.
> 
> Andrew
> 
> [1] http://fubar.geek.nz/files/freebsd/nand/freebsd-nand-20090405.tar.gz

What about putting this information to the wiki? Seems like a good start for
anyone who'll be working on the real hardware.
And thanks again for the great work!

- -- 
Stanislav Sedov
ST4096-RIPE
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAknZvC4ACgkQK/VZk+smlYFgGQCeP/sXZcjhEBrvHQtdcO+iPC6R
yKoAnisUV9Jmfagx4sQCcE5wWGABI/y0
=cmW/
-----END PGP SIGNATURE-----

!DSPAM:49d9bc2e967004191370449!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090406122410.daab24b3.stas>