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