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