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