Config.in 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. default "rootfs"
  36. config BR2_TARGET_ROOTFS_EXT2_SIZE
  37. string "exact size"
  38. default BR2_TARGET_ROOTFS_EXT2_BLOCKS if BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP # legacy 2017.08
  39. default "60M"
  40. help
  41. The size of the filesystem image. If it does not have a
  42. suffix, it is interpreted as power-of-two kilobytes. If it is
  43. suffixed by 'k', 'm', 'g', 't' (either upper-case or
  44. lower-case), then it is interpreted in power-of-two kilobytes,
  45. megabytes, gigabytes, terabytes, etc.
  46. config BR2_TARGET_ROOTFS_EXT2_INODES
  47. int "exact number of inodes (leave at 0 for auto calculation)"
  48. default 0
  49. config BR2_TARGET_ROOTFS_EXT2_RESBLKS
  50. int "reserved blocks percentage"
  51. default 5
  52. help
  53. The number of blocks on the filesystem (as a percentage of the
  54. total number of blocks), that are reserved for use by root.
  55. Traditionally, this has been 5%, and all ext-related tools
  56. still default to reserving 5% when creating a new ext
  57. filesystem.
  58. config BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS
  59. string "additional mke2fs options"
  60. default "-O ^64bit"
  61. help
  62. Specify a space-separated list of mke2fs options, including
  63. any ext2/3/4 filesystem features.
  64. For more information about the mke2fs options, see the manual
  65. page mke2fs(8).
  66. For more information about the ext2/3/4 features which can be
  67. set, see the manual page ext4(5).
  68. The default is "-O ^64bit", i.e. disable 64-bit filesystem
  69. support. This default value has been chosen because U-Boot
  70. versions before 2017.02 don't support this filesystem
  71. option: using it may make the filesystem unreadable by
  72. U-Boot.
  73. choice
  74. prompt "Compression method"
  75. default BR2_TARGET_ROOTFS_EXT2_NONE
  76. help
  77. Select compressor for ext2/3/4 filesystem of the root
  78. filesystem
  79. config BR2_TARGET_ROOTFS_EXT2_NONE
  80. bool "no compression"
  81. help
  82. Do not compress the ext2/3/4 filesystem.
  83. config BR2_TARGET_ROOTFS_EXT2_GZIP
  84. bool "gzip"
  85. help
  86. Do compress the ext2/3/4 filesystem with gzip.
  87. config BR2_TARGET_ROOTFS_EXT2_BZIP2
  88. bool "bzip2"
  89. help
  90. Do compress the ext2/3/4 filesystem with bzip2.
  91. config BR2_TARGET_ROOTFS_EXT2_LZ4
  92. bool "lz4"
  93. help
  94. Do compress the ext2 filesystem with lz4.
  95. config BR2_TARGET_ROOTFS_EXT2_LZMA
  96. bool "lzma"
  97. help
  98. Do compress the ext2/3/4 filesystem with lzma.
  99. config BR2_TARGET_ROOTFS_EXT2_LZO
  100. bool "lzo"
  101. help
  102. Do compress the ext2 filesystem with lzop.
  103. config BR2_TARGET_ROOTFS_EXT2_XZ
  104. bool "xz"
  105. help
  106. Do compress the ext2 filesystem with xz.
  107. endchoice
  108. endif # BR2_TARGET_ROOTFS_EXT2