1 config BR2_TARGET_ROOTFS_UBI
2 bool "ubi image containing an ubifs root filesystem"
3 select BR2_TARGET_ROOTFS_UBIFS
5 Build an ubi image from the ubifs one (with ubinize).
7 if BR2_TARGET_ROOTFS_UBI
9 config BR2_TARGET_ROOTFS_UBI_PEBSIZE
10 hex "physical eraseblock size"
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.
17 config BR2_TARGET_ROOTFS_UBI_SUBSIZE
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
26 config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
27 bool "Use custom config file"
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.
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
40 config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
41 string "Configuration file path"
42 depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
44 Path to the ubinize configuration file.
46 config BR2_TARGET_ROOTFS_UBI_OPTS
47 string "Additional ubinize options"
49 Any additional ubinize options you may want to include.
51 endif # BR2_TARGET_ROOTFS_UBI