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