SMDK2410 revision 1.5
1#	$NetBSD: SMDK2410,v 1.5 2003/09/06 10:00:52 rearnsha 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.
99#options 	COMPAT_15	# NetBSD 1.5 compatibility.
100#options 	COMPAT_14	# NetBSD 1.4 compatibility.
101#options 	COMPAT_13	# NetBSD 1.3 compatibility.
102#options 	COMPAT_12	# NetBSD 1.2 compatibility.
103#options 	COMPAT_11	# NetBSD 1.1 compatibility.
104#options 	COMPAT_10	# NetBSD 1.0 compatibility.
105#options 	COMPAT_09	# NetBSD 0.9 compatibility.
106#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
107
108# Shared memory options
109
110options 	SYSVMSG		# System V-like message queues
111options 	SYSVSEM		# System V-like semaphores
112#options 	SEMMNI=10	# number of semaphore identifiers
113#options 	SEMMNS=60	# number of semaphores in system
114#options 	SEMUME=10	# max number of undo entries per process
115#options 	SEMMNU=30	# number of undo structures in system
116options 	SYSVSHM		# System V-like memory sharing
117#options 	SHMMAXPGS=1024	# 1024 pages is the default
118
119# Miscellaneous kernel options
120options 	KTRACE		# system call tracing, a la ktrace(1)
121#XXX: options 	IRQSTATS	# manage IRQ statistics
122#options 	LKM		# loadable kernel modules
123#options 	KMEMSTATS	# kernel memory statistics
124options 	SCSIVERBOSE	# Verbose SCSI errors
125options 	PCIVERBOSE	# Verbose PCI descriptions
126options 	MIIVERBOSE	# Verbose MII autoconfuration messages
127#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
128options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
129					# configure PCI devices
130#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
131#options 	PCI_DEBUG
132options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
133options 	USERCONF	# userconf(4) support
134#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
135
136# Development and Debugging options
137
138#options 	ARM700BUGTRACK	# track the ARM700 swi bug
139#options 	PORTMASTER	# Enable PortMaster only options
140#options 	DIAGNOSTIC	# internal consistency checks
141#options 	PMAP_DEBUG	# Enable pmap_debug_level code
142#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
143#options 	IPKDB		# remote kernel debugging
144#options 	KGDB
145#options  	DEBUG_KGDB
146#options 	DDB		# in-kernel debugger
147#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
148#makeoptions	DEBUG="-g"	# compile full symbol table
149config		netbsd	root on ? type ?
150
151# The main bus device
152mainbus0	at root
153
154# The boot cpu
155cpu0		at mainbus?
156
157# Core logic on Samsung S3C2410
158ssio0	at mainbus?
159ssextio0 at ssio0
160
161# integrated UART
162sscom0	at ssio? index 0
163sscom1	at ssio? index 1
164#sscom2	at ssio? index 2
165options 	SSCOM0CONSOLE
166#options 	SSCOM1CONSOLE
167options CONSPEED=115200
168options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
169options KGDB_DEVRATE=115200
170
171# SCSI bus support
172scsibus* at scsi?
173
174# SCSI devices
175sd*	at scsibus? target ? lun ?	# SCSI disk drives
176st*	at scsibus? target ? lun ?	# SCSI tape drives
177cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
178ch*	at scsibus? target ? lun ?	# SCSI autochangers
179ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
180ss*	at scsibus? target ? lun ?	# SCSI scanners
181uk*	at scsibus? target ? lun ?	# SCSI unknown
182
183# ATAPI bus support
184atapibus* at atapi?
185
186# ATAPI devices
187# flags have the same meaning as for IDE drives.
188cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
189sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
190st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
191uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
192
193# MIDI support
194midi*	at midibus?
195# midi*	at pcppi?		# MIDI interface to the PC speaker
196
197# Audio support
198audio*	at audiobus?
199
200# on-board CS8900A Ethernet
201cs*	at ssextio? intr 9 addr 0x18000000
202# set MAC address to on-board CS8900A.
203options	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
204
205# built-in OHCI USB controller
206ohci0	at ssio? addr 0x49000000 intr 26
207options 	OHCI_DEBUG
208
209usb*	at ohci0
210
211# USB Hubs
212uhub*	at usb?
213uhub*	at uhub? port ? configuration ? interface ?
214
215# USB HID device
216uhidev*	at uhub? port ? configuration ? interface ?
217
218# USB Mice
219ums*	at uhidev? reportid ?
220wsmouse* at ums? mux 0
221
222# USB Keyboards
223ukbd*	at uhidev? reportid ?
224wskbd*	at ukbd? console ? mux 1
225
226# USB Generic HID devices
227uhid*	at uhidev? reportid ?
228
229# USB Printer
230ulpt*	at uhub? port ? configuration ? interface ?
231
232# USB Modem
233umodem*	at uhub? port ? configuration ?
234ucom*	at umodem?
235
236# USB Mass Storage
237umass*	at uhub? port ? configuration ? interface ?
238wd* at umass?
239
240# USB audio
241uaudio*	at uhub? port ? configuration ?
242
243# USB MIDI
244umidi* at uhub? port ? configuration ?
245
246# USB IrDA
247# USB-IrDA bridge spec
248uirda* at uhub? port ? configuration ? interface ?
249irframe* at uirda?
250
251# SigmaTel STIr4200 USB/IrDA Bridge
252ustir* at uhub? port ?
253irframe* at ustir?
254
255# USB Ethernet adapters
256aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
257cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
258kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
259uax*	at uhub? port ?		# ASIX AX88172 based adapters
260url*	at uhub? port ?		# Realtek RTL8150L based adapters
261
262# Prolific PL2301/PL2302 host-to-host adapter
263upl*	at uhub? port ?
264
265# Serial adapters
266ubsa*	at uhub? port ?		# Belkin serial adapter
267ucom*	at ubsa? portno ?
268
269uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
270ucom*	at uftdi? portno ?
271
272umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
273ucom*	at umct? portno ?
274
275uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
276ucom*	at uplcom? portno ?
277
278uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
279ucom*	at uvscom? portno ?
280
281# Diamond Multimedia Rio 500
282urio*	at uhub? port ?
283
284# USB Handspring Visor
285uvisor*	at uhub? port ?
286ucom*	at uvisor?
287
288# USB scanners
289uscanner* at uhub? port ?
290
291# USB scanners that use SCSI emulation, e.g., HP5300
292usscanner* at uhub? port ?
293
294# Y@P firmware loader
295uyap* at uhub? port ?
296
297# D-Link DSB-R100 USB radio
298udsbr*	at uhub? port ?
299radio*	at udsbr?
300
301# USB Generic driver
302ugen*	at uhub? port ?
303
304# Pseudo-Devices
305
306# disk/mass storage pseudo-devices
307#pseudo-device	md		1	# memory disk device (ramdisk)
308#pseudo-device	vnd		4	# disk-like interface to files
309
310# network pseudo-devices
311#pseudo-device	bpfilter	8	# Berkeley packet filter
312pseudo-device	ipfilter		# IP filter (firewall) and NAT
313pseudo-device	loop			# network loopback
314#pseudo-device	ppp		2	# Point-to-Point Protocol
315#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
316#pseudo-device	sl		2	# Serial Line IP
317#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
318#pseudo-device	irframetty		# IrDA frame line discipline
319#pseudo-device	tun		2	# network tunneling over tty
320#pseudo-device	gre		2	# generic L3 over IP tunnel
321#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
322#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
323#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
324#pseudo-device	vlan			# IEEE 802.1q encapsulation
325#pseudo-device	bridge			# simple inter-network bridging
326#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
327
328# miscellaneous pseudo-devices
329pseudo-device	pty			# pseudo-terminals
330pseudo-device	rnd			# /dev/random and in-kernel generator
331pseudo-device	clockctl		# user control of clock subsystem
332