Config.in 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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_IMX
  68. bool "u-boot.imx"
  69. config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
  70. bool "u-boot-nand.bin"
  71. config BR2_TARGET_UBOOT_FORMAT_KWB
  72. depends on BR2_arm
  73. bool "u-boot.kwb (Marvell)"
  74. config BR2_TARGET_UBOOT_FORMAT_LDR
  75. depends on BR2_bfin
  76. bool "u-boot.ldr"
  77. config BR2_TARGET_UBOOT_FORMAT_ELF
  78. bool "u-boot.elf"
  79. config BR2_TARGET_UBOOT_FORMAT_SB
  80. depends on BR2_arm
  81. bool "u-boot.sb"
  82. config BR2_TARGET_UBOOT_FORMAT_CUSTOM
  83. bool "Custom (specify below)"
  84. help
  85. On some platforms, the standard U-Boot binary is not called
  86. u-boot.bin, but u-boot<something>.bin. If this is your case,
  87. you should select this option and specify the correct name
  88. in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME.
  89. endchoice
  90. config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME
  91. string "U-Boot binary format: custom name"
  92. depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM
  93. help
  94. Specify the correct name of the output binary created by
  95. U-Boot, if it is not one of the default names. For example:
  96. u-boot_magic.bin
  97. config BR2_TARGET_UBOOT_OMAP_IFT
  98. depends on BR2_TARGET_UBOOT_FORMAT_BIN
  99. depends on BR2_arm || BR2_armeb
  100. select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
  101. bool "produce a .ift signed image (OMAP)"
  102. help
  103. Use gpsign to produce an image of u-boot.bin signed with
  104. a Configuration Header for booting on OMAP processors.
  105. This allows U-Boot to boot without the need for an
  106. intermediate bootloader (e.g. x-loader) if it is written
  107. on the first sector of the boot medium.
  108. This only works for some media, such as NAND. Check your
  109. chip documentation for details. You might also want to
  110. read the documentation of gpsign, the tool that generates
  111. the .ift image, at:
  112. https://github.com/nmenon/omap-u-boot-utils/blob/master/README
  113. if BR2_TARGET_UBOOT_OMAP_IFT
  114. config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
  115. string "gpsign Configuration Header config file"
  116. help
  117. The Configuration Header (CH) config file defines the
  118. desired content of the CH for the signed image.
  119. It usually contains external RAM settings and
  120. possibly other external devices initialization.
  121. The omap-u-boot-utils software contains example
  122. configuration files for some boards:
  123. https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
  124. endif
  125. menuconfig BR2_TARGET_UBOOT_NETWORK
  126. bool "Custom Network Settings"
  127. help
  128. Custom network settings for U-boot
  129. if BR2_TARGET_UBOOT_NETWORK
  130. config BR2_TARGET_UBOOT_SERVERIP
  131. string "server ip"
  132. default "10.175.196.221"
  133. help
  134. TFTP server ip address
  135. config BR2_TARGET_UBOOT_IPADDR
  136. string "ip address"
  137. default "10.175.196.18"
  138. help
  139. Target ip address
  140. config BR2_TARGET_UBOOT_GATEWAY
  141. string "gateway ip"
  142. default "10.175.196.1"
  143. help
  144. Gateway ip address
  145. config BR2_TARGET_UBOOT_NETMASK
  146. string "netmask"
  147. default "255.255.255.0"
  148. help
  149. Network Mask
  150. config BR2_TARGET_UBOOT_ETHADDR
  151. string "ethernet address"
  152. default "04:25:fe:ed:00:18"
  153. help
  154. Target MAC address for the ethernet interface.
  155. This should be changed for production units
  156. config BR2_TARGET_UBOOT_ETH1ADDR
  157. string "ethernet 2 address"
  158. help
  159. Target MAC address for the second ethernet interface.
  160. endif # BR2_TARGET_UBOOT_NETWORK
  161. config BR2_TARGET_UBOOT_SPL
  162. bool "U-Boot SPL support"
  163. depends on !BR2_TARGET_XLOADER
  164. help
  165. Enable the U-Boot SPL support. SPL is a first stage
  166. bootloader loaded into internal memory in charge of
  167. enabling and configuring the external memory (DDR),
  168. and load the u-boot program into DDR.
  169. config BR2_TARGET_UBOOT_SPL_NAME
  170. string "U-Boot SPL target name"
  171. default "u-boot-spl.bin"
  172. depends on BR2_TARGET_UBOOT_SPL
  173. help
  174. This is the name of the SPL binary, generated during
  175. u-boot build. For most platform it is u-boot-spl.bin
  176. but not always. It is MLO on OMAP for example.
  177. menuconfig BR2_TARGET_UBOOT_ENVIMAGE
  178. bool "Environment image"
  179. help
  180. Generate a valid binary environment image from a text file
  181. describing the key=value pairs of the environment.
  182. The environment image will be called uboot-env.bin.
  183. if BR2_TARGET_UBOOT_ENVIMAGE
  184. config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
  185. string "Source file for environment"
  186. help
  187. Text file describing the environment.
  188. config BR2_TARGET_UBOOT_ENVIMAGE_SIZE
  189. string "Size of environment"
  190. help
  191. Size of envronment, can be prefixed with 0x for hexadecimal
  192. values.
  193. endif # BR2_TARGET_UBOOT_ENVIMAGE
  194. endif # BR2_TARGET_UBOOT