YAFFS2 doesn't compile

Werner Almesberger werner at openmoko.org
Sat Apr 12 21:34:48 CEST 2008

Andy Green wrote:
> Werner, isn't YAFFS just here for the Dash thing?

I don't remember why it's in the GTA01/02 tree, but HXD8 has forked
from Openmoko mainline long ago (a year ?) and uses a set of patches
with the 20071220 snapshot. (Which compiles fine.)

> But if it doesn't
> compile (since mokopatches I hope) and nobody complained do we still
> need it around?

The HXD8 tree was never merged back into Openmoko mainline, so it's
not important for HXD8 to keep this bit around. In case such a merge
is done later, it would be easy enough to bring YAFFS2 back.

Following the linux-mtd mailing list, I also see a lot of negative
comments about YAFF2, although few of them based on actual technical

Another less than cheerful comment I saw there is this:

  | From: Jean Pihet <jpihet at mvista.com>
  | Date: Thu, 10 Apr 2008 20:51:40 +0200
  | Subject: Re: [BUG] JFFS2 usage of write_begin and write_end functions
  2.6.24 JFFS2 as such is pretty unstable.


The same thread had a pointer to
as a source for cherry-picking changes.

(The thread in question hasn't reached a conclusion on the issue that
started this - a kernel panic while torture-testing JFFS2.)

If the "April update" also includes an upgrade of the mainline kernel,
we might pick up some useful fixes in this area as well.

- Werner

More information about the openmoko-kernel mailing list