Config.in 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. config BR2_TARGET_TI_K3_R5_LOADER
  2. bool "ti-k3-r5-loader"
  3. depends on BR2_aarch64
  4. select BR2_TARGET_TI_K3_BOOT_FIRMWARE # binman
  5. help
  6. Separate U-Boot SPL build for R5 core on TI's K3 processors.
  7. Usually used to build tiboot3.bin with k3-image-gen.
  8. if BR2_TARGET_TI_K3_R5_LOADER
  9. choice
  10. prompt "U-Boot Version"
  11. help
  12. Select the specific U-Boot version you want to use to build
  13. the initial SPL running on the R5 core. Note that for most
  14. use cases you will want to use the exact same version/source
  15. here as it is used to build the main U-Boot package.
  16. config BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
  17. bool "2024.04"
  18. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  19. bool "Custom version"
  20. help
  21. This option allows to use a specific official versions
  22. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  23. bool "Custom tarball"
  24. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT
  25. bool "Custom Git repository"
  26. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG
  27. bool "Custom Mercurial repository"
  28. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  29. bool "Custom Subversion repository"
  30. endchoice
  31. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE
  32. string "U-Boot version"
  33. depends on BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  34. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL_LOCATION
  35. string "URL of custom U-Boot tarball"
  36. depends on BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  37. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT || BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG || BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  38. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_URL
  39. string "URL of custom repository"
  40. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_VERSION
  41. string "Custom repository version"
  42. help
  43. Revision to use in the typical format used by
  44. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  45. endif
  46. config BR2_TARGET_TI_K3_R5_LOADER_VERSION
  47. string
  48. default "2024.04" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
  49. default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE \
  50. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  51. default "custom" if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  52. default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_VERSION \
  53. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT || \
  54. BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG || \
  55. BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  56. choice
  57. prompt "U-Boot Configuration"
  58. default BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  59. config BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  60. bool "Using an in-tree board defconfig file"
  61. config BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG
  62. bool "Using a custom board (def)config file"
  63. endchoice
  64. config BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG
  65. string "Board defconfig"
  66. depends on BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  67. help
  68. Name of the board for which TI K3 R5 Loader should be
  69. built, without the _defconfig suffix.
  70. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
  71. string "Configuration file path"
  72. depends on BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG
  73. help
  74. Path to the TI K3 R5 Loader configuration file.
  75. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_DTS_PATH
  76. string "Device Tree Source file paths"
  77. help
  78. Space-separated list of paths to device tree source files
  79. that will be copied to arch/arm/dts/ before starting the
  80. build.
  81. To use this device tree source file, the U-Boot configuration
  82. file must refer to it.
  83. config BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN
  84. string "tiboot3.bin binary name"
  85. default "tiboot3.bin"
  86. help
  87. Name of the TI K3 tiboot3.bin binary to use.
  88. The tiboot3 binary name must match with the TI K3 SoC boot
  89. ROM:
  90. - General Purpose devices (gp)
  91. - High Security - Field Securable devices (hs-fs)
  92. - High Security - Security Enforcing devices (hs)
  93. Or if the tiboot3 binary generated use a custom name.
  94. If unsure, use the default tiboot3.bin (symlink) generated by
  95. binman.
  96. config BR2_TARGET_TI_K3_R5_LOADER_SYSFW_ITB
  97. string "sysfw.itb binary name"
  98. default "sysfw.itb"
  99. help
  100. Name of the TI K3 sysfw.itb binary to use (if any required).
  101. sysfw*.itb are only generated for Split binary based Boot
  102. Flow (eg: am65, j721e). This option is not used on other
  103. TI K3 devices.
  104. The sysfw binary name must match with the TI K3 SoC boot
  105. ROM:
  106. - General Purpose devices (gp)
  107. - High Security - Field Securable devices (hs-fs)
  108. - High Security - Security Enforcing devices (hs)
  109. Or if the sysfw binary generated use a custom name.
  110. If unsure, use the default sysfw.itb (symlink) generated by
  111. binman.
  112. endif