Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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, or visit
  62. <http://acl.bestbits.at/> for details).
  63. If unsure, say N.
  64. config JFFS2_FS_POSIX_ACL
  65. bool "JFFS2 POSIX Access Control Lists"
  66. depends on JFFS2_FS_XATTR
  67. default y
  68. select FS_POSIX_ACL
  69. help
  70. Posix Access Control Lists (ACLs) support permissions for users and
  71. groups beyond the owner/group/world scheme.
  72. To learn more about Access Control Lists, visit the Posix ACLs for
  73. Linux website <http://acl.bestbits.at/>.
  74. If you don't know what Access Control Lists are, say N
  75. config JFFS2_FS_SECURITY
  76. bool "JFFS2 Security Labels"
  77. depends on JFFS2_FS_XATTR
  78. default y
  79. help
  80. Security labels support alternative access control models
  81. implemented by security modules like SELinux. This option
  82. enables an extended attribute handler for file security
  83. labels in the jffs2 filesystem.
  84. If you are not using a security module that requires using
  85. extended attributes for file security labels, say N.
  86. config JFFS2_COMPRESSION_OPTIONS
  87. bool "Advanced compression options for JFFS2"
  88. depends on JFFS2_FS
  89. default n
  90. help
  91. Enabling this option allows you to explicitly choose which
  92. compression modules, if any, are enabled in JFFS2. Removing
  93. compressors can mean you cannot read existing file systems,
  94. and enabling experimental compressors can mean that you
  95. write a file system which cannot be read by a standard kernel.
  96. If unsure, you should _definitely_ say 'N'.
  97. config JFFS2_ZLIB
  98. bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
  99. select ZLIB_INFLATE
  100. select ZLIB_DEFLATE
  101. depends on JFFS2_FS
  102. default y
  103. help
  104. Zlib is designed to be a free, general-purpose, legally unencumbered,
  105. lossless data-compression library for use on virtually any computer
  106. hardware and operating system. See <http://www.gzip.org/zlib/> for
  107. further information.
  108. Say 'Y' if unsure.
  109. config JFFS2_LZO
  110. bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
  111. select LZO_COMPRESS
  112. select LZO_DECOMPRESS
  113. depends on JFFS2_FS
  114. default n
  115. help
  116. minilzo-based compression. Generally works better than Zlib.
  117. This feature was added in July, 2007. Say 'N' if you need
  118. compatibility with older bootloaders or kernels.
  119. config JFFS2_RTIME
  120. bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
  121. depends on JFFS2_FS
  122. default y
  123. help
  124. Rtime does manage to recompress already-compressed data. Say 'Y' if unsure.
  125. config JFFS2_RUBIN
  126. bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
  127. depends on JFFS2_FS
  128. default n
  129. help
  130. RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
  131. choice
  132. prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
  133. default JFFS2_CMODE_PRIORITY
  134. depends on JFFS2_FS
  135. help
  136. You can set here the default compression mode of JFFS2 from
  137. the available compression modes. Don't touch if unsure.
  138. config JFFS2_CMODE_NONE
  139. bool "no compression"
  140. help
  141. Uses no compression.
  142. config JFFS2_CMODE_PRIORITY
  143. bool "priority"
  144. help
  145. Tries the compressors in a predefined order and chooses the first
  146. successful one.
  147. config JFFS2_CMODE_SIZE
  148. bool "size"
  149. help
  150. Tries all compressors and chooses the one which has the smallest
  151. result.
  152. config JFFS2_CMODE_FAVOURLZO
  153. bool "Favour LZO"
  154. help
  155. Tries all compressors and chooses the one which has the smallest
  156. result but gives some preference to LZO (which has faster
  157. decompression) at the expense of size.
  158. endchoice