This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
RedBoot - configuration error for JFFS2 filesystems
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at ecos dot sourceware dot org>
- Date: Mon, 19 Apr 2004 15:36:17 -0600
- Subject: RedBoot - configuration error for JFFS2 filesystems
- Organization: MLB Associates
This small change (from fileio.c:1.1 -> 1.2) broke JFFS2 working from
FIS partitions.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: redboot/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.191
diff -u -5 -p -r1.191 ChangeLog
--- redboot/current/ChangeLog 19 Apr 2004 15:27:37 -0000 1.191
+++ redboot/current/ChangeLog 19 Apr 2004 21:26:07 -0000
@@ -1,5 +1,10 @@
+2004-04-19 Gary Thomas <gary@mlbassoc.com>
+
+ * src/fs/fileio.c: Can't test for CYGPKG_IO_FLASH_BLOCK_DEVICE without
+ first testing for CYGPKG_IO_FLASH and including it's pkgconf file.
+
2004-04-19 John Dallaway <jld@ecoscentric.com>
* doc/makefile, doc/redboot_main.sgml: New files to build the RedBoot
User's Guide as a self-contained document.
Index: redboot/current/src/fs/fileio.c
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/redboot/current/src/fs/fileio.c,v
retrieving revision 1.2
diff -u -5 -p -r1.2 fileio.c
--- redboot/current/src/fs/fileio.c 18 Mar 2004 15:14:12 -0000 1.2
+++ redboot/current/src/fs/fileio.c 19 Apr 2004 21:24:59 -0000
@@ -61,11 +61,11 @@
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
-#ifdef CYGPKG_IO_FLASH_BLOCK_DEVICE
+#ifdef CYGPKG_IO_FLASH
#include <cyg/io/io.h>
#include <cyg/io/flash.h>
#include <cyg/io/config_keys.h>
#endif
#include <cyg/fileio/fileio.h>