Config.in 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. menuconfig BR2_TARGET_UBOOT
  2. bool "Das U-Boot Boot Monitor"
  3. help
  4. Build "Das U-Boot" Boot Monitor
  5. if BR2_TARGET_UBOOT
  6. config BR2_TARGET_UBOOT_BOARDNAME
  7. string "board name"
  8. default "$(BOARD_NAME)"
  9. help
  10. One of U-Boot supported boards to be built.
  11. This will be suffixed with _config to meet U-Boot standard naming.
  12. choice
  13. prompt "U-Boot Version"
  14. default BR2_TARGET_UBOOT_2009_03
  15. help
  16. Select the specific U-Boot version you want to use
  17. config BR2_TARGET_UBOOT_2009_03
  18. bool "u-boot-2009.03"
  19. config BR2_TARGET_UBOOT_2009_01
  20. bool "u-boot-2009.01"
  21. depends on BR2_DEPRECATED || BR2_RECENT
  22. config BR2_TARGET_UBOOT_2008_10
  23. bool "u-boot-2008.10"
  24. depends on BR2_DEPRECATED
  25. config BR2_TARGET_UBOOT_1_3_4
  26. bool "u-boot-1.3.4"
  27. depends on BR2_DEPRECATED
  28. config BR2_TARGET_UBOOT_1_2_0_ATMEL
  29. bool "u-boot-1.2.0-atmel"
  30. depends on BR2_TARGET_AT91
  31. endchoice
  32. config BR2_UBOOT_VERSION
  33. string
  34. default "2009.03" if BR2_TARGET_UBOOT_2009_03
  35. default "2009.01" if BR2_TARGET_UBOOT_2009_01
  36. default "2008.10" if BR2_TARGET_UBOOT_2008_10
  37. default "1.3.4" if BR2_TARGET_UBOOT_1_3_4
  38. default "1.2.0-atmel" if BR2_TARGET_UBOOT_1_2_0_ATMEL
  39. config BR2_U_BOOT_SITE
  40. string
  41. default "$(BR2_ATMEL_MIRROR)" if BR2_TARGET_UBOOT_1_2_0_ATMEL
  42. default "ftp://ftp.denx.de/pub/u-boot"
  43. source "target/device/Config.in.u-boot"
  44. config BR2_TARGET_UBOOT_CUSTOM_PATCH
  45. string "custom patch"
  46. help
  47. If your board requires a custom patch, add the path to the file here.
  48. Most users may leave this empty
  49. choice
  50. prompt "Bootsource"
  51. depends on BR2_BOOTSOURCE
  52. default BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
  53. config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
  54. bool "Boot from dataflashcard"
  55. depends on BR2_BOOTSOURCE_DATAFLASHCARD
  56. config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  57. bool "Boot from dataflash"
  58. depends on BR2_BOOTSOURCE_DATAFLASH
  59. config BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH
  60. bool "Boot from a NAND flash"
  61. depends on BR2_BOOTSOURCE_NANDFLASH
  62. config BR2_TARGET_UBOOT_BOOTSOURCE_FLASH
  63. bool "Boot from a parallell flash"
  64. depends on BR2_BOOTSOURCE_FLASH
  65. config BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
  66. bool "Boot from an SD-Card"
  67. depends on BR2_BOOTSOURCE_SDCARD
  68. config BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM
  69. bool "Boot from a serial EEPROM (Not yet supported)"
  70. depends on BR2_BOOTSOURCE_EEPROM
  71. endchoice
  72. config BR2_TARGET_UBOOT_BOOTSOURCE
  73. string
  74. depends on BR2_BOOTSOURCE
  75. default "dataflash" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
  76. default "dataflash" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  77. default "nandflash" if BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH
  78. default "flash" if BR2_TARGET_UBOOT_BOOTSOURCE_FLASH
  79. default "sdcard" if BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
  80. default "eeprom" if BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM
  81. config BR2_TARGET_UBOOT_SILENT
  82. bool "silent console"
  83. help
  84. If the option has been enabled, the output can be
  85. silenced by setting the environment variable "silent".
  86. config BR2_TARGET_UBOOT_TOOL_MKIMAGE
  87. bool "mkimage tool in target"
  88. help
  89. Install mkimage tool in target.
  90. config BR2_TARGET_UBOOT_TOOL_ENV
  91. bool "fw_printenv tool in target"
  92. help
  93. Install fw_printenv / fw_setenv tools in target.
  94. menuconfig BR2_TARGET_UBOOT_DEFAULT_ENV
  95. bool "Generate a default environment"
  96. help
  97. Will generate variables for factory default command
  98. and autoscript.
  99. if BR2_TARGET_UBOOT_DEFAULT_ENV
  100. choice
  101. prompt "SDRAM Memory size"
  102. default BR2_TARGET_UBOOT_SDRAM_SIZE_64M
  103. help
  104. Size of the onboard SDRAM
  105. config BR2_TARGET_UBOOT_SDRAM_SIZE_256MB
  106. bool "256 MB"
  107. config BR2_TARGET_UBOOT_SDRAM_SIZE_128MB
  108. bool "128 MB"
  109. config BR2_TARGET_UBOOT_SDRAM_SIZE_64MB
  110. bool "64 MB"
  111. config BR2_TARGET_UBOOT_SDRAM_SIZE_32MB
  112. bool "32 MB"
  113. config BR2_TARGET_UBOOT_SDRAM_SIZE_16MB
  114. bool "16 MB"
  115. config BR2_TARGET_UBOOT_SDRAM_SIZE_8MB
  116. bool "8 MB"
  117. endchoice
  118. config BR2_TARGET_UBOOT_MEMORY_SIZE
  119. string
  120. default "256M" if BR2_TARGET_UBOOT_SDRAM_SIZE_256MB
  121. default "128M" if BR2_TARGET_UBOOT_SDRAM_SIZE_128MB
  122. default "64M" if BR2_TARGET_UBOOT_SDRAM_SIZE_64MB
  123. default "32M" if BR2_TARGET_UBOOT_SDRAM_SIZE_32MB
  124. default "16M" if BR2_TARGET_UBOOT_SDRAM_SIZE_16MB
  125. default "8M" if BR2_TARGET_UBOOT_SDRAM_SIZE_8MB
  126. choice
  127. prompt "Kernel Size"
  128. default BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
  129. config BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
  130. bool "Kernel size is less than 1.25 MB"
  131. config BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
  132. bool "Kernel size is less than 1.50 MB"
  133. config BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
  134. bool "Kernel size is less than 1.75 MB"
  135. config BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
  136. bool "Kernel size is less than 2.00 MB"
  137. config BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
  138. bool "Kernel size is less than 2.25 MB"
  139. config BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
  140. bool "Kernel size is less than 2.50 MB"
  141. endchoice
  142. choice
  143. prompt "Dataflash Size"
  144. depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  145. default BR2_TARGET_UBOOT_DATAFLASH_SIZE_2_00MB
  146. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
  147. bool "Dataflash size is 8 MB"
  148. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
  149. bool "Dataflash size is 4 MB"
  150. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
  151. bool "Dataflash size is 2 MB"
  152. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_1MB
  153. bool "Dataflash size is 1 MB"
  154. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
  155. bool "Dataflash size is 0.5 MB"
  156. config BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
  157. bool "Dataflash size is 0.25 MB"
  158. endchoice
  159. config BR2_TARGET_UBOOT_DATAFLASH_SIZE
  160. string
  161. depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  162. default "8M" if BR2_TARGET_DATAFLASH_SIZE_8MB
  163. default "4M" if BR2_TARGET_DATAFLASH_SIZE_4MB
  164. default "2M" if BR2_TARGET_DATAFLASH_SIZE_2MB
  165. default "1M" if BR2_TARGET_DATAFLASH_SIZE_1MB
  166. default "0.5M" if BR2_TARGET_DATAFLASH_SIZE_0_50MB
  167. default "0.25M" if BR2_TARGET_DATAFLASH_SIZE_0_25MB
  168. config BR2_TARGET_UBOOT_END_OF_FLASH
  169. string
  170. depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  171. default "C083FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
  172. default "C041FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
  173. default "C020FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
  174. default "C0107FFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_1MB
  175. default "C0083FFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
  176. default "C0041FFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
  177. help
  178. config BR2_TARGET_UBOOT_KERNEL_START
  179. string "Kernel SDRAM address"
  180. default "21000000"
  181. help
  182. Kernel is loaded to this address in SDRAM
  183. config BR2_TARGET_UBOOT_KERNEL_LOCATION
  184. string "Kernel flash address"
  185. depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
  186. BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  187. default "C0042000" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  188. default ""
  189. help
  190. Kernel location in dataflash
  191. config BR2_TARGET_UBOOT_FILESYSTEM_START
  192. string
  193. default "2114A000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
  194. default "2118C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
  195. default "211CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
  196. default "21210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
  197. default "21252000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
  198. default "21294000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
  199. help
  200. Kernel is loaded to this SDRAM address
  201. Assumes SDRAM starts at 20000000
  202. Will need to be updated if the SDRAM is located elsewhere
  203. config BR2_TARGET_UBOOT_FILESYSTEM_LOCATION
  204. string
  205. depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
  206. BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
  207. default "C018C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
  208. default "C01CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
  209. default "C0210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
  210. default "C0252000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
  211. default "C0294000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
  212. default "C02D6000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
  213. help
  214. Determine location for File System in Dataflash
  215. This needs to be updated for other memory technologies
  216. config BR2_TARGET_UBOOT_FILESYSTEM_SIZE
  217. string "File System Size"
  218. default "6000000"
  219. help
  220. menuconfig BR2_TARGET_UBOOT_NETWORK
  221. bool "Network Settings"
  222. default y
  223. help
  224. Network settings for U-boot
  225. if BR2_TARGET_UBOOT_NETWORK
  226. config BR2_TARGET_UBOOT_SERVERIP
  227. string "server ip"
  228. default "10.175.196.221"
  229. help
  230. TFTP server ip address
  231. config BR2_TARGET_UBOOT_IPADDR
  232. string "ip address"
  233. default "10.175.196.18"
  234. help
  235. Target ip address
  236. config BR2_TARGET_UBOOT_GATEWAY
  237. string "gateway ip"
  238. default "10.175.196.1"
  239. help
  240. Gateway ip address
  241. config BR2_TARGET_UBOOT_NETMASK
  242. string "netmask"
  243. default "255.255.255.0"
  244. help
  245. Network Mask
  246. config BR2_TARGET_UBOOT_ETHADDR
  247. string "ethernet address"
  248. default "04:25:fe:ed:00:18"
  249. help
  250. Target MAC address for the ethernet interface.
  251. This should be changed for production units
  252. config BR2_TARGET_UBOOT_ETH1ADDR
  253. string "ethernet 2 address"
  254. help
  255. Target MAC address for the second ethernet interface.
  256. endif # BR2_TARGET_UBOOT_NETWORK
  257. endif # BR2_TARGET_UBOOT_DEFAULT_ENV
  258. endif # BR2_TARGET_UBOOT
  259. config BR2_BOOTSOURCE_DATAFLASHCARD
  260. bool
  261. help
  262. Allow use of a dataflashcard as a boot source
  263. config BR2_BOOTSOURCE_DATAFLASH
  264. bool
  265. help
  266. Allow use of a dataflash as a boot source
  267. config BR2_BOOTSOURCE_NANDFLASH
  268. bool
  269. help
  270. Allow use of a NAND flash as a boot source
  271. config BR2_BOOTSOURCE_FLASH
  272. bool
  273. help
  274. Allow use of a flash RAM as a boot source
  275. config BR2_BOOTSOURCE_SDCARD
  276. bool
  277. help
  278. Allow use of an SD-card as a boot source
  279. config BR2_BOOTSOURCE_EEPROM
  280. bool
  281. help
  282. Allow use of a serial eeprom as a boot source
  283. config BR2_BOOTSOURCE
  284. bool
  285. default y if BR2_BOOTSOURCE_DATAFLASHCARD
  286. default y if BR2_BOOTSOURCE_DATAFLASH
  287. default y if BR2_BOOTSOURCE_NANDFLASH
  288. default y if BR2_BOOTSOURCE_FLASH
  289. default y if BR2_BOOTSOURCE_SDCARD
  290. default y if BR2_BOOTSOURCE_EEPROM