SMDK2410 revision 1.9 1 # $NetBSD: SMDK2410,v 1.9 2004/07/15 03:53:46 atatat Exp $
2 #
3 # SMDK2410 -- Samsung's S3C2410 evaluation board.
4 #
5
6 include "arch/evbarm/conf/std.smdk2410"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # Enable the hooks used for initializing the root memory-disk.
11 #options MEMORY_DISK_HOOKS
12 #options MEMORY_DISK_DYNAMIC
13 #options MEMORY_DISK_IS_ROOT # force root on memory disk
14 #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
15 #options MEMORY_DISK_ROOT_SIZE=4096 # size of memory disk, in blocks
16 #options MEMORY_DISK_ROOT_SIZE=2880 # 1.44M, same as a floppy
17
18 # estimated number of users
19
20 maxusers 32
21
22 # Standard system options
23
24 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
25 options NTP # NTP phase/frequency locked loop
26
27 # CPU options
28
29 options CPU_ARM9 # Support the ARM9TDMI core
30 makeoptions COPTS="-O2 -march=armv4"
31 #options ARM9_CACHE_WRITE_THROUGH
32
33 # Architecture options
34
35 options S3C2XX0_XTAL_CLK=12000000 # 12MHz Xtal
36 # CPU clock configuration: comma separated list of
37 # hdivn, pdivn, mdiv, pdiv, sdiv
38 options SMDK2XX0_CLOCK_CONFIG="1,1,0x5c,4,0" # to get 200MHz
39
40 # File systems
41
42 file-system FFS # UFS
43 #file-system LFS # log-structured file system
44 file-system MFS # memory file system
45 file-system NFS # Network file system
46 #file-system ADOSFS # AmigaDOS-compatible file system
47 #file-system EXT2FS # second extended file system (linux)
48 file-system CD9660 # ISO 9660 + Rock Ridge file system
49 file-system MSDOSFS # MS-DOS file system
50 #file-system FDESC # /dev/fd
51 file-system KERNFS # /kern
52 #file-system NULLFS # loopback file system
53 #file-system PORTAL # portal filesystem (still experimental)
54 file-system PROCFS # /proc
55 #file-system UMAPFS # NULLFS + uid and gid remapping
56 #file-system UNION # union file system
57
58 # File system options
59 #options QUOTA # UFS quotas
60 #options FFS_EI # FFS Endian Independant support
61 #options NFSSERVER
62 options SOFTDEP
63
64 # Networking options
65
66 options GATEWAY # packet forwarding
67 options INET # IP + ICMP + TCP + UDP
68 options INET6 # IPV6
69 #options IPSEC # IP security
70 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
71 #options IPSEC_DEBUG # debug for IP security
72 #options MROUTING # IP multicast routing
73 #options NS # XNS
74 #options NSIP # XNS tunneling over IP
75 #options ISO,TPIP # OSI
76 #options EON # OSI tunneling over IP
77 #options CCITT,LLC,HDLC # X.25
78 #options NETATALK # AppleTalk networking
79 #options PFIL_HOOKS # pfil(9) packet filter hooks
80 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
81 #options PPP_DEFLATE # Deflate compression support for PPP
82 #options PPP_FILTER # Active filter support for PPP (requires bpf)
83 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
84
85 # These options enable verbose messages for several subsystems.
86 # Warning, these may compile large string tables into the kernel!
87 #options MIIVERBOSE # verbose PHY autoconfig messages
88 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
89 #options SCSIVERBOSE # human readable SCSI error messages
90 options USBVERBOSE # verbose USB device autoconfig messages
91
92 options NFS_BOOT_BOOTP
93 options NFS_BOOT_DHCP
94 options NFS_BOOT_BOOTPARAM
95
96 # Compatibility options
97
98 #options COMPAT_43 # 4.3BSD compatibility.
99 options COMPAT_16 # NetBSD 1.6 compatibility.
100 #options COMPAT_15 # NetBSD 1.5 compatibility.
101 #options COMPAT_14 # NetBSD 1.4 compatibility.
102 #options COMPAT_13 # NetBSD 1.3 compatibility.
103 #options COMPAT_12 # NetBSD 1.2 compatibility.
104 #options COMPAT_11 # NetBSD 1.1 compatibility.
105 #options COMPAT_10 # NetBSD 1.0 compatibility.
106 #options COMPAT_09 # NetBSD 0.9 compatibility.
107 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
108
109 # Shared memory options
110
111 options SYSVMSG # System V-like message queues
112 options SYSVSEM # System V-like semaphores
113 #options SEMMNI=10 # number of semaphore identifiers
114 #options SEMMNS=60 # number of semaphores in system
115 #options SEMUME=10 # max number of undo entries per process
116 #options SEMMNU=30 # number of undo structures in system
117 options SYSVSHM # System V-like memory sharing
118 #options SHMMAXPGS=1024 # 1024 pages is the default
119
120 # Miscellaneous kernel options
121 options KTRACE # system call tracing, a la ktrace(1)
122 #XXX: options IRQSTATS # manage IRQ statistics
123 #options LKM # loadable kernel modules
124 #options KMEMSTATS # kernel memory statistics
125 options SCSIVERBOSE # Verbose SCSI errors
126 options PCIVERBOSE # Verbose PCI descriptions
127 options MIIVERBOSE # Verbose MII autoconfuration messages
128 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
129 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
130 # configure PCI devices
131 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
132 #options PCI_DEBUG
133 options DDB_KEYCODE=0x1d # Enter ddb on ^]
134 options USERCONF # userconf(4) support
135 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
136 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
137
138 # Development and Debugging options
139
140 #options ARM700BUGTRACK # track the ARM700 swi bug
141 #options PORTMASTER # Enable PortMaster only options
142 #options DIAGNOSTIC # internal consistency checks
143 #options PMAP_DEBUG # Enable pmap_debug_level code
144 #options VERBOSE_INIT_ARM # verbose bootstraping messages
145 #options IPKDB # remote kernel debugging
146 #options KGDB
147 #options DEBUG_KGDB
148 #options DDB # in-kernel debugger
149 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
150 #makeoptions DEBUG="-g" # compile full symbol table
151 config netbsd root on ? type ?
152
153 # The main bus device
154 mainbus0 at root
155
156 # The boot CPU
157 cpu0 at mainbus?
158
159 # Core logic on Samsung S3C2410
160 ssio0 at mainbus?
161 ssextio0 at ssio0
162
163 # integrated UART
164 sscom0 at ssio? index 0
165 sscom1 at ssio? index 1
166 #sscom2 at ssio? index 2
167 options SSCOM0CONSOLE
168 #options SSCOM1CONSOLE
169 options CONSPEED=115200
170 options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1
171 options KGDB_DEVRATE=115200
172
173 # LCD
174 #device-major lcd char 145
175 lcd0 at ssio?
176 wsdisplay* at lcd? console ?
177 options WSEMUL_VT100 # VT100 / VT220 emulation
178 options FONT_VT220L8x16
179 options FONT_VT220L8x10
180 #options LCD_DEBUG
181
182 # SPI port
183 #ssspi0 at ssio? index 0
184 ssspi1 at ssio? index 1
185
186 # on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
187 sskbd0 at ssspi1 intr 1
188 wskbd* at sskbd? # console ?
189
190 # SCSI bus support
191 scsibus* at scsi?
192
193 # SCSI devices
194 sd* at scsibus? target ? lun ? # SCSI disk drives
195 st* at scsibus? target ? lun ? # SCSI tape drives
196 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
197 ch* at scsibus? target ? lun ? # SCSI autochangers
198 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
199 ss* at scsibus? target ? lun ? # SCSI scanners
200 uk* at scsibus? target ? lun ? # SCSI unknown
201
202 # ATAPI bus support
203 atapibus* at atapi?
204
205 # ATAPI devices
206 # flags have the same meaning as for IDE drives.
207 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
208 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
209 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
210 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
211
212 # MIDI support
213 midi* at midibus?
214 # midi* at pcppi? # MIDI interface to the PC speaker
215
216 # Audio support
217 audio* at audiobus?
218
219 # on-board CS8900A Ethernet
220 cs* at ssextio? intr 9 addr 0x18000000
221 # set MAC address to on-board CS8900A.
222 options SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
223
224 # built-in OHCI USB controller
225 ohci0 at ssio? addr 0x49000000 intr 26
226 options OHCI_DEBUG
227
228 usb* at ohci0
229
230 # USB Hubs
231 uhub* at usb?
232 uhub* at uhub? port ? configuration ? interface ?
233
234 # USB HID device
235 uhidev* at uhub? port ? configuration ? interface ?
236
237 # USB Mice
238 ums* at uhidev? reportid ?
239 wsmouse* at ums? mux 0
240
241 # USB Keyboards
242 ukbd* at uhidev? reportid ?
243 wskbd* at ukbd? console ? mux 1
244
245 # USB Generic HID devices
246 uhid* at uhidev? reportid ?
247
248 # USB Printer
249 ulpt* at uhub? port ? configuration ? interface ?
250
251 # USB Modem
252 umodem* at uhub? port ? configuration ?
253 ucom* at umodem?
254
255 # USB Mass Storage
256 umass* at uhub? port ? configuration ? interface ?
257 wd* at umass?
258
259 # USB audio
260 uaudio* at uhub? port ? configuration ?
261
262 # USB MIDI
263 umidi* at uhub? port ? configuration ?
264
265 # USB IrDA
266 # USB-IrDA bridge spec
267 uirda* at uhub? port ? configuration ? interface ?
268 irframe* at uirda?
269
270 # SigmaTel STIr4200 USB/IrDA Bridge
271 ustir* at uhub? port ?
272 irframe* at ustir?
273
274 # USB Ethernet adapters
275 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
276 cue* at uhub? port ? # CATC USB-EL1201A based adapters
277 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
278 uax* at uhub? port ? # ASIX AX88172 based adapters
279 url* at uhub? port ? # Realtek RTL8150L based adapters
280
281 # Prolific PL2301/PL2302 host-to-host adapter
282 upl* at uhub? port ?
283
284 # Serial adapters
285 ubsa* at uhub? port ? # Belkin serial adapter
286 ucom* at ubsa? portno ?
287
288 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
289 ucom* at uftdi? portno ?
290
291 umct* at uhub? port ? # MCT USB-RS232 serial adapter
292 ucom* at umct? portno ?
293
294 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
295 ucom* at uplcom? portno ?
296
297 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
298 ucom* at uvscom? portno ?
299
300 # Diamond Multimedia Rio 500
301 urio* at uhub? port ?
302
303 # USB Handspring Visor
304 uvisor* at uhub? port ?
305 ucom* at uvisor?
306
307 # USB scanners
308 uscanner* at uhub? port ?
309
310 # USB scanners that use SCSI emulation, e.g., HP5300
311 usscanner* at uhub? port ?
312
313 # Y@P firmware loader
314 uyap* at uhub? port ?
315
316 # D-Link DSB-R100 USB radio
317 udsbr* at uhub? port ?
318 radio* at udsbr?
319
320 # USB Generic driver
321 ugen* at uhub? port ?
322
323 # Pseudo-Devices
324
325 # disk/mass storage pseudo-devices
326 #pseudo-device md 1 # memory disk device (ramdisk)
327 #pseudo-device vnd 4 # disk-like interface to files
328
329 # network pseudo-devices
330 #pseudo-device bpfilter 8 # Berkeley packet filter
331 pseudo-device ipfilter # IP filter (firewall) and NAT
332 pseudo-device loop # network loopback
333 #pseudo-device ppp 2 # Point-to-Point Protocol
334 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
335 #pseudo-device sl 2 # Serial Line IP
336 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
337 #pseudo-device irframetty # IrDA frame line discipline
338 #pseudo-device tun 2 # network tunneling over tty
339 #pseudo-device gre 2 # generic L3 over IP tunnel
340 #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
341 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
342 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
343 #pseudo-device vlan # IEEE 802.1q encapsulation
344 #pseudo-device bridge # simple inter-network bridging
345 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
346
347 # miscellaneous pseudo-devices
348 pseudo-device pty # pseudo-terminals
349 pseudo-device rnd # /dev/random and in-kernel generator
350 pseudo-device clockctl # user control of clock subsystem
351
352 # wscons pseudo-devices
353 pseudo-device wsmux # mouse & keyboard multiplexor
354 #pseudo-device wsfont
355
356 #pseudo-device ksyms # /dev/ksyms
357