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