yaffs2.git
16 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.

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

16 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

16 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

16 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.

16 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.

16 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.

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

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

16 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

16 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

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

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

17 years agoAdd read-only remount patch
charles [Tue, 20 Mar 2007 20:59:40 +0000 (20:59 +0000)]
Add read-only remount patch

17 years agoFix resize up problem
charles [Mon, 12 Mar 2007 20:55:39 +0000 (20:55 +0000)]
Fix resize up problem

17 years agoFix all Makefile headers to be the same format
colin [Wed, 7 Mar 2007 08:30:40 +0000 (08:30 +0000)]
Fix all Makefile headers to be the same format

17 years agoFix file header to match all the others
colin [Wed, 7 Mar 2007 08:05:58 +0000 (08:05 +0000)]
Fix file header to match all the others

17 years agoUpdated headers so they really are the same
wookey [Wed, 14 Feb 2007 01:09:06 +0000 (01:09 +0000)]
Updated headers so they really are the same

17 years agoAdd linux patching readme, updated from YAFFS1
wookey [Wed, 14 Feb 2007 00:43:20 +0000 (00:43 +0000)]
Add linux patching readme, updated from YAFFS1

17 years agoAdd updated readme
wookey [Wed, 14 Feb 2007 00:42:06 +0000 (00:42 +0000)]
Add updated readme

17 years agonormalise licence headers and attributions
wookey [Mon, 12 Feb 2007 16:55:25 +0000 (16:55 +0000)]
normalise licence headers and attributions

17 years agonormalise licence headers
wookey [Mon, 12 Feb 2007 16:49:50 +0000 (16:49 +0000)]
normalise licence headers

17 years agoUpdate for Linux 2.6.19 support
charles [Fri, 19 Jan 2007 04:07:48 +0000 (04:07 +0000)]
Update for Linux 2.6.19 support

17 years agoAdd Phils checkpoint configuration
charles [Tue, 19 Dec 2006 21:33:41 +0000 (21:33 +0000)]
Add Phils checkpoint configuration

17 years agoFix slow 512-byte problem. Thanx Frank.
charles [Wed, 29 Nov 2006 20:21:12 +0000 (20:21 +0000)]
Fix slow 512-byte problem. Thanx Frank.

17 years agoRemove duplicate code. Thanks Johann
charles [Fri, 17 Nov 2006 01:43:48 +0000 (01:43 +0000)]
Remove duplicate code. Thanks Johann

17 years agoFix issue with rescan of pending retired blocks
charles [Tue, 14 Nov 2006 03:07:17 +0000 (03:07 +0000)]
Fix issue with rescan of pending retired blocks

17 years agoAdd more test harness stuff
charles [Mon, 13 Nov 2006 07:16:37 +0000 (07:16 +0000)]
Add more test harness stuff

17 years agoAdd some more tracing
charles [Sat, 11 Nov 2006 23:27:44 +0000 (23:27 +0000)]
Add some more tracing

17 years agoFix offset problem in checkpt code
charles [Sat, 11 Nov 2006 23:27:04 +0000 (23:27 +0000)]
Fix offset problem in checkpt code

17 years agoEven more checkpoint tracing
charles [Fri, 10 Nov 2006 02:51:10 +0000 (02:51 +0000)]
Even more checkpoint tracing

17 years agoAdd more checkpoint tracing
charles [Thu, 9 Nov 2006 23:57:07 +0000 (23:57 +0000)]
Add more checkpoint tracing

17 years agoMore checkpoint logging
charles [Thu, 9 Nov 2006 19:55:24 +0000 (19:55 +0000)]
More checkpoint logging

17 years agoChanges to retirement handling
charles [Wed, 8 Nov 2006 09:52:12 +0000 (09:52 +0000)]
Changes to retirement handling

17 years agoMore changes to test harness
charles [Wed, 8 Nov 2006 09:49:47 +0000 (09:49 +0000)]
More changes to test harness

17 years agoChange nBytesPerChunk to nDataBytesPerChunk
charles [Wed, 8 Nov 2006 06:24:34 +0000 (06:24 +0000)]
Change nBytesPerChunk to nDataBytesPerChunk

17 years agoFix block offset with checkpointing
charles [Wed, 8 Nov 2006 00:33:29 +0000 (00:33 +0000)]
Fix block offset with checkpointing

17 years agoAdd more test stuff
charles [Tue, 7 Nov 2006 23:37:43 +0000 (23:37 +0000)]
Add more test stuff

17 years agoFix checkpointing bug
charles [Tue, 7 Nov 2006 23:26:52 +0000 (23:26 +0000)]
Fix checkpointing bug

17 years agoReplace with own version of header file
charles [Tue, 7 Nov 2006 23:20:09 +0000 (23:20 +0000)]
Replace with own version of header file

17 years agoFix autodetection value
charles [Tue, 24 Oct 2006 18:09:15 +0000 (18:09 +0000)]
Fix autodetection value

17 years agoTweaks to retirement handling
charles [Fri, 13 Oct 2006 08:52:49 +0000 (08:52 +0000)]
Tweaks to retirement handling

17 years agoAdd large NAND support and improve retirement handling
charles [Tue, 3 Oct 2006 10:13:03 +0000 (10:13 +0000)]
Add large NAND support and improve retirement handling

17 years agoAdd missing files to make
charles [Tue, 3 Oct 2006 02:26:58 +0000 (02:26 +0000)]
Add missing files to make

17 years agoFix forced erasure check logic
charles [Tue, 3 Oct 2006 02:25:57 +0000 (02:25 +0000)]
Fix forced erasure check logic

17 years agoInterworking with 2.6.18 kernel enabled
vwool [Tue, 26 Sep 2006 13:28:13 +0000 (13:28 +0000)]
Interworking with 2.6.18 kernel enabled

Notable is that to enable it for yaffs1 compatibility mode, I introduced
a workaround (translate_spare2oob/translate_oob2spare) which should be
redesigned if possible. The thing is that yaffs1 presumes SmartMedia OOB
layout which might be not true for a lot of modern flash controllers, so
there has to be translation.
Or, in case we get to tags inband, this workaround will become useless.

17 years agoBetter retirement and erasure checking.
charles [Thu, 21 Sep 2006 08:13:59 +0000 (08:13 +0000)]
Better retirement and erasure checking.

17 years agoBounds check on ecc correction
charles [Thu, 14 Sep 2006 22:02:46 +0000 (22:02 +0000)]
Bounds check on ecc correction

17 years agoFix problem where a chmod with no file write could cause cache loss
charles [Tue, 5 Sep 2006 23:23:34 +0000 (23:23 +0000)]
Fix problem where a chmod with no file write could cause cache loss

17 years agoMake sure mode is sane
charles [Tue, 25 Jul 2006 21:03:22 +0000 (21:03 +0000)]
Make sure mode is sane

17 years agoAdd checkpoint source to kernel compilation
charles [Mon, 5 Jun 2006 04:13:36 +0000 (04:13 +0000)]
Add checkpoint source to kernel compilation

17 years agoAdd Nick's yaffs1 autoselection
charles [Mon, 5 Jun 2006 04:12:44 +0000 (04:12 +0000)]
Add Nick's yaffs1 autoselection

17 years agoAdd support for larger scan array
charles [Mon, 5 Jun 2006 04:10:49 +0000 (04:10 +0000)]
Add support for larger scan array

17 years agoAdd Sergey's patch
charles [Thu, 25 May 2006 01:51:27 +0000 (01:51 +0000)]
Add Sergey's patch

17 years agoAdd Sergey's patch
charles [Thu, 25 May 2006 01:37:27 +0000 (01:37 +0000)]
Add Sergey's patch

17 years agoFix SGID problem
charles [Thu, 25 May 2006 01:26:57 +0000 (01:26 +0000)]
Fix SGID problem

17 years agoFix problem with checkpoint free space handling
charles [Tue, 23 May 2006 19:08:41 +0000 (19:08 +0000)]
Fix problem with checkpoint free space handling

17 years agoFix some checkpoint stuff, add qsort
charles [Sun, 21 May 2006 09:39:12 +0000 (09:39 +0000)]
Fix some checkpoint stuff, add qsort

17 years agoAdd qsort
charles [Sun, 21 May 2006 09:34:12 +0000 (09:34 +0000)]
Add qsort

17 years agoAdd non-partitioned checkpointing
charles [Wed, 17 May 2006 09:27:23 +0000 (09:27 +0000)]
Add non-partitioned checkpointing

17 years agoNon-partitioned checkpointing; fix to cache small read/write problem
charles [Wed, 17 May 2006 09:20:26 +0000 (09:20 +0000)]
Non-partitioned checkpointing; fix to cache small read/write problem

17 years agoCheckpointing changes
charles [Mon, 8 May 2006 10:13:34 +0000 (10:13 +0000)]
Checkpointing changes

17 years agoFix a couple of mistakes in TRACE/Error messages. Update copyright date.
wookey [Tue, 25 Apr 2006 00:41:43 +0000 (00:41 +0000)]
Fix a couple of mistakes in TRACE/Error messages. Update copyright date.

18 years agoFix trivial compiler warning
colin [Fri, 21 Apr 2006 20:24:35 +0000 (20:24 +0000)]
Fix trivial compiler warning

18 years agoFix unmount spare buffer leak
charles [Tue, 21 Mar 2006 20:31:08 +0000 (20:31 +0000)]
Fix unmount spare buffer leak

18 years agoFlush entire cache at umount
charles [Wed, 8 Mar 2006 07:59:20 +0000 (07:59 +0000)]
Flush entire cache at umount

18 years agoFix possible null ptr dereference
charles [Wed, 1 Mar 2006 08:18:09 +0000 (08:18 +0000)]
Fix possible null ptr dereference

18 years agoAdd lazy loading and mtd depend
charles [Wed, 1 Mar 2006 08:16:24 +0000 (08:16 +0000)]
Add lazy loading and mtd depend

18 years agoAdd lazy loading
charles [Wed, 1 Mar 2006 08:14:32 +0000 (08:14 +0000)]
Add lazy loading

18 years agoAdd hardlinks to yaffs direct
charles [Wed, 8 Feb 2006 22:38:24 +0000 (22:38 +0000)]
Add hardlinks to yaffs direct

18 years agoFix free space reporting as per Mikhail Rileev's patch
charles [Wed, 8 Feb 2006 22:29:14 +0000 (22:29 +0000)]
Fix free space reporting as per Mikhail Rileev's patch

18 years agoAdd Todds readdir rewind mechanism
charles [Wed, 8 Feb 2006 07:52:51 +0000 (07:52 +0000)]
Add Todds readdir rewind mechanism

18 years agoFix negative hash problem
charles [Thu, 2 Feb 2006 22:14:44 +0000 (22:14 +0000)]
Fix negative hash problem

18 years agoAdd /proc interface for modifying debugging trace flags, from John M Cavallo.
tpoynor [Fri, 27 Jan 2006 23:54:21 +0000 (23:54 +0000)]
Add /proc interface for modifying debugging trace flags, from John M Cavallo.

18 years agoRemove unused lazyloaded field
charles [Fri, 27 Jan 2006 00:44:10 +0000 (00:44 +0000)]
Remove unused lazyloaded field

18 years agoHandle partial writes more gracefully: return partial byte counts, return
tpoynor [Wed, 25 Jan 2006 01:21:08 +0000 (01:21 +0000)]
Handle partial writes more gracefully: return partial byte counts, return
ENOSPC only if no partial count or error code available.  Based on fix
from Mikhail Ryleev.

18 years agoAdd generic sendfile method for yaffs2, also thereby allowing loopback mount.
tpoynor [Tue, 24 Jan 2006 22:22:52 +0000 (22:22 +0000)]
Add generic sendfile method for yaffs2, also thereby allowing loopback mount.

18 years agoDon't mark objects deleted during scanning
charles [Tue, 20 Dec 2005 04:02:18 +0000 (04:02 +0000)]
Don't mark objects deleted during scanning

18 years agoFix deleted hardlink handling
charles [Mon, 19 Dec 2005 21:46:07 +0000 (21:46 +0000)]
Fix deleted hardlink handling

18 years agoFix conditional
charles [Thu, 15 Dec 2005 20:27:56 +0000 (20:27 +0000)]
Fix conditional

18 years agoAdd yaffs2 autoselection
charles [Wed, 14 Dec 2005 01:18:45 +0000 (01:18 +0000)]
Add yaffs2 autoselection

18 years agoMake the "convert" argument to mkyaffs*image optional.
tpoynor [Tue, 13 Dec 2005 00:34:58 +0000 (00:34 +0000)]
Make the "convert" argument to mkyaffs*image optional.

18 years agoApply Reed's deadlocking fix (manually applied)
charles [Thu, 8 Dec 2005 00:54:55 +0000 (00:54 +0000)]
Apply Reed's deadlocking fix (manually applied)

18 years agoFix kernel compilation probs
charles [Thu, 8 Dec 2005 00:51:15 +0000 (00:51 +0000)]
Fix kernel compilation probs

18 years agoHook wide tnode support into Linux
charles [Wed, 7 Dec 2005 22:19:26 +0000 (22:19 +0000)]
Hook wide tnode support into Linux

18 years agoBack out mistaken checkin
charles [Wed, 7 Dec 2005 22:00:38 +0000 (22:00 +0000)]
Back out mistaken checkin

18 years agoWide tnode support
charles [Wed, 7 Dec 2005 21:49:18 +0000 (21:49 +0000)]
Wide tnode support

18 years agoAdd mkyaffsimage to yaffs2 module, some further "make clean" cleanups.
tpoynor [Tue, 6 Dec 2005 02:43:01 +0000 (02:43 +0000)]
Add mkyaffsimage to yaffs2 module, some further "make clean" cleanups.

18 years agoSubject: [Yaffs] Avoid tagsEccUnfixed stats bump on mounting partially usedblock
marty [Tue, 29 Nov 2005 20:54:32 +0000 (20:54 +0000)]
Subject: [Yaffs] Avoid tagsEccUnfixed stats bump on mounting  partially usedblock

IIUC, yaffs1 compatibility mode checks tags ECCs and updates
stats on tags ECC errors when scanning an unused chunk of a
partially-allocated block at mount time.  This causes a
mildly alarming "tagsEccUnfixed..... 1" in /proc/yaffs.
Suggested fix below.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
18 years agoApply 2.6.14 patches from Andre
charles [Mon, 14 Nov 2005 21:00:54 +0000 (21:00 +0000)]
Apply 2.6.14 patches from Andre

18 years agoChange tracing flags
charles [Mon, 7 Nov 2005 07:19:34 +0000 (07:19 +0000)]
Change tracing flags

18 years agoRemove kernel version test
charles [Mon, 7 Nov 2005 07:13:33 +0000 (07:13 +0000)]
Remove kernel version test

18 years agoAdd first cut mkyaffs2image util
charles [Wed, 2 Nov 2005 06:45:24 +0000 (06:45 +0000)]
Add first cut mkyaffs2image util

18 years agoPatch from Sergey Kubushyn [ksi@koi8.net]
marty [Thu, 27 Oct 2005 22:24:04 +0000 (22:24 +0000)]
Patch from Sergey Kubushyn [ksi@koi8.net]

Fix yaffs to return EINVALID rather than EPERM when mount fails.

18 years agoPatch from Todd Poyner (tpoynor@mvista.com)
marty [Thu, 27 Oct 2005 07:22:49 +0000 (07:22 +0000)]
Patch from Todd Poyner (tpoynor@mvista.com)

Return zero, not number of bytes written, for success (and non-zero for
error) in the commit_write method.  Some callers, notably the loopback
mount driver, treat non-zero return as an error.

18 years agoThrow out obsolete code
charles [Thu, 13 Oct 2005 02:17:00 +0000 (02:17 +0000)]
Throw out obsolete code

18 years agoUse vmalloc for large memory allocations
charles [Sun, 9 Oct 2005 07:55:00 +0000 (07:55 +0000)]
Use vmalloc for large memory allocations

18 years agoImprove YDI lookup and device prefic handling
charles [Fri, 7 Oct 2005 03:48:50 +0000 (03:48 +0000)]
Improve YDI lookup and device prefic handling

18 years agoAdd support for vmallocing large blockInfos
charles [Fri, 7 Oct 2005 02:46:49 +0000 (02:46 +0000)]
Add support for vmallocing large blockInfos

18 years agoAdded some documentation to moduleconfig.h and set it to match the
marty [Wed, 21 Sep 2005 15:16:59 +0000 (15:16 +0000)]
Added some documentation to moduleconfig.h and set it to match the
Kconfig defaults.

Updated Kconfig to force selection of YAFFS1 and YAFFS2 for now, until
we straighten out the ifdefs so that one can be built when the other
isn't.