Config.in 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. config BR2_TARGET_UBOOT
  2. bool "U-Boot"
  3. help
  4. Build "Das U-Boot" Boot Monitor
  5. if BR2_TARGET_UBOOT
  6. config BR2_TARGET_UBOOT_BOARDNAME
  7. string "U-Boot board name"
  8. help
  9. One of U-Boot supported boards to be built.
  10. This will be suffixed with _config to meet U-Boot standard naming.
  11. choice
  12. prompt "U-Boot Version"
  13. default BR2_TARGET_UBOOT_2012_04
  14. help
  15. Select the specific U-Boot version you want to use
  16. config BR2_TARGET_UBOOT_2012_04
  17. bool "2012.04.01"
  18. config BR2_TARGET_UBOOT_2011_12
  19. bool "2011.12"
  20. config BR2_TARGET_UBOOT_2011_09
  21. bool "2011.09"
  22. config BR2_TARGET_UBOOT_2011_06
  23. bool "2011.06"
  24. depends on BR2_DEPRECATED
  25. config BR2_TARGET_UBOOT_2011_03
  26. bool "2011.03"
  27. depends on BR2_DEPRECATED
  28. config BR2_TARGET_UBOOT_CUSTOM_TARBALL
  29. bool "Custom tarball"
  30. config BR2_TARGET_UBOOT_CUSTOM_GIT
  31. bool "Custom Git repository"
  32. endchoice
  33. if BR2_TARGET_UBOOT_CUSTOM_TARBALL
  34. config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
  35. string "URL of custom U-Boot tarball"
  36. endif
  37. config BR2_TARGET_UBOOT_VERSION
  38. string
  39. default "2012.04.01" if BR2_TARGET_UBOOT_2012_04
  40. default "2011.12" if BR2_TARGET_UBOOT_2011_12
  41. default "2011.09" if BR2_TARGET_UBOOT_2011_09
  42. default "2011.06" if BR2_TARGET_UBOOT_2011_06
  43. default "2011.03" if BR2_TARGET_UBOOT_2011_03
  44. default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
  45. default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
  46. config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
  47. string "custom patch dir"
  48. help
  49. If your board requires custom patches, add the path to the
  50. directory containing the patches here. The patches must be
  51. named uboot-<version>-<something>.patch.
  52. Most users may leave this empty
  53. if BR2_TARGET_UBOOT_CUSTOM_GIT
  54. config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
  55. string "URL of custom Git repository"
  56. config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
  57. string "Custom Git version"
  58. endif
  59. choice
  60. prompt "U-Boot binary format"
  61. config BR2_TARGET_UBOOT_FORMAT_BIN
  62. bool "u-boot.bin"
  63. config BR2_TARGET_UBOOT_FORMAT_IMG
  64. bool "u-boot.img"
  65. config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
  66. bool "u-boot-nand.bin"
  67. config BR2_TARGET_UBOOT_FORMAT_KWB
  68. depends on BR2_arm
  69. bool "u-boot.kwb (Marvell)"
  70. config BR2_TARGET_UBOOT_FORMAT_LDR
  71. depends on BR2_bfin
  72. bool "u-boot.ldr"
  73. endchoice
  74. config BR2_TARGET_UBOOT_OMAP_IFT
  75. depends on BR2_TARGET_UBOOT_FORMAT_BIN
  76. depends on BR2_arm || BR2_armeb
  77. select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
  78. bool "produce a .ift signed image (OMAP)"
  79. help
  80. Use gpsign to produce an image of u-boot.bin signed with
  81. a Configuration Header for booting on OMAP processors.
  82. This allows U-Boot to boot without the need for an
  83. intermediate bootloader (e.g. x-loader) if it is written
  84. on the first sector of the boot medium.
  85. This only works for some media, such as NAND. Check your
  86. chip documentation for details. You might also want to
  87. read the documentation of gpsign, the tool that generates
  88. the .ift image, at:
  89. https://github.com/nmenon/omap-u-boot-utils/blob/master/README
  90. if BR2_TARGET_UBOOT_OMAP_IFT
  91. config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
  92. string "gpsign Configuration Header config file"
  93. help
  94. The Configuration Header (CH) config file defines the
  95. desired content of the CH for the signed image.
  96. It usually contains external RAM settings and
  97. possibly other external devices initialization.
  98. The omap-u-boot-utils software contains example
  99. configuration files for some boards:
  100. https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
  101. endif
  102. menuconfig BR2_TARGET_UBOOT_NETWORK
  103. bool "Custom Network Settings"
  104. help
  105. Custom network settings for U-boot
  106. if BR2_TARGET_UBOOT_NETWORK
  107. config BR2_TARGET_UBOOT_SERVERIP
  108. string "server ip"
  109. default "10.175.196.221"
  110. help
  111. TFTP server ip address
  112. config BR2_TARGET_UBOOT_IPADDR
  113. string "ip address"
  114. default "10.175.196.18"
  115. help
  116. Target ip address
  117. config BR2_TARGET_UBOOT_GATEWAY
  118. string "gateway ip"
  119. default "10.175.196.1"
  120. help
  121. Gateway ip address
  122. config BR2_TARGET_UBOOT_NETMASK
  123. string "netmask"
  124. default "255.255.255.0"
  125. help
  126. Network Mask
  127. config BR2_TARGET_UBOOT_ETHADDR
  128. string "ethernet address"
  129. default "04:25:fe:ed:00:18"
  130. help
  131. Target MAC address for the ethernet interface.
  132. This should be changed for production units
  133. config BR2_TARGET_UBOOT_ETH1ADDR
  134. string "ethernet 2 address"
  135. help
  136. Target MAC address for the second ethernet interface.
  137. endif # BR2_TARGET_UBOOT_NETWORK
  138. config BR2_TARGET_UBOOT_SPL
  139. bool "U-Boot SPL support"
  140. depends on !BR2_TARGET_XLOADER
  141. help
  142. Enable the U-Boot SPL support. SPL is a first stage
  143. bootloader loaded into internal memory in charge of
  144. enabling and configuring the external memory (DDR),
  145. and load the u-boot program into DDR.
  146. config BR2_TARGET_UBOOT_SPL_NAME
  147. string "U-Boot SPL target name"
  148. default "u-boot-spl.bin"
  149. depends on BR2_TARGET_UBOOT_SPL
  150. help
  151. This is the name of the SPL binary, generated during
  152. u-boot build. For most platform it is u-boot-spl.bin
  153. but not always. It is MLO on OMAP for example.
  154. endif # BR2_TARGET_UBOOT