GEMINI_MASTER revision 1.35
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 	DISKLABEL_EI	# disklabel Endian Independent support
48#options 	FFS_EI		# FFS Endian Independent support
49#options 	NFSSERVER
50#options 	WAPBL		# File system journaling support
51#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
52
53# Networking options
54
55#options 	GATEWAY		# packet forwarding
56options 	INET		# IP + ICMP + TCP + UDP
57options 	INET6		# IPV6
58#options 	IPSEC		# IP security
59#options 	IPSEC_DEBUG	# debug for IP security
60#options 	MROUTING	# IP multicast routing
61#options 	PIM		# Protocol Independent Multicast
62#options 	NETATALK	# AppleTalk networking
63#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
64#options 	PPP_DEFLATE	# Deflate compression support for PPP
65#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
66#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
67
68options 	NFS_BOOT_BOOTP
69options 	NFS_BOOT_DHCP
70options		NFS_BOOT_RWSIZE=1024
71
72# Compatibility options
73
74options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
75#options 	COMPAT_43	# 4.3BSD compatibility.
76#options 	COMPAT_09	# NetBSD 0.9,
77#options 	COMPAT_10	# NetBSD 1.0,
78#options 	COMPAT_11	# NetBSD 1.1,
79#options 	COMPAT_12	# NetBSD 1.2,
80#options 	COMPAT_13	# NetBSD 1.3,
81#options 	COMPAT_14	# NetBSD 1.4,
82#options 	COMPAT_15	# NetBSD 1.5,
83#options 	COMPAT_16	# NetBSD 1.6,
84#options 	COMPAT_20	# NetBSD 2.0,
85#options 	COMPAT_30	# NetBSD 3.0,
86#options 	COMPAT_40	# NetBSD 4.0,
87options 	COMPAT_50	# NetBSD 5.0,
88options 	COMPAT_60	# NetBSD 6.0, and
89options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
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 	SCSIVERBOSE	# Verbose SCSI errors
109#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
110#options 	DDB_KEYCODE=0x40
111#options 	USERCONF	# userconf(4) support
112#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
113
114# Development and Debugging options
115
116#options 	PERFCTRS	# performance counters
117options 	DIAGNOSTIC	# internal consistency checks
118#options 	DEBUG
119#options 	PMAP_DEBUG	# Enable pmap_debug_level code
120options 	VERBOSE_INIT_ARM # verbose bootstraping messages
121options 	DDB		# in-kernel debugger
122options		DDB_ONPANIC=1
123options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
124#options 	KGDB
125makeoptions	DEBUG="-g"	# compile full symbol table
126##makeoptions	COPY_SYMTAB=1
127##options	ATADEBUG
128
129# Valid options for BOOT_ARGS:
130#  single		Boot to single user only
131#  kdb			Give control to kernel debugger
132#  ask			Ask for file name to reboot from
133#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
134#  memorydisk=<n>	Set memorydisk size to <n> KB
135#  quiet		Show aprint_naive output
136#  verbose		Show aprint_normal and aprint_verbose output
137options		BOOT_ARGS="\"\""
138
139config		netbsd		root on ? type ?
140
141# The main bus device
142mainbus0	at root
143
144# The boot cpu
145cpu0		at mainbus?
146
147# Specify the memory size in megabytes.
148options		MEMSIZE=64
149
150# Specify the (DMA) Bus Address base in megabytes
151options		GEMINI_BUSBASE=0
152
153# On-board IO
154obio0		at mainbus?
155
156# On-board 16550 UART(s)
157com0		at obio? addr 0x42000000 intr 18 mult 4
158##options CONSADDR=0x478003f8, CONSPEED=19200
159options CONSADDR=0x42000000, CONSPEED=19200
160
161# Aux COM at IT8712
162##geminilpchc0	at obio? addr 0x47000000 intr 20
163##lpc0		at geminilpchc0 addr 0x47800000
164##com1		at lpc? ldn 0x01 addr 0x3f8 intr -1
165##com1		at lpc? ldn 0x01 addr 0x3f8 intr 4
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# Gemini Inter-processor-interrupt (IPI)
191geminiipi0	at obio? intr 0
192
193# Gemini Inter-processor-messages (IPM)
194geminiipm0	at geminiipi0
195
196# Gemini Pseudo NIC (GPN)
197gpn0		at geminiipm0
198
199# On-board GPIO controllers
200geminigpio0	at obio0 addr 0x4d000000 intrbase 32  intr 22
201geminigpio1	at obio0 addr 0x4e000000 intrbase 64  intr 23
202geminigpio2	at obio0 addr 0x4f000000 intrbase 96  intr 24
203
204# Real Time Clock
205
206# IDE
207##wdc0	at obio? addr 0x63000000 intr 4
208##wdc1	at obio? addr 0x63400000 intr 5
209
210##atabus* at ata? channel ?
211##wd*	at atabus? drive ? flags 0x0000
212
213# USB
214##ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
215##ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
216
217##usb* at ehci?
218##uhub* at usb?
219##uhub* at uhub? port ?
220
221# USB Ethernet adapters
222##axe* at uhub?
223
224# PCI
225##pci0	at obio? bus ?
226##options PCI_NETBSD_CONFIGURE		# set up the PCI bus
227##options	PCIVERBOSE
228##options PCI_CONFIG_DUMP
229
230# PCI Ethernet
231##ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
232
233# MII/PHY support
234##exphy*	at mii? phy ?			# 3Com internal PHYs
235##ukphy*	at mii? phy ?			# generic unknown PHYs
236
237
238# Pseudo-Devices
239
240# disk/mass storage pseudo-devices
241pseudo-device	md			# memory disk
242#pseudo-device	vnd			# disk-like interface to files
243#pseudo-device	fss			# file system snapshot device
244#pseudo-device	putter			# for puffs and pud
245
246# network pseudo-devices
247pseudo-device	bpfilter		# Berkeley packet filter
248pseudo-device	loop			# network loopback
249#pseudo-device	kttcp			# network loopback
250
251# miscellaneous pseudo-devices
252pseudo-device	pty			# pseudo-terminals
253#options	RND_COM
254#pseudo-device	clockctl		# user control of clock subsystem
255pseudo-device	ksyms			# /dev/ksyms
256
257