mtd/fs/jffs2/ecos/cdl jffs2.cdl,1.1,1.2

David Woodhouse dwmw2 at infradead.org
Thu Jan 9 08:53:46 EST 2003


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

Modified Files:
	jffs2.cdl 
Log Message:
Update to current CVS tree

Index: jffs2.cdl
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/cdl/jffs2.cdl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jffs2.cdl	11 Jul 2002 10:55:29 -0000	1.1
+++ jffs2.cdl	9 Jan 2003 13:53:44 -0000	1.2
@@ -52,7 +52,7 @@
 cdl_package CYGPKG_FS_JFFS2 {
     display        "JFFS2 filesystem"
     doc            doc/index.html
-    include_dir    cyg/jffs2
+    include_dir    ""
 
     requires       CYGPKG_IO_FILEIO
     requires       CYGPKG_IO_FLASH
@@ -65,9 +65,10 @@
     requires       CYGINT_ISO_ERRNO_CODES
     requires       CYGPKG_IO_FLASH_BLOCK_DEVICE
     requires       CYGPKG_IO_FILEIO_INODE
+    requires	   CYGPKG_LINUX_COMPAT
 
     compile        -library=libextras.a fs-ecos.c
-    compile        build.c scan.c malloc-ecos.c nodelist.c crc32.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 compr_zlib.c compr_rtime.c compr_rubin.c file-ecos.c
 
     cdl_option CYGPKG_FS_JFFS2_CFLAGS_ADD {
 	display "Additional compiler flags"
@@ -75,7 +76,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 -Werror" }
+	default_value { "-D__ECOS -nostdinc -iwithprefix include -Werror" }
 	description   "
 	    This option modifies the set of compiler flags for
             building the JFFS2 package.
@@ -96,6 +97,31 @@
             building the JFFS2 package. These flags are removed from
             the set of global flags if present."
         }
+
+    cdl_option CYGNUM_FS_JFFS2_SECTOR_SIZE {
+       display         "Physical sector size of the flash devices"
+       flavor          data
+       default_value   { 0x10000 }
+       description     "64 KiB for synthetic target."
+    }
+
+    cdl_option CYGNUM_FS_JFFS2_FLASH_SIZE {
+       display         "Amount of flash committed to JFFS2"
+       flavor          data
+       default_value   { 0x100000 }
+       description     "1 MiB (giving 16 sectors, realistic minimum!)"
+    }
+
+    cdl_option CYGNUM_FS_JFFS2_BASE_ADDRESS {
+       display         "Base of the JFFS2 filesystem in memory"
+       flavor          data
+       default_value   { 0x40000000 }
+       description     "Set this value to the base address of the JFFS2
+               filesystem in memory. By coincidence, this matches the
+               address at which the synthetic target will mmap its
+               backing store. Perhaps we should make it work through
+               something other than coincidence?"
+    }
 
     # ----------------------------------------------------------------
     # Tests





More information about the linux-mtd-cvs mailing list