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