Config.in 10 KB

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