SMDK2410 revision 1.46 1 # $NetBSD: SMDK2410,v 1.46 2011/12/18 05:49:26 dholland 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 CPUFLAGS="-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 PROCFS # /proc
54 #file-system UMAPFS # NULLFS + uid and gid remapping
55 #file-system UNION # union file system
56 file-system PTYFS # /dev/pts/N support
57
58 # File system options
59 #options QUOTA # legacy UFS quotas
60 #options QUOTA2 # new, in-filesystem UFS quotas
61 #options FFS_EI # FFS Endian Independent support
62 #options NFSSERVER
63 options WAPBL # File system journaling support
64 #options FFS_NO_SNAPSHOT # No FFS snapshot support
65
66 # Networking options
67
68 options GATEWAY # packet forwarding
69 options INET # IP + ICMP + TCP + UDP
70 options INET6 # IPV6
71 #options IPSEC # IP security
72 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
73 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
74 #options IPSEC_DEBUG # debug for IP security
75 #options MROUTING # IP multicast routing
76 #options PIM # Protocol Independent Multicast
77 #options ISO,TPIP # OSI
78 #options EON # OSI tunneling over IP
79 #options NETATALK # AppleTalk networking
80 #options PFIL_HOOKS # pfil(9) packet filter hooks
81 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
82 #options PPP_DEFLATE # Deflate compression support for PPP
83 #options PPP_FILTER # Active filter support for PPP (requires bpf)
84 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
85
86 # These options enable verbose messages for several subsystems.
87 # Warning, these may compile large string tables into the kernel!
88 #options MIIVERBOSE # verbose PHY autoconfig messages
89 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
90 #options SCSIVERBOSE # human readable SCSI error messages
91 options USBVERBOSE # verbose USB device autoconfig messages
92
93 options NFS_BOOT_BOOTP
94 options NFS_BOOT_DHCP
95 options NFS_BOOT_BOOTPARAM
96
97 # Compatibility options
98
99 #options COMPAT_43 # 4.3BSD compatibility.
100 options COMPAT_50 # NetBSD 5.0 compatibility.
101 options COMPAT_40 # NetBSD 4.0 compatibility.
102 options COMPAT_30 # NetBSD 3.0 compatibility.
103 options COMPAT_20 # NetBSD 2.0 compatibility.
104 options COMPAT_16 # NetBSD 1.6 compatibility.
105 #options COMPAT_15 # NetBSD 1.5 compatibility.
106 #options COMPAT_14 # NetBSD 1.4 compatibility.
107 #options COMPAT_13 # NetBSD 1.3 compatibility.
108 #options COMPAT_12 # NetBSD 1.2 compatibility.
109 #options COMPAT_11 # NetBSD 1.1 compatibility.
110 #options COMPAT_10 # NetBSD 1.0 compatibility.
111 #options COMPAT_09 # NetBSD 0.9 compatibility.
112 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
113 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
114
115 # Shared memory options
116
117 options SYSVMSG # System V-like message queues
118 options SYSVSEM # System V-like semaphores
119 #options SEMMNI=10 # number of semaphore identifiers
120 #options SEMMNS=60 # number of semaphores in system
121 #options SEMUME=10 # max number of undo entries per process
122 #options SEMMNU=30 # number of undo structures in system
123 options SYSVSHM # System V-like memory sharing
124
125 # Miscellaneous kernel options
126 options KTRACE # system call tracing, a la ktrace(1)
127 #XXX: options IRQSTATS # manage IRQ statistics
128 #options KMEMSTATS # kernel memory statistics
129 options SCSIVERBOSE # Verbose SCSI errors
130 options PCIVERBOSE # Verbose PCI descriptions
131 options MIIVERBOSE # Verbose MII autoconfuration messages
132 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
133 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
134 # configure PCI devices
135 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
136 #options PCI_DEBUG
137 options DDB_KEYCODE=0x1d # Enter ddb on ^]
138 options USERCONF # userconf(4) support
139 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
140 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
141
142 # Development and Debugging options
143
144 #options ARM700BUGTRACK # track the ARM700 swi bug
145 #options PORTMASTER # Enable PortMaster only options
146 #options DIAGNOSTIC # internal consistency checks
147 #options PMAP_DEBUG # Enable pmap_debug_level code
148 #options VERBOSE_INIT_ARM # verbose bootstraping messages
149 #options KGDB
150 #options DEBUG_KGDB
151 #options DDB # in-kernel debugger
152 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
153 #makeoptions DEBUG="-g" # compile full symbol table
154 config netbsd root on ? type ?
155
156 # The main bus device
157 mainbus0 at root
158
159 # The boot CPU
160 cpu0 at mainbus?
161
162 # Core logic on Samsung S3C2410
163 ssio0 at mainbus?
164 ssextio0 at ssio0
165
166 # integrated UART
167 sscom0 at ssio? index 0
168 sscom1 at ssio? index 1
169 #sscom2 at ssio? index 2
170 options SSCOM0CONSOLE
171 #options SSCOM1CONSOLE
172 options CONSPEED=115200
173 options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1
174 options KGDB_DEVRATE=115200
175
176 # LCD
177 #device-major lcd char 145
178 lcd0 at ssio?
179 wsdisplay* at lcd? console ?
180 options WSEMUL_VT100 # VT100 / VT220 emulation
181 options FONT_VT220L8x16
182 options FONT_VT220L8x10
183 #options LCD_DEBUG
184
185 # SPI port
186 #ssspi0 at ssio? index 0
187 ssspi1 at ssio? index 1
188
189 # on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
190 sskbd0 at ssspi1 intr 1
191 wskbd* at sskbd? # console ?
192
193 # SCSI bus support
194 scsibus* at scsi?
195
196 # SCSI devices
197 sd* at scsibus? target ? lun ? # SCSI disk drives
198 st* at scsibus? target ? lun ? # SCSI tape drives
199 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
200 ch* at scsibus? target ? lun ? # SCSI autochangers
201 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
202 ss* at scsibus? target ? lun ? # SCSI scanners
203 uk* at scsibus? target ? lun ? # SCSI unknown
204
205 # ATAPI bus support
206 atapibus* at atapi?
207
208 # ATAPI devices
209 # flags have the same meaning as for IDE drives.
210 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
211 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
212 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
213 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
214
215 # MIDI support
216 midi* at midibus?
217 # midi* at pcppi? # MIDI interface to the PC speaker
218
219 # Audio support
220 audio* at audiobus?
221
222 # on-board CS8900A Ethernet
223 cs* at ssextio? intr 9 addr 0x18000000
224 # set MAC address to on-board CS8900A.
225 options SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
226
227 # built-in OHCI USB controller
228 ohci0 at ssio? addr 0x49000000 intr 26
229 options OHCI_DEBUG
230
231 usb* at ohci0
232
233 # USB Hubs
234 uhub* at usb?
235 uhub* at uhub? port ?
236
237 # USB HID device
238 uhidev* at uhub? port ? configuration ? interface ?
239
240 # USB Mice
241 ums* at uhidev? reportid ?
242 wsmouse* at ums? mux 0
243
244 # USB Keyboards
245 ukbd* at uhidev? reportid ?
246 wskbd* at ukbd? console ? mux 1
247
248 # USB serial adapter
249 ucycom* at uhidev? reportid ?
250
251 # USB Generic HID devices
252 uhid* at uhidev? reportid ?
253
254 # USB Printer
255 ulpt* at uhub? port ? configuration ? interface ?
256
257 # USB Modem
258 umodem* at uhub? port ? configuration ?
259 ucom* at umodem?
260
261 # Option N.V. Wireless WAN modems
262 uhso* at uhub? port ? configuration ?
263
264 # USB Mass Storage
265 umass* at uhub? port ? configuration ? interface ?
266 wd* at umass?
267
268 # USB audio
269 uaudio* at uhub? port ? configuration ?
270
271 # USB MIDI
272 umidi* at uhub? port ? configuration ?
273
274 # USB IrDA
275 # USB-IrDA bridge spec
276 uirda* at uhub? port ? configuration ? interface ?
277 irframe* at uirda?
278
279 # SigmaTel STIr4200 USB/IrDA Bridge
280 ustir* at uhub? port ?
281 irframe* at ustir?
282
283 # USB Ethernet adapters
284 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
285 axe* at uhub? port ? # ASIX AX88172 based adapters
286 cue* at uhub? port ? # CATC USB-EL1201A based adapters
287 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
288 url* at uhub? port ? # Realtek RTL8150L based adapters
289
290 # Prolific PL2301/PL2302 host-to-host adapter
291 upl* at uhub? port ?
292
293 # Serial adapters
294 ubsa* at uhub? port ? # Belkin serial adapter
295 ucom* at ubsa? portno ?
296
297 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
298 ucom* at uftdi? portno ?
299
300 umct* at uhub? port ? # MCT USB-RS232 serial adapter
301 ucom* at umct? portno ?
302
303 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
304 ucom* at uplcom? portno ?
305
306 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
307 ucom* at uvscom? portno ?
308
309 # Diamond Multimedia Rio 500
310 urio* at uhub? port ?
311
312 # USB Handspring Visor
313 uvisor* at uhub? port ?
314 ucom* at uvisor?
315
316 # Kyocera AIR-EDGE PHONE
317 ukyopon* at uhub? port ?
318 ucom* at ukyopon? portno ?
319
320 # USB scanners
321 uscanner* at uhub? port ?
322
323 # USB scanners that use SCSI emulation, e.g., HP5300
324 usscanner* at uhub? port ?
325
326 # Y@P firmware loader
327 uyap* at uhub? port ?
328
329 # D-Link DSB-R100 USB radio
330 udsbr* at uhub? port ?
331 radio* at udsbr?
332
333 # USB Generic driver
334 ugen* at uhub? port ?
335
336 # Pseudo-Devices
337
338 # disk/mass storage pseudo-devices
339 #pseudo-device md # memory disk device (ramdisk)
340 #pseudo-device vnd # disk-like interface to files
341 #pseudo-device fss # file system snapshot device
342
343 # network pseudo-devices
344 #pseudo-device bpfilter # Berkeley packet filter
345 pseudo-device ipfilter # IP filter (firewall) and NAT
346 pseudo-device loop # network loopback
347 #pseudo-device ppp # Point-to-Point Protocol
348 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
349 #pseudo-device sl # Serial Line IP
350 #pseudo-device strip # Starmode Radio IP (Metricom)
351 #pseudo-device irframetty # IrDA frame line discipline
352 #pseudo-device tun # network tunneling over tty
353 #pseudo-device tap # virtual Ethernet
354 #pseudo-device gre # generic L3 over IP tunnel
355 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
356 #pseudo-device faith # IPv[46] tcp relay translation i/f
357 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
358 #pseudo-device vlan # IEEE 802.1q encapsulation
359 #pseudo-device bridge # simple inter-network bridging
360 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
361
362 # miscellaneous pseudo-devices
363 pseudo-device pty # pseudo-terminals
364 pseudo-device clockctl # user control of clock subsystem
365
366 # wscons pseudo-devices
367 pseudo-device wsmux # mouse & keyboard multiplexor
368 #pseudo-device wsfont
369
370 #pseudo-device ksyms # /dev/ksyms
371