[Yaffs] Re: Static yaffs2 library
Wookey
wookey@aleph1.co.uk
Tue, 19 Apr 2005 19:29:26 +0100
+++ Shaun Jackman [05-04-19 09:42 -0700]:
> I started to compile yaffs2 for an arm-elf embedded target, but
> yaffs_fs.c did not find the Linux headers it was expecting. Is it
> possible to compile yaffs to provide a typical open/read/write/close
> interface in a static library,
Do you mean to use YAFFS without linux?
If so, yes - it's called 'YAFFS direct' which does indeed provide a
simplified set of calls which replace the Linux VFS layer. See the diag here
for the various ways yuaffs can be fitted into OSes:
http://www.aleph1.co.uk/talks/yaffs/mgp00007.html
> and is it possible to use yaffs with a NOR flash chip on a memory bus?
It is. It's not quite what it was designed for, but it does work fine and
can make sense. You'll need to tweak things a bit. There have been a few
posts to this list over the last 2 months asking the same question. Find one
of those for the details.
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/