]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - fs/ubi/Config.in
fs/ubifs: spin-off ubi to be its own filesystem
[coffee/buildroot.git] / fs / ubi / Config.in
1 config BR2_TARGET_ROOTFS_UBI
2         bool "ubi image containing an ubifs root filesystem"
3         select BR2_TARGET_ROOTFS_UBIFS
4         help
5           Build an ubi image from the ubifs one (with ubinize).
6
7 if BR2_TARGET_ROOTFS_UBI
8
9 config BR2_TARGET_ROOTFS_UBI_PEBSIZE
10         hex "physical eraseblock size"
11         default 0x20000
12         help
13           Tells ubinize the physical eraseblock (PEB) size of the
14           flash chip the ubi image is created for. The value provided
15           here is passed to the -p/--peb-size option of ubinize.
16
17 config BR2_TARGET_ROOTFS_UBI_SUBSIZE
18         int "sub-page size"
19         default 512
20         help
21           Tells ubinize that the flash supports sub-pages and the sub-page
22           size. Use 0 if sub-pages are not supported on flash chip.
23           The value provided here is passed to the -s/--sub-page-size
24           option of ubinize.
25
26 config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
27         bool "Use custom config file"
28         help
29           Select this option to use a custom ubinize configuration file,
30           rather than the default configuration used by Buildroot (which
31           defines a single dynamic volume marked as auto-resize).  Passing
32           a custom ubinize configuration file allows you to create several
33           volumes, specify volume types, etc.
34
35           As a convenience, buildroot replaces the string
36           "BR2_ROOTFS_UBIFS_PATH" with the path to the built ubifs file.
37           So the volume defined for the root filesystem can specify the
38           image path as:  image=BR2_ROOTFS_UBIFS_PATH
39
40 config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
41         string "Configuration file path"
42         depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
43         help
44           Path to the ubinize configuration file.
45
46 config BR2_TARGET_ROOTFS_UBI_OPTS
47         string "Additional ubinize options"
48         help
49           Any additional ubinize options you may want to include.
50
51 endif # BR2_TARGET_ROOTFS_UBI