Config.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. config BR2_TARGET_ARM_TRUSTED_FIRMWARE
  2. bool "ARM Trusted Firmware (ATF)"
  3. depends on BR2_aarch64 && BR2_TARGET_UBOOT
  4. help
  5. Enable this option if you want to build the ATF for your ARM
  6. based embedded device.
  7. https://github.com/ARM-software/arm-trusted-firmware
  8. if BR2_TARGET_ARM_TRUSTED_FIRMWARE
  9. choice
  10. prompt "ATF Version"
  11. help
  12. Select the specific ATF version you want to use
  13. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
  14. bool "v1.4"
  15. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION
  16. bool "Custom version"
  17. help
  18. This option allows to use a specific official versions
  19. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
  20. bool "Custom tarball"
  21. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  22. bool "Custom Git repository"
  23. endchoice
  24. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
  25. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION
  26. string "URL of custom ATF tarball"
  27. endif
  28. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE
  29. string "ATF version"
  30. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION
  31. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION
  32. string
  33. default "v1.4" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
  34. default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
  35. default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \
  36. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  37. default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE \
  38. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION
  39. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  40. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL
  41. string "URL of custom repository"
  42. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION
  43. string "Custom repository version"
  44. help
  45. Revision to use in the typical format used by Git
  46. E.G. a sha id, a tag, ..
  47. endif
  48. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM
  49. string "ATF platform"
  50. help
  51. Target plaform to build for.
  52. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
  53. bool "Build FIP image"
  54. help
  55. This option enables building the FIP image (Firmware Image
  56. Package). This is typically the image format used by
  57. platforms were ATF encapsulates the second stage bootloader
  58. (such as U-Boot).
  59. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  60. bool "Build BL31 image"
  61. help
  62. This option enables building the BL31 image. This is
  63. typically used on platforms where another bootloader (e.g
  64. U-Boot) encapsulates ATF BL31.
  65. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT
  66. bool "Build BL31 U-Boot image"
  67. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  68. help
  69. Generates a U-Boot image named atf-uboot.ub containing
  70. bl31.bin. This is used for example by the Xilinx version of
  71. U-Boot SPL to load ATF on the ZynqMP SoC.
  72. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33
  73. bool "Use U-Boot as BL33"
  74. depends on BR2_TARGET_UBOOT
  75. help
  76. This option allows to embed u-boot.bin as the BL33 part of
  77. the ARM Trusted Firmware. It ensures that the u-boot package
  78. gets built before ATF, and that the appropriate BL33
  79. variable pointing to u-boot.bin is passed when building ATF.
  80. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES
  81. string "Additional ATF build variables"
  82. help
  83. Additional parameters for the ATF build
  84. E.G. 'DEBUG=1 LOG_LEVEL=20'
  85. endif