Config.in 9.7 KB

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