mtd/fs/jffs2/ecos/cdl jffs2.cdl,1.5,1.6

David Woodhouse dwmw2 at infradead.org
Thu Nov 20 11:42:00 EST 2003


Update of /home/cvs/mtd/fs/jffs2/ecos/cdl
In directory phoenix.infradead.org:/tmp/cvs-serv1255/ecos/cdl

Modified Files:
	jffs2.cdl 
Log Message:
Bring eCos support up to date

Index: jffs2.cdl
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/cdl/jffs2.cdl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- jffs2.cdl	15 Jul 2003 20:42:32 -0000	1.5
+++ jffs2.cdl	20 Nov 2003 16:41:57 -0000	1.6
@@ -73,7 +73,80 @@
     implements     CYGINT_IO_FILEIO_FS      
 
     compile        -library=libextras.a fs-ecos.c
-    compile        build.c scan.c malloc-ecos.c nodelist.c nodemgmt.c readinode.c erase.c dir-ecos.c write.c gc.c read.c compr.c compr_zlib.c compr_rtime.c compr_rubin.c file-ecos.c
+    compile        build.c scan.c malloc-ecos.c nodelist.c nodemgmt.c readinode.c erase.c dir-ecos.c write.c gc.c read.c compr.c file-ecos.c
+
+    cdl_option CYGOPT_FS_JFFS2_NAND {
+	display         "Support for NAND flash"
+	flavor          bool
+	define          CONFIG_JFFS2_FS_NAND
+	compile         wbuf.c
+        requires        0
+        description     "
+            Enable support for JFFS2 on NAND flash."
+    }
+
+    cdl_option CYGOPT_FS_JFFS2_DEBUG {
+	display         "Debug level"
+	flavor          data
+        legal_values    0 to 2
+	define          CONFIG_JFFS2_FS_DEBUG
+        description     "
+            Debug verbosity of JFFS2 code. Zero is normal operation
+            without debugging. Level 1 adds extra sanity checks and
+            fairly verbose output. Level 2 is insanely loquacious."
+    }
+
+    cdl_option CYGOPT_FS_JFFS2_COMPRESS {
+        display         "Compress data"
+        flavor          bool
+        define          JFFS2_COMPRESSION
+        default_value   1
+        description     "
+            Compression and decompression are entirely handled by the file
+            system and are fully transparent to applications. However,
+            selecting this option increases the amount of RAM required and
+            slows down read and write operations considerably if you have a
+            slow CPU."
+    }
+
+    cdl_option CYGOPT_FS_JFFS2_COMPRESS_ZLIB {
+        display         "Compress data using zlib"
+        flavor          bool
+        define          JFFS2_USE_ZLIB
+        requires        CYGPKG_COMPRESS_ZLIB
+        requires        CYGOPT_FS_JFFS2_COMPRESS
+        compile         compr_zlib.c
+        default_value   1
+        description     "
+            Use zlib for compression of data. This is the slowest of the
+            compression options available but the most effective."
+    }
+
+    cdl_option CYGOPT_FS_JFFS2_COMPRESS_RTIME {
+        display         "Compress data using rtime"
+        flavor          bool
+        define          JFFS2_USE_RTIME
+        requires        CYGOPT_FS_JFFS2_COMPRESS
+        compile         compr_rtime.c
+        default_value   1
+        description     "
+            Use the rtime algorithm for compression of data. This 
+            simple algorithm often manages to squeeze and extra few
+            bytes from data already compressed with gzip."
+    }
+
+    cdl_option CYGOPT_FS_JFFS2_COMPRESS_RUBIN {
+        display         "Compress data using rubin"
+        flavor          bool
+        define          JFFS2_USE_RTIME
+        requires        CYGOPT_FS_JFFS2_COMPRESS
+        compile         compr_rubin.c
+        default_value   !CYGOPT_FS_JFFS2_COMPRESS_ZLIB
+        description     "
+            Use the rubin algorithm for compression of data. This 
+            simple algorithm is faster than zlib but not quite as
+            effective."
+    }
 
     cdl_option CYGPKG_FS_JFFS2_CFLAGS_ADD {
 	display "Additional compiler flags"
@@ -81,7 +154,7 @@
 	no_define
 	# We add -D__ECOS to trigger eCos-specific code in places.
 	# We add -Werror because I find it useful.
-	default_value { "-D__ECOS -nostdinc -iwithprefix include -Werror" }
+	default_value { "-D__ECOS -nostdinc -iwithprefix include" }
 	description   "
 	    This option modifies the set of compiler flags for
             building the JFFS2 package.




More information about the linux-mtd-cvs mailing list