ff604c5c383992bb132d9cfdf4e8495d42bfed72
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / fs / ubifs / Config.in
1 config BR2_TARGET_ROOTFS_UBIFS
2         bool "ubifs root filesystem"
3         help
4           Build a ubifs root filesystem
5
6 if BR2_TARGET_ROOTFS_UBIFS
7
8 config BR2_TARGET_ROOTFS_UBIFS_LEBSIZE
9         hex "logical eraseblock size"
10         default 0x1f800
11         help
12           Logical eraseblock (LEB) size. The value provided here is
13           passed to the -e/--leb-size option of mkfs.ubifs.
14
15 config BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE
16         hex "minimum I/O unit size"
17         default 0x800
18         help
19           Minimum I/O unit size. The value provided here is passed
20           to the -m/--min-io-size option of mkfs.ubifs/ubinize.
21
22 config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
23         int "maximum logical eraseblock count"
24         default 2048
25         help
26           Maximum logical eraseblock (LEB) count. The value provided
27           here is passed to the -c/--max-leb-cnt option of mkfs.ubifs.
28
29 choice
30         prompt "ubifs runtime compression"
31         default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
32         help
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
36
37 config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
38         bool "no compression"
39         help
40           Don't use run-time compression.
41
42 config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
43         bool "gzip"
44         help
45           Use zlib compression at run-time.
46
47 config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
48         bool "lzo"
49         help
50           Use lzo compression at run-time.
51
52 endchoice
53
54 choice
55         prompt "Compression method"
56         default BR2_TARGET_ROOTFS_UBIFS_NONE
57         help
58           Select which compression format to compress the final image
59           into.
60
61 config BR2_TARGET_ROOTFS_UBIFS_NONE
62         bool "no compression"
63         help
64           Do not compress the ubifs filesystem.
65
66 config BR2_TARGET_ROOTFS_UBIFS_GZIP
67         bool "gzip"
68         help
69           Do compress the ubifs filesystem with gzip.
70
71 config BR2_TARGET_ROOTFS_UBIFS_BZIP2
72         bool "bzip2"
73         help
74           Do compress the ubifs filesystem with bzip2.
75
76 config BR2_TARGET_ROOTFS_UBIFS_LZMA
77         bool "lzma"
78         help
79           Do compress the ubifs filesystem with lzma.
80
81 config BR2_TARGET_ROOTFS_UBIFS_LZO
82         bool "lzo"
83         help
84           Do compress the ubifs filesystem with lzop.
85
86 config BR2_TARGET_ROOTFS_UBIFS_XZ
87         bool "xz"
88         help
89           Do compress the ubifs filesystem with xz.
90
91 endchoice
92
93 config BR2_TARGET_ROOTFS_UBIFS_OPTS
94         string "Additional mkfs.ubifs options"
95         help
96           Any additional mkfs.ubifs options you may want to include.
97
98 config BR2_TARGET_ROOTFS_UBI
99         bool "Embed into an UBI image"
100         help
101           Build an ubi image from the ubifs one (with ubinize).
102
103 if BR2_TARGET_ROOTFS_UBI
104
105 config BR2_TARGET_ROOTFS_UBI_PEBSIZE
106         hex "physical eraseblock size"
107         default 0x20000
108         help
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.
112
113 config BR2_TARGET_ROOTFS_UBI_SUBSIZE
114         int "sub-page size"
115         default 512
116         help
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
120           option of ubinize.
121
122 config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
123         bool "Use custom config file"
124         help
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.
130
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
135
136 config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
137         string "Configuration file path"
138         depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
139         help
140           Path to the ubinize configuration file.
141
142 config BR2_TARGET_ROOTFS_UBI_OPTS
143         string "Additional ubinize options"
144         help
145           Any additional ubinize options you may want to include.
146
147 endif # BR2_TARGET_ROOTFS_UBI
148
149 endif # BR2_TARGET_ROOTFS_UBIFS