Config.in 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. config BR2_TARGET_ROOTFS_UBIFS
  2. bool "ubifs root filesystem"
  3. help
  4. Build a ubifs root filesystem
  5. if BR2_TARGET_ROOTFS_UBIFS
  6. config BR2_TARGET_ROOTFS_UBIFS_LEBSIZE
  7. hex "logical eraseblock size"
  8. default 0x1f800
  9. help
  10. Logical eraseblock (LEB) size. The value provided here is
  11. passed to the -e/--leb-size option of mkfs.ubifs.
  12. config BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE
  13. hex "minimum I/O unit size"
  14. default 0x800
  15. help
  16. Minimum I/O unit size. The value provided here is passed
  17. to the -m/--min-io-size option of mkfs.ubifs/ubinize.
  18. config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
  19. int "maximum logical eraseblock count"
  20. default 2048
  21. help
  22. Maximum logical eraseblock (LEB) count. The value provided
  23. here is passed to the -c/--max-leb-cnt option of mkfs.ubifs.
  24. choice
  25. prompt "ubifs runtime compression"
  26. default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
  27. help
  28. Select which compression format to use at run-time within
  29. the ubifs file system. The choice made here is passed to
  30. the -x/--compr option of mkfs.ubifs
  31. config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
  32. bool "no compression"
  33. help
  34. Don't use run-time compression.
  35. config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
  36. bool "gzip"
  37. help
  38. Use zlib compression at run-time.
  39. config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
  40. bool "lzo"
  41. help
  42. Use lzo compression at run-time.
  43. endchoice
  44. choice
  45. prompt "Compression method"
  46. default BR2_TARGET_ROOTFS_UBIFS_NONE
  47. help
  48. Select which compression format to compress the final image
  49. into.
  50. config BR2_TARGET_ROOTFS_UBIFS_NONE
  51. bool "no compression"
  52. help
  53. Do not compress the ubifs filesystem.
  54. config BR2_TARGET_ROOTFS_UBIFS_GZIP
  55. bool "gzip"
  56. help
  57. Do compress the ubifs filesystem with gzip.
  58. config BR2_TARGET_ROOTFS_UBIFS_BZIP2
  59. bool "bzip2"
  60. help
  61. Do compress the ubifs filesystem with bzip2.
  62. config BR2_TARGET_ROOTFS_UBIFS_LZMA
  63. bool "lzma"
  64. help
  65. Do compress the ubifs filesystem with lzma.
  66. config BR2_TARGET_ROOTFS_UBIFS_LZO
  67. bool "lzo"
  68. help
  69. Do compress the ubifs filesystem with lzop.
  70. config BR2_TARGET_ROOTFS_UBIFS_XZ
  71. bool "xz"
  72. help
  73. Do compress the ubifs filesystem with xz.
  74. endchoice
  75. config BR2_TARGET_ROOTFS_UBIFS_OPTS
  76. string "Additional mkfs.ubifs options"
  77. help
  78. Any additional mkfs.ubifs options you may want to include.
  79. config BR2_TARGET_ROOTFS_UBI
  80. bool "Embed into an UBI image"
  81. help
  82. Build an ubi image from the ubifs one (with ubinize).
  83. if BR2_TARGET_ROOTFS_UBI
  84. config BR2_TARGET_ROOTFS_UBI_PEBSIZE
  85. hex "physical eraseblock size"
  86. default 0x20000
  87. help
  88. Tells ubinize the physical eraseblock (PEB) size of the
  89. flash chip the ubi image is created for. The value provided
  90. here is passed to the -p/--peb-size option of ubinize.
  91. config BR2_TARGET_ROOTFS_UBI_SUBSIZE
  92. int "sub-page size"
  93. default 512
  94. help
  95. Tells ubinize that the flash supports sub-pages and the sub-page
  96. size. Use 0 if sub-pages are not supported on flash chip.
  97. The value provided here is passed to the -s/--sub-page-size
  98. option of ubinize.
  99. config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  100. bool "Use custom config file"
  101. help
  102. Select this option to use a custom ubinize configuration file,
  103. rather than the default configuration used by Buildroot (which
  104. defines a single dynamic volume marked as auto-resize). Passing
  105. a custom ubinize configuration file allows you to create several
  106. volumes, specify volume types, etc.
  107. As a convenience, buildroot replaces the string
  108. "BR2_ROOTFS_UBIFS_PATH" with the path to the built ubifs file.
  109. So the volume defined for the root filesystem can specify the
  110. image path as: image=BR2_ROOTFS_UBIFS_PATH
  111. config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
  112. string "Configuration file path"
  113. depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  114. help
  115. Path to the ubinize configuration file.
  116. config BR2_TARGET_ROOTFS_UBI_OPTS
  117. string "Additional ubinize options"
  118. help
  119. Any additional ubinize options you may want to include.
  120. endif # BR2_TARGET_ROOTFS_UBI
  121. endif # BR2_TARGET_ROOTFS_UBIFS