SMDK2410 revision 1.48
1#	$NetBSD: SMDK2410,v 1.48 2012/08/17 20:11:38 abs 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	UMAPFS		# NULLFS + uid and gid remapping
55#file-system	UNION		# union file system
56file-system	PTYFS		# /dev/pts/N support
57
58# File system options
59#options 	QUOTA		# legacy UFS quotas
60#options 	QUOTA2		# new, in-filesystem UFS quotas
61#options 	FFS_EI		# FFS Endian Independent support
62#options 	NFSSERVER
63options 	WAPBL		# File system journaling support
64#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
65
66# Networking options
67
68options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70options 	INET6		# IPV6
71#options 	IPSEC		# IP security
72#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
73#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
74#options 	IPSEC_DEBUG	# debug for IP security
75#options 	MROUTING	# IP multicast routing
76#options 	PIM		# Protocol Independent Multicast
77#options 	ISO,TPIP	# OSI
78#options 	EON		# OSI tunneling over IP
79#options 	NETATALK	# AppleTalk networking
80#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
81#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
82#options 	PPP_DEFLATE	# Deflate compression support for PPP
83#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86# These options enable verbose messages for several subsystems.
87# Warning, these may compile large string tables into the kernel!
88#options 	MIIVERBOSE	# verbose PHY autoconfig messages
89#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
90#options 	SCSIVERBOSE	# human readable SCSI error messages
91options 	USBVERBOSE	# verbose USB device autoconfig messages
92
93options 	NFS_BOOT_BOOTP
94options 	NFS_BOOT_DHCP
95options 	NFS_BOOT_BOOTPARAM
96
97# Compatibility options
98
99#options 	COMPAT_43	# 4.3BSD compatibility.
100options 	COMPAT_50	# NetBSD 5.0 compatibility.
101options 	COMPAT_40	# NetBSD 4.0 compatibility.
102options 	COMPAT_30	# NetBSD 3.0 compatibility.
103options 	COMPAT_20	# NetBSD 2.0 compatibility.
104options 	COMPAT_16	# NetBSD 1.6 compatibility.
105#options 	COMPAT_15	# NetBSD 1.5 compatibility.
106#options 	COMPAT_14	# NetBSD 1.4 compatibility.
107#options 	COMPAT_13	# NetBSD 1.3 compatibility.
108#options 	COMPAT_12	# NetBSD 1.2 compatibility.
109#options 	COMPAT_11	# NetBSD 1.1 compatibility.
110#options 	COMPAT_10	# NetBSD 1.0 compatibility.
111#options 	COMPAT_09	# NetBSD 0.9 compatibility.
112#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
113options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
114
115# Shared memory options
116
117options 	SYSVMSG		# System V-like message queues
118options 	SYSVSEM		# System V-like semaphores
119options 	SYSVSHM		# System V-like memory sharing
120
121# Miscellaneous kernel options
122options 	KTRACE		# system call tracing, a la ktrace(1)
123#XXX: options 	IRQSTATS	# manage IRQ statistics
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#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
137
138# Development and Debugging options
139
140#options 	ARM700BUGTRACK	# track the ARM700 swi bug
141#options 	PORTMASTER	# Enable PortMaster only options
142#options 	DIAGNOSTIC	# internal consistency checks
143#options 	PMAP_DEBUG	# Enable pmap_debug_level code
144#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
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# LCD
173#device-major	lcd	char 145
174lcd0		at ssio?
175wsdisplay*	at lcd? console ?
176options 	WSEMUL_VT100		# VT100 / VT220 emulation
177options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
178options 	FONT_VT220L8x16
179options 	FONT_VT220L8x10
180#options 	LCD_DEBUG
181
182# SPI port
183#ssspi0	at ssio? index 0
184ssspi1	at ssio? index 1
185
186# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
187sskbd0	at ssspi1	intr 1
188wskbd* at sskbd? # console ?
189
190# SCSI bus support
191scsibus* at scsi?
192
193# SCSI devices
194sd*	at scsibus? target ? lun ?	# SCSI disk drives
195st*	at scsibus? target ? lun ?	# SCSI tape drives
196cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
197ch*	at scsibus? target ? lun ?	# SCSI autochangers
198ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
199ss*	at scsibus? target ? lun ?	# SCSI scanners
200uk*	at scsibus? target ? lun ?	# SCSI unknown
201
202# ATAPI bus support
203atapibus* at atapi?
204
205# ATAPI devices
206# flags have the same meaning as for IDE drives.
207cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
208sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
209st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
210uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
211
212# MIDI support
213midi*	at midibus?
214# midi*	at pcppi?		# MIDI interface to the PC speaker
215
216# Audio support
217audio*	at audiobus?
218
219# on-board CS8900A Ethernet
220cs*	at ssextio? intr 9 addr 0x18000000
221# set MAC address to on-board CS8900A.
222options	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
223
224# built-in OHCI USB controller
225ohci0	at ssio? addr 0x49000000 intr 26
226options 	OHCI_DEBUG
227
228usb*	at ohci0
229
230# USB Hubs
231uhub*	at usb?
232uhub*	at uhub? port ?
233
234# USB HID device
235uhidev*	at uhub? port ? configuration ? interface ?
236
237# USB Mice
238ums*	at uhidev? reportid ?
239wsmouse* at ums? mux 0
240
241# USB Keyboards
242ukbd*	at uhidev? reportid ?
243wskbd*	at ukbd? console ? mux 1
244
245# USB serial adapter
246ucycom*	at uhidev? reportid ?
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# Option N.V. Wireless WAN modems
259uhso*	at uhub? port ? configuration ?
260
261# USB Mass Storage
262umass*	at uhub? port ? configuration ? interface ?
263wd* at umass?
264
265# USB audio
266uaudio*	at uhub? port ? configuration ?
267
268# USB MIDI
269umidi* at uhub? port ? configuration ?
270
271# USB IrDA
272# USB-IrDA bridge spec
273uirda* at uhub? port ? configuration ? interface ?
274irframe* at uirda?
275
276# SigmaTel STIr4200 USB/IrDA Bridge
277ustir* at uhub? port ?
278irframe* at ustir?
279
280# USB Ethernet adapters
281aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
282axe*	at uhub? port ?		# ASIX AX88172 based adapters
283cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
284kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
285url*	at uhub? port ?		# Realtek RTL8150L based adapters
286
287# Prolific PL2301/PL2302 host-to-host adapter
288upl*	at uhub? port ?
289
290# Serial adapters
291ubsa*	at uhub? port ?		# Belkin serial adapter
292ucom*	at ubsa? portno ?
293
294uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
295ucom*	at uftdi? portno ?
296
297umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
298ucom*	at umct? portno ?
299
300uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
301ucom*	at uplcom? portno ?
302
303uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
304ucom*	at uvscom? portno ?
305
306# Diamond Multimedia Rio 500
307urio*	at uhub? port ?
308
309# USB Handspring Visor
310uvisor*	at uhub? port ?
311ucom*	at uvisor?
312
313# Kyocera AIR-EDGE PHONE
314ukyopon* at uhub? port ?
315ucom*	at ukyopon? portno ?
316
317# USB scanners
318uscanner* at uhub? port ?
319
320# USB scanners that use SCSI emulation, e.g., HP5300
321usscanner* at uhub? port ?
322
323# Y@P firmware loader
324uyap* at uhub? port ?
325
326# D-Link DSB-R100 USB radio
327udsbr*	at uhub? port ?
328radio*	at udsbr?
329
330# USB Generic driver
331ugen*	at uhub? port ?
332
333# Pseudo-Devices
334
335# disk/mass storage pseudo-devices
336#pseudo-device	md			# memory disk device (ramdisk)
337#pseudo-device	vnd			# disk-like interface to files
338#pseudo-device	fss			# file system snapshot device
339
340# network pseudo-devices
341#pseudo-device	bpfilter		# Berkeley packet filter
342pseudo-device	ipfilter		# IP filter (firewall) and NAT
343pseudo-device	loop			# network loopback
344#pseudo-device	ppp			# Point-to-Point Protocol
345#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
346#pseudo-device	sl			# Serial Line IP
347#pseudo-device	strip			# Starmode Radio IP (Metricom)
348#pseudo-device	irframetty		# IrDA frame line discipline
349#pseudo-device	tun			# network tunneling over tty
350#pseudo-device	tap			# virtual Ethernet
351#pseudo-device	gre			# generic L3 over IP tunnel
352#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
353#pseudo-device	faith			# IPv[46] tcp relay translation i/f
354#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
355#pseudo-device	vlan			# IEEE 802.1q encapsulation
356#pseudo-device	bridge			# simple inter-network bridging
357#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
358
359# miscellaneous pseudo-devices
360pseudo-device	pty			# pseudo-terminals
361pseudo-device	clockctl		# user control of clock subsystem
362
363# wscons pseudo-devices
364pseudo-device	wsmux			# mouse & keyboard multiplexor
365#pseudo-device	wsfont
366
367#pseudo-device	ksyms			# /dev/ksyms
368