Kconfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. config JFFS2_FS
  2. tristate "Journalling Flash File System v2 (JFFS2) support"
  3. select CRC32
  4. depends on MTD
  5. help
  6. JFFS2 is the second generation of the Journalling Flash File System
  7. for use on diskless embedded devices. It provides improved wear
  8. levelling, compression and support for hard links. You cannot use
  9. this on normal block devices, only on 'MTD' devices.
  10. Further information on the design and implementation of JFFS2 is
  11. available at <http://sources.redhat.com/jffs2/>.
  12. config JFFS2_FS_DEBUG
  13. int "JFFS2 debugging verbosity (0 = quiet, 2 = noisy)"
  14. depends on JFFS2_FS
  15. default "0"
  16. help
  17. This controls the amount of debugging messages produced by the JFFS2
  18. code. Set it to zero for use in production systems. For evaluation,
  19. testing and debugging, it's advisable to set it to one. This will
  20. enable a few assertions and will print debugging messages at the
  21. KERN_DEBUG loglevel, where they won't normally be visible. Level 2
  22. is unlikely to be useful - it enables extra debugging in certain
  23. areas which at one point needed debugging, but when the bugs were
  24. located and fixed, the detailed messages were relegated to level 2.
  25. If reporting bugs, please try to have available a full dump of the
  26. messages at debug level 1 while the misbehaviour was occurring.
  27. config JFFS2_FS_WRITEBUFFER
  28. bool "JFFS2 write-buffering support"
  29. depends on JFFS2_FS
  30. default y
  31. help
  32. This enables the write-buffering support in JFFS2.
  33. This functionality is required to support JFFS2 on the following
  34. types of flash devices:
  35. - NAND flash
  36. - NOR flash with transparent ECC
  37. - DataFlash
  38. config JFFS2_FS_WBUF_VERIFY
  39. bool "Verify JFFS2 write-buffer reads"
  40. depends on JFFS2_FS_WRITEBUFFER
  41. default n
  42. help
  43. This causes JFFS2 to read back every page written through the
  44. write-buffer, and check for errors.
  45. config JFFS2_SUMMARY
  46. bool "JFFS2 summary support"
  47. depends on JFFS2_FS
  48. default n
  49. help
  50. This feature makes it possible to use summary information
  51. for faster filesystem mount.
  52. The summary information can be inserted into a filesystem image
  53. by the utility 'sumtool'.
  54. If unsure, say 'N'.
  55. config JFFS2_FS_XATTR
  56. bool "JFFS2 XATTR support"
  57. depends on JFFS2_FS
  58. default n
  59. help
  60. Extended attributes are name:value pairs associated with inodes by
  61. the kernel or by users (see the attr(5) manual page for details).
  62. If unsure, say N.
  63. config JFFS2_FS_POSIX_ACL
  64. bool "JFFS2 POSIX Access Control Lists"
  65. depends on JFFS2_FS_XATTR
  66. default y
  67. select FS_POSIX_ACL
  68. help
  69. Posix Access Control Lists (ACLs) support permissions for users and
  70. groups beyond the owner/group/world scheme.
  71. If you don't know what Access Control Lists are, say N
  72. config JFFS2_FS_SECURITY
  73. bool "JFFS2 Security Labels"
  74. depends on JFFS2_FS_XATTR
  75. default y
  76. help
  77. Security labels support alternative access control models
  78. implemented by security modules like SELinux. This option
  79. enables an extended attribute handler for file security
  80. labels in the jffs2 filesystem.
  81. If you are not using a security module that requires using
  82. extended attributes for file security labels, say N.
  83. config JFFS2_COMPRESSION_OPTIONS
  84. bool "Advanced compression options for JFFS2"
  85. depends on JFFS2_FS
  86. default n
  87. help
  88. Enabling this option allows you to explicitly choose which
  89. compression modules, if any, are enabled in JFFS2. Removing
  90. compressors can mean you cannot read existing file systems,
  91. and enabling experimental compressors can mean that you
  92. write a file system which cannot be read by a standard kernel.
  93. If unsure, you should _definitely_ say 'N'.
  94. config JFFS2_ZLIB
  95. bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
  96. select ZLIB_INFLATE
  97. select ZLIB_DEFLATE
  98. depends on JFFS2_FS
  99. default y
  100. help
  101. Zlib is designed to be a free, general-purpose, legally unencumbered,
  102. lossless data-compression library for use on virtually any computer
  103. hardware and operating system. See <http://www.gzip.org/zlib/> for
  104. further information.
  105. Say 'Y' if unsure.
  106. config JFFS2_LZO
  107. bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
  108. select LZO_COMPRESS
  109. select LZO_DECOMPRESS
  110. depends on JFFS2_FS
  111. default n
  112. help
  113. minilzo-based compression. Generally works better than Zlib.
  114. This feature was added in July, 2007. Say 'N' if you need
  115. compatibility with older bootloaders or kernels.
  116. config JFFS2_RTIME
  117. bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
  118. depends on JFFS2_FS
  119. default y
  120. help
  121. Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
  122. config JFFS2_RUBIN
  123. bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
  124. depends on JFFS2_FS
  125. default n
  126. help
  127. RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
  128. choice
  129. prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
  130. default JFFS2_CMODE_PRIORITY
  131. depends on JFFS2_FS
  132. help
  133. You can set here the default compression mode of JFFS2 from
  134. the available compression modes. Don't touch if unsure.
  135. config JFFS2_CMODE_NONE
  136. bool "no compression"
  137. help
  138. Uses no compression.
  139. config JFFS2_CMODE_PRIORITY
  140. bool "priority"
  141. help
  142. Tries the compressors in a predefined order and chooses the first
  143. successful one.
  144. config JFFS2_CMODE_SIZE
  145. bool "size"
  146. help
  147. Tries all compressors and chooses the one which has the smallest
  148. result.
  149. config JFFS2_CMODE_FAVOURLZO
  150. bool "Favour LZO"
  151. help
  152. Tries all compressors and chooses the one which has the smallest
  153. result but gives some preference to LZO (which has faster
  154. decompression) at the expense of size.
  155. endchoice