[Yaffs] Some patching & a directory restructuring

Charles Manning manningc2@actrix.gen.nz
Fri, 24 Dec 2004 07:26:44 +1300


Hi YAFFSers

I have applied some of Frank's patches. I think I have applied all of the=
=20
patches that do functional things (the kill_sb and sendfile patches). The=
=20
ones that clean up warnings etc have not been applied yet. Things seem to=
 get=20
away from you at Christmas time (remember in NZ we're a day ahead of most=
=20
people :-), but I will still get around to the rest of this fixing as I c=
an.

I have also done some directory restructuring. From the new README:


Where do you want to go today?
------------------------------
direct       This is the userspace/RTOS variant of YAFFS. This is used fo=
r=20
yaffs
	     core development and for embedding YAFFS in products that don't use
	     Linux or WinCE
linux-module This allows you to build YAFFS as a free-standing Linux kern=
el
	     module. By "free standing", I mean that this build happens
	     outside the kernel tree. Generally you'd use this for testing.
linux-kernel This allows you to hook YAFFS into the kernel tree, to build
	     YAFFS within the kernel tree.
utils        These are some utilities for Linux.
wince	     Windows CE support. Horribly dated. Contact Aleph One is you'r=
e
	     considering YAFFS for a WinCE project.
mtdemul      An mtd NAND emulation driver for testing YAFFS under Linux.
Documentation Some YAFFS documents. Also visit www.aleph1.co.uk.

The idea behind this is that you choose the working directory dependent o=
n=20
what you're trying to achieve. Everything is symlinked from that director=
y to=20
the common code.

Linux folks: for now the linux-module gives you what you had. linux-kerne=
l is=20
still work in progress, (I still need to do the patchin script), but the =
idea=20
is that yaffs will get symlinked into the kernel tree. symlinks keep=20
everything very modular and allow an extra level of plug and play for=20
patching etc.=20

Non-linux folk: Nothing has really changed with the new directory structu=
re.