Hi We are using the yaffs2 file system in RTEMS system. those codes add a Makefile.rtems and rtems interfaces to yaffs2. also add a new tools 'nor-mkyaffs2image' we are using NOR flash to simulate the NAND flash. so this cool is can create the image for NOR flash The project called 'Milkymist', the first device named 'Milkymist One' it's copyleft hardware which mean all source code is open, all hardware desgin files is open. more info: http://milkymist.org http://en.qi-hardware.com/wiki/Milkymist_One Sebastian Huber (10): Moved memory management. Avoid NULL pointer access. Implemented data synchronization. Check the device read-only property during mount. Changed seek mechanic. Use UNIX time instead of seconds since boot. Flush during close (similar to yaffs_close()). C++ compatibility. Fixed double offset update. Fixed return value of ycb_file_lseek(). Sebastien Bourdeauducq (6): RTEMS support patch by Sebastian Huber added missing file Remove references to non-existing bits Compile needed yaffs_summary Add memory management Build with debug symbols Xiangfu Liu (4): add rtems-mkyaffs2image support rename rtems-mkyaffs2image to nor-mkyaffs2image fix the redefined warning remove hardcode app name .gitignore | 2 +- Makefile.rtems | 76 ++++ direct/yaffsfs.h | 4 + direct/yportenv.h | 36 ++- rtems/rtems_yaffs.c | 890 ++++++++++++++++++++++++++++++++++++++++ rtems/rtems_yaffs.h | 119 ++++++ rtems/rtems_yaffs_os_context.c | 89 ++++ rtems/rtems_yaffs_os_glue.c | 45 ++ utils/Makefile | 6 +- utils/mkyaffs2image.c | 98 ++++-- yaffs_packedtags2.c | 9 +- 11 files changed, 1346 insertions(+), 28 deletions(-) create mode 100644 Makefile.rtems create mode 100644 rtems/rtems_yaffs.c create mode 100644 rtems/rtems_yaffs.h create mode 100644 rtems/rtems_yaffs_os_context.c create mode 100644 rtems/rtems_yaffs_os_glue.c -- 1.7.4.1