yaffs_rtems: Add yaffs_cache to RTEMS makefile and tweak RTEMS
authorCharles Manning <cdhmanning@gmail.com>
Wed, 7 Jul 2021 00:59:35 +0000 (12:59 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 7 Jul 2021 00:59:35 +0000 (12:59 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
rtems/Makefile.rtems
rtems/RTEMS_NOTES

index 4803a9fb21b5319b3e071f0c5691276f5025784b..0741179a7dd2ee36524218d511da71a792cfa903 100644 (file)
@@ -24,6 +24,7 @@ CFLAGS += $(DEPFLAGS) $(GCCFLAGS)
 # Files to be made into local symlinks
 YCORE_SYMLINKS = \
        yaffs_ecc.c \
+       yaffs_cache.c \
        yaffs_endian.c \
        yaffs_guts.c \
        yaffs_packedtags1.c \
@@ -39,6 +40,7 @@ YCORE_SYMLINKS = \
        yaffs_verify.c \
        yaffs_summary.c \
        yaffs_tagsmarshall.c\
+       yaffs_cache.h \
        yaffs_ecc.h \
        yaffs_guts.h \
        yaffs_packedtags1.h \
@@ -93,6 +95,7 @@ LIB = $(BUILDDIR)/libyaffs2.a
 LIB_PIECES = yaffs_ecc \
        yaffs_endian \
        yaffs_guts \
+       yaffs_cache \
        yaffs_packedtags1 \
        yaffs_tagscompat \
        yaffs_tagsmarshall\
index 0366b0533879592ee5bedf194b881fbfe2c9762d..5e89b1394d56037b6d3965c74ecc69717fb74176 100644 (file)
@@ -28,38 +28,23 @@ $make -f Makefile.rtems install
 Building test application
 
 
-$ cd rtems-y-test/
+$ cd rtems-y-test/basic-test
+$ make
 
-
-
-Running 
-
-$  sparc-rtems5-sis hello_world_c/o-optimize/hello.exe
+$ sparc-rtems5-sis o-optimize/yaffs-rtems-test.exe 
 
  SIS - SPARC/RISCV instruction simulator 2.20,  copyright Jiri Gaisler 2019
  Bug-reports to jiri@gaisler.se
 
  ERC32 emulation enabled
 
- Loaded hello_world_c/o-optimize/hello.exe, entry 0x02000000
+ Loaded o-optimize/yaffs-rtems-test.exe, entry 0x02000000
 sis> go
 resuming at 0x02000000
-
-
-*** HELLO WORLD TEST ***
-Hello World 123
-*** END OF HELLO WORLD TEST ***
-
-*** FATAL ***
-fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)
-fatal code: 0 (0x00000000)
-RTEMS version: 5.0.0.e22554535796fc29a7ed7c5e2338128e324a621d-modified
-RTEMS tools: 7.5.0 20191114 (RTEMS 5, RSB 5 (599c4d7c87fa), Newlib d14714c69)
-executing thread ID: 0x08a010001
-executing thread name: UI1 
-cpu 0 in error mode (tt = 0x101)
-   125619  0200c0e0:  91d02000   ta  0x0
-sis> 
+Starting
+Created simulated flash device 0x2d203c8
+yaffs: 0 blocks to be sorted...
+....
 
 
 Running with GDB