[Yaffs] YAFFS with other RTOSs

Charles Manning manningc2@actrix.gen.nz
Wed, 27 Apr 2005 12:11:10 +1200


On Wednesday 27 April 2005 10:53, Vukovic, Donald wrote:
> Has anyone ported YAFFS to the Nucleus RTOS ??

I don't know of people specifically using YAFFS with Nucleus, but YAFFS h=
as=20
been used successfully with various RTOSs. The YAFFS Direct stuff was wri=
tten=20
specifically for this purpose.

Note that to use YAFFS in this way will likely require a licensing deal=20
(unless you're doing a GPL project). See=20
http://www.aleph1.co.uk/yaffs/licensing.html

Also see=20
http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/*checkout*/yaffs/Documentatio=
n/yaffs_direct.html?rev=3DHEAD&content-type=3Dtext/html

YAFFS direct is pretty well tested since this is the primary method using=
 to=20
test yaffs_guts (ie. the internal file system algorithms).

>
> I am just started to try this, and would like to know if this possible.
> ( or just difficult )

It should not be **that** difficult.

The actual RTOS porting just involves filling out a few stub functions to=
=20
provide a locking semaphore etc in direct/yaffscfg.c and of course provid=
ing=20
some NAND access functions.

-- CHarles