GEMINI_MASTER revision 1.29
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_DEBUG	# debug for IP security
59#options 	MROUTING	# IP multicast routing
60#options 	PIM		# Protocol Independent Multicast
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_BOOTP
68options 	NFS_BOOT_DHCP
69options		NFS_BOOT_RWSIZE=1024
70
71# Compatibility options
72
73options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
74#options 	COMPAT_43	# 4.3BSD compatibility.
75options 	COMPAT_70	# NetBSD 7.0 compatibility.
76options 	COMPAT_60	# NetBSD 6.0 compatibility.
77options 	COMPAT_50	# NetBSD 5.0 compatibility.
78#options 	COMPAT_40	# NetBSD 4.0 compatibility.
79#options 	COMPAT_30	# NetBSD 3.0 compatibility.
80#options 	COMPAT_20	# NetBSD 2.0 compatibility.
81#options 	COMPAT_16	# NetBSD 1.6 compatibility.
82#options 	COMPAT_15	# NetBSD 1.5 compatibility.
83#options 	COMPAT_14	# NetBSD 1.4 compatibility.
84#options 	COMPAT_13	# NetBSD 1.3 compatibility.
85#options 	COMPAT_12	# NetBSD 1.2 compatibility.
86#options 	COMPAT_11	# NetBSD 1.1 compatibility.
87#options 	COMPAT_10	# NetBSD 1.0 compatibility.
88#options 	COMPAT_09	# NetBSD 0.9 compatibility.
89#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
90#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
91
92# Shared memory options
93
94options 	SYSVMSG		# System V-like message queues
95options 	SYSVSEM		# System V-like semaphores
96options 	SYSVSHM		# System V-like memory sharing
97
98# Device options
99
100# Memory disk
101options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
102options 	MEMORY_DISK_HOOKS
103options 	MEMORY_DISK_DYNAMIC
104options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
105
106# Miscellaneous kernel options
107options 	KTRACE		# system call tracing, a la ktrace(1)
108#options 	KMEMSTATS	# kernel memory statistics
109#options 	SCSIVERBOSE	# Verbose SCSI errors
110#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
111#options 	DDB_KEYCODE=0x40
112#options 	USERCONF	# userconf(4) support
113#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
114
115# Development and Debugging options
116
117#options 	PERFCTRS	# performance counters
118options 	DIAGNOSTIC	# internal consistency checks
119#options 	DEBUG
120#options 	PMAP_DEBUG	# Enable pmap_debug_level code
121options 	VERBOSE_INIT_ARM # verbose bootstraping messages
122options 	DDB		# in-kernel debugger
123options		DDB_ONPANIC=1
124options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
125#options 	KGDB
126makeoptions	DEBUG="-g"	# compile full symbol table
127##options 	SYMTAB_SPACE=280000
128##options	ATADEBUG
129
130# Valid options for BOOT_ARGS:
131#  single		Boot to single user only
132#  kdb			Give control to kernel debugger
133#  ask			Ask for file name to reboot from
134#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
135#  memorydisk=<n>	Set memorydisk size to <n> KB
136#  quiet		Show aprint_naive output
137#  verbose		Show aprint_normal and aprint_verbose output
138options		BOOT_ARGS="\"\""
139
140config		netbsd		root on ? type ?
141
142# The main bus device
143mainbus0	at root
144
145# The boot cpu
146cpu0		at mainbus?
147
148# Specify the memory size in megabytes.
149options		MEMSIZE=64
150
151# Specify the (DMA) Bus Address base in megabytes
152options		GEMINI_BUSBASE=0
153
154# On-board IO
155obio0		at mainbus?
156
157# On-board 16550 UART(s)
158com0		at obio? addr 0x42000000 intr 18 mult 4
159##options CONSADDR=0x478003f8, CONSPEED=19200
160options CONSADDR=0x42000000, CONSPEED=19200
161
162# Aux COM at IT8712
163##geminilpchc0	at obio? addr 0x47000000 intr 20
164##lpc0		at geminilpchc0 addr 0x47800000
165##com1		at lpc? ldn 0x01 addr 0x3f8 intr -1
166##com1		at lpc? ldn 0x01 addr 0x3f8 intr 4
167
168# Interrupt controller
169geminiicu0	at obio0 addr 0x48000000 intrbase 0
170##geminiicu1	at obio0 addr 0x49000000 intrbase 0
171
172# Watchdog timer
173geminiwdt0	at obio0 addr 0x41000000 size 0x1c
174# Internal PCLK is AHB bus freq,
175#  which is 1/6 of APB bus freq,
176#   which is 150MHz`
177options GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
178
179# Combined Operating System Timer and Statistics Timer
180geminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
181##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
182# Microtime Reference Timer
183geminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
184#
185# Internal PCLK is AHB bus freq,
186#  which is 1/6 of APB bus freq,
187#   which is 150MHz`
188options GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
189
190
191# Gemini Inter-processor-interrupt (IPI)
192geminiipi0	at obio? intr 0
193
194# Gemini Inter-processor-messages (IPM)
195geminiipm0	at geminiipi0
196
197# Gemini Pseudo NIC (GPN)
198gpn0		at geminiipm0
199
200# On-board GPIO controllers
201geminigpio0	at obio0 addr 0x4d000000 intrbase 32  intr 22
202geminigpio1	at obio0 addr 0x4e000000 intrbase 64  intr 23
203geminigpio2	at obio0 addr 0x4f000000 intrbase 96  intr 24
204
205# Real Time Clock
206
207# IDE
208##wdc0	at obio? addr 0x63000000 intr 4
209##wdc1	at obio? addr 0x63400000 intr 5
210
211##atabus* at ata? channel ?
212##wd*	at atabus? drive ? flags 0x0000
213
214# USB
215##ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
216##ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
217
218##usb* at ehci?
219##uhub* at usb?
220##uhub* at uhub? port ?
221##axe* at uhub?
222
223# PCI
224##pci0	at obio? bus ?
225##options PCI_NETBSD_CONFIGURE		# set up the PCI bus
226##options	PCIVERBOSE
227##options PCI_CONFIG_DUMP
228
229# PCI Ethernet
230##ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
231
232# MII/PHY support
233##exphy*	at mii? phy ?			# 3Com internal PHYs
234##ukphy*	at mii? phy ?			# generic unknown PHYs
235
236
237# Pseudo-Devices
238
239# disk/mass storage pseudo-devices
240pseudo-device	md			# memory disk
241#pseudo-device	vnd			# disk-like interface to files
242#pseudo-device	fss			# file system snapshot device
243#pseudo-device	putter			# for puffs and pud
244
245# network pseudo-devices
246pseudo-device	bpfilter		# Berkeley packet filter
247pseudo-device	loop			# network loopback
248#pseudo-device	kttcp			# network loopback
249
250# miscellaneous pseudo-devices
251pseudo-device	pty			# pseudo-terminals
252#options	RND_COM
253#pseudo-device	clockctl		# user control of clock subsystem
254pseudo-device	ksyms			# /dev/ksyms
255
256