64 bit test now cleans correctly. Signed-off-by: Timothy Manning <codedraftsman@gmail.com>
Tests will now delete the emfiles with make clean
YTIME_T 32 bit test now builds with 32 bit time Signed-off-by: Timothy Manning <codedraftsman@gmail.com>
New yaffs2_image_maker tool to work with 4kB pages - still under test This appears to be working but more testing required. The tool now takes two new parameters for modifying the bytes per page and pages per block. For instance to create an inband tags image using 4kB virtual pages (ie. 32 virtual pages per block) try: ./yaffs2_image_maker -i test-dir2 -o outimage -w working_file -I -c 4096 -B 32 Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Move cache code to own file Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Add malloc monitoring to get a sense of RAM use Note this should only be monitoring the malloc usage by Yaffs, not the malloc usage in things like flash simulators which are not relevant in real systems. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Fix copyright Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Compilation clean up Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs2: Yaffs endian support Allow the forcing of endians so that Yaffs can be used on mixed endian machines, or a flash image can be extracted and used elsewhere. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Split qsort from the main Yaffs Direct base Use the system qsort if available. If not, then add in the optional qsort.c Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs-direct: Refactor nand simulator driver look-up. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs-direct: Remove obsolete files Remove files no longer used with new device model. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Merge branch 'master' of ssh://aleph1.co.uk/home/aleph1/git/yaffs2
Add nand driver that works with a nand simulator Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs all timothy_tests makefiles are working. threading test is broken. Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
yaffs got the make files to work for timothy_tests/quick_tests Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
Add yaffs driver for regular NOR on simulator Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Set up a test framework. This lays out a common test framework structure that should make it simpler to extend tests in the future. Signed-off-by: Charles Manning <cdhmanning@gmail.com>