-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfig.in
More file actions
378 lines (334 loc) · 13.3 KB
/
Config.in
File metadata and controls
378 lines (334 loc) · 13.3 KB
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
mainmenu "AT91 Bootstrap configuration"
config HAVE_DOT_CONFIG
bool
default y
help
Indicate that have an included file.
source "board/Config.in"
source "driver/Config.in.driver"
config CONFIG_PROJECT
string
default "dataflash" if CONFIG_DATAFLASH
default "flash" if CONFIG_FLASH
default "nandflash" if CONFIG_NANDFLASH
default "sdcard" if CONFIG_SDCARD
choice
prompt "Image Loading Strategy"
default CONFIG_LOAD_UBOOT
#
# Load U-Boot
#
config CONFIG_LOAD_UBOOT
bool "Load U-Boot into last MBYTE of SDRAM"
help
Use this mode to load an second level boot monitor
like U-boot into the last MB of SDRAM.
#
# Load EBoot
#
config CONFIG_LOAD_EBOOT
bool "Support loading EBoot"
help
Use this mode to load EBoot
#
# Load Linux
#
config CONFIG_LOAD_LINUX
bool "Support loading Linux directly"
---help---
Load Linux kernel directly from storage media
#
# Load WinCE
#
config CONFIG_LOAD_NK
bool "Support loading WinCE directly"
depends on CONFIG_NANDFLASH || CONFIG_SDCARD
help
Use this mode to load WinCE NK Image
config CONFIG_LOAD_64KB
bool "Load 64 kB into the start of SDRAM"
help
Use this mode to load an embedded application
which can have max 64 kB Size
config CONFIG_LOAD_1MB
bool "Load 1 MB into start of SDRAM"
help
Use this mode to load an embedded application
which can have a size of up to 1 MByte
config CONFIG_LOAD_4MB
bool "Load 4 MB into start of SDRAM"
help
Use this mode to load an embedded application
which can have a size of up to 4 MByte
endchoice
#
# Linux Image Storage Setup
#
menu "Linux Image Storage Setup"
depends on CONFIG_LOAD_LINUX
config CONFIG_OS_MEM_BANK
string "OS Memory Bank Base Address"
default "0x20000000" if CONFIG_AT91SAM9260EK
default "0x20000000" if CONFIG_AT91SAM9261EK
default "0x20000000" if CONFIG_AT91SAM9263EK
default "0x20000000" if CONFIG_AT91SAM9RLEK
default "0x20000000" if CONFIG_AT91SAM9XEEK
default "0x20000000" if CONFIG_AT91SAM9G10EK
default "0x20000000" if CONFIG_AT91SAM9G20EK
default "0x70000000" if CONFIG_AT91SAM9G45EK
default "0x70000000" if CONFIG_AT91SAM9G45EKES
default "0x70000000" if CONFIG_AT91SAM9M10EK
default "0x70000000" if CONFIG_AT91SAM9M10EKES
default "0x20000000" if CONFIG_AT91SAM9X5EK
config CONFIG_OS_MEM_SIZE
string "OS Memory Bank Size"
default "0x4000000"
config CONFIG_LINUX_KERNEL_ARG_STRING
string "Linux kernel parameters"
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9260EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9261EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9263EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9RLEK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9XEEK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9G10EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9G20EK && !CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9G45EK && !CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9G45EKES && !CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9X5EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9M10EK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9M10EKES && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9RLEK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9G10EK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9G20EK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9XEEK && CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9G45EK && CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9G45EKES && CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9X5EK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9M10EK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9M10EKES && CONFIG_SDCARD
config CONFIG_OS_IMAGE_NAME
depends on CONFIG_SDCARD && CONFIG_AT91SAM9G10EK
default "image.bin"
config CONFIG_OS_IMAGE_NAME
depends on CONFIG_SDCARD && !CONFIG_AT91SAM9G10EK
string "Binary Name on SD Card"
default "image.bin"
config CONFIG_OS_IMG_SIZE
string "OS Image Size"
default "0x280000"
config CONFIG_LINUX_IMG_NAND_OFFSET
depends on CONFIG_NANDFLASH
string "NandFlash offset for Linux kernel"
default "0x200000"
endmenu
config CONFIG_OS_IMAGE_NAME
depends on CONFIG_SDCARD && CONFIG_LOAD_UBOOT
default "u-boot.bin"
#
# WinCE Image Storage Setup
#
menu "WinCE Image Storage Setup"
depends on CONFIG_LOAD_NK
config CONFIG_OS_MEM_BANK
string "OS Memory Bank Base Address"
default "0x20000000" if CONFIG_AT91SAM9260EK
default "0x20000000" if CONFIG_AT91SAM9261EK
default "0x20000000" if CONFIG_AT91SAM9263EK
default "0x20000000" if CONFIG_AT91SAM9RLEK
default "0x20000000" if CONFIG_AT91SAM9G10EK
default "0x20000000" if CONFIG_AT91SAM9G20EK
default "0x70000000" if CONFIG_AT91SAM9G45EK
default "0x70000000" if CONFIG_AT91SAM9G45EKES
default "0x70000000" if CONFIG_AT91SAM9M10EK
default "0x70000000" if CONFIG_AT91SAM9M10EKES
default "0x20000000" if CONFIG_AT91SAM9X5EK
config CONFIG_OS_MEM_SIZE
string "OS Memory Bank Size"
default "0x4000000"
config CONFIG_CE_LOAD_ADDR
string "Memory address to load NK.nb0"
default "537292800" if CONFIG_AT91SAM9260EK
default "537300992" if CONFIG_AT91SAM9261EK
default "537313280" if CONFIG_AT91SAM9263EK
default "537313280" if CONFIG_AT91SAM9RLEK
default "537300992" if CONFIG_AT91SAM9G10EK
default "537292800" if CONFIG_AT91SAM9G20EK
default "1879490560" if CONFIG_AT91SAM9G45EK
default "1879490560" if CONFIG_AT91SAM9G45EKES
default "1879490560" if CONFIG_AT91SAM9M10EK
default "1879490560" if CONFIG_AT91SAM9M10EKES
default "537292800" if CONFIG_AT91SAM9X5EK
config CONFIG_OS_IMAGE_NAME
depends on CONFIG_SDCARD
string "WinCE Kernel Image Name on SD Card"
default "NK.nb0"
config CONFIG_OS_IMG_SIZE
string "OS Image Size"
default "0x2000000"
config CONFIG_WINCE_IMG_NAND_OFFSET
depends on CONFIG_NANDFLASH
string "NandFlash offset for Linux kernel"
default "0x200000"
endmenu
config CONFIG_IMG_ADDRESS
string
depends on CONFIG_LOAD_UBOOT || CONFIG_LOAD_NK || CONFIG_LOAD_LINUX || CONFIG_LOAD_EBOOT
default "0x00008000" if CONFIG_FLASH
default "0x00004000" if CONFIG_DATAFLASH && CONFIG_LOAD_EBOOT && CONFIG_AT91SAM9260EK
default "0x00005000" if CONFIG_DATAFLASH && CONFIG_LOAD_EBOOT && !CONFIG_AT91SAM9260EK
default "0x00008400" if CONFIG_DATAFLASH && CONFIG_LOAD_UBOOT
default "0x00042000" if CONFIG_DATAFLASH && CONFIG_LOAD_LINUX
default "0x00080000" if CONFIG_NANDFLASH && CONFIG_LOAD_EBOOT
default "0x00020000" if CONFIG_NANDFLASH && CONFIG_LOAD_UBOOT && !CONFIG_AT91SAM9X5EK
default "0x00040000" if CONFIG_NANDFLASH && CONFIG_LOAD_UBOOT && CONFIG_AT91SAM9X5EK
default "0x00200000" if CONFIG_NANDFLASH && CONFIG_LOAD_LINUX
default "0x00200000" if CONFIG_NANDFLASH && CONFIG_LOAD_NK
default "0x00000000" if CONFIG_SDCARD
help
#
# For Demo App
#
config CONFIG_IMG_ADDRESS
string
depends on !CONFIG_LOAD_UBOOT && !CONFIG_LOAD_NK && !CONFIG_LOAD_LINUX && !CONFIG_LOAD_EBOOT
default "0x00008400" if CONFIG_DATAFLASH
default "0x00020000" if CONFIG_NANDFLASH && !CONFIG_AT91SAM9X5EK
default "0x00040000" if CONFIG_NANDFLASH && CONFIG_AT91SAM9X5EK
config CONFIG_SETTING_ADDRESS
string
default "0x00008000" if CONFIG_FLASH
default "0x00408400" if CONFIG_DATAFLASH
default "0x01FE0000" if CONFIG_NANDFLASH
default "0x00000000" if CONFIG_SDCARD
help
config CONFIG_SETTING_SIZE
string
default "0x00001000"
help
config CONFIG_IMG_SIZE
string
default "0x00050000" if CONFIG_LOAD_UBOOT || CONFIG_LOAD_EBOOT
default "0x00010000" if CONFIG_LOAD_64KB
default "0x00100000" if CONFIG_LOAD_1MB
default "0x00400000" if CONFIG_LOAD_4MB
default "0x00280000" if CONFIG_LOAD_LINUX
default "0x02000000" if CONFIG_LOAD_NK
help
at91bootstrap will copy this amount of data
config CONFIG_JUMP_ADDR
string
depends on CONFIG_LOAD_UBOOT
default "0x73F00000" if CONFIG_AT91CAP9ADK
default "0x73F00000" if CONFIG_AT91CAP9STK
default "0x73F00000" if CONFIG_AT91SAM9G45EKES
default "0x73F00000" if CONFIG_AT91SAM9G45EK
default "0x73F00000" if CONFIG_AT91SAM9M10EK
default "0x73F00000" if CONFIG_AT91SAM9M10EKES
default "0x26F00000" if CONFIG_AT91SAM9X5EK
default "0x23F00000"
help
The entry point to which the bootstrap will pass control.
config CONFIG_JUMP_ADDR
string
depends on CONFIG_LOAD_NK
default "0x70000000" if CONFIG_AT91CAP9ADK
default "0x70000000" if CONFIG_AT91CAP9STK
default "0x7006c000" if CONFIG_AT91SAM9G45EKES
default "0x7006c000" if CONFIG_AT91SAM9G45EK
default "0x7006c000" if CONFIG_AT91SAM9M10EK
default "0x7006c000" if CONFIG_AT91SAM9M10EKES
default "0x20067000" if CONFIG_AT91SAM9G20EK
default "0x2006c000" if CONFIG_AT91SAM9263EK
default "0x20059000" if CONFIG_AT91SAM9261EK
default "0x20067000" if CONFIG_AT91SAM9260EK
default "0x2006c000" if CONFIG_AT91SAM9RLEK
default "0x20069000" if CONFIG_AT91SAM9G10EK
default "0x20067000" if CONFIG_AT91SAM9X5EK
default "0x23F00000"
help
The entry point to which the bootstrap will pass control.
config CONFIG_JUMP_ADDR
string
depends on CONFIG_LOAD_LINUX
default "0x72000000" if CONFIG_AT91CAP9ADK
default "0x72000000" if CONFIG_AT91CAP9STK
default "0x72000000" if CONFIG_AT91SAM9G45EKES
default "0x72000000" if CONFIG_AT91SAM9G45EK
default "0x72000000" if CONFIG_AT91SAM9M10EK
default "0x72000000" if CONFIG_AT91SAM9M10EKES
default "0x22000000" if CONFIG_AT91SAM9G20EK
default "0x22000000" if CONFIG_AT91SAM9263EK
default "0x22000000" if CONFIG_AT91SAM9261EK
default "0x22000000" if CONFIG_AT91SAM9260EK
default "0x22000000" if CONFIG_AT91SAM9RLEK
default "0x22000000" if CONFIG_AT91SAM9G10EK
default "0x22000000" if CONFIG_AT91SAM9X5EK
default "0x22000000"
help
The entry point to which the bootstrap will pass control.
config CONFIG_JUMP_ADDR
string
depends on !CONFIG_LOAD_UBOOT && !CONFIG_LOAD_NK && !CONFIG_LOAD_LINUX
default "0x70000000" if CONFIG_AT91CAP9ADK
default "0x70000000" if CONFIG_AT91SAM9G45EK
default "0x70000000" if CONFIG_AT91SAM9M10EK
default "0x70000000" if CONFIG_AT91SAM9M10EKES
default "0x70000000" if CONFIG_AT91SAM9G45EKES
default "0x20000000"
help
The entry point to which the bootstrap will pass control.
config CONFIG_GLBDRV_ADDR
string
default "0x70000000" if CONFIG_AT91CAP9ADK
default "0x70000000" if CONFIG_AT91CAP9STK
default "0x7006b000" if CONFIG_AT91SAM9G45EKES
default "0x7006b000" if CONFIG_AT91SAM9G45EK
default "0x7006b000" if CONFIG_AT91SAM9M10EK
default "0x7006b000" if CONFIG_AT91SAM9M10EKES
default "0x20058000" if CONFIG_AT91SAM9G20EK
default "0x2006b000" if CONFIG_AT91SAM9263EK
default "0x20058000" if CONFIG_AT91SAM9261EK
default "0x20058000" if CONFIG_AT91SAM9260EK
default "0x2006b000" if CONFIG_AT91SAM9RLEK
default "0x20068000" if CONFIG_AT91SAM9G10EK
default "0x20068000" if CONFIG_AT91SAM9X5EK
default "0x23F00000"
help
config CONFIG_LONG_TEST
bool "Perform a memory test at startup"
default n
help
config CONFIG_DEBUG
bool "Debug Support"
default n
help
Output Debug messages
choice
prompt "Debug Level"
depends on CONFIG_DEBUG
config CONFIG_DEBUG_INFO
bool "General debug information"
config CONFIG_DEBUG_LOUD
bool "Loud debug output"
config CONFIG_DEBUG_VERY_LOUD
bool "Even louder debug output"
endchoice
config CONFIG_HW_INIT
bool "Call Hardware Initialization"
default y
help
Initialize Hardware
config CONFIG_USER_HW_INIT
bool "Call User specific Hardware Initialization"
help
Initialize Hardware
config CONFIG_THUMB
bool "Build in thumb mode"
help
Build code in thumb mode
config CONFIG_SCLK
depends on CONFIG_AT91SAM9RLEK || CONFIG_AT91SAM9G45EK || CONFIG_AT91SAM9G45EKES || CONFIG_AT91SAM9M10EK || CONFIG_AT91SAM9M10EKES || CONFIG_AT91SAM9X5EK
bool "Use external 32KHZ oscillator as source of slow clock"
help
Use external 32KHZ oscillator as source of slow clock
source "host-utilities/Config.in"