This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mount -f


On Mon, 2004-04-19 at 14:59, Bob Koninckx wrote:
> Guys,
> 
> I updated my tree to anonCVS today. Unfortunately, the -f option from
> the redboot mount command has disappeared. Following the include tree
> from redboot/current/src/fs/fileio.c, <pkgconf/io_flash> does not get
> included, and consequently CYGPKG_IO_FLASH_BLOCK_DEVICE remains
> undefined, which explains it.
> 
> Any suggestions what could be causing this? It used to work.

You need a small change (which I've not checked in yet):

Index: redboot/current/src/fs/fileio.c
===================================================================
RCS file:
/home/gthomas/my_cvs/develop/ecos/packages/redboot/current/src/fs/fileio.c,v
retrieving revision 1.2
retrieving revision 1.2.6.1
diff -u -5 -p -r1.2 -r1.2.6.1
--- redboot/current/src/fs/fileio.c     30 Mar 2004 17:09:02 -0000     
1.2
+++ redboot/current/src/fs/fileio.c     9 Apr 2004 10:08:23 -0000      
1.2.6.1
@@ -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>
(
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]