[Yaffs] mtd and yaffs2 updates for 2.4.25-vrs2-tcl1 kernel

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: balloon@balloonboard.org
CC: Yaffs@Stoneboat.Aleph1.Co.Uk
Subject: [Yaffs] mtd and yaffs2 updates for 2.4.25-vrs2-tcl1 kernel
I have updated the tcl development kernel that can be browsed at
http://husaberg.toby-churchill.com/cgi-bin/viewcvs.cgi/linux-2.4.25/trunk/

There are a few important changes for balloon generally.
This tree also represents a worked example for yaffs on a 2.4.x kernel
with a 2k nand friendly mtd.
1) yaffs2 is incorporated and has a couple of fixes for 2.4 kernels
added. The old yaffs1 code is still present but removed from the
menuconfig as it is now redundant. The yaffs1/2 autodetection is also
improved. This implements the very latest yaffs2 incl "Sergey's patch".
Testing of this kernel looks very promising. A dropoff in yaffs2 that
fails to cater for large amounts of nand due to temporarily needing more
than 128k of indexes in scanbackwards (and therefore needing to use
vmalloc not kmalloc via YMALLOC_ALT/YFREE_ALT) is fixed.
2) The mtd partition code is fixed to propagate oobinfo from masters to
slaves. This may have been what was driving Wookey nuts recently.
3) In nand_scan, eccbytes is propagated from nand to mtd without which
the ecc is all wrong after the first ecc block (256 bytes).

I have a bootldr that mirrors these changes if anyone is interested.

Note that this kernel is intended to service the TCL variant of the
balloon2 board so references to samosa and the extra serial control
lines won't be relevant to those using standard balloons without the
relevant cpld image.

Nick Bane
cc yaffs list.