Config.in.host 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. config BR2_PACKAGE_HOST_UBOOT_TOOLS
  2. bool "host u-boot tools"
  3. help
  4. Companion tools for Das U-Boot bootloader.
  5. http://www.denx.de/wiki/U-Boot/WebHome
  6. if BR2_PACKAGE_HOST_UBOOT_TOOLS
  7. config BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT
  8. bool "Flattened Image Tree (FIT) support"
  9. select BR2_PACKAGE_HOST_DTC
  10. help
  11. Enables support for Flattened Image Tree (FIT).
  12. This option allows to boot the new uImage structure,
  13. Flattened Image Tree. FIT is formally a FDT, which can include
  14. images of various types (kernel, FDT blob, ramdisk, etc.)
  15. in a single blob. To boot this new uImage structure,
  16. pass the address of the blob to the "bootm" command.
  17. if BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT
  18. config BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT
  19. bool "FIT signature verification support"
  20. help
  21. Enables support for FIT Signature Verification.
  22. Flat Image Trees (FIT) supports hashing of images so that
  23. these hashes can be checked on loading. This protects
  24. against corruption of the image. However it does not prevent
  25. the substitution of one image for another.
  26. The signature feature allows the hash to be signed with a
  27. private key such that it can be verified using a public key
  28. later. Provided that the private key is kept secret and the
  29. public key is stored in a non-volatile place, any image can
  30. be verified in this way.
  31. endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT
  32. config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE
  33. bool "Environment image"
  34. help
  35. Generate a valid binary environment image from a text file
  36. describing the key=value pairs of the environment.
  37. This option can be useful to build environment configurations
  38. as part of a Linux / rootfs only defconfig instead of using
  39. post scripts. This supports a hardware use case of a single
  40. bootloader only defconfig but multiple Linux / rootfs
  41. defconfigs with different boot environments.
  42. The environment image will be called uboot-env.bin.
  43. if BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE
  44. config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE
  45. string "Source files for environment"
  46. default BR2_TARGET_UBOOT_ENVIMAGE_SOURCE if BR2_TARGET_UBOOT_ENVIMAGE_SOURCE != "" # legacy
  47. help
  48. Text files describing the environment. Files should have
  49. lines of the form var=value, one per line. Blank lines and
  50. lines starting with a # are ignored.
  51. Multiple source files are concatenated in the order listed.
  52. Leave empty to generate image from compiled-in env if a U-boot
  53. target build is configured (BR2_TARGET_UBOOT)
  54. config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE
  55. string "Size of environment"
  56. default BR2_TARGET_UBOOT_ENVIMAGE_SIZE if BR2_TARGET_UBOOT_ENVIMAGE_SIZE != "" # legacy
  57. help
  58. Size of envronment, can be prefixed with 0x for hexadecimal
  59. values.
  60. config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT
  61. bool "Environment has two copies"
  62. help
  63. Some platforms define in their U-Boot configuration that the
  64. U-Boot environment should be duplicated in two locations (for
  65. extra safety). Check your U-Boot configuration for the
  66. CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_OFFSET_REDUND settings
  67. to see if this is the case for your platform.
  68. If it is the case, then you should enable this option to
  69. ensure that the U-Boot environment image generated by
  70. Buildroot is compatible with the "redundant environment"
  71. mechanism of U-Boot.
  72. endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE
  73. config BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT
  74. bool "Generate a U-Boot boot script"
  75. help
  76. Generate a U-Boot boot script, given a file listing U-Boot
  77. commands to be executed at boot time. The generated boot
  78. script will be called 'boot.scr'.
  79. if BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT
  80. config BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE
  81. string "U-Boot boot script source"
  82. default BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE if BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE != "" # legacy
  83. help
  84. Source file to generate the U-Boot boot script.
  85. endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT
  86. endif # BR2_PACKAGE_HOST_UBOOT_TOOLS