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