Config.in 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. See boards.cfg in U-Boot source code for the list of available
  12. configurations.
  13. choice
  14. prompt "U-Boot Version"
  15. help
  16. Select the specific U-Boot version you want to use
  17. config BR2_TARGET_UBOOT_LATEST_VERSION
  18. bool "2013.07"
  19. config BR2_TARGET_UBOOT_CUSTOM_VERSION
  20. bool "Custom version"
  21. help
  22. This option allows to use a specific official versions
  23. config BR2_TARGET_UBOOT_CUSTOM_TARBALL
  24. bool "Custom tarball"
  25. config BR2_TARGET_UBOOT_CUSTOM_GIT
  26. bool "Custom Git repository"
  27. endchoice
  28. config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
  29. string "U-Boot version"
  30. depends on BR2_TARGET_UBOOT_CUSTOM_VERSION
  31. if BR2_TARGET_UBOOT_CUSTOM_TARBALL
  32. config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
  33. string "URL of custom U-Boot tarball"
  34. endif
  35. config BR2_TARGET_UBOOT_VERSION
  36. string
  37. default "2013.07" if BR2_TARGET_UBOOT_LATEST_VERSION
  38. default $BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE if BR2_TARGET_UBOOT_CUSTOM_VERSION
  39. default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
  40. default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
  41. config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
  42. string "custom patch dir"
  43. help
  44. If your board requires custom patches, add the path to the
  45. directory containing the patches here. The patches must be
  46. named uboot-<something>.patch.
  47. Most users may leave this empty
  48. if BR2_TARGET_UBOOT_CUSTOM_GIT
  49. config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
  50. string "URL of custom Git repository"
  51. config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
  52. string "Custom Git version"
  53. endif
  54. choice
  55. prompt "U-Boot binary format"
  56. default BR2_TARGET_UBOOT_FORMAT_BIN
  57. config BR2_TARGET_UBOOT_FORMAT_AIS
  58. bool "u-boot.ais"
  59. help
  60. AIS (Application Image Script) is a format defined by TI.
  61. It is required to load code/data on OMAP-L1 processors.
  62. u-boot.ais contains U-Boot with the SPL support.
  63. config BR2_TARGET_UBOOT_FORMAT_BIN
  64. bool "u-boot.bin"
  65. config BR2_TARGET_UBOOT_FORMAT_IMG
  66. bool "u-boot.img"
  67. config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
  68. bool "u-boot-nand.bin"
  69. config BR2_TARGET_UBOOT_FORMAT_KWB
  70. depends on BR2_arm
  71. bool "u-boot.kwb (Marvell)"
  72. config BR2_TARGET_UBOOT_FORMAT_LDR
  73. depends on BR2_bfin
  74. bool "u-boot.ldr"
  75. config BR2_TARGET_UBOOT_FORMAT_ELF
  76. bool "u-boot.elf"
  77. config BR2_TARGET_UBOOT_FORMAT_SB
  78. depends on BR2_arm
  79. bool "u-boot.sb"
  80. config BR2_TARGET_UBOOT_FORMAT_CUSTOM
  81. bool "Custom (specify below)"
  82. help
  83. On some platforms, the standard U-Boot binary is not called
  84. u-boot.bin, but u-boot<something>.bin. If this is your case,
  85. you should select this option and specify the correct name
  86. in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME.
  87. endchoice
  88. config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME
  89. string "U-Boot binary format: custom name"
  90. depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM
  91. help
  92. Specify the correct name of the output binary created by
  93. U-Boot, if it is not one of the default names. For example:
  94. u-boot_magic.bin
  95. config BR2_TARGET_UBOOT_OMAP_IFT
  96. depends on BR2_TARGET_UBOOT_FORMAT_BIN
  97. depends on BR2_arm || BR2_armeb
  98. select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
  99. bool "produce a .ift signed image (OMAP)"
  100. help
  101. Use gpsign to produce an image of u-boot.bin signed with
  102. a Configuration Header for booting on OMAP processors.
  103. This allows U-Boot to boot without the need for an
  104. intermediate bootloader (e.g. x-loader) if it is written
  105. on the first sector of the boot medium.
  106. This only works for some media, such as NAND. Check your
  107. chip documentation for details. You might also want to
  108. read the documentation of gpsign, the tool that generates
  109. the .ift image, at:
  110. https://github.com/nmenon/omap-u-boot-utils/blob/master/README
  111. if BR2_TARGET_UBOOT_OMAP_IFT
  112. config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
  113. string "gpsign Configuration Header config file"
  114. help
  115. The Configuration Header (CH) config file defines the
  116. desired content of the CH for the signed image.
  117. It usually contains external RAM settings and
  118. possibly other external devices initialization.
  119. The omap-u-boot-utils software contains example
  120. configuration files for some boards:
  121. https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
  122. endif
  123. menuconfig BR2_TARGET_UBOOT_NETWORK
  124. bool "Custom Network Settings"
  125. help
  126. Custom network settings for U-boot
  127. if BR2_TARGET_UBOOT_NETWORK
  128. config BR2_TARGET_UBOOT_SERVERIP
  129. string "server ip"
  130. default "10.175.196.221"
  131. help
  132. TFTP server ip address
  133. config BR2_TARGET_UBOOT_IPADDR
  134. string "ip address"
  135. default "10.175.196.18"
  136. help
  137. Target ip address
  138. config BR2_TARGET_UBOOT_GATEWAY
  139. string "gateway ip"
  140. default "10.175.196.1"
  141. help
  142. Gateway ip address
  143. config BR2_TARGET_UBOOT_NETMASK
  144. string "netmask"
  145. default "255.255.255.0"
  146. help
  147. Network Mask
  148. config BR2_TARGET_UBOOT_ETHADDR
  149. string "ethernet address"
  150. default "04:25:fe:ed:00:18"
  151. help
  152. Target MAC address for the ethernet interface.
  153. This should be changed for production units
  154. config BR2_TARGET_UBOOT_ETH1ADDR
  155. string "ethernet 2 address"
  156. help
  157. Target MAC address for the second ethernet interface.
  158. endif # BR2_TARGET_UBOOT_NETWORK
  159. config BR2_TARGET_UBOOT_SPL
  160. bool "U-Boot SPL support"
  161. depends on !BR2_TARGET_XLOADER
  162. help
  163. Enable the U-Boot SPL support. SPL is a first stage
  164. bootloader loaded into internal memory in charge of
  165. enabling and configuring the external memory (DDR),
  166. and load the u-boot program into DDR.
  167. config BR2_TARGET_UBOOT_SPL_NAME
  168. string "U-Boot SPL target name"
  169. default "u-boot-spl.bin"
  170. depends on BR2_TARGET_UBOOT_SPL
  171. help
  172. This is the name of the SPL binary, generated during
  173. u-boot build. For most platform it is u-boot-spl.bin
  174. but not always. It is MLO on OMAP for example.
  175. menuconfig BR2_TARGET_UBOOT_ENVIMAGE
  176. bool "Environment image"
  177. help
  178. Generate a valid binary environment image from a text file
  179. describing the key=value pairs of the environment.
  180. The environment image will be called uboot-env.bin.
  181. if BR2_TARGET_UBOOT_ENVIMAGE
  182. config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
  183. string "Source file for environment"
  184. help
  185. Text file describing the environment.
  186. config BR2_TARGET_UBOOT_ENVIMAGE_SIZE
  187. string "Size of environment"
  188. help
  189. Size of envronment, can be prefixed with 0x for hexadecimal
  190. values.
  191. endif # BR2_TARGET_UBOOT_ENVIMAGE
  192. endif # BR2_TARGET_UBOOT