Config.in 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. config BR2_TARGET_ROOTFS_EXT2
  2. bool "ext2/3/4 root filesystem"
  3. select BR2_PACKAGE_HOST_E2FSPROGS
  4. help
  5. Build an ext2/3/4 root filesystem
  6. if BR2_TARGET_ROOTFS_EXT2
  7. config BR2_TARGET_ROOTFS_EXT2_2
  8. bool
  9. choice
  10. bool "ext2/3/4 variant"
  11. default BR2_TARGET_ROOTFS_EXT2_2r1
  12. config BR2_TARGET_ROOTFS_EXT2_2r0
  13. bool "ext2 (rev0)"
  14. select BR2_TARGET_ROOTFS_EXT2_2
  15. config BR2_TARGET_ROOTFS_EXT2_2r1
  16. bool "ext2 (rev1)"
  17. select BR2_TARGET_ROOTFS_EXT2_2
  18. config BR2_TARGET_ROOTFS_EXT2_3
  19. bool "ext3"
  20. config BR2_TARGET_ROOTFS_EXT2_4
  21. bool "ext4"
  22. endchoice
  23. config BR2_TARGET_ROOTFS_EXT2_GEN
  24. int
  25. default 2 if BR2_TARGET_ROOTFS_EXT2_2
  26. default 3 if BR2_TARGET_ROOTFS_EXT2_3
  27. default 4 if BR2_TARGET_ROOTFS_EXT2_4
  28. # All ext generations are revision 1, except ext2r0, which is revision 0
  29. config BR2_TARGET_ROOTFS_EXT2_REV
  30. int
  31. default 0 if BR2_TARGET_ROOTFS_EXT2_2r0
  32. default 1 if !BR2_TARGET_ROOTFS_EXT2_2r0
  33. config BR2_TARGET_ROOTFS_EXT2_LABEL
  34. string "filesystem label"
  35. config BR2_TARGET_ROOTFS_EXT2_SIZE
  36. string "exact size"
  37. default BR2_TARGET_ROOTFS_EXT2_BLOCKS if BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP # legacy 2017.08
  38. default "60M"
  39. help
  40. The size of the filesystem image. If it does not have a
  41. suffix, it is interpreted as power-of-two kilobytes. If it is
  42. suffixed by 'k', 'm', 'g', 't' (either upper-case or
  43. lower-case), then it is interpreted in power-of-two kilobytes,
  44. megabytes, gigabytes, terabytes, etc.
  45. config BR2_TARGET_ROOTFS_EXT2_INODES
  46. int "exact number of inodes (leave at 0 for auto calculation)"
  47. default 0
  48. config BR2_TARGET_ROOTFS_EXT2_RESBLKS
  49. int "reserved blocks percentage"
  50. default 5
  51. help
  52. The number of blocks on the filesystem (as a percentage of the
  53. total number of blocks), that are reserved for use by root.
  54. Traditionally, this has been 5%, and all ext-related tools
  55. still default to reserving 5% when creating a new ext
  56. filesystem.
  57. config BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS
  58. string "additional mke2fs options"
  59. default "-O ^64bit"
  60. help
  61. Specify a space-separated list of mke2fs options, including
  62. any ext2/3/4 filesystem features.
  63. For more information about the mke2fs options, see the manual
  64. page mke2fs(8).
  65. For more information about the ext2/3/4 features which can be
  66. set, see the manual page ext4(5).
  67. The default is "-O ^64bit", i.e. disable 64-bit filesystem
  68. support. This default value has been chosen because U-Boot
  69. versions before 2017.02 don't support this filesystem
  70. option: using it may make the filesystem unreadable by
  71. U-Boot.
  72. choice
  73. prompt "Compression method"
  74. default BR2_TARGET_ROOTFS_EXT2_NONE
  75. help
  76. Select compressor for ext2/3/4 filesystem of the root
  77. filesystem
  78. config BR2_TARGET_ROOTFS_EXT2_NONE
  79. bool "no compression"
  80. help
  81. Do not compress the ext2/3/4 filesystem.
  82. config BR2_TARGET_ROOTFS_EXT2_GZIP
  83. bool "gzip"
  84. help
  85. Do compress the ext2/3/4 filesystem with gzip.
  86. config BR2_TARGET_ROOTFS_EXT2_BZIP2
  87. bool "bzip2"
  88. help
  89. Do compress the ext2/3/4 filesystem with bzip2.
  90. config BR2_TARGET_ROOTFS_EXT2_LZ4
  91. bool "lz4"
  92. help
  93. Do compress the ext2 filesystem with lz4.
  94. config BR2_TARGET_ROOTFS_EXT2_LZMA
  95. bool "lzma"
  96. help
  97. Do compress the ext2/3/4 filesystem with lzma.
  98. config BR2_TARGET_ROOTFS_EXT2_LZO
  99. bool "lzo"
  100. help
  101. Do compress the ext2 filesystem with lzop.
  102. config BR2_TARGET_ROOTFS_EXT2_XZ
  103. bool "xz"
  104. help
  105. Do compress the ext2 filesystem with xz.
  106. endchoice
  107. endif # BR2_TARGET_ROOTFS_EXT2