SMDK2410 revision 1.16
1#	$NetBSD: SMDK2410,v 1.16 2005/02/11 08:25:54 dsl 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	CPUFLAGS="-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
63options 	FFS_SNAPSHOT	# ffs snapshots
64
65# Networking options
66
67options 	GATEWAY		# packet forwarding
68options 	INET		# IP + ICMP + TCP + UDP
69options 	INET6		# IPV6
70#options 	IPSEC		# IP security
71#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
72#options 	IPSEC_DEBUG	# debug for IP security
73#options 	MROUTING	# IP multicast routing
74#options 	PIM		# Protocol Independent Multicast
75#options 	NS		# XNS
76#options 	NSIP		# XNS tunneling over IP
77#options 	ISO,TPIP	# OSI
78#options 	EON		# OSI tunneling over IP
79#options 	CCITT,LLC,HDLC	# X.25
80#options 	NETATALK	# AppleTalk networking
81#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
82#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
83#options 	PPP_DEFLATE	# Deflate compression support for PPP
84#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
85#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
86
87# These options enable verbose messages for several subsystems.
88# Warning, these may compile large string tables into the kernel!
89#options 	MIIVERBOSE	# verbose PHY autoconfig messages
90#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
91#options 	SCSIVERBOSE	# human readable SCSI error messages
92options 	USBVERBOSE	# verbose USB device autoconfig messages
93
94options 	NFS_BOOT_BOOTP
95options 	NFS_BOOT_DHCP
96options 	NFS_BOOT_BOOTPARAM
97
98# Compatibility options
99
100#options 	COMPAT_43	# 4.3BSD compatibility.
101options 	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.
110options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
111
112# Shared memory options
113
114options 	SYSVMSG		# System V-like message queues
115options 	SYSVSEM		# System V-like semaphores
116#options 	SEMMNI=10	# number of semaphore identifiers
117#options 	SEMMNS=60	# number of semaphores in system
118#options 	SEMUME=10	# max number of undo entries per process
119#options 	SEMMNU=30	# number of undo structures in system
120options 	SYSVSHM		# System V-like memory sharing
121#options 	SHMMAXPGS=1024	# 1024 pages is the default
122
123# Miscellaneous kernel options
124options 	KTRACE		# system call tracing, a la ktrace(1)
125#XXX: options 	IRQSTATS	# manage IRQ statistics
126#options 	LKM		# loadable kernel modules
127#options 	KMEMSTATS	# kernel memory statistics
128options 	SCSIVERBOSE	# Verbose SCSI errors
129options 	PCIVERBOSE	# Verbose PCI descriptions
130options 	MIIVERBOSE	# Verbose MII autoconfuration messages
131#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
132options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
133					# configure PCI devices
134#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
135#options 	PCI_DEBUG
136options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
137options 	USERCONF	# userconf(4) support
138#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
139#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
140
141# Development and Debugging options
142
143#options 	ARM700BUGTRACK	# track the ARM700 swi bug
144#options 	PORTMASTER	# Enable PortMaster only options
145#options 	DIAGNOSTIC	# internal consistency checks
146#options 	PMAP_DEBUG	# Enable pmap_debug_level code
147#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
148#options 	IPKDB		# remote kernel debugging
149#options 	KGDB
150#options  	DEBUG_KGDB
151#options 	DDB		# in-kernel debugger
152#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
153#makeoptions	DEBUG="-g"	# compile full symbol table
154config		netbsd	root on ? type ?
155
156# The main bus device
157mainbus0	at root
158
159# The boot CPU
160cpu0		at mainbus?
161
162# Core logic on Samsung S3C2410
163ssio0	at mainbus?
164ssextio0 at ssio0
165
166# integrated UART
167sscom0	at ssio? index 0
168sscom1	at ssio? index 1
169#sscom2	at ssio? index 2
170options 	SSCOM0CONSOLE
171#options 	SSCOM1CONSOLE
172options CONSPEED=115200
173options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
174options KGDB_DEVRATE=115200
175
176# LCD
177#device-major	lcd	char 145
178lcd0		at ssio?
179wsdisplay*	at lcd? console ?
180options 	WSEMUL_VT100		# VT100 / VT220 emulation
181options 	FONT_VT220L8x16
182options 	FONT_VT220L8x10
183#options 	LCD_DEBUG
184
185# SPI port
186#ssspi0	at ssio? index 0
187ssspi1	at ssio? index 1
188
189# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
190sskbd0	at ssspi1	intr 1
191wskbd* at sskbd? # console ?
192
193# SCSI bus support
194scsibus* at scsi?
195
196# SCSI devices
197sd*	at scsibus? target ? lun ?	# SCSI disk drives
198st*	at scsibus? target ? lun ?	# SCSI tape drives
199cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
200ch*	at scsibus? target ? lun ?	# SCSI autochangers
201ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
202ss*	at scsibus? target ? lun ?	# SCSI scanners
203uk*	at scsibus? target ? lun ?	# SCSI unknown
204
205# ATAPI bus support
206atapibus* at atapi?
207
208# ATAPI devices
209# flags have the same meaning as for IDE drives.
210cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
211sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
212st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
213uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
214
215# MIDI support
216midi*	at midibus?
217# midi*	at pcppi?		# MIDI interface to the PC speaker
218
219# Audio support
220audio*	at audiobus?
221
222# on-board CS8900A Ethernet
223cs*	at ssextio? intr 9 addr 0x18000000
224# set MAC address to on-board CS8900A.
225options	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
226
227# built-in OHCI USB controller
228ohci0	at ssio? addr 0x49000000 intr 26
229options 	OHCI_DEBUG
230
231usb*	at ohci0
232
233# USB Hubs
234uhub*	at usb?
235uhub*	at uhub? port ? configuration ? interface ?
236
237# USB HID device
238uhidev*	at uhub? port ? configuration ? interface ?
239
240# USB Mice
241ums*	at uhidev? reportid ?
242wsmouse* at ums? mux 0
243
244# USB Keyboards
245ukbd*	at uhidev? reportid ?
246wskbd*	at ukbd? console ? mux 1
247
248# USB Generic HID devices
249uhid*	at uhidev? reportid ?
250
251# USB Printer
252ulpt*	at uhub? port ? configuration ? interface ?
253
254# USB Modem
255umodem*	at uhub? port ? configuration ?
256ucom*	at umodem?
257
258# USB Mass Storage
259umass*	at uhub? port ? configuration ? interface ?
260wd* at umass?
261
262# USB audio
263uaudio*	at uhub? port ? configuration ?
264
265# USB MIDI
266umidi* at uhub? port ? configuration ?
267
268# USB IrDA
269# USB-IrDA bridge spec
270uirda* at uhub? port ? configuration ? interface ?
271irframe* at uirda?
272
273# SigmaTel STIr4200 USB/IrDA Bridge
274ustir* at uhub? port ?
275irframe* at ustir?
276
277# USB Ethernet adapters
278aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
279axe*	at uhub? port ?		# ASIX AX88172 based adapters
280cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
281kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
282url*	at uhub? port ?		# Realtek RTL8150L based adapters
283
284# Prolific PL2301/PL2302 host-to-host adapter
285upl*	at uhub? port ?
286
287# Serial adapters
288ubsa*	at uhub? port ?		# Belkin serial adapter
289ucom*	at ubsa? portno ?
290
291uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
292ucom*	at uftdi? portno ?
293
294umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
295ucom*	at umct? portno ?
296
297uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
298ucom*	at uplcom? portno ?
299
300uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
301ucom*	at uvscom? portno ?
302
303# Diamond Multimedia Rio 500
304urio*	at uhub? port ?
305
306# USB Handspring Visor
307uvisor*	at uhub? port ?
308ucom*	at uvisor?
309
310# USB scanners
311uscanner* at uhub? port ?
312
313# USB scanners that use SCSI emulation, e.g., HP5300
314usscanner* at uhub? port ?
315
316# Y@P firmware loader
317uyap* at uhub? port ?
318
319# D-Link DSB-R100 USB radio
320udsbr*	at uhub? port ?
321radio*	at udsbr?
322
323# USB Generic driver
324ugen*	at uhub? port ?
325
326# Pseudo-Devices
327
328# disk/mass storage pseudo-devices
329#pseudo-device	md		1	# memory disk device (ramdisk)
330#pseudo-device	vnd		4	# disk-like interface to files
331#pseudo-device	fss		4	# file system snapshot device
332
333# network pseudo-devices
334#pseudo-device	bpfilter	8	# Berkeley packet filter
335pseudo-device	ipfilter		# IP filter (firewall) and NAT
336pseudo-device	loop			# network loopback
337#pseudo-device	ppp		2	# Point-to-Point Protocol
338#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
339#pseudo-device	sl		2	# Serial Line IP
340#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
341#pseudo-device	irframetty		# IrDA frame line discipline
342#pseudo-device	tun		2	# network tunneling over tty
343#pseudo-device	tap			# virtual Ethernet
344#pseudo-device	gre		2	# generic L3 over IP tunnel
345#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
346#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
347#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
348#pseudo-device	vlan			# IEEE 802.1q encapsulation
349#pseudo-device	bridge			# simple inter-network bridging
350#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
351
352# miscellaneous pseudo-devices
353pseudo-device	pty			# pseudo-terminals
354pseudo-device	rnd			# /dev/random and in-kernel generator
355pseudo-device	clockctl		# user control of clock subsystem
356
357# wscons pseudo-devices
358pseudo-device	wsmux			# mouse & keyboard multiplexor
359#pseudo-device	wsfont
360
361#pseudo-device	ksyms			# /dev/ksyms
362