VIPER revision 1.41
1#	$NetBSD: VIPER,v 1.41 2017/09/14 07:58:40 mrg Exp $
2#
3#	Arcom Viper
4#
5
6include "arch/evbarm/conf/std.viper"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9#options 	MSGBUFSIZE=65536
10#options 	KSTACK_CHECK_MAGIC
11
12# estimated number of users
13maxusers	32
14
15# Standard system options
16
17options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
18options 	NTP		# NTP phase/frequency locked loop
19
20# CPU options
21
22options 	CPU_XSCALE_PXA250 # XScale PXA255
23makeoptions	CPUFLAGS="-mcpu=xscale"
24#options 	CPU_XSCALE_CCLKCFG=xyz
25
26# File systems
27
28file-system	FFS		# UFS
29#file-system	LFS		# log-structured file system
30file-system	MFS		# memory file system
31file-system	NFS		# Network file system
32#file-system 	ADOSFS		# AmigaDOS-compatible file system
33file-system 	EXT2FS		# second extended file system (linux)
34#file-system	CD9660		# ISO 9660 + Rock Ridge file system
35file-system	MSDOSFS		# MS-DOS file system
36#file-system	FDESC		# /dev/fd
37#file-system    FILECORE        # Acorn filecore file system
38file-system	KERNFS		# /kern
39file-system	NULLFS		# loopback file system
40file-system	PROCFS		# /proc
41#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
42#file-system	UMAPFS		# NULLFS + uid and gid remapping
43file-system	UNION		# union file system
44file-system	PTYFS		# /dev/pts/N support
45
46# File system options
47#options 	QUOTA		# legacy UFS quotas
48#options 	QUOTA2		# new, in-filesystem UFS quotas
49#options 	DISKLABEL_EI	# disklabel Endian Independent support
50#options 	FFS_EI		# FFS Endian Independent support
51options 	NFSSERVER
52
53# Networking options
54
55#options 	GATEWAY		# packet forwarding
56options 	INET		# IP + ICMP + TCP + UDP
57options 	INET6		# IPV6
58#options 	IPSEC		# IP security
59#options 	IPSEC_DEBUG	# debug for IP security
60#options 	MROUTING	# IP multicast routing
61#options 	NETATALK	# AppleTalk networking
62#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
63#options 	PPP_DEFLATE	# Deflate compression support for PPP
64#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
65#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
66
67options 	NFS_BOOT_DHCP
68options 	NFS_BOOT_BOOTPARAM
69options 	NFS_BOOT_RWSIZE=1024
70
71# Compatibility options
72
73include 	"conf/compat_netbsd30.config"
74options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
75
76# Shared memory options
77
78options 	SYSVMSG		# System V-like message queues
79options 	SYSVSEM		# System V-like semaphores
80options 	SYSVSHM		# System V-like memory sharing
81
82# Device options
83
84#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
85#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
86#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
87
88# Console options.  The default console is speed is 115200 bps.
89#options 	CONSPEED=9600		# Console speed
90
91# Miscellaneous kernel options
92options 	KTRACE		# system call tracing, a la ktrace(1)
93options 	IRQSTATS	# manage IRQ statistics
94#options 	SCSIVERBOSE	# Verbose SCSI errors
95#options 	PCIVERBOSE	# Verbose PCI descriptions
96#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
97#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
98#options 	DDB_KEYCODE=0x40
99#options 	USERCONF	# userconf(4) support
100#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
101
102# Development and Debugging options
103
104#options 	PERFCTRS	# performance counters
105options 	DIAGNOSTIC	# internal consistency checks
106#options 	DEBUG
107#options 	PMAP_DEBUG	# Enable pmap_debug_level code
108#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
109options 	DDB		# in-kernel debugger
110options 	DDB_ONPANIC=1
111options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
112#makeoptions	DEBUG="-g"	# compile full symbol table
113makeoptions	COPY_SYMTAB=1
114
115##options 	PMAP_INCLUDE_PTE_SYNC
116##options 	LOCKDEBUG
117
118config		netbsd		root on ? type ?
119
120# The main bus device
121mainbus0	at root
122
123# The boot CPU
124cpu0		at mainbus?
125
126# peripherals
127pxaip0		at mainbus0
128
129# interrupt controller & gpio pins
130pxaintc0	at pxaip0
131pxagpio0	at pxaip0
132
133# serial ports
134options 	COM_PXA2X0
135options 	FFUARTCONSOLE
136com0	at pxaip0 addr 0x40100000 intr 22  # FFUART
137com1	at pxaip0 addr 0x40200000 intr 21  # BTUART
138com2	at pxaip0 addr 0x40700000 intr 20
139
140# these two are not hanging off of pxaip, not really tested either
141#com3	at pxaip0 addr 0x14300000	# COM5
142#com4	at pxaip0 addr 0x14300010	# COM4
143
144# SMC91C111 ethernet
145sm0	at pxaip0 addr 0x08000300 intr 0
146
147# MII/PHY support
148sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
149
150# Pseudo-Devices
151
152# disk/mass storage pseudo-devices
153#pseudo-device	md			# memory disk device (ramdisk)
154pseudo-device	vnd			# disk-like interface to files
155#pseudo-device	fss			# file system snapshot device
156#pseudo-device	putter			# for puffs and pud
157
158# network pseudo-devices
159pseudo-device	bpfilter		# Berkeley packet filter
160pseudo-device	loop			# network loopback
161pseudo-device	kttcp			# network loopback
162
163# miscellaneous pseudo-devices
164pseudo-device	pty			# pseudo-terminals
165#options	RND_COM
166pseudo-device	clockctl		# user control of clock subsystem
167pseudo-device	ksyms			# /dev/ksyms
168
169# data mover pseudo-devices
170#pseudo-device	swdmover		# software dmover(9) back-end
171#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
172