Config.in 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_TARBALL
  16. bool "Custom tarball"
  17. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  18. bool "Custom Git repository"
  19. endchoice
  20. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
  21. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION
  22. string "URL of custom ATF tarball"
  23. endif
  24. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION
  25. string
  26. default "v1.4" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
  27. default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
  28. default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \
  29. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  30. if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
  31. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL
  32. string "URL of custom repository"
  33. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION
  34. string "Custom repository version"
  35. help
  36. Revision to use in the typical format used by Git
  37. E.G. a sha id, a tag, ..
  38. endif
  39. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM
  40. string "ATF platform"
  41. help
  42. Target plaform to build for.
  43. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
  44. bool "Build FIP image"
  45. help
  46. This option enables building the FIP image (Firmware Image
  47. Package). This is typically the image format used by
  48. platforms were ATF encapsulates the second stage bootloader
  49. (such as U-Boot).
  50. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  51. bool "Build BL31 image"
  52. help
  53. This option enables building the BL31 image. This is
  54. typically used on platforms where another bootloader (e.g
  55. U-Boot) encapsulates ATF BL31.
  56. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT
  57. bool "Build BL31 U-Boot image"
  58. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  59. help
  60. Generates a U-Boot image named atf-uboot.ub containing
  61. bl31.bin. This is used for example by the Xilinx version of
  62. U-Boot SPL to load ATF on the ZynqMP SoC.
  63. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33
  64. bool "Use U-Boot as BL33"
  65. depends on BR2_TARGET_UBOOT
  66. help
  67. This option allows to embed u-boot.bin as the BL33 part of
  68. the ARM Trusted Firmware. It ensures that the u-boot package
  69. gets built before ATF, and that the appropriate BL33
  70. variable pointing to u-boot.bin is passed when building ATF.
  71. config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES
  72. string "Additional ATF build variables"
  73. help
  74. Additional parameters for the ATF build
  75. E.G. 'DEBUG=1 LOG_LEVEL=20'
  76. endif