-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.in
executable file
·250 lines (207 loc) · 8.69 KB
/
Config.in
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
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
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.
config CONFIG_LOAD_LINUX
bool "Support loading Linux directly"
---help---
Load Linux kernel directly from storage media
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
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
endchoice
#
# Linux Image Storage Setup
#
menu "Linux Image Storage Setup"
depends on CONFIG_LOAD_LINUX
config CONFIG_OS_MEM_BANK
string "Extern Memory Bank Base Address"
default "0x70000000" if CONFIG_AT91SAM9M10G45EK
default "0x20000000"
config CONFIG_OS_MEM_SIZE
string "Extern 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_AT91SAM9X5EK && !CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9N12EK && !CONFIG_SDCARD
default "mem=512M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAMA5D3XEK && !CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap),60M(rootfs),-(spare) root=/dev/mtdblock1 rw rootfstype=jffs2" if CONFIG_AT91SAM9M10G45EK && !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_AT91SAM9261EK && 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_AT91SAM9263EK && 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_AT91SAM9X5EK && CONFIG_SDCARD
default "mem=128M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9N12EK && CONFIG_SDCARD
default "mem=512M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAMA5D3XEK && CONFIG_SDCARD
default "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=2" if CONFIG_AT91SAM9M10G45EK && CONFIG_SDCARD
config CONFIG_OS_IMAGE_NAME
string "Binary Name on SD Card"
depends on CONFIG_SDCARD
default "image.bin"
config CONFIG_IMG_ADDRESS
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
string "Flash Offset for Linux Kernel Image"
default "0x00008000" if CONFIG_FLASH
default "0x00042000" if CONFIG_DATAFLASH
default "0x00200000" if CONFIG_NANDFLASH
default "0x00000000" if CONFIG_SDCARD
help
config CONFIG_IMG_SIZE
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
string "Linux Kernel Image Size"
default "0x300000"
config CONFIG_JUMP_ADDR
string "The External Ram Address to Load Kernel Image"
default "0x72000000" if CONFIG_AT91SAM9M10G45EK
default "0x22000000"
help
The entry point to which the bootstrap will pass control.
endmenu
#
# U-Boot Image Storage Setup
#
menu "U-Boot Image Storage Setup"
depends on CONFIG_LOAD_UBOOT
config CONFIG_OS_IMAGE_NAME
string "Binary Name on SD Card"
depends on CONFIG_SDCARD
default "u-boot.bin"
config CONFIG_IMG_ADDRESS
string "Flash Offset for U-Boot"
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
default "0x00008000" if CONFIG_FLASH
default "0x00008400" if CONFIG_DATAFLASH
default "0x00040000" if CONFIG_NANDFLASH && (CONFIG_AT91SAM9X5EK || CONFIG_AT91SAMA5D3XEK)
default "0x00020000" if CONFIG_NANDFLASH && !(ONFIG_AT91SAM9X5EK || CONFIG_AT91SAMA5D3XEK)
default "0x00000000" if CONFIG_SDCARD
help
config CONFIG_IMG_SIZE
string "U-Boot Image Size"
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
default "0x00050000"
help
at91bootstrap will copy this size of U-Boot image
config CONFIG_JUMP_ADDR
string "The External Ram Address to Load U-Boot Image"
default "0x73F00000" if CONFIG_AT91SAM9M10G45EK
default "0x26F00000" if CONFIG_AT91SAM9X5EK
default "0x26F00000" if CONFIG_AT91SAM9N12EK
default "0x26F00000" if CONFIG_AT91SAMA5D3XEK
default "0x23F00000"
help
The entry point to which the bootstrap will pass control.
endmenu
#
# Demo App Image Storage Setup
#
menu "Demo Application Image Storage Setup"
depends on CONFIG_LOAD_64KB || CONFIG_LOAD_1MB || CONFIG_LOAD_4MB
config CONFIG_OS_IMAGE_NAME
string "Binary Name on SD Card"
depends on CONFIG_SDCARD
default "demo-app.bin"
config CONFIG_IMG_ADDRESS
string "Flash Offset for Demo-App"
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
default "0x00008400" if CONFIG_DATAFLASH
default "0x00040000" if CONFIG_NANDFLASH && CONFIG_AT91SAM9X5EK
default "0x00020000" if CONFIG_NANDFLASH && !CONFIG_AT91SAM9X5EK
default "0x00000000" if CONFIG_SDCARD
config CONFIG_IMG_SIZE
string "Demo-App Image Size"
depends on CONFIG_DATAFLASH || CONFIG_NANDFLASH
default "0x00010000" if CONFIG_LOAD_64KB
default "0x00100000" if CONFIG_LOAD_1MB
default "0x00400000" if CONFIG_LOAD_4MB
help
at91bootstrap will copy this size of Demo-App image
config CONFIG_JUMP_ADDR
string "The External Ram Address to Load Demo-App Image"
default "0x70000000" if CONFIG_AT91SAM9M10G45EK
default "0x20000000"
help
The entry point to which the bootstrap will pass control.
endmenu
config CONFIG_IMAGE_NAME
string
default "linux" if CONFIG_LOAD_LINUX
default "uboot" if CONFIG_LOAD_UBOOT
default "softapp" if CONFIG_LOAD_64KB || CONFIG_LOAD_4MB || CONFIG_LOAD_1MB
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_AT91SAM9M10G45EK || CONFIG_AT91SAM9X5EK || CONFIG_AT91SAM9N12EK || CONFIG_AT91SAMA5D3XEK
bool "Use external 32KHZ oscillator as source of slow clock"
help
Use external 32KHZ oscillator as source of slow clock