CP3100 revision 1.29
1#	$NetBSD: CP3100,v 1.29 2012/09/11 19:43:09 msaitoh Exp $
2#
3#	CP3100 -- Certance CP3100 Kernel
4#
5
6include	"arch/evbarm/conf/std.cp3100"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20
21# For XScale systems
22options 	CPU_XSCALE_80321	# Support the XScale core
23makeoptions	CPUFLAGS="-mcpu=xscale"
24
25# Architecture options
26options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
27#options 	HZ=512
28
29# File systems
30
31file-system	FFS		# UFS
32file-system	LFS		# log-structured file system
33file-system	MFS		# memory file system
34file-system	NFS		# Network file system
35#file-system 	ADOSFS		# AmigaDOS-compatible file system
36#file-system 	EXT2FS		# second extended file system (linux)
37#file-system	CD9660		# ISO 9660 + Rock Ridge file system
38#file-system	MSDOSFS		# MS-DOS file system
39file-system	FDESC		# /dev/fd
40file-system	KERNFS		# /kern
41file-system	NULLFS		# loopback file system
42file-system	PROCFS		# /proc
43#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
44#file-system	UMAPFS		# NULLFS + uid and gid remapping
45#file-system	UNION		# union file system
46file-system	PTYFS		# /dev/pts/N support
47
48# File system options
49#options 	QUOTA		# legacy UFS quotas
50#options 	QUOTA2		# new, in-filesystem UFS quotas
51#options 	FFS_EI		# FFS Endian Independent support
52options 	NFSSERVER
53options 	WAPBL		# File system journaling support
54#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
55
56# Networking options
57
58options 	GATEWAY		# packet forwarding
59options 	INET		# IP + ICMP + TCP + UDP
60options 	INET6		# IPV6
61#options 	IPSEC		# IP security
62#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
63#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
64#options 	IPSEC_DEBUG	# debug for IP security
65#options 	MROUTING	# IP multicast routing
66#options 	PIM		# Protocol Independent Multicast
67#options 	NS		# XNS
68#options 	NSIP		# XNS tunneling over IP
69#options 	ISO,TPIP	# OSI
70#options 	EON		# OSI tunneling over IP
71#options 	CCITT,LLC,HDLC	# X.25
72#options 	NETATALK	# AppleTalk networking
73#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
74#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
75#options 	PPP_DEFLATE	# Deflate compression support for PPP
76#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
77options 	IPFILTER_LOG	# ipmon(8) log support
78options 	IPFILTER_LOOKUP	# ippool(8) support
79#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
80
81options 	NFS_BOOT_BOOTP
82options 	NFS_BOOT_DHCP
83#options 	NFS_BOOT_BOOTPARAM
84
85# Compatibility options
86
87#options 	COMPAT_43	# 4.3BSD compatibility.
88options 	COMPAT_50	# NetBSD 5.0 compatibility.
89#options 	COMPAT_40	# NetBSD 4.0 compatibility.
90#options 	COMPAT_30	# NetBSD 3.0 compatibility.
91#options 	COMPAT_20	# NetBSD 2.0 compatibility.
92#options 	COMPAT_16	# NetBSD 1.6 compatibility.
93#options 	COMPAT_15	# NetBSD 1.5 compatibility.
94#options 	COMPAT_14	# NetBSD 1.4 compatibility.
95#options 	COMPAT_13	# NetBSD 1.3 compatibility.
96#options 	COMPAT_12	# NetBSD 1.2 compatibility.
97#options 	COMPAT_11	# NetBSD 1.1 compatibility.
98#options 	COMPAT_10	# NetBSD 1.0 compatibility.
99#options 	COMPAT_09	# NetBSD 0.9 compatibility.
100#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
101options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
102
103# Shared memory options
104
105options 	SYSVMSG		# System V-like message queues
106options 	SYSVSEM		# System V-like semaphores
107options 	SYSVSHM		# System V-like memory sharing
108
109# Device options
110
111#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
112#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
113#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
114
115# Console options.  The default console is speed is 115200 baud.
116options 	CONSPEED=115200		# Console speed
117
118# Miscellaneous kernel options
119options 	KTRACE		# system call tracing, a la ktrace(1)
120options 	IRQSTATS	# manage IRQ statistics
121#options 	KMEMSTATS	# kernel memory statistics
122#options 	SCSIVERBOSE	# Verbose SCSI errors
123#options 	PCIVERBOSE	# Verbose PCI descriptions
124#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
125#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
126#options 	DDB_KEYCODE=0x40
127options 	USERCONF	# userconf(4) support
128#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
129#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
130
131# Development and Debugging options
132
133options 	PERFCTRS	# performance counters
134options 	DIAGNOSTIC	# internally consistency checks
135#options 	DEBUG
136#options 	PMAP_DEBUG	# Enable pmap_debug_level code
137#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
138options 	DDB		# in-kernel debugger
139options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
140#makeoptions	DEBUG="-g"	# compile full symbol table
141options 	SYMTAB_SPACE=600000
142
143config		netbsd		root on ? type ?
144config		netbsd-wm0	root on wm0 type nfs
145config		netbsd-wd0	root on wd0a type ffs
146config		netbsd-sd0	root on sd0a type ffs
147
148# The main bus device
149mainbus0	at root
150
151# The boot CPU
152cpu0		at mainbus?
153
154# On-board device support
155obio*		at mainbus?
156
157# Console UART.
158# Note: "xint 4" is actually the HPI# pin
159com0		at obio? addr 0xfe800000 xint 4
160
161# i80321 I/O Processor peripheral support
162iopxs*		at mainbus?
163
164iopaau*		at iopxs?		# Application Accelerator Unit
165iopiic*		at iopxs?		# I2C Controller Unit(s)
166iic0		at iopiic?
167iic1		at iopiic?
168iopwdog*	at iopxs?		# Watchdog timer
169pci0		at iopxs? bus ?		# PCI/PCI-X support
170
171# IIC Devices
172m41trtc0	at iic1 addr 0x68		# M41T11 Realtime Clock
173
174#
175# Storage devices
176#
177
178# Serial ATA: i31244
179artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
180atabus* 	at ata?
181
182# ATA Disks
183wd*	at atabus? drive ? flags 0x0000
184
185# SCSI: Symbios Logic 53c1010
186#
187# Wire down the Target/Host instances. Disable the target contoller for
188# now as we don't currently support SCSI target mode.
189siop0		at pci0 dev 2 function 1	# Host controller
190#siop1		at pci0 dev 2 function 0	# Target controller
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#
203# Networking devices
204#
205
206# PCI network devices
207wm*	at pci? dev ? function ?	# Intel i82546EB Gig-E
208
209# MII/PHY support
210makphy* at mii? phy ?			# Marvell 88E1000 PHYs
211
212# Pseudo-Devices
213
214# disk/mass storage pseudo-devices
215pseudo-device	ccd		4	# concatenated/striped disk devices
216#pseudo-device	cgd		4	# cryptographic disk devices
217pseudo-device	raid		8	# RAIDframe disk driver
218options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
219# Options to enable various other RAIDframe RAID types.
220#options 	RF_INCLUDE_EVENODD=1
221#options 	RF_INCLUDE_RAID5_RS=1
222#options 	RF_INCLUDE_PARITYLOGGING=1
223#options 	RF_INCLUDE_CHAINDECLUSTER=1
224#options 	RF_INCLUDE_INTERDECLUSTER=1
225#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
226#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
227#pseudo-device	fss			# file system snapshot device
228#pseudo-device	putter			# for puffs and pud
229
230#pseudo-device	md			# memory disk device (ramdisk)
231pseudo-device	vnd			# disk-like interface to files
232options 	VND_COMPRESSION		# compressed vnd(4)
233
234# network pseudo-devices
235pseudo-device	bpfilter		# Berkeley packet filter
236pseudo-device	ipfilter		# IP filter (firewall) and NAT
237pseudo-device	loop			# network loopback
238#pseudo-device	tun			# network tunneling over tty
239#pseudo-device	vlan			# IEEE 802.1q encapsulation
240#pseudo-device	bridge			# simple inter-network bridging
241
242# miscellaneous pseudo-devices
243pseudo-device	pty			# pseudo-terminals
244pseudo-device	clockctl		# user control of clock subsystem
245pseudo-device	ksyms			# /dev/ksyms
246
247# data mover pseudo-devices
248#pseudo-device	swdmover		# software dmover(9) back-end
249#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
250