Date: Wed, 23 May 2007 14:23:46 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: bms@incunabulum.net Cc: freebsd-mips@freebsd.org Subject: Re: Anyone porting YAFFS2? Message-ID: <20070523.142346.-749246620.imp@bsdimp.com> In-Reply-To: <46549AE9.9040505@incunabulum.net> References: <46549AE9.9040505@incunabulum.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <46549AE9.9040505@incunabulum.net>
"Bruce M. Simpson" <bms@incunabulum.net> writes:
: Has anyone out there considered porting YAFFS2 to FreeBSD? Looking at
: the design notes it sounds fairly portable, more so than JFFS2:
: http://www.aleph1.co.uk/taxonomy/term/31/
:
: This could be a good test case for flash support as it seems that a
: NEWBUS interface could be implemented for flash controllers, which
: YAFFS2 could then use.
I'm not sure a newbus interface is the right one to use, since most
storage systems are built on the bio interface. We'd have to flush
out the bio interface to cope. However, I think most of the things
that are necessary already exist in the interface...
: I'm not sure how GEOM would fit into this picture. The file system glue
: strikes me as a minimal amount of work compared to the rest involved in
: supporting this.
There's already a geom_nand floating around in the while. It does the
wear averaging, but is somewhat tied to some specific hardware and
isn't done generically, and I'm not sure if I can give it out...
: Whilst the code is available under GPL, the author(s) state that they
: are 'open to arrangements'; I'm not sure what this implies, the
: licensing information on their site suggests this is about negotiating
: commercial licenses with them. It would seem acceptable to me that such
: code could potentially be imported under src/sys/contrib, however, this
: leaves the question of what we do about firmware images which
: incorporate such a YAFFS2 build.
GPL'd code is fine, so long as it is in src/sys/gnu.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070523.142346.-749246620.imp>
