2014-12-09  Ross Younger  <wry@ecoscentric.com>

	* tests/yaffs0_fops.c tests/yaffs_format.c: Change to use
	CYGDAT_YAFFS_DEVS_DISK_TEST_DEVICE like the other tests.
	* tests/yaffs5.c: Remove unused
	CYGDAT_YAFFS_DEVS_DISK_TEST_MOUNTPOINT2; edit to cope with
	CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being a compile-time constant
	on some HALs.

2014-11-01  Ross Younger  <wry@ecoscentric.com>

	* yaffs_guts.c: Check for bad blocks earlier when scanning
	for checkpoint.

2014-09-07  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/hammer.c, tests/yaffs1.c, tests/yaffs2.c, tests/yaffs4.c,
	* tests/yaffs5.c, tests/yaffs6.c, tests/yaffs_format.c: Align
	thread stacks.

2014-08-30  Ross Younger  <wry@ecoscentric.com>

	* tests/yaffs1.c tests/yaffs4.c tests/yaffs6.c: Only call
	CYG_TEST_INIT() once. Fix missing includes.
	* tests/yaffs0_fops.c test/yaffs_format.c: Run in a thread
	where possible to allow instrumentation of stack usage.

2014-08-23  Ross Younger  <wry@ecoscentric.com>

	* tests/yaffs_format.c: Fix dependencies to allow build on
	minimal configs.
	* tests/yaffs0_fops.c tests/yaffs1.c tests/yaffs4.c
	* tests/yaffs6.c: Ease dependencies to allow these tests to
	run on minimal configs.

2014-08-15  Ross Younger  <wry@ecoscentric.com>

	* tests/*: Check for CYGSEM_FS_YAFFS_COMPATIBILITY to allow use
	with (non-pro) eCos.
	* src/ecos-yport.h: Add definition of ENODATA to allow use with
	versions of eCos which don't define it.

2014-08-11  Ross Younger  <wry@ecoscentric.com>

	* src/ecos-yaffs.c: Add mount-time option to format the filesystem.
	* tests/yaffs_format.c: Created.

2014-07-28  Ross Younger  <wry@ecoscentric.com>

	* src/*: update from upstream:
	Improved (upstream) testing; many bug fixes and robustness improvements.
	Great Renaming: many functions, struct types and struct members have
	been renamed under the covers.
	New feature: block summaries, improves efficiency.
	YAFFS internal cache behaviour change: Cache is now used for all
	writes by default.

2014-07-02  James G. Smith  <jsmith@ecoscentric.com>

	* tests/yaffs2.c: Use manifests for number of args to USER
	instrumentation.

2013-09-24  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/yaffs_guts.c (yaffs_CheckChunkErased)
	(yaffs_VerifyChunkWritten, yaffs_UpdateObjectHeader)
	(yaffs_GarbageCollectBlock, yaffs_GrabChunkCache)
	(yaffs_CheckObjectDetailsLoaded, yaffs_GetObjectName): Remove vars
	which are set but not used, to silence compiler warnings.
	* src/yaffs_yaffs1.c (yaffs1_Scan): Ditto.
	* src/yaffs_yaffs2.c (yaffs2_ScanBackwards): Ditto.
	* src/yaffs_verify.c (yaffs_VerifyFile): Ditto.

2013-05-07  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/yaffs0_fops.c (SHOW_RESULT, MUSTOS): Don't call cyg_test_exit()
	directly, use CYG_TEST_FAIL_FINISH() instead.
	* tests/mkfiles.c (MUST): Ditto.
	* tests/mounttime.c (MUST): Ditto.

2011-07-12  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/hammer.c (cyg_user_start): Ensure CYG_TEST_INIT is still called
	 when doing an NA message.
	* tests/mkfiles.c (cyg_user_start): Ditto.
	* tests/mounttime.c (cyg_user_start): Ditto.
	* tests/yaffs0_fops.c (cyg_user_start):  Ditto.
	* tests/yaffs1.c (cyg_start):  Ditto.
	* tests/yaffs2.c (cyg_start):  Ditto.
	* tests/yaffs4.c (cyg_start):  Ditto.
	* tests/yaffs5.c (cyg_start):  Ditto.
	* tests/yaffs6.c (cyg_start):  Ditto.

2011-04-08  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/yaffs1.c (SHOW_RESULT): Use correct format for FAIL output.
	* tests/yaffs2.c (SHOW_RESULT): Ditto.
	* tests/yaffs4.c (SHOW_RESULT): Ditto.
	* tests/yaffs5.c (SHOW_RESULT): Ditto.
	* tests/yaffs6.c (SHOW_RESULT): Ditto.

2011-04-07  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/yaffs.cdl (CYGMEM_FS_YAFFS_REDBOOT_HEAP_REQUIRED): New option.
	Replaces hard requirement to increase size of RedBoot heap (if
	applicable). This way it can be reduced down again for simple
	filesystems.
	* doc/yaffs.sgml: Document CYGMEM_FS_YAFFS_REDBOOT_HEAP_REQUIRED.

2010-08-24  Nick Garnett  <nickg@ecoscentric.com>

	* src/yaffs_guts.c (yaffs_GutsInitialise): Added ifdefs to omit
	YAFFS2 code.

2010-08-23  Nick Garnett  <nickg@ecoscentric.com>

	* src/*: Update from upstream. Main change is a refactoring of the
	code into more source files.

2010-05-21  Ross Younger  <wry@ecoscentric.com>

	* tests/hammer.c: Increase robustness.

2010-05-14  Ross Younger  <wry@ecoscentric.com>

	* Update upstream: pulled up to 2010-05-13. Bugfixes, efficiency
	and robustness improvements. eCos bridge code reworked slightly
	to suit. Requires CYGFUN_LIBC_STRING_GNU_STRNLEN.

2010-03-16  Ross Younger  <wry@ecoscentric.com>

	* tests/fops.c: Rename to yaffs0_fops.c for consistency.

2009-12-01  Ross Younger  <wry@ecoscentric.com>

	* ecos-yaffs.c: Interface tweaks to allow this this package
	to be easily used with non-pro eCos.
	* yaffs.cdl: Create CYGSEM_FS_YAFFS_COMPATIBILITY switch for the above,
	default off (i.e. for eCosPro).

2009-11-19  Ross Younger  <wry@ecoscentric.com>

	* ecos-yaffs.c, ecos-yaffs-nand.c: Update to NAND interface v2.
	* yaffs.cdl: Require CYGSEM_IO_NAND_APPINTERFACE_VERSION > 1.
	Declare CYGSEM_FS_YAFFS_NAND_APPINTERFACE to satisfy the two-way check.

2009-11-17  Ross Younger  <wry@ecoscentric.com>

	* yaffs_guts.c: Tweak last upstream merge. Be noisy if 
	we ran out of memory during mount.
	* tests/hammer.c: Tweak low-memory margin.

2009-11-13  Ross Younger  <wry@ecoscentric.com>

	* tests: yaffs1-6 NA unless CYGPKG_KERNEL is present.
	* Update upstream: (pulled up to 2009-11-11 02:11:13 +0000)
	- mostly bugfixes

2009-11-09  Ross Younger  <wry@ecoscentric.com>

	* ecos-yaffs-nand.c: Update for changes to NAND interface.

2009-11-02  Ross Younger  <wry@ecoscentric.com>

	* Update to latest snapshot from Aleph One CVS (mostly
	tidyups): last upstream change is dated "2009-10-30 02:32:32 +0000"

2009-10-29  Ross Younger  <wry@ecoscentric.com>

	* yaffs_guts.c: Fix low-memory assert bug.
	* hammer.c: Detect low-heap situations and handle gracefully.

2009-10-09  Ross Younger  <wry@ecoscentric.com>

	* tests/fops.c: Don't make unreasonable use of stack.
	* tests/yaffs5.c: Increase stack size.
	* Update to latest upstream snapshot, notably:
	- reading data enjoys a perceptible speed boost
	- fdatasync now syncs only the file data

2009-09-24  Ross Younger  <wry@ecoscentric.com>

	* doc/yaffs.sgml: Various fixups.
	* ecos-yaffs-nand.h, ecos-yaffs.c, yaffs_guts.c: Build fixes for
	older gcc

2009-09-16  Ross Younger  <wry@ecoscentric.com>

	* ecos-yaffs-nand.c: Correctly use ECC on YAFFS tags in yaffs2
	filesystems when not in inbandTags mode (ref: 1000821)
	* ecos-yaffs.c: Improve spare area size sanity checking on mount
	* yaffs_packedtags2.c: Add framework (usually conditioned out)
	to count ECC corrections within the spare area.

2009-08-28  Ross Younger  <wry@ecoscentric.com>

	* doc/yaffs.sgml: Bring explanations of CDL options up-to-date.
	* yaffs.cdl: Add CYGNUM_FS_YAFFS_TEMP_BUFFERS tuning parameter.

2009-08-26  Ross Younger  <wry@ecoscentric.com>

	* Added support for small-page chips: incorporates and builds on work
	by Simon Kallweit.  Small page devices can operate either in YAFFS1
	mode, or YAFFS2 mode with inbandTags. 
	* Updated #defines to omit unneeded YAFFS code.

2009-08-18  Ross Younger  <wry@ecoscentric.com>

	* yaffs-guts.c: Update from Aleph One CVS (1.85 -> 1.88)

2009-07-20  Ross Younger  <wry@ecoscentric.com>

	* ecos-yaffs.c: Compute free-space from nErasedBlocks (recommended by
	Charles Manning) - not yaffs_GetNumberOfFreeChunks.
	* tests/hammer.c: Detect all-blocks-dead (EIO + no free blocks) and
	call a halt.

2009-07-15  Ross Younger  <wry@ecoscentric.com>

	* tests/hammer.c: Remove incorrect failures

2009-07-15  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/yaffs.cdl: Add options for all configuration points of the
	hammer test.

	* tests/hammer.c: Switch all config points over to CDL options (as
	they should have been from the start!).
	(checkfile, checkrand): Make failures non-fatal.
	(hammer_test): Add test for thread's test directory and create it
	if necessary. Avoid using mkemptydir() so that the old directory
	trees don't get cleaned out.
	(hammer_main): Seed PRNG from time().
	(hammer_main): RESET_PERIOD is no seconds, not minutes.

2009-07-14  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/yaffs.cdl: Added CYGPKG_FS_YAFFS_TEST_HAMMER_RESET_PERIOD
	and CYGPKG_FS_YAFFS_TEST_HAMMER_RESET_PROBABILITY to control
	whether the hammer application tries to reset the board
	periodically.

	* tests/hammer.c (hammer_main): Added support for occasional
	resets.
	Added some reporting of current config options.

	* tests/yaffs5.c (get_timestamp): Quieten compilation warning.

2009-07-13  Ross Younger  <wry@ecoscentric.com>

	* tests/hammer.c: Sundry improvements: 
	improve file size mismatch checking,
	mkemptydir error handling,
	add safety catch to warn the user when NFILE and NFD aren't big enough,
	couple of build and cosmetic fixes.

2009-07-10  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/yaffs.cdl: Add testing definitions. It is not entirely clear
	whether this is the right place for this, but until a better idea
	comes up, this is as good as any.
	Add new test programs.

	* tests/hammer.c: Add this filesystem stress test. This test runs
	forever churning files and directories in the filesystem. Hence it
	is not suitable for use in the farm.
	
	* tests/yaffs1.c: 
	* tests/yaffs2.c: 
	* tests/yaffs4.c: 
	* tests/yaffs5.c:
	* tests/yaffs6.c: Add a variety of tests, all adapted from the
	equivalent FATFS tests.
	
	* tests/fops.c (maxfile): Add unsigned to declaration of buf[] to
	keep compiler happy.

2009-07-03 Ross Younger  <wry@eCosCentric.com>

	* Add detailed RAM use estimate and worked example.

2009-06-18 Ross Younger  <wry@eCosCentric.com>

	* General enhancements and bugfixes.
	* Add mount-time mallinfo check/warning in debug builds.
	* Replace unconditional diag_printfs with calls to TOUT macro.
	* TOUT (trace output) macro now uses configable cdl function,
	  may be disabled.
	* Improve our definition of YBUG.
	* Upstream: Merge from cvs datestamp "2009-05-16 00:00"
	* Retab eCos-specific files, for consistency.
	* Pare down use of libextras.
	* doc: linewrap for consistency.
	* Elide unneeded YAFFS1 code.
	* Use eCos qsort, not yaffs's own.

2009-05-01 Ross Younger  <wry@eCosCentric.com>

	* New package. YAFFS filesystem. Beware license terms; this
	package is not covered by the standard eCos license!

