Config.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  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 "2020.07"
  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 "2020.07" 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_PYTHON
  115. bool
  116. choice
  117. bool "U-Boot needs host Python"
  118. config BR2_TARGET_UBOOT_NEEDS_PYTHON_NONE
  119. bool "no"
  120. depends on !BR2_TARGET_UBOOT_NEEDS_PYTHON
  121. help
  122. Select this option if U-Boot does not need any
  123. host python to build.
  124. config BR2_TARGET_UBOOT_NEEDS_PYTHON2
  125. bool "python 2.x"
  126. help
  127. Select this option if U-Boot needs a host Python 2.x
  128. interpreter. This is the case for some U-Boot
  129. configurations, prior to U-Boot 2020.01.
  130. config BR2_TARGET_UBOOT_NEEDS_PYTHON3
  131. bool "python 3.x"
  132. help
  133. Select this option if U-Boot needs a host Python 3.x
  134. interpreter. This is the case for some U-Boot
  135. configurations, after U-Boot 2020.01.
  136. endchoice
  137. config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
  138. bool "U-Boot needs pylibfdt"
  139. select BR2_TARGET_UBOOT_NEEDS_PYTHON
  140. help
  141. Select this option if your U-Boot board configuration
  142. requires the Python libfdt library to be available.
  143. config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS
  144. bool "U-Boot needs pyelftools"
  145. select BR2_TARGET_UBOOT_NEEDS_PYTHON
  146. help
  147. Select this option if your U-Boot board configuration
  148. requires the Python pyelftools library to be available.
  149. This is used by some rockchip SOCs for elf parsing.
  150. For example: rk3399 soc boards.
  151. config BR2_TARGET_UBOOT_NEEDS_OPENSSL
  152. bool "U-Boot needs OpenSSL"
  153. help
  154. Select this option if your U-Boot board configuration
  155. requires OpenSSL to be available on the host. This is
  156. typically the case when the board configuration has
  157. CONFIG_FIT_SIGNATURE enabled.
  158. config BR2_TARGET_UBOOT_NEEDS_LZOP
  159. bool "U-Boot needs lzop"
  160. help
  161. Select this option if your U-Boot board configuration
  162. requires lzop to be available on the host. This is typically
  163. the case when the board configuration has CONFIG_SPL_LZO
  164. enabled.
  165. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31
  166. bool "U-Boot needs ATF BL31"
  167. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
  168. depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33
  169. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31
  170. help
  171. Some specific platforms (such as Allwinner A64/H5)
  172. encapsulate the BL31 part of ATF inside U-Boot. This option
  173. makes sure ATF gets built prior to U-Boot, and that the BL31
  174. variable pointing to ATF's BL31 binary, is passed during the
  175. Buildroot build.
  176. choice
  177. prompt "U-Boot ATF BL31 format"
  178. default BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN
  179. depends on BR2_TARGET_UBOOT_NEEDS_ATF_BL31
  180. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN
  181. bool "bl31.bin"
  182. config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF
  183. bool "bl31.elf"
  184. endchoice
  185. menu "U-Boot binary format"
  186. config BR2_TARGET_UBOOT_FORMAT_AIS
  187. bool "u-boot.ais"
  188. help
  189. AIS (Application Image Script) is a format defined by TI.
  190. It is required to load code/data on OMAP-L1 processors.
  191. u-boot.ais contains U-Boot with the SPL support.
  192. config BR2_TARGET_UBOOT_FORMAT_BIN
  193. bool "u-boot.bin"
  194. default y
  195. config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
  196. bool "u-boot-dtb.bin"
  197. config BR2_TARGET_UBOOT_FORMAT_DTB_IMG
  198. bool "u-boot-dtb.img"
  199. config BR2_TARGET_UBOOT_FORMAT_DTB_IMX
  200. bool "u-boot-dtb.imx"
  201. config BR2_TARGET_UBOOT_FORMAT_IMG
  202. bool "u-boot.img"
  203. config BR2_TARGET_UBOOT_FORMAT_ITB
  204. bool "u-boot.itb"
  205. config BR2_TARGET_UBOOT_FORMAT_IMX
  206. bool "u-boot.imx"
  207. config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
  208. bool "u-boot-nand.bin"
  209. config BR2_TARGET_UBOOT_FORMAT_KWB
  210. bool "u-boot.kwb (Marvell)"
  211. depends on BR2_arm
  212. config BR2_TARGET_UBOOT_FORMAT_ELF
  213. bool "u-boot.elf"
  214. config BR2_TARGET_UBOOT_FORMAT_SB
  215. bool "u-boot.sb (Freescale i.MX28)"
  216. depends on BR2_arm
  217. config BR2_TARGET_UBOOT_FORMAT_SD
  218. bool "u-boot.sd (Freescale i.MX28)"
  219. depends on BR2_arm
  220. help
  221. This is Freescale i.MX28 SB format, with a header for booting
  222. from an SD card.
  223. U-Boot includes an mxsboot tool to generate this format,
  224. starting from 2011.12.
  225. See doc/README.mxs (or doc/README.mx28_common before 2013.07)
  226. config BR2_TARGET_UBOOT_FORMAT_NAND
  227. bool "u-boot.nand (Freescale i.MX28)"
  228. depends on BR2_arm
  229. help
  230. This is Freescale i.MX28 BootStream format (.sb), with a
  231. header for booting from a NAND flash.
  232. U-Boot includes an mxsboot tool to generate this format,
  233. starting from 2011.12.
  234. There are two possibilities when preparing an image writable
  235. to NAND flash:
  236. 1) The NAND was not written at all yet or the BCB (Boot
  237. Control Blocks) is broken. In this case, the NAND image
  238. 'u-boot.nand' needs to written.
  239. 2) The NAND flash was already written with a good BCB. This
  240. applies after 'u-boot.nand' was correctly written. There is no
  241. need to write the BCB again. In this case, the bootloader can
  242. be upgraded by writing 'u-boot.sb'.
  243. To satisfy both cases, the 'u-boot.nand' image obtained from
  244. mxsboot as well as the U-Boot make target 'u-boot.sb' are
  245. copied to the binaries directory.
  246. See doc/README.mxs (or doc/README.mx28_common before 2013.07)
  247. if BR2_TARGET_UBOOT_FORMAT_NAND
  248. config BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE
  249. int "NAND page size"
  250. default 2048
  251. help
  252. The NAND page size of the targets NAND flash in bytes as a
  253. decimal integer value.
  254. The value provided here is passed to the -w option of mxsboot.
  255. config BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE
  256. int "NAND OOB size"
  257. default 64
  258. help
  259. The NAND OOB size of the targets NAND flash in bytes as a
  260. decimal integer value.
  261. The value provided here is passed to the -o option of mxsboot.
  262. config BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE
  263. int "NAND erase size"
  264. default 131072
  265. help
  266. The NAND eraseblock size of the targets NAND flash in bytes as
  267. a decimal integer value.
  268. The value provided here is passed to the -e option of mxsboot.
  269. endif
  270. config BR2_TARGET_UBOOT_FORMAT_CUSTOM
  271. bool "Custom (specify below)"
  272. help
  273. On some platforms, the standard U-Boot binary is not called
  274. u-boot.bin, but u-boot<something>.bin. If this is your case,
  275. you should select this option and specify the correct name(s)
  276. in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME.
  277. config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME
  278. string "U-Boot binary format: custom names"
  279. depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM
  280. help
  281. In case the U-Boot binary for the target platform is not among
  282. the default names, one or more custom names can be listed
  283. here.
  284. Use space to separate multiple names.
  285. Example:
  286. u-boot_magic.bin
  287. endmenu
  288. config BR2_TARGET_UBOOT_OMAP_IFT
  289. bool "produce a .ift signed image (OMAP)"
  290. depends on BR2_TARGET_UBOOT_FORMAT_BIN
  291. depends on BR2_arm || BR2_armeb
  292. select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
  293. help
  294. Use gpsign to produce an image of u-boot.bin signed with
  295. a Configuration Header for booting on OMAP processors.
  296. This allows U-Boot to boot without the need for an
  297. intermediate bootloader (e.g. x-loader) if it is written
  298. on the first sector of the boot medium.
  299. This only works for some media, such as NAND. Check your
  300. chip documentation for details. You might also want to
  301. read the documentation of gpsign, the tool that generates
  302. the .ift image, at:
  303. https://github.com/nmenon/omap-u-boot-utils/blob/master/README
  304. if BR2_TARGET_UBOOT_OMAP_IFT
  305. config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
  306. string "gpsign Configuration Header config file"
  307. help
  308. The Configuration Header (CH) config file defines the
  309. desired content of the CH for the signed image.
  310. It usually contains external RAM settings and
  311. possibly other external devices initialization.
  312. The omap-u-boot-utils software contains example
  313. configuration files for some boards:
  314. https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
  315. endif
  316. config BR2_TARGET_UBOOT_SPL
  317. bool "Install U-Boot SPL binary image"
  318. depends on !BR2_TARGET_XLOADER
  319. help
  320. Install the U-Boot SPL binary image to the images
  321. directory.
  322. SPL is a first stage bootloader loaded into internal
  323. memory in charge of enabling and configuring the
  324. external memory (DDR), and load the u-boot program
  325. into DDR.
  326. config BR2_TARGET_UBOOT_SPL_NAME
  327. string "U-Boot SPL/TPL binary image name(s)"
  328. default "spl/u-boot-spl.bin"
  329. depends on BR2_TARGET_UBOOT_SPL
  330. help
  331. A space-separated list of SPL/TPL binaries, generated during
  332. u-boot build. For most platform SPL name is spl/u-boot-spl.bin
  333. and TPL name is tpl/u-boot-tpl.bin but not always. SPL name is
  334. MLO on OMAP and SPL on i.MX6 for example.
  335. config BR2_TARGET_UBOOT_ZYNQ_IMAGE
  336. bool "Generate image for Xilinx Zynq"
  337. depends on BR2_arm
  338. depends on BR2_TARGET_UBOOT_SPL
  339. depends on BR2_TARGET_UBOOT_FORMAT_DTB_IMG
  340. help
  341. Generate the BOOT.BIN file from U-Boot's SPL. The image
  342. boots the Xilinx Zynq chip without any FPGA bitstream.
  343. A bitstream can be loaded by the U-Boot. The SPL searchs
  344. for u-boot-dtb.img file so this U-Boot format is required
  345. to be set.
  346. config BR2_TARGET_UBOOT_ZYNQMP
  347. bool "Boot on the Xilinx ZynqMP SoCs"
  348. depends on BR2_aarch64
  349. help
  350. Enable options specific to the Xilinx ZynqMP family of SoCs.
  351. if BR2_TARGET_UBOOT_ZYNQMP
  352. config BR2_TARGET_UBOOT_ZYNQMP_PMUFW
  353. string "PMU firmware location"
  354. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  355. help
  356. Location of a PMU firmware binary.
  357. If not empty, instructs the U-Boot build process to generate
  358. a boot.bin (to be loaded by the ZynqMP boot ROM) containing
  359. both the U-Boot SPL and the PMU firmware in the
  360. Xilinx-specific boot format.
  361. The value can be an absolute or relative path, and will be
  362. used directly from where it is located, or an URI
  363. (e.g. http://...), and it will be downloaded and used from
  364. the download directory.
  365. If empty, the generated boot.bin will not contain a PMU
  366. firmware.
  367. This feature requires U-Boot >= 2018.07.
  368. config BR2_TARGET_UBOOT_ZYNQMP_PM_CFG
  369. string "PMU configuration location"
  370. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  371. help
  372. Location of a PMU configuration file.
  373. If not empty, Buildroot will convert the PMU configuration
  374. file into a loadable blob and pass it to U-Boot. The blob gets
  375. embedded into the U-Boot SPL and is used to configure the PMU
  376. during board initialization.
  377. Unlike the PMU firmware, the PMU configuration file is unique
  378. to each board configuration. A PMU configuration file can be
  379. generated by building your Xilinx SDK BSP. It can be found in
  380. the BSP source, for example at
  381. ./psu_cortexa53_0/libsrc/xilpm_v2_4/src/pm_cfg_obj.c
  382. Leave this option empty if your PMU firmware has a hard-coded
  383. configuration object or you are loading it by any other means.
  384. This feature requires U-Boot >= v2019.10.
  385. config BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE
  386. string "Custom psu_init_gpl file"
  387. depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  388. help
  389. On ZynqMP the booloader is responsible for some basic
  390. initializations, such as enabling peripherals and
  391. configuring pinmuxes. The psu_init_gpl.c file (and,
  392. optionally, psu_init_gpl.h) contains the code for such
  393. initializations.
  394. Although U-Boot contains psu_init_gpl.c files for some
  395. boards, each of them describes only one specific
  396. configuration. Users of a different board, or needing a
  397. different configuration, can generate custom files using the
  398. Xilinx development tools.
  399. Set this variable to the path to your psu_init_gpl.c file
  400. (e.g. "board/myboard/psu_init_gpl.c"). psu_init_gpl.h, if
  401. needed, should be in the same directory. U-Boot will build
  402. and link the user-provided file instead of the built-in one.
  403. Leave empty to use the files provided by U-Boot.
  404. This feature requires commit
  405. 6da4f67ad09cd8b311d77b2b04e557b7ef65b56c from upstream
  406. U-Boot, available from versions after 2018.07.
  407. endif
  408. config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC
  409. bool "CRC image for Altera SoC FPGA (mkpimage)"
  410. depends on BR2_arm
  411. depends on BR2_TARGET_UBOOT_SPL || BR2_TARGET_UBOOT_FORMAT_DTB_BIN
  412. help
  413. Pass the U-Boot image through the mkpimage tool to enable
  414. booting on the Altera SoC FPGA based platforms.
  415. On some platforms, it's the SPL that needs to be passed
  416. through mkpimage. On some other platforms there is no SPL
  417. because the internal SRAM is big enough to store the full
  418. U-Boot. In this case, it's directly the full U-Boot image
  419. that is passed through mkpimage.
  420. If BR2_TARGET_UBOOT_SPL is enabled then
  421. BR2_TARGET_UBOOT_SPL_NAME is converted by mkpimage using
  422. header version 0.
  423. Otherwise the full u-boot-dtb.bin is converted using
  424. mkpimage header version 1.
  425. In either case the resulting file will be given a .crc
  426. extension.
  427. menuconfig BR2_TARGET_UBOOT_ENVIMAGE
  428. bool "Environment image"
  429. help
  430. Generate a valid binary environment image from a text file
  431. describing the key=value pairs of the environment.
  432. The environment image will be called uboot-env.bin.
  433. if BR2_TARGET_UBOOT_ENVIMAGE
  434. config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
  435. string "Source files for environment"
  436. help
  437. Text files describing the environment. Files should have
  438. lines of the form var=value, one per line. Blank lines and
  439. lines starting with a # are ignored.
  440. Multiple source files are concatenated in the order listed.
  441. Leave empty to generate image from compiled-in env.
  442. config BR2_TARGET_UBOOT_ENVIMAGE_SIZE
  443. string "Size of environment"
  444. help
  445. Size of envronment, can be prefixed with 0x for hexadecimal
  446. values.
  447. config BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT
  448. bool "Environment has two copies"
  449. help
  450. Some platforms define in their U-Boot configuration that the
  451. U-Boot environment should be duplicated in two locations (for
  452. extra safety). Check your U-Boot configuration for the
  453. CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND settings to
  454. see if this is the case for your platform.
  455. If it is the case, then you should enable this option to
  456. ensure that the U-Boot environment image generated by
  457. Buildroot is compatible with the "redundant environment"
  458. mechanism of U-Boot.
  459. endif # BR2_TARGET_UBOOT_ENVIMAGE
  460. config BR2_TARGET_UBOOT_BOOT_SCRIPT
  461. bool "Generate a U-Boot boot script"
  462. help
  463. Generate a U-Boot boot script, given a file listing U-Boot
  464. commands to be executed at boot time. The generated boot
  465. script will be called 'boot.scr'.
  466. if BR2_TARGET_UBOOT_BOOT_SCRIPT
  467. config BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE
  468. string "U-Boot boot script source"
  469. help
  470. Source file to generate the U-Boot boot script.
  471. endif
  472. if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
  473. config BR2_TARGET_UBOOT_CUSTOM_DTS_PATH
  474. string "Device Tree Source file paths"
  475. help
  476. Space-separated list of paths to device tree source files
  477. that will be copied to arch/ARCH/dts/ before starting the
  478. build.
  479. To use this device tree source file, the U-Boot configuration
  480. file must refer to it.
  481. endif
  482. config BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS
  483. string "Custom make options"
  484. help
  485. List of custom make options passed at build time. Can be
  486. used for example to pass a DEVICE_TREE= value.
  487. endif # BR2_TARGET_UBOOT