GEMINI revision 1.2
1#
2#	GEMINI -- 
3#
4
5include	"arch/evbarm/conf/std.gemini"
6
7# estimated number of users
8
9maxusers	32
10
11# Standard system options
12
13options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
14#options 	NTP		# NTP phase/frequency locked loop
15
16# CPU options
17
18options 	CPU_FA526
19options 	SL3516
20
21# Architecture options
22
23# File systems
24
25file-system	FFS		# UFS
26#file-system	LFS		# log-structured file system
27file-system	MFS		# memory file system
28file-system	NFS		# Network file system
29#file-system 	ADOSFS		# AmigaDOS-compatible file system
30#file-system 	EXT2FS		# second extended file system (linux)
31#file-system	CD9660		# ISO 9660 + Rock Ridge file system
32file-system	MSDOSFS		# MS-DOS file system
33#file-system	FDESC		# /dev/fd
34#file-system	KERNFS		# /kern
35#file-system	NULLFS		# loopback file system
36#file-system	PORTAL		# portal filesystem (still experimental)
37#file-system	PROCFS		# /proc
38#file-system	UMAPFS		# NULLFS + uid and gid remapping
39#file-system	UNION		# union file system
40file-system	PTYFS		# /dev/pts/N support
41
42# File system options
43#options 	QUOTA		# UFS quotas
44#options 	FFS_EI		# FFS Endian Independant support
45#options 	NFSSERVER
46#options 	SOFTDEP
47#options 	WAPBL		# File system journaling support - Experimental
48#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
49
50# Networking options
51
52#options 	GATEWAY		# packet forwarding
53options 	INET		# IP + ICMP + TCP + UDP
54options 	INET6		# IPV6
55#options 	IPSEC		# IP security
56#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
57#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
58#options 	IPSEC_DEBUG	# debug for IP security
59#options 	MROUTING	# IP multicast routing
60#options 	PIM		# Protocol Independent Multicast
61#options 	NS		# XNS
62#options 	NSIP		# XNS tunneling over IP
63#options 	ISO,TPIP	# OSI
64#options 	EON		# OSI tunneling over IP
65#options 	CCITT,LLC,HDLC	# X.25
66#options 	NETATALK	# AppleTalk networking
67#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
68#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
69#options 	PPP_DEFLATE	# Deflate compression support for PPP
70#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
71#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
72
73options 	NFS_BOOT_BOOTP
74options 	NFS_BOOT_DHCP
75options		NFS_BOOT_RWSIZE=1024
76
77# Compatibility options
78
79#options 	COMPAT_43	# 4.3BSD compatibility.
80#options 	COMPAT_40	# NetBSD 4.0 compatibility.
81#options 	COMPAT_30	# NetBSD 3.0 compatibility.
82#options 	COMPAT_20	# NetBSD 2.0 compatibility.
83#options 	COMPAT_16	# NetBSD 1.6 compatibility.
84#options 	COMPAT_15	# NetBSD 1.5 compatibility.
85#options 	COMPAT_14	# NetBSD 1.4 compatibility.
86#options 	COMPAT_13	# NetBSD 1.3 compatibility.
87#options 	COMPAT_12	# NetBSD 1.2 compatibility.
88#options 	COMPAT_11	# NetBSD 1.1 compatibility.
89#options 	COMPAT_10	# NetBSD 1.0 compatibility.
90#options 	COMPAT_09	# NetBSD 0.9 compatibility.
91#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
92#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
93
94# Shared memory options
95
96options 	SYSVMSG		# System V-like message queues
97options 	SYSVSEM		# System V-like semaphores
98#options 	SEMMNI=10	# number of semaphore identifiers
99#options 	SEMMNS=60	# number of semaphores in system
100#options 	SEMUME=10	# max number of undo entries per process
101#options 	SEMMNU=30	# number of undo structures in system
102options 	SYSVSHM		# System V-like memory sharing
103#options 	SHMMAXPGS=1024	# 1024 pages is the default
104
105# Device options
106
107#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
108#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
109#options 	MEMORY_DISK_DYNAMIC
110#options 	MINIROOTSIZE=1000	# Size in blocks
111#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
112
113# Miscellaneous kernel options
114options 	KTRACE		# system call tracing, a la ktrace(1)
115#options 	LKM		# loadable kernel modules
116#options 	KMEMSTATS	# kernel memory statistics
117#options 	SCSIVERBOSE	# Verbose SCSI errors
118#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
119#options 	DDB_KEYCODE=0x40
120#options 	USERCONF	# userconf(4) support
121#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
122
123# Development and Debugging options
124
125#options 	PERFCTRS	# performance counters
126options 	DIAGNOSTIC	# internally consistency checks
127#options 	DEBUG
128#options 	PMAP_DEBUG	# Enable pmap_debug_level code
129options 	VERBOSE_INIT_ARM # verbose bootstraping messages
130options 	DDB		# in-kernel debugger
131options		DDB_ONPANIC=1
132options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
133#options 	KGDB
134#makeoptions	DEBUG="-g"	# compile full symbol table
135##options 	SYMTAB_SPACE=280000
136
137# Valid options for BOOT_ARGS:
138#  single		Boot to single user only
139#  kdb			Give control to kernel debugger
140#  ask			Ask for file name to reboot from
141#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
142#  memorydisk=<n>	Set memorydisk size to <n> KB
143#  quiet		Show aprint_naive output
144#  verbose		Show aprint_normal and aprint_verbose output
145options		BOOT_ARGS="\"\""
146
147config		netbsd		root on ? type ?
148##config		netbsd-sm0	root on sm0 type nfs
149
150# The main bus device
151mainbus0	at root
152
153# The boot cpu
154cpu0		at mainbus?
155
156# Specify the memory size in megabytes.
157options		MEMSIZE=128
158
159# On-board IO
160obio0		at mainbus?
161
162# On-board 16550 UART(s)
163com0		at obio? addr 0x42000000 intr 18 mult 4
164options CONSADDR=0x42000000, CONSPEED=19200
165
166# Interrupt controller
167geminiicu0	at obio0 addr 0x48000000 intrbase 0
168##geminiicu1	at obio0 addr 0x49000000 intrbase 0
169
170# Watchdog timer
171geminiwdt0	at obio0 addr 0x41000000 size 0x1c
172# Internal PCLK is AHB bus freq,
173#  which is 1/6 of APB bus freq,
174#   which is 150MHz`
175options GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
176
177# Operating System Timer
178geminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
179# Statistics Timer
180geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
181# Microtime Reference Timer
182geminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
183#
184# Internal PCLK is AHB bus freq,
185#  which is 1/6 of APB bus freq,
186#   which is 150MHz`
187options GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
188
189
190# On-board GPIO controllers
191
192
193# Real Time Clock
194
195# ATA
196#wdc0	at obio? addr 0x63000000 intr 4
197#wdc1	at obio? addr 0x63400000 intr 5
198
199# USB
200ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
201ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31? 
202
203usb* at ehci?
204uhub* at usb?
205uhub* at uhub? port ?
206axe* at uhub?
207
208# PCI
209pci0	at obio? bus ?
210options PCI_NETBSD_CONFIGURE		# set up the PCI bus 
211options	PCIVERBOSE
212options PCI_CONFIG_DUMP
213
214# PCI Ethernet
215ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
216
217# MII/PHY support
218exphy*	at mii? phy ?			# 3Com internal PHYs
219ukphy*	at mii? phy ?			# generic unknown PHYs
220
221
222# Pseudo-Devices
223
224# disk/mass storage pseudo-devices
225pseudo-device	md		1	# memory disk device (ramdisk)
226#pseudo-device	vnd			# disk-like interface to files
227#pseudo-device	fss		4	# file system snapshot device
228
229# network pseudo-devices
230pseudo-device	bpfilter		# Berkeley packet filter
231pseudo-device	loop			# network loopback
232#pseudo-device	kttcp			# network loopback
233
234# miscellaneous pseudo-devices
235pseudo-device	pty			# pseudo-terminals
236pseudo-device	rnd			# /dev/random and in-kernel generator
237#options	RND_COM
238#pseudo-device	clockctl		# user control of clock subsystem
239pseudo-device	ksyms			# /dev/ksyms
240
241