xref: /netbsd-src/sys/arch/evbarm/conf/GEMINI (revision c7ae7f02a8ff1280ee8106b5640d183dfb1be24d)
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 	FFS_EI		# FFS Endian Independent support
45#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
46#options 	QUOTA		# legacy UFS quotas
47#options 	QUOTA2		# new, in-filesystem UFS quotas
48#options 	UFS_DIRHASH	# UFS Large Directory Hashing
49#options 	UFS_EXTATTR	# Extended attribute support for UFS1
50#options 	WAPBL		# File system journaling support
51#options 	DISKLABEL_EI	# disklabel Endian Independent support
52#options 	NFSSERVER	# Network File System server
53
54# Networking options
55
56#options 	GATEWAY		# packet forwarding
57options 	INET		# IP + ICMP + TCP + UDP
58options 	INET6		# IPV6
59#options 	IPSEC		# IP security
60#options 	IPSEC_DEBUG	# debug for IP security
61#options 	MROUTING	# IP multicast routing
62#options 	PIM		# Protocol Independent Multicast
63#options 	NETATALK	# AppleTalk networking
64#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
65#options 	PPP_DEFLATE	# Deflate compression support for PPP
66#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
67#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
68
69options 	NFS_BOOT_BOOTP
70options 	NFS_BOOT_DHCP
71options 	NFS_BOOT_RWSIZE=1024
72
73# Compatibility options
74
75include 	"conf/compat_netbsd50.config"
76options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
77
78# Shared memory options
79
80options 	SYSVMSG		# System V-like message queues
81options 	SYSVSEM		# System V-like semaphores
82options 	SYSVSHM		# System V-like memory sharing
83
84# Device options
85
86#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
87#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
88#options 	MEMORY_DISK_DYNAMIC
89#options 	MINIROOTSIZE=1000	# Size in blocks
90#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
91
92# Miscellaneous kernel options
93options 	KTRACE		# system call tracing, a la ktrace(1)
94#options 	SCSIVERBOSE	# Verbose SCSI errors
95#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
96#options 	DDB_KEYCODE=0x40
97#options 	USERCONF	# userconf(4) support
98#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
99
100# Development and Debugging options
101
102options 	DIAGNOSTIC	# internal consistency checks
103#options 	DEBUG
104#options 	UVMHIST		# kernhist for uvm/pmap subsystems
105options 	VERBOSE_INIT_ARM # verbose bootstraping messages
106options 	DDB		# in-kernel debugger
107options 	DDB_ONPANIC=1
108options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
109#options 	KGDB
110makeoptions	DEBUG="-g"	# compile full symbol table
111##makeoptions	COPY_SYMTAB=1
112##options	ATADEBUG
113
114# Valid options for BOOT_ARGS:
115#  single		Boot to single user only
116#  kdb			Give control to kernel debugger
117#  ask			Ask for file name to reboot from
118#  quiet		Show aprint_naive output
119#  verbose		Show aprint_normal and aprint_verbose output
120options 	BOOT_ARGS="\"\""
121
122config		netbsd		root on ? type ?
123##config		netbsd-sm0	root on sm0 type nfs
124
125# The main bus device
126mainbus0	at root
127
128# The boot cpu
129cpu0		at mainbus?
130
131# Specify the memory size in megabytes.
132options 	MEMSIZE=128
133
134# Specify the (DMA) Bus Address base in megabytes
135options 	GEMINI_BUSBASE=0
136
137# On-board IO
138obio0		at mainbus?
139
140# On-board 16550 UART(s)
141com0		at obio? addr 0x42000000 intr 18 mult 4
142options CONSADDR=0x42000000, CONSPEED=19200
143
144# Interrupt controller
145geminiicu0	at obio0 addr 0x48000000 intrbase 0
146##geminiicu1	at obio0 addr 0x49000000 intrbase 0
147
148# Watchdog timer
149geminiwdt0	at obio0 addr 0x41000000 size 0x1c
150# Internal PCLK is AHB bus freq,
151#  which is 1/6 of APB bus freq,
152#   which is 150MHz`
153options GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
154
155# Combined Operating System Timer and Statistics Timer
156geminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
157##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
158# Microtime Reference Timer
159geminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
160#
161# Internal PCLK is AHB bus freq,
162#  which is 1/6 of APB bus freq,
163#   which is 150MHz`
164options GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
165
166
167# On-board GPIO controllers
168
169
170# Real Time Clock
171
172# IDE
173##wdc0	at obio? addr 0x63000000 intr 4
174##wdc1	at obio? addr 0x63400000 intr 5
175
176##atabus* at ata? channel ?
177##wd*	at atabus? drive ? flags 0x0000
178
179# USB
180ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
181ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
182
183usb* at ehci?
184uhub* at usb?
185uhub* at uhub? port ?
186umass* at uhub? port ? configuration ? interface ?
187
188# USB Ethernet adapters
189axe* at uhub?
190
191# PCI
192pci0	at obio? bus ?
193options PCI_NETBSD_CONFIGURE		# set up the PCI bus
194options PCIVERBOSE
195options PCI_CONFIG_DUMP
196
197# PCI Ethernet
198ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
199re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
200wm*	at pci? dev ? function ?	# Intel 8254x gigabit
201
202# MII/PHY support
203exphy*	at mii? phy ?			# 3Com internal PHYs
204rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
205makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
206
207# Pseudo-Devices
208
209# disk/mass storage pseudo-devices
210#pseudo-device	vnd			# disk-like interface to files
211#pseudo-device	fss			# file system snapshot device
212#pseudo-device	putter			# for puffs and pud
213
214# network pseudo-devices
215pseudo-device	bpfilter		# Berkeley packet filter
216pseudo-device	loop			# network loopback
217#pseudo-device	kttcp			# network loopback
218
219# miscellaneous pseudo-devices
220pseudo-device	pty			# pseudo-terminals
221#options	RND_COM
222#pseudo-device	clockctl		# user control of clock subsystem
223pseudo-device	ksyms			# /dev/ksyms
224
225