Config.in 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 sub-page
  19. size. Use 0 if sub-pages are not supported on flash chip.
  20. The value provided here is passed to the -s/--sub-page-size
  21. option of ubinize.
  22. config BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  23. bool "Use custom config file"
  24. help
  25. Select this option to use a custom ubinize configuration file,
  26. rather than the default configuration used by Buildroot (which
  27. defines a single dynamic volume marked as auto-resize). Passing
  28. a custom ubinize configuration file allows you to create several
  29. volumes, specify volume types, etc.
  30. As a convenience, buildroot replaces the string
  31. "BR2_ROOTFS_UBIFS_PATH" with the path to the built ubifs file.
  32. So the volume defined for the root filesystem can specify the
  33. image path as: image=BR2_ROOTFS_UBIFS_PATH
  34. config BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE
  35. string "Configuration file path"
  36. depends on BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG
  37. help
  38. Path to the ubinize configuration file.
  39. config BR2_TARGET_ROOTFS_UBI_OPTS
  40. string "Additional ubinize options"
  41. help
  42. Any additional ubinize options you may want to include.
  43. endif # BR2_TARGET_ROOTFS_UBI