Config.in 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. if BR2_TARGET_ROOTFS_UBI
  7. config BR2_TARGET_ROOTFS_UBI_PEBSIZE
  8. hex "physical eraseblock size"
  9. default 0x20000
  10. help
  11. Tells ubinize the physical eraseblock (PEB) size of the
  12. flash chip the ubi image is created for. The value provided
  13. here is passed to the -p/--peb-size option of ubinize.
  14. config BR2_TARGET_ROOTFS_UBI_SUBSIZE
  15. int "sub-page size"
  16. default 512
  17. help
  18. Tells ubinize that the flash supports sub-pages and the
  19. sub-page size. Use 0 if sub-pages are not supported on flash
  20. chip.
  21. The value provided here is passed to the -s/--sub-page-size
  22. option of ubinize.
  23. config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  24. bool "Use custom config file"
  25. help
  26. Select this option to use a custom ubinize configuration file,
  27. rather than the default configuration used by Buildroot (which
  28. defines a single dynamic volume marked as auto-resize).
  29. Passing a custom ubinize configuration file allows you to
  30. create several volumes, specify volume types, etc.
  31. As a convenience, buildroot replaces the string
  32. "BR2_ROOTFS_UBIFS_PATH" with the path to the built ubifs file.
  33. So the volume defined for the root filesystem can specify the
  34. image path as: image=BR2_ROOTFS_UBIFS_PATH
  35. Buildroot also replaces the string "BINARIES_DIR" with the
  36. value of $(BINARIES_DIR), so that it is possible to reference
  37. other build artefacts (e.g. to include the kernel in a UBI
  38. volume).
  39. config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
  40. string "Configuration file path"
  41. depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  42. help
  43. Path to the ubinize configuration file.
  44. config BR2_TARGET_ROOTFS_UBI_OPTS
  45. string "Additional ubinize options"
  46. help
  47. Any additional ubinize options you may want to include.
  48. endif # BR2_TARGET_ROOTFS_UBI