view README-linux-patch @ 400:fb6ffedcfa89

Add one-shot feature for yaffs auto checkpointing. This feature is enabling by ORing in 0x04 to the yaffs_auto_checkpoint module parameter. This will do a one-shot checkpoint on the next sync and the bit will then be reset. This is a nice way to force a checkpoint on the next sync. eg. echo 6 > /sys/modules/yaffs/parameters/yaffs_auto_checkpoint sync yaffs_auto_checkpoint will now be 2 Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Mon, 12 Apr 2010 16:55:22 +1200
parents 55004e797a2d
children
line wrap: on
line source

To build YAFFS in the Linux kernel tree you need to run the patch-ker.sh
script from the yaffs source directory, giving your choice as to whether
you wish to copy (c) or link (l) the code and the path to your kernel
sources, e.g:

./patch-ker.sh c /usr/src/linux

This will copy the yaffs files into fs/yaffs2 and modify the Kconfig
and Makefiles in the fs directory.

./patch-ker.sh l /usr/src/linux

This does the same as the above but makes symbolic links instead.

After you've run the script, go back to your normal kernel making procedure
and configure the yaffs settings you want.

Prolems? Contact the yaffs mailing list:

http://www.aleph1.co.uk/mailman/listinfo/yaffs