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