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