yaffs2.git
11 years agoMore formatting
charles [Mon, 9 Mar 2009 08:11:07 +0000 (08:11 +0000)]
More formatting

11 years agoMore formatting
charles [Mon, 9 Mar 2009 07:41:10 +0000 (07:41 +0000)]
More formatting

11 years agoMore formatting
charles [Mon, 9 Mar 2009 07:25:09 +0000 (07:25 +0000)]
More formatting

11 years agoMore formatting fixes
charles [Mon, 9 Mar 2009 04:24:17 +0000 (04:24 +0000)]
More formatting fixes

11 years agoMajor whitespace/style changes to match Linux checkpatch.pl code style
wookey [Fri, 6 Mar 2009 17:20:49 +0000 (17:20 +0000)]
Major whitespace/style changes to match Linux checkpatch.pl code style

11 years agoRemove bigus test
charles [Thu, 5 Mar 2009 21:46:46 +0000 (21:46 +0000)]
Remove bigus test

11 years agoChange yaffs_DeleteFile to yaffs_DeleteObject and improve symlink handling
charles [Thu, 5 Mar 2009 01:47:17 +0000 (01:47 +0000)]
Change yaffs_DeleteFile to yaffs_DeleteObject and improve symlink handling

11 years agoChange inode deletion to prevent issue raised by YBUG
charles [Thu, 5 Mar 2009 01:45:28 +0000 (01:45 +0000)]
Change  inode deletion to prevent issue raised by YBUG

11 years agoGet rid of KERN_DEBUG so that TRACE_OS works consistently
charles [Thu, 5 Mar 2009 01:05:28 +0000 (01:05 +0000)]
Get rid of KERN_DEBUG so that TRACE_OS works consistently

11 years agoAdd Linux 2.6.29 support
charles [Sun, 1 Mar 2009 23:52:28 +0000 (23:52 +0000)]
Add Linux 2.6.29 support

11 years agoAdd experimental yaffs_nandif.[ch]
charles [Mon, 9 Feb 2009 03:20:33 +0000 (03:20 +0000)]
Add experimental yaffs_nandif.[ch]

11 years agoClean up ununed variable and formatting
charles [Wed, 4 Feb 2009 21:40:27 +0000 (21:40 +0000)]
Clean up ununed variable and formatting

11 years agoFix dependencies in Kconfig
charles [Wed, 4 Feb 2009 19:46:48 +0000 (19:46 +0000)]
Fix dependencies in Kconfig

11 years agoChange string concats to work with all OSs
charles [Tue, 27 Jan 2009 03:09:37 +0000 (03:09 +0000)]
Change string concats to work with all OSs

11 years agoChange string concats to work with all OSs
charles [Tue, 27 Jan 2009 02:52:45 +0000 (02:52 +0000)]
Change string concats to work with all OSs

11 years agoConsolidate with Android fixes
charles [Tue, 27 Jan 2009 02:00:42 +0000 (02:00 +0000)]
Consolidate with Android fixes

11 years agoClean up come cruft
charles [Mon, 26 Jan 2009 23:29:20 +0000 (23:29 +0000)]
Clean up come cruft

11 years agoChange Linux kernel kmalloc flag to prevent deadlock
charles [Mon, 26 Jan 2009 23:27:15 +0000 (23:27 +0000)]
Change Linux kernel kmalloc flag to prevent deadlock

11 years agoRemove obsolete file
charles [Mon, 26 Jan 2009 23:24:59 +0000 (23:24 +0000)]
Remove obsolete file

11 years agoUpdate to new tags field names
charles [Sun, 25 Jan 2009 18:21:17 +0000 (18:21 +0000)]
Update to new tags field names

11 years agoStrip out obsolete WinCE code. No longer needed because WinCE no longer causes page...
charles [Fri, 23 Jan 2009 06:36:49 +0000 (06:36 +0000)]
Strip out obsolete WinCE code. No longer needed because WinCE no longer causes page faults within the file system

11 years agoUpdate free chunk count for skipped chunks
charles [Fri, 23 Jan 2009 00:31:01 +0000 (00:31 +0000)]
Update free chunk count for skipped chunks

11 years agoChange Linux glue code to work with 2.6.28
charles [Thu, 22 Jan 2009 00:45:54 +0000 (00:45 +0000)]
Change Linux glue code to work with 2.6.28

11 years agoChange kernel patchin script for 2.6.28 friendliness
charles [Thu, 22 Jan 2009 00:44:46 +0000 (00:44 +0000)]
Change kernel patchin script for 2.6.28 friendliness

11 years agoMore test fiddling
charles [Mon, 19 Jan 2009 01:21:14 +0000 (01:21 +0000)]
More test fiddling

11 years agoReplace printf with proper tracing
charles [Sun, 18 Jan 2009 23:24:08 +0000 (23:24 +0000)]
Replace printf with proper tracing

11 years agoAdd autocheckpoint control
charles [Sun, 18 Jan 2009 21:50:37 +0000 (21:50 +0000)]
Add autocheckpoint control

11 years agoTweak tests
charles [Fri, 16 Jan 2009 02:26:56 +0000 (02:26 +0000)]
Tweak tests

11 years agoChange some object verification
charles [Fri, 16 Jan 2009 02:14:52 +0000 (02:14 +0000)]
Change some object verification

11 years agoReplace test scrips with nand and nor versions
charles [Fri, 16 Jan 2009 00:49:25 +0000 (00:49 +0000)]
Replace test scrips with nand and nor versions

11 years agoImprove test harness for yaffs2 mode
charles [Fri, 16 Jan 2009 00:46:59 +0000 (00:46 +0000)]
Improve test harness for yaffs2 mode

11 years agoImprove handling of ecc on tags
charles [Fri, 16 Jan 2009 00:45:47 +0000 (00:45 +0000)]
Improve handling of ecc on tags

11 years agoHandle unfixed ecc errors better when scanning
charles [Fri, 16 Jan 2009 00:44:45 +0000 (00:44 +0000)]
Handle unfixed ecc errors better when scanning

11 years agoConsolidate unlinked file handling durinit init to take care of restored checkpoint...
charles [Mon, 12 Jan 2009 00:53:47 +0000 (00:53 +0000)]
Consolidate unlinked file handling durinit init to take care of restored checkpoint case too.

11 years agoMore test clean ups
charles [Mon, 12 Jan 2009 00:49:01 +0000 (00:49 +0000)]
More test clean ups

11 years agoMore test fiddling
charles [Fri, 9 Jan 2009 02:59:47 +0000 (02:59 +0000)]
More test fiddling

11 years agoFix compiler grizzle
charles [Fri, 9 Jan 2009 02:54:14 +0000 (02:54 +0000)]
Fix compiler grizzle

11 years agoFix chunk start problem properly
charles [Fri, 9 Jan 2009 02:52:28 +0000 (02:52 +0000)]
Fix chunk start problem properly

11 years agoRestructure tests
charles [Sun, 4 Jan 2009 21:44:23 +0000 (21:44 +0000)]
Restructure tests

11 years agoAdd more tracing to yafs_VerifyDirectory
charles [Thu, 27 Nov 2008 20:32:52 +0000 (20:32 +0000)]
Add more tracing to yafs_VerifyDirectory

11 years agogc part of the block at a time to reduce latency
charles [Thu, 27 Nov 2008 02:46:45 +0000 (02:46 +0000)]
gc part of the block at a time to reduce latency

11 years agoSome test case changes
charles [Wed, 26 Nov 2008 20:49:36 +0000 (20:49 +0000)]
Some test case changes

11 years agoKeep shadowing through gc (compare with 1.64)
charles [Wed, 26 Nov 2008 20:46:47 +0000 (20:46 +0000)]
Keep shadowing through gc (compare with 1.64)

11 years agoRemove sprintf from yaffs_guts because it isn't always available
charles [Wed, 26 Nov 2008 20:42:04 +0000 (20:42 +0000)]
Remove sprintf from yaffs_guts because it isn't always available

11 years agoFix sign handling problem. This works, buut should probably be improved
charles [Tue, 25 Nov 2008 00:29:32 +0000 (00:29 +0000)]
Fix sign handling problem. This works, buut should probably be improved

11 years agoTweaks to nor stress simulation. Save random seed so that we can do better debugging
charles [Fri, 21 Nov 2008 02:19:30 +0000 (02:19 +0000)]
Tweaks to nor stress simulation. Save random seed so that we can do better debugging

11 years agoFix problem where duplicate object headers were not always being selected correctly...
charles [Fri, 21 Nov 2008 02:17:32 +0000 (02:17 +0000)]
Fix problem where duplicate object headers were not always being selected correctly due to not reading the serial number from the tags at the right place

11 years agoExtra page status checking to combat power loss causing only one bit to change
charles [Thu, 13 Nov 2008 01:50:16 +0000 (01:50 +0000)]
Extra page status checking to combat power loss causing only one bit to change

11 years agoAdd nor stress test script
charles [Tue, 11 Nov 2008 20:43:10 +0000 (20:43 +0000)]
Add nor stress test script

11 years agoReduce size for nor simulation testing to try force errors
charles [Tue, 11 Nov 2008 01:48:47 +0000 (01:48 +0000)]
Reduce size for nor simulation testing to try force errors

11 years agoFix uninitialised variable
charles [Tue, 11 Nov 2008 01:47:46 +0000 (01:47 +0000)]
Fix uninitialised variable

11 years agoSome fixes and add NOR integrity code
charles [Fri, 7 Nov 2008 00:32:20 +0000 (00:32 +0000)]
Some fixes and add NOR integrity code

11 years agoUpdate mtd interface for inband tags
charles [Sun, 2 Nov 2008 22:47:13 +0000 (22:47 +0000)]
Update mtd interface for inband tags

12 years agoClean up a bit of messy code and potential GC hole
charles [Thu, 30 Oct 2008 18:25:21 +0000 (18:25 +0000)]
Clean up a bit of messy code and potential GC hole

12 years agoMerge in some clean-ups
charles [Thu, 30 Oct 2008 17:58:44 +0000 (17:58 +0000)]
Merge in some clean-ups

12 years agoFix looping on handles
charles [Mon, 13 Oct 2008 03:47:26 +0000 (03:47 +0000)]
Fix looping on handles

12 years agoChange a few tests
charles [Thu, 11 Sep 2008 04:27:58 +0000 (04:27 +0000)]
Change a few tests

12 years agoAdd kmap for highmem access
charles [Thu, 28 Aug 2008 02:42:11 +0000 (02:42 +0000)]
Add kmap for highmem access

12 years agoChange name matching algorithm
charles [Tue, 19 Aug 2008 23:14:22 +0000 (23:14 +0000)]
Change name matching algorithm

12 years agoFix permissions on test files
charles [Tue, 19 Aug 2008 21:47:44 +0000 (21:47 +0000)]
Fix permissions on test files

12 years agoEnsure checkpt stream is not corrupted
charles [Tue, 12 Aug 2008 22:51:57 +0000 (22:51 +0000)]
Ensure checkpt stream is not corrupted

12 years agoEnsure variable is sane
charles [Tue, 12 Aug 2008 22:50:23 +0000 (22:50 +0000)]
Ensure variable is sane

12 years agoupdate to latest configs
charles [Thu, 7 Aug 2008 22:45:44 +0000 (22:45 +0000)]
update to latest configs

12 years agoFix compilation on Linux 2.6.26, fix compilation warnings
charles [Wed, 23 Jul 2008 03:35:12 +0000 (03:35 +0000)]
Fix compilation on Linux 2.6.26, fix compilation warnings

12 years agoClear out some redundant code, treat bad ECC chunk as deleted
charles [Mon, 21 Jul 2008 01:03:19 +0000 (01:03 +0000)]
Clear out some redundant code, treat bad ECC chunk as deleted

12 years agoSome cleanups, Linux 2.6.25 handling, fix handing of root permissions
charles [Thu, 3 Jul 2008 20:06:05 +0000 (20:06 +0000)]
Some cleanups, Linux 2.6.25 handling, fix handing of root permissions

12 years agoAdd new file
charles [Wed, 2 Jul 2008 21:28:06 +0000 (21:28 +0000)]
Add new file

12 years agoClean up some yaffs1 mode issues.
charles [Wed, 2 Jul 2008 20:17:41 +0000 (20:17 +0000)]
Clean up some yaffs1 mode issues.

12 years agoAdd YYIELD to yaffs_Scan loop
charles [Thu, 8 May 2008 23:23:26 +0000 (23:23 +0000)]
Add YYIELD to yaffs_Scan loop

12 years agoChange direct partition prefix to YCHAR
charles [Thu, 8 May 2008 23:21:28 +0000 (23:21 +0000)]
Change direct partition prefix to YCHAR

12 years agoAdd missing file
charles [Thu, 8 May 2008 02:12:25 +0000 (02:12 +0000)]
Add missing file

12 years agoCheck in inband tags, some extra yaffs direct functions and some other changes
charles [Mon, 5 May 2008 07:58:58 +0000 (07:58 +0000)]
Check in inband tags, some extra yaffs direct functions and some other changes

12 years agoFix list init
charles [Mon, 17 Mar 2008 19:46:59 +0000 (19:46 +0000)]
Fix list init

12 years agoChange list macros
charles [Thu, 13 Mar 2008 22:32:28 +0000 (22:32 +0000)]
Change list macros

12 years agoConditionally define old style info structures
colin [Tue, 22 Jan 2008 10:30:45 +0000 (10:30 +0000)]
Conditionally define old style info structures

12 years agofix error in conditional define (and move it after header)
colin [Tue, 22 Jan 2008 10:25:02 +0000 (10:25 +0000)]
fix error in conditional define (and move it after header)

12 years agoFix minor typo.
colin [Fri, 4 Jan 2008 15:54:03 +0000 (15:54 +0000)]
Fix minor typo.

12 years agoCleanup patch - Remove all trailing whitespace and fix a few typos.
wookey [Thu, 13 Dec 2007 15:35:17 +0000 (15:35 +0000)]
Cleanup patch - Remove all trailing whitespace and fix a few typos.

12 years agoReplace KERNEL_VERSION with MTD_VERSION so that builds which don't use
colin [Wed, 12 Dec 2007 18:08:15 +0000 (18:08 +0000)]
Replace KERNEL_VERSION with MTD_VERSION so that builds which don't use
a Linux Kernel still build correctly.
Set MTD_VERSION_CODE either from the kernel or by hand.

12 years agoChange checkpoint to calculate number of blocks required instead of using a hardcoded...
charles [Mon, 3 Dec 2007 03:21:48 +0000 (03:21 +0000)]
Change checkpoint to calculate number of blocks required instead of using a hardcoded value

13 years agoAdd newlines to a couple of trace/diagnostic messages.
imcd [Mon, 29 Oct 2007 14:59:57 +0000 (14:59 +0000)]
Add newlines to a couple of trace/diagnostic messages.
Reported by andre at bluewatersys.com.

13 years agoCall callback to support mtd tools
charles [Wed, 17 Oct 2007 01:29:31 +0000 (01:29 +0000)]
Call callback to support mtd tools

13 years agoAdding fsx test to yaffs direct
charles [Tue, 16 Oct 2007 00:45:05 +0000 (00:45 +0000)]
Adding fsx test to yaffs direct

13 years agoExamine etags.eccResult before looking at etags.chunkUsed during query.
imcd [Mon, 1 Oct 2007 19:43:12 +0000 (19:43 +0000)]
Examine etags.eccResult before looking at etags.chunkUsed during query.
Set block status to SCANNING if we have a bad eccResult.

13 years agoFix bad-block status during query.
imcd [Mon, 1 Oct 2007 19:40:33 +0000 (19:40 +0000)]
Fix bad-block status during query.
Mtd read does not indicate bad-block status (reported by list
subscriber "thisway.diy").

13 years agoAdd #include <linux/sched.h> -- needed for 2.6.23.
imcd [Wed, 19 Sep 2007 20:37:38 +0000 (20:37 +0000)]
Add #include <linux/sched.h> -- needed for 2.6.23.

13 years agoAdd support 2.6.23 filesystem interface API.
imcd [Wed, 19 Sep 2007 20:35:40 +0000 (20:35 +0000)]
Add support 2.6.23 filesystem interface API.

13 years agoFix infinite loop when parsing numeric trace flags written to /proc/yaffs.
imcd [Thu, 16 Aug 2007 20:42:11 +0000 (20:42 +0000)]
Fix infinite loop when parsing numeric trace flags written to /proc/yaffs.

13 years agoFix typos and correct URL.
imcd [Tue, 31 Jul 2007 18:53:38 +0000 (18:53 +0000)]
Fix typos and correct URL.

13 years agoAdd files missing from kernel makefile
charles [Wed, 25 Jul 2007 01:05:10 +0000 (01:05 +0000)]
Add files missing from kernel makefile

13 years agoAdd a symlink option to the patching script
charles [Wed, 25 Jul 2007 01:04:38 +0000 (01:04 +0000)]
Add a symlink option to the patching script

13 years agoUpdate comments about use of CONFIG_YAFFS_9BYTE_TAGS option.
imcd [Mon, 23 Jul 2007 19:43:07 +0000 (19:43 +0000)]
Update comments about use of CONFIG_YAFFS_9BYTE_TAGS option.

13 years agoWhen configured with CONFIG_YAFFS_9BYTE_TAGS, set chunkDeleted state using
imcd [Mon, 23 Jul 2007 19:14:04 +0000 (19:14 +0000)]
When configured with CONFIG_YAFFS_9BYTE_TAGS, set chunkDeleted state using
the delete status read before we set shouldBeFF to all-ones.

13 years agoMake CONFIG_YAFFS_9BYTE_TAGS disabled by default.
imcd [Mon, 23 Jul 2007 19:10:11 +0000 (19:10 +0000)]
Make CONFIG_YAFFS_9BYTE_TAGS disabled by default.

13 years agoFix yaffs_qsort linkage
charles [Mon, 23 Jul 2007 05:14:08 +0000 (05:14 +0000)]
Fix yaffs_qsort linkage

13 years agoAdd missing yaffs_mtdif1.h
charles [Mon, 23 Jul 2007 05:02:20 +0000 (05:02 +0000)]
Add missing yaffs_mtdif1.h

13 years agoRolling in Ians and other changes
charles [Wed, 18 Jul 2007 19:40:37 +0000 (19:40 +0000)]
Rolling in Ians and other changes

13 years agoChange blockState field from enum to unsigned because some compilers use ints for...
charles [Mon, 21 May 2007 00:36:17 +0000 (00:36 +0000)]
Change blockState field from enum to unsigned because some compilers use ints for enums which would break here

13 years agoAdd yaffs_malloc.h
charles [Tue, 15 May 2007 23:46:06 +0000 (23:46 +0000)]
Add yaffs_malloc.h

13 years agoAdding checkpoint and robustness improvements
charles [Tue, 15 May 2007 20:07:40 +0000 (20:07 +0000)]
Adding checkpoint and robustness improvements