Config.in 9.9 KB

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