From: Charles Manning Date: Wed, 7 Jul 2021 00:59:35 +0000 (+1200) Subject: yaffs_rtems: Add yaffs_cache to RTEMS makefile and tweak RTEMS X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=4933c6307c89c1b03a6c45b6de5a57d094eb15f9 yaffs_rtems: Add yaffs_cache to RTEMS makefile and tweak RTEMS Signed-off-by: Charles Manning --- diff --git a/rtems/Makefile.rtems b/rtems/Makefile.rtems index 4803a9f..0741179 100644 --- a/rtems/Makefile.rtems +++ b/rtems/Makefile.rtems @@ -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\ diff --git a/rtems/RTEMS_NOTES b/rtems/RTEMS_NOTES index 0366b05..5e89b13 100644 --- a/rtems/RTEMS_NOTES +++ b/rtems/RTEMS_NOTES @@ -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