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