Config.in 4.5 KB

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