GEMINI revision 1.32
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_DEBUG	# debug for IP security
58#options 	MROUTING	# IP multicast routing
59#options 	PIM		# Protocol Independent Multicast
60#options 	NETATALK	# AppleTalk networking
61#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
62#options 	PPP_DEFLATE	# Deflate compression support for PPP
63#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
64#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
65
66options 	NFS_BOOT_BOOTP
67options 	NFS_BOOT_DHCP
68options		NFS_BOOT_RWSIZE=1024
69
70# Compatibility options
71
72options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
73#options 	COMPAT_43	# 4.3BSD compatibility.
74#options 	COMPAT_09	# NetBSD 0.9,
75#options 	COMPAT_10	# NetBSD 1.0,
76#options 	COMPAT_11	# NetBSD 1.1,
77#options 	COMPAT_12	# NetBSD 1.2,
78#options 	COMPAT_13	# NetBSD 1.3,
79#options 	COMPAT_14	# NetBSD 1.4,
80#options 	COMPAT_15	# NetBSD 1.5,
81#options 	COMPAT_16	# NetBSD 1.6,
82#options 	COMPAT_20	# NetBSD 2.0,
83#options 	COMPAT_30	# NetBSD 3.0,
84#options 	COMPAT_40	# NetBSD 4.0,
85options 	COMPAT_50	# NetBSD 5.0,
86options 	COMPAT_60	# NetBSD 6.0, and
87options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
88#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
89#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
90
91# Shared memory options
92
93options 	SYSVMSG		# System V-like message queues
94options 	SYSVSEM		# System V-like semaphores
95options 	SYSVSHM		# System V-like memory sharing
96
97# Device options
98
99#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
100#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
101#options 	MEMORY_DISK_DYNAMIC
102#options 	MINIROOTSIZE=1000	# Size in blocks
103#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
104
105# Miscellaneous kernel options
106options 	KTRACE		# system call tracing, a la ktrace(1)
107#options 	SCSIVERBOSE	# Verbose SCSI errors
108#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
109#options 	DDB_KEYCODE=0x40
110#options 	USERCONF	# userconf(4) support
111#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
112
113# Development and Debugging options
114
115#options 	PERFCTRS	# performance counters
116options 	DIAGNOSTIC	# internal consistency checks
117#options 	DEBUG
118#options 	PMAP_DEBUG	# Enable pmap_debug_level code
119options 	VERBOSE_INIT_ARM # verbose bootstraping messages
120options 	DDB		# in-kernel debugger
121options		DDB_ONPANIC=1
122options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
123#options 	KGDB
124makeoptions	DEBUG="-g"	# compile full symbol table
125##makeoptions	COPY_SYMTAB=1
126##options	ATADEBUG
127
128# Valid options for BOOT_ARGS:
129#  single		Boot to single user only
130#  kdb			Give control to kernel debugger
131#  ask			Ask for file name to reboot from
132#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
133#  memorydisk=<n>	Set memorydisk size to <n> KB
134#  quiet		Show aprint_naive output
135#  verbose		Show aprint_normal and aprint_verbose output
136options		BOOT_ARGS="\"\""
137
138config		netbsd		root on ? type ?
139##config		netbsd-sm0	root on sm0 type nfs
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=128
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
158options CONSADDR=0x42000000, CONSPEED=19200
159
160# Interrupt controller
161geminiicu0	at obio0 addr 0x48000000 intrbase 0
162##geminiicu1	at obio0 addr 0x49000000 intrbase 0
163
164# Watchdog timer
165geminiwdt0	at obio0 addr 0x41000000 size 0x1c
166# Internal PCLK is AHB bus freq,
167#  which is 1/6 of APB bus freq,
168#   which is 150MHz`
169options GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
170
171# Combined Operating System Timer and Statistics Timer
172geminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
173##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
174# Microtime Reference Timer
175geminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
176#
177# Internal PCLK is AHB bus freq,
178#  which is 1/6 of APB bus freq,
179#   which is 150MHz`
180options GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
181
182
183# On-board GPIO controllers
184
185
186# Real Time Clock
187
188# IDE
189##wdc0	at obio? addr 0x63000000 intr 4
190##wdc1	at obio? addr 0x63400000 intr 5
191
192##atabus* at ata? channel ?
193##wd*	at atabus? drive ? flags 0x0000
194
195# USB
196ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
197ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
198
199usb* at ehci?
200uhub* at usb?
201uhub* at uhub? port ?
202axe* at uhub?
203umass* at uhub? port ? configuration ? interface ?
204wd* at umass?
205
206# PCI
207pci0	at obio? bus ?
208options PCI_NETBSD_CONFIGURE		# set up the PCI bus
209options	PCIVERBOSE
210options PCI_CONFIG_DUMP
211
212# PCI Ethernet
213ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
214re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
215wm*	at pci? dev ? function ?	# Intel 8254x gigabit
216
217# MII/PHY support
218exphy*	at mii? phy ?			# 3Com internal PHYs
219rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
220makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
221
222# Pseudo-Devices
223
224# disk/mass storage pseudo-devices
225#pseudo-device	vnd			# disk-like interface to files
226#pseudo-device	fss			# file system snapshot device
227#pseudo-device	putter			# for puffs and pud
228
229# network pseudo-devices
230pseudo-device	bpfilter		# Berkeley packet filter
231pseudo-device	loop			# network loopback
232#pseudo-device	kttcp			# network loopback
233
234# miscellaneous pseudo-devices
235pseudo-device	pty			# pseudo-terminals
236#options	RND_COM
237#pseudo-device	clockctl		# user control of clock subsystem
238pseudo-device	ksyms			# /dev/ksyms
239
240