summaryrefslogtreecommitdiffstats
path: root/target/u-boot/Config.in
blob: a91820cf81f567f6bf6ef6ddbe4db2c2b02446b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
config BR2_TARGET_CUSTOM_UBOOT
	bool
	help
	  A target can "select" this to disable
	  the build of vanilla u-boot.

menuconfig BR2_TARGET_UBOOT
	bool "Das U-Boot Boot Monitor"
	depends on !BR2_TARGET_CUSTOM_UBOOT
	help
	  Build "Das U-Boot" Boot Monitor

if BR2_TARGET_UBOOT
choice
	prompt "U-Boot Version"
	default BR2_TARGET_UBOOT_2009_01_RC1
	help
	  Select the specific Linux version you want to use
	
config BR2_TARGET_UBOOT_2009_01_RC1
	bool "u-boot-2009.01-rc1"
	depends on BR2_TARGET_UBOOT
	help
	  Use u-boot from December 2008 (RC1)

config BR2_TARGET_UBOOT_2008_10
	bool "u-boot-2008.10"
	depends on BR2_TARGET_UBOOT
	help
	  Use u-boot from October 2008
	
config BR2_TARGET_UBOOT_1_3_4
	bool "u-boot-1.3.4"
	depends on BR2_TARGET_UBOOT
	help
	  Use u-boot from mid 2008
	
config BR2_TARGET_UBOOT_2009_01
	bool "u-boot-2009.01"
	depends on BR2_TARGET_UBOOT
	help
	  Use u-boot from January 2009
	  Release date 2009-01-17

endchoice

config BR2_UBOOT_VERSION
	string
	default "2009.01-rc1"	if BR2_TARGET_UBOOT_2009_01_RC1
	default "2008.10"	if BR2_TARGET_UBOOT_2008_10
	default "1.3.4"		if BR2_TARGET_UBOOT_1_3_4
	default "2009.01"	if BR2_TARGET_UBOOT_2009_01

config BR2_TARGET_UBOOT_BOARDNAME
	string "board name"
	depends on BR2_TARGET_UBOOT
	default "$(BOARD_NAME)"
	help
	  One of U-Boot supported boards to be built.
	  This will be suffixed with _config to meet U-Boot standard naming.

config BR2_TARGET_UBOOT_CUSTOM_PATCH
	string "custom patch"
	depends on BR2_TARGET_UBOOT
	help
	  If your board requires a custom patch, add the path to the file here.
	  Most users may leave this empty

choice
	prompt "Bootsource"
	depends on BR2_BOOTSOURCE
	default BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD

	config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
	bool "Boot from dataflashcard"
	depends on BR2_BOOTSOURCE_DATAFLASHCARD
	help
	  

	config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
	bool "Boot from dataflash
	depends on BR2_BOOTSOURCE_DATAFLASH
	help
	  

	config BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH
	bool "Boot from a NAND flash"
	depends on BR2_BOOTSOURCE_NANDFLASH
	help
	  Build u-boot with environment in the NAND flash

	config BR2_TARGET_UBOOT_BOOTSOURCE_FLASH
	bool "Boot from a parallell flash"
	depends on BR2_BOOTSOURCE_FLASH
	help
	  Build u-boot with environment in a flash RAM

	config BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
	bool "Boot from a NAND flash"
	depends on BR2_BOOTSOURCE_SDCARD
	help
	  Build u-boot with environment on an SD-Card
	  Not yet supported

	config BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM
	bool "Boot from a serial EEPROM"
	depends on BR2_BOOTSOURCE_EEPROM
	help
	  Build u-boot with environment in a serial EEPROM
	  Not yet supported


endchoice

config BR2_TARGET_UBOOT_BOOTSOURCE
	string
	depends on BR2_BOOTSOURCE
	default "dataflash"	if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
	default "dataflash"	if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
	default "nandflash"	if BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH
	default "flash"		if BR2_TARGET_UBOOT_BOOTSOURCE_FLASH
	default "sdcard"	if BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
	default "eeprom"	if BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM

config BR2_TARGET_UBOOT_SERVERIP
	string "server ip"
	depends on BR2_TARGET_UBOOT
	default "10.175.196.221"
	help
	  TFTP server ip address

config BR2_TARGET_UBOOT_IPADDR
	string "ip address"
	depends on BR2_TARGET_UBOOT
	default "10.175.196.18"
	help
	  Target ip address

config BR2_TARGET_UBOOT_GATEWAY
	string "gateway ip"
	depends on BR2_TARGET_UBOOT
	default "10.175.196.1"
	help
	  Gateway ip address

config BR2_TARGET_UBOOT_NETMASK
	string "netmask"
	depends on BR2_TARGET_UBOOT
	default "255.255.255.0"
	help
	  Network Mask

config BR2_TARGET_UBOOT_ETHADDR
	string "ethernet address"
	depends on BR2_TARGET_UBOOT
	default "04:25:fe:ed:00:18"
	help
	  Target MAC address for the ethernet interface.
	  This should be changed for production units

config BR2_TARGET_UBOOT_ETH1ADDR
	string "ethernet 2 address"
	depends on BR2_TARGET_UBOOT
	depends on BR2_TARGET_AVR32
	help
	  Target MAC address for the second ethernet interface.

config BR2_TARGET_UBOOT_SILENT
	bool "silent console"
	depends on BR2_TARGET_UBOOT
	help
	  If the option has been enabled, the output can be
	  silenced by setting the environment variable "silent".

config BR2_TARGET_UBOOT_TOOL_MKIMAGE
	bool "mkimage tool in target"
	depends on BR2_TARGET_UBOOT
	help
	  Install mkimage tool in target.

config BR2_TARGET_UBOOT_TOOL_ENV
	bool "fw_printenv tool in target"
	depends on BR2_TARGET_UBOOT
	help
	  Install fw_printenv / fw_setenv tools in target.
endif

config BR2_BOOTSOURCE_DATAFLASHCARD
	bool
	help
	  Allow use of a dataflashcard as a boot source

config BR2_BOOTSOURCE_DATAFLASH
	bool
	help
	  Allow use of a dataflash as a boot source

config BR2_BOOTSOURCE_NANDFLASH
	bool
	help
	  Allow use of a NAND flash as a boot source

config BR2_BOOTSOURCE_FLASH
	bool
	help
	  Allow use of a flash RAM as a boot source

config BR2_BOOTSOURCE_SDCARD
	bool
	help
	  Allow use of an SD-card as a boot source

config BR2_BOOTSOURCE_EEPROM
	bool
	help
	  Allow use of a serial eeprom as a boot source

config	BR2_BOOTSOURCE
	bool
	default y if BR2_BOOTSOURCE_DATAFLASHCARD
	default y if BR2_BOOTSOURCE_DATAFLASH
	default y if BR2_BOOTSOURCE_NANDFLASH
	default y if BR2_BOOTSOURCE_FLASH
	default y if BR2_BOOTSOURCE_SDCARD
	default y if BR2_BOOTSOURCE_EEPROM
	default n