Config.in 10.0 KB

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