1 config BR2_TARGET_ROOTFS_UBIFS
2 bool "ubifs root filesystem"
4 Build a ubifs root filesystem
6 if BR2_TARGET_ROOTFS_UBIFS
8 config BR2_TARGET_ROOTFS_UBIFS_LEBSIZE
9 hex "logical eraseblock size"
12 Logical eraseblock (LEB) size. The value provided here is
13 passed to the -e/--leb-size option of mkfs.ubifs.
15 config BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE
16 hex "minimum I/O unit size"
19 Minimum I/O unit size. The value provided here is passed
20 to the -m/--min-io-size option of mkfs.ubifs/ubinize.
22 config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
23 int "maximum logical eraseblock count"
26 Maximum logical eraseblock (LEB) count. The value provided
27 here is passed to the -c/--max-leb-cnt option of mkfs.ubifs.
30 prompt "ubifs runtime compression"
31 default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
33 Select which compression format to use at run-time within
34 the ubifs file system. The choice made here is passed to
35 the -x/--compr option of mkfs.ubifs
37 config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
40 Don't use run-time compression.
42 config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
45 Use zlib compression at run-time.
47 config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
50 Use lzo compression at run-time.
55 prompt "Compression method"
56 default BR2_TARGET_ROOTFS_UBIFS_NONE
58 Select which compression format to compress the final image
61 config BR2_TARGET_ROOTFS_UBIFS_NONE
64 Do not compress the ubifs filesystem.
66 config BR2_TARGET_ROOTFS_UBIFS_GZIP
69 Do compress the ubifs filesystem with gzip.
71 config BR2_TARGET_ROOTFS_UBIFS_BZIP2
74 Do compress the ubifs filesystem with bzip2.
76 config BR2_TARGET_ROOTFS_UBIFS_LZMA
79 Do compress the ubifs filesystem with lzma.
81 config BR2_TARGET_ROOTFS_UBIFS_LZO
84 Do compress the ubifs filesystem with lzop.
86 config BR2_TARGET_ROOTFS_UBIFS_XZ
89 Do compress the ubifs filesystem with xz.
93 config BR2_TARGET_ROOTFS_UBIFS_OPTS
94 string "Additional mkfs.ubifs options"
96 Any additional mkfs.ubifs options you may want to include.
98 config BR2_TARGET_ROOTFS_UBI
99 bool "Embed into an UBI image"
101 Build an ubi image from the ubifs one (with ubinize).
103 if BR2_TARGET_ROOTFS_UBI
105 config BR2_TARGET_ROOTFS_UBI_PEBSIZE
106 hex "physical eraseblock size"
109 Tells ubinize the physical eraseblock (PEB) size of the
110 flash chip the ubi image is created for. The value provided
111 here is passed to the -p/--peb-size option of ubinize.
113 config BR2_TARGET_ROOTFS_UBI_SUBSIZE
117 Tells ubinize that the flash supports sub-pages and the sub-page
118 size. Use 0 if sub-pages are not supported on flash chip.
119 The value provided here is passed to the -s/--sub-page-size
122 config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
123 bool "Use custom config file"
125 Select this option to use a custom ubinize configuration file,
126 rather than the default configuration used by Buildroot (which
127 defines a single dynamic volume marked as auto-resize). Passing
128 a custom ubinize configuration file allows you to create several
129 volumes, specify volume types, etc.
131 As a convenience, buildroot replaces the string
132 "BR2_ROOTFS_UBIFS_PATH" with the path to the built ubifs file.
133 So the volume defined for the root filesystem can specify the
134 image path as: image=BR2_ROOTFS_UBIFS_PATH
136 config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
137 string "Configuration file path"
138 depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
140 Path to the ubinize configuration file.
142 config BR2_TARGET_ROOTFS_UBI_OPTS
143 string "Additional ubinize options"
145 Any additional ubinize options you may want to include.
147 endif # BR2_TARGET_ROOTFS_UBI
149 endif # BR2_TARGET_ROOTFS_UBIFS