Config.in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  1. config BR2_TARGET_UBOOT
  2. bool "U-Boot"
  3. help
  4. Build "Das U-Boot" Boot Monitor
  5. https://www.denx.de/wiki/U-Boot
  6. if BR2_TARGET_UBOOT
  7. choice
  8. prompt "Build system"
  9. default BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG if BR2_TARGET_UBOOT_LATEST_VERSION
  10. default BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
  11. config BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  12. bool "Kconfig"
  13. help
  14. Select this option if you use a recent U-Boot version (2015.04
  15. or newer), so that we use the Kconfig build system.
  16. config BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
  17. bool "Legacy"
  18. help
  19. Select this option if you use an old U-Boot (older than
  20. 2015.04), so that we use the old build system.
  21. endchoice
  22. if BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
  23. config BR2_TARGET_UBOOT_BOARDNAME
  24. string "U-Boot board name"
  25. help
  26. One of U-Boot supported boards to be built.
  27. This will be suffixed with _config to meet U-Boot standard
  28. naming. See boards.cfg in U-Boot source code for the list of
  29. available configurations.
  30. endif
  31. choice
  32. prompt "U-Boot Version"
  33. help
  34. Select the specific U-Boot version you want to use
  35. config BR2_TARGET_UBOOT_LATEST_VERSION
  36. bool "2024.01"
  37. config BR2_TARGET_UBOOT_CUSTOM_VERSION
  38. bool "Custom version"
  39. help
  40. This option allows to use a specific official versions
  41. config BR2_TARGET_UBOOT_CUSTOM_TARBALL
  42. bool "Custom tarball"
  43. config BR2_TARGET_UBOOT_CUSTOM_GIT
  44. bool "Custom Git repository"
  45. config BR2_TARGET_UBOOT_CUSTOM_HG
  46. bool "Custom Mercurial repository"
  47. config BR2_TARGET_UBOOT_CUSTOM_SVN
  48. bool "Custom Subversion repository"
  49. endchoice
  50. config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
  51. string "U-Boot version"
  52. depends on BR2_TARGET_UBOOT_CUSTOM_VERSION
  53. config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
  54. string "URL of custom U-Boot tarball"
  55. depends on BR2_TARGET_UBOOT_CUSTOM_TARBALL
  56. if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN
  57. config BR2_TARGET_UBOOT_CUSTOM_REPO_URL
  58. string "URL of custom repository"
  59. config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION
  60. string "Custom repository version"
  61. help
  62. Revision to use in the typical format used by
  63. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  64. endif
  65. config BR2_TARGET_UBOOT_VERSION
  66. string
  67. default "2024.01" if BR2_TARGET_UBOOT_LATEST_VERSION
  68. default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
  69. if BR2_TARGET_UBOOT_CUSTOM_VERSION
  70. default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
  71. default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
  72. if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN
  73. config BR2_TARGET_UBOOT_PATCH
  74. string "Custom U-Boot patches"
  75. default BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" # legacy
  76. help
  77. A space-separated list of patches to apply to U-Boot.
  78. Each patch can be described as an URL, a local file path,
  79. or a directory. In the case of a directory, all files
  80. matching *.patch in the directory will be applied.
  81. Most users may leave this empty
  82. if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  83. choice
  84. prompt "U-Boot configuration"
  85. default BR2_TARGET_UBOOT_USE_DEFCONFIG
  86. config BR2_TARGET_UBOOT_USE_DEFCONFIG
  87. bool "Using an in-tree board defconfig file"
  88. config BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG
  89. bool "Using a custom board (def)config file"
  90. endchoice
  91. config BR2_TARGET_UBOOT_BOARD_DEFCONFIG
  92. string "Board defconfig"
  93. depends on BR2_TARGET_UBOOT_USE_DEFCONFIG
  94. help
  95. Name of the board for which U-Boot should be built, without
  96. the _defconfig suffix.
  97. config BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE
  98. string "Configuration file path"
  99. depends on BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG
  100. help
  101. Path to the U-Boot configuration file.
  102. config BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES
  103. string "Additional configuration fragment files"
  104. help
  105. A space-separated list of configuration fragment files,
  106. that will be merged to the main U-Boot configuration file.
  107. endif
  108. config BR2_TARGET_UBOOT_NEEDS_DTC
  109. bool "U-Boot needs dtc"
  110. select BR2_PACKAGE_HOST_DTC
  111. help
  112. Select this option if your U-Boot board configuration
  113. requires the Device Tree compiler to be available.
  114. config BR2_TARGET_UBOOT_NEEDS_PYTHON3
  115. bool "U-Boot needs host python 3.x"
  116. help
  117. Select this option if U-Boot needs a host Python 3.x
  118. interpreter. This is the case for some U-Boot
  119. configurations, after U-Boot 2020.01.
  120. config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
  121. bool "U-Boot needs pylibfdt"
  122. select BR2_TARGET_UBOOT_NEEDS_PYTHON3
  123. help
  124. Select this option if your U-Boot board configuration
  125. requires the Python libfdt library to be available.
  126. config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS
  127. bool "U-Boot needs pyelftools"
  128. select BR2_TARGET_UBOOT_NEEDS_PYTHON3
  129. help
  130. Select this option if your U-Boot board configuration
  131. requires the Python pyelftools library to be available.
  132. This is used by some rockchip SOCs for elf parsing.
  133. For example: rk3399 soc boards.
  134. config BR2_TARGET_UBOOT_NEEDS_OPENSSL
  135. bool "U-Boot needs OpenSSL"
  136. help
  137. Select this option if your U-Boot board configuration
  138. requires OpenSSL to be available on the host. This is
  139. typically the case when the board configuration has
  140. CONFIG_FIT_SIGNATURE enabled.
  141. config BR2_TARGET_UBOOT_NEEDS_LZOP
  142. bool "U-Boot needs lzop"
  143. help
  144. Select this option if your U-Boot board configuration
  145. requires lzop to be available on the host. This is typically
  146. the case when the board configuration has CONFIG_SPL_LZO
  147. enabled.
  148. config BR2_TARGET_UBOOT_NEEDS_GNUTLS
  149. bool "U-Boot needs gnutls"
  150. help
  151. Select this option if your U-Boot board configuration
  152. requires gnutls to be available on the host. This is
  153. typically the case when the board configuration has
  154. CONFIG_TOOLS_MKEFICAPSULE enabled.
  155. config BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX
  156. bool "U-Boot needs util-linux"
  157. help
  158. Select this option if your U-Boot board configuration
  159. requires util-linux (-luuid) to be available on the host.
  160. This is typically the case when the board configuration
  161. has CONFIG_TOOLS_MKEFICAPSULE enabled.
  162. config BR2_TARGET_UBOOT_NEEDS_XXD
  163. bool "U-Boot needs xxd"
  164. help
  165. Select this option if your U-Boot board configuration
  166. requires xxd to be available on the host. This is
  167. typically the case when the board configuration has
  168. CONFIG_USE_DEFAULT_ENV_FILE enabled.
  169. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31
  170. bool "U-Boot needs ATF BL31"
  171. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
  172. depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33
  173. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  174. help
  175. Some specific platforms (such as Allwinner A64/H5)
  176. encapsulate the BL31 part of ATF inside U-Boot. This option
  177. makes sure ATF gets built prior to U-Boot, and that the BL31
  178. variable pointing to ATF's BL31 binary, is passed during the
  179. Buildroot build.
  180. choice
  181. prompt "U-Boot ATF BL31 format"
  182. default BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN
  183. depends on BR2_TARGET_UBOOT_NEEDS_ATF_BL31
  184. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN
  185. bool "bl31.bin"
  186. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF
  187. bool "bl31.elf"
  188. endchoice
  189. config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE
  190. bool "U-Boot needs OPTEE TEE"
  191. depends on BR2_TARGET_OPTEE_OS_CORE
  192. help
  193. Some platforms (such as Rockchip) encapsulate the TEE inside
  194. U-Boot. This option makes sure optee-os gets built prior to
  195. U-Boot, and that the TEE variable pointing to OPTEE's
  196. tee.elf, is passed during the Buildroot build.
  197. config BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE
  198. bool "U-Boot needs ti-k3-boot-firmware"
  199. depends on BR2_TARGET_TI_K3_BOOT_FIRMWARE
  200. help
  201. TI K3 devices needs at least ti-sysfw (System Firmware) when
  202. built with u-boot's binman tool.
  203. Some TI K3 devices using a split firmware boot flow (AM62,
  204. j721e) also need the Device Manager (DM) firmware to be
  205. available for the U-Boot build.
  206. config BR2_TARGET_UBOOT_NEEDS_OPENSBI
  207. bool "U-Boot needs OpenSBI"
  208. depends on BR2_TARGET_OPENSBI
  209. help
  210. Some RISC-V platforms (such as SiFive HiFive Unleashed)
  211. encapsulate the OpenSBI firmware image inside U-Boot.
  212. This option makes sure OpenSBI gets built prior to U-Boot,
  213. and that the OpenSBI variable pointing to OpenSBI binary,
  214. is passed during the Buildroot build.
  215. config BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE
  216. bool "U-Boot needs firmware-imx"
  217. depends on BR2_PACKAGE_FIRMWARE_IMX
  218. depends on BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW || \
  219. BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW
  220. help
  221. Some i.MX8 platforms (such as i.MX8 M, i.MX 8M Mini, i.MX 8M
  222. Nano) encapsulate NXP specific firmware (DDR, HDMI) inside
  223. U-Boot.
  224. This option makes sure that the i.MX firmwares are copied into
  225. the U-Boot source directory.
  226. config BR2_TARGET_UBOOT_NEEDS_ROCKCHIP_RKBIN
  227. bool "U-Boot needs rockchip-rkbin"
  228. depends on BR2_PACKAGE_ROCKCHIP_RKBIN
  229. help
  230. For some Rockchip SoCs U-Boot needs binary blobs from
  231. Rockchip.
  232. This option makes sure that the needed binary blobs are copied
  233. into the U-Boot source directory.
  234. config BR2_TARGET_UBOOT_USE_BINMAN
  235. bool "U-Boot use binman"
  236. depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py -> python-jsonschema
  237. select BR2_TARGET_UBOOT_NEEDS_PYTHON3
  238. select BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS
  239. select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
  240. help
  241. Use binman tool for generation and signing of boot images.
  242. https://docs.u-boot.org/en/v2024.01/develop/package/binman.html
  243. menu "U-Boot binary format"
  244. config BR2_TARGET_UBOOT_FORMAT_AIS
  245. bool "u-boot.ais"
  246. help
  247. AIS (Application Image Script) is a format defined by TI.
  248. It is required to load code/data on OMAP-L1 processors.
  249. u-boot.ais contains U-Boot with the SPL support.
  250. config BR2_TARGET_UBOOT_FORMAT_BIN
  251. bool "u-boot.bin"
  252. default y
  253. config BR2_TARGET_UBOOT_FORMAT_DTB
  254. bool "u-boot.dtb"
  255. config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
  256. bool "u-boot-dtb.bin"
  257. config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
  258. bool "u-boot-nand.bin"
  259. config BR2_TARGET_UBOOT_FORMAT_ELF
  260. bool "u-boot"
  261. help
  262. Install the u-boot image, which is directly the ELF binary
  263. for the main U-Boot, potentially with debugging symbols.
  264. config BR2_TARGET_UBOOT_FORMAT_REMAKE_ELF
  265. bool "u-boot.elf"
  266. help
  267. Install the u-boot.elf image, which is produced when
  268. CONFIG_REMAKE_ELF=y. It is an ELF image (u-boot.elf)
  269. produced from the raw U-Boot binary (u-boot.bin), which may
  270. already have been statically relocated and may already have
  271. a device-tree appended to it.
  272. config BR2_TARGET_UBOOT_FORMAT_IMG
  273. bool "u-boot.img"
  274. config BR2_TARGET_UBOOT_FORMAT_DTB_IMG
  275. bool "u-boot-dtb.img"
  276. config BR2_TARGET_UBOOT_FORMAT_IMX
  277. bool "u-boot.imx"
  278. config BR2_TARGET_UBOOT_FORMAT_DTB_IMX
  279. bool "u-boot-dtb.imx"
  280. config BR2_TARGET_UBOOT_FORMAT_ITB
  281. bool "u-boot.itb"
  282. config BR2_TARGET_UBOOT_FORMAT_KWB
  283. bool "u-boot.kwb (Marvell)"
  284. depends on BR2_arm
  285. config BR2_TARGET_UBOOT_FORMAT_NAND
  286. bool "u-boot.nand (Freescale i.MX28)"
  287. depends on BR2_arm
  288. help
  289. This is Freescale i.MX28 BootStream format (.sb), with a
  290. header for booting from a NAND flash.
  291. U-Boot includes an mxsboot tool to generate this format,
  292. starting from 2011.12.
  293. There are two possibilities when preparing an image writable
  294. to NAND flash:
  295. 1) The NAND was not written at all yet or the BCB (Boot
  296. Control Blocks) is broken. In this case, the NAND image
  297. 'u-boot.nand' needs to written.
  298. 2) The NAND flash was already written with a good BCB. This
  299. applies after 'u-boot.nand' was correctly written. There is no
  300. need to write the BCB again. In this case, the bootloader can
  301. be upgraded by writing 'u-boot.sb'.
  302. To satisfy both cases, the 'u-boot.nand' image obtained from
  303. mxsboot as well as the U-Boot make target 'u-boot.sb' are
  304. copied to the binaries directory.
  305. See doc/README.mxs (or doc/README.mx28_common before 2013.07)
  306. if BR2_TARGET_UBOOT_FORMAT_NAND
  307. config BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE
  308. int "NAND page size"
  309. default 2048
  310. help
  311. The NAND page size of the targets NAND flash in bytes as a
  312. decimal integer value.
  313. The value provided here is passed to the -w option of mxsboot.
  314. config BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE
  315. int "NAND OOB size"
  316. default 64
  317. help
  318. The NAND OOB size of the targets NAND flash in bytes as a
  319. decimal integer value.
  320. The value provided here is passed to the -o option of mxsboot.
  321. config BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE
  322. int "NAND erase size"
  323. default 131072
  324. help
  325. The NAND eraseblock size of the targets NAND flash in bytes as
  326. a decimal integer value.
  327. The value provided here is passed to the -e option of mxsboot.
  328. endif
  329. config BR2_TARGET_UBOOT_FORMAT_SB
  330. bool "u-boot.sb (Freescale i.MX28)"
  331. depends on BR2_arm
  332. config BR2_TARGET_UBOOT_FORMAT_SD
  333. bool "u-boot.sd (Freescale i.MX28)"
  334. depends on BR2_arm
  335. help
  336. This is Freescale i.MX28 SB format, with a header for booting
  337. from an SD card.
  338. U-Boot includes an mxsboot tool to generate this format,
  339. starting from 2011.12.
  340. See doc/README.mxs (or doc/README.mx28_common before 2013.07)
  341. config BR2_TARGET_UBOOT_FORMAT_STM32
  342. bool "u-boot.stm32"
  343. depends on BR2_arm
  344. if BR2_TARGET_UBOOT_FORMAT_STM32
  345. config BR2_TARGET_UBOOT_BUILD_FORMAT_STM32_LEGACY
  346. bool "Legacy build (u-boot.stm32 target)"
  347. help
  348. Select this option if you use U-Boot with version older than
  349. 2022.01), so that we use the old build target. Otherwise,
  350. binman application is called to create the stm32 binary
  351. format.
  352. endif
  353. config BR2_TARGET_UBOOT_FORMAT_CUSTOM
  354. bool "Custom (specify below)"
  355. help
  356. On some platforms, the standard U-Boot binary is not called
  357. u-boot.bin, but u-boot<something>.bin. If this is your case,
  358. you should select this option and specify the correct name(s)
  359. in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME.
  360. config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME
  361. string "U-Boot binary format: custom names"
  362. depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM
  363. help
  364. In case the U-Boot binary for the target platform is not among
  365. the default names, one or more custom names can be listed
  366. here.
  367. Use space to separate multiple names.
  368. Example:
  369. u-boot_magic.bin
  370. endmenu
  371. config BR2_TARGET_UBOOT_OMAP_IFT
  372. bool "produce a .ift signed image (OMAP)"
  373. depends on BR2_TARGET_UBOOT_FORMAT_BIN
  374. depends on BR2_arm || BR2_armeb
  375. select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
  376. help
  377. Use gpsign to produce an image of u-boot.bin signed with
  378. a Configuration Header for booting on OMAP processors.
  379. This allows U-Boot to boot without the need for an
  380. intermediate bootloader (e.g. x-loader) if it is written
  381. on the first sector of the boot medium.
  382. This only works for some media, such as NAND. Check your
  383. chip documentation for details. You might also want to
  384. read the documentation of gpsign, the tool that generates
  385. the .ift image, at:
  386. https://github.com/nmenon/omap-u-boot-utils/blob/master/README
  387. if BR2_TARGET_UBOOT_OMAP_IFT
  388. config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
  389. string "gpsign Configuration Header config file"
  390. help
  391. The Configuration Header (CH) config file defines the
  392. desired content of the CH for the signed image.
  393. It usually contains external RAM settings and
  394. possibly other external devices initialization.
  395. The omap-u-boot-utils software contains example
  396. configuration files for some boards:
  397. https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
  398. endif
  399. config BR2_TARGET_UBOOT_SPL
  400. bool "Install U-Boot SPL binary image"
  401. help
  402. Install the U-Boot SPL binary image to the images
  403. directory.
  404. SPL is a first stage bootloader loaded into internal
  405. memory in charge of enabling and configuring the
  406. external memory (DDR), and load the u-boot program
  407. into DDR.
  408. config BR2_TARGET_UBOOT_SPL_NAME
  409. string "U-Boot SPL/TPL binary image name(s)"
  410. default "spl/u-boot-spl.bin"
  411. depends on BR2_TARGET_UBOOT_SPL
  412. help
  413. A space-separated list of SPL/TPL binaries, generated during
  414. u-boot build. For most platform SPL name is spl/u-boot-spl.bin
  415. and TPL name is tpl/u-boot-tpl.bin but not always. SPL name is
  416. MLO on OMAP and SPL on i.MX6 for example.
  417. config BR2_TARGET_UBOOT_INITIAL_ENV
  418. bool "Install u-boot-initial-env"
  419. help
  420. Install the U-Boot u-boot-initial-env on the target.
  421. This file is typically required by libubootenv.
  422. config BR2_TARGET_UBOOT_ZYNQMP
  423. bool "Boot on the Xilinx ZynqMP SoCs"
  424. depends on BR2_aarch64
  425. help
  426. Enable options specific to the Xilinx ZynqMP family of SoCs.
  427. if BR2_TARGET_UBOOT_ZYNQMP
  428. config BR2_TARGET_UBOOT_ZYNQMP_PMUFW
  429. string "PMU firmware location"
  430. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  431. help
  432. Location of a PMU firmware binary.
  433. If not empty, instructs the U-Boot build process to generate
  434. a boot.bin (to be loaded by the ZynqMP boot ROM) containing
  435. both the U-Boot SPL and the PMU firmware in the
  436. Xilinx-specific boot format.
  437. The value can be an absolute or relative path, and will be
  438. used directly from where it is located, or an URI
  439. (e.g. http://...), and it will be downloaded and used from
  440. the download directory.
  441. The PMU firmware binary can be either in ELF or BIN format.
  442. If empty, the generated boot.bin will not contain a PMU
  443. firmware.
  444. This feature requires U-Boot >= 2018.07.
  445. config BR2_TARGET_UBOOT_ZYNQMP_PM_CFG
  446. string "PMU configuration location"
  447. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  448. help
  449. Location of a PMU configuration file.
  450. If not empty, Buildroot will convert the PMU configuration
  451. file into a loadable blob and pass it to U-Boot. The blob gets
  452. embedded into the U-Boot SPL and is used to configure the PMU
  453. during board initialization.
  454. Unlike the PMU firmware, the PMU configuration file is unique
  455. to each board configuration. A PMU configuration file can be
  456. generated by building your Xilinx SDK BSP. It can be found in
  457. the BSP source, for example at
  458. ./psu_cortexa53_0/libsrc/xilpm_v2_4/src/pm_cfg_obj.c
  459. Leave this option empty if your PMU firmware has a hard-coded
  460. configuration object or you are loading it by any other means.
  461. This feature requires U-Boot >= v2019.10.
  462. config BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE
  463. string "Custom psu_init_gpl file"
  464. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  465. help
  466. On ZynqMP the booloader is responsible for some basic
  467. initializations, such as enabling peripherals and
  468. configuring pinmuxes. The psu_init_gpl.c file (and,
  469. optionally, psu_init_gpl.h) contains the code for such
  470. initializations.
  471. Although U-Boot contains psu_init_gpl.c files for some
  472. boards, each of them describes only one specific
  473. configuration. Users of a different board, or needing a
  474. different configuration, can generate custom files using the
  475. Xilinx development tools.
  476. Set this variable to the path to your psu_init_gpl.c file
  477. (e.g. "board/myboard/psu_init_gpl.c"). psu_init_gpl.h, if
  478. needed, should be in the same directory. U-Boot will build
  479. and link the user-provided file instead of the built-in one.
  480. Leave empty to use the files provided by U-Boot.
  481. This feature requires commit
  482. 6da4f67ad09cd8b311d77b2b04e557b7ef65b56c from upstream
  483. U-Boot, available from versions after 2018.07.
  484. endif
  485. config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC
  486. bool "CRC image for Altera SoC FPGA (mkpimage)"
  487. depends on BR2_arm
  488. depends on BR2_TARGET_UBOOT_SPL || BR2_TARGET_UBOOT_FORMAT_DTB_BIN
  489. help
  490. Pass the U-Boot image through the mkpimage tool to enable
  491. booting on the Altera SoC FPGA based platforms.
  492. On some platforms, it's the SPL that needs to be passed
  493. through mkpimage. On some other platforms there is no SPL
  494. because the internal SRAM is big enough to store the full
  495. U-Boot. In this case, it's directly the full U-Boot image
  496. that is passed through mkpimage.
  497. If BR2_TARGET_UBOOT_SPL is enabled then
  498. BR2_TARGET_UBOOT_SPL_NAME is converted by mkpimage using
  499. header version 0.
  500. Otherwise the full u-boot-dtb.bin is converted using
  501. mkpimage header version 1.
  502. In either case the resulting file will be given a .crc
  503. extension.
  504. if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  505. config BR2_TARGET_UBOOT_CUSTOM_DTS_PATH
  506. string "Device Tree Source file paths"
  507. help
  508. Space-separated list of paths to device tree source files
  509. that will be copied to arch/ARCH/dts/ before starting the
  510. build.
  511. To use this device tree source file, the U-Boot configuration
  512. file must refer to it.
  513. endif
  514. config BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS
  515. string "Custom make options"
  516. help
  517. List of custom make options passed at build time. Can be
  518. used for example to pass a DEVICE_TREE= value.
  519. endif # BR2_TARGET_UBOOT