summaryrefslogtreecommitdiff
path: root/sys/arch/evbppc/conf/P2020DS
blob: c18bb9aaf993dfe25ff8a7ad2bb67f2ffc1ad028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
#	$NetBSD: P2020DS,v 1.32 2022/08/07 02:52:25 simonb Exp $
#
#	P2020DS -- everything that's currently supported
#
#

include 	"arch/evbppc/conf/std.mpc85xx"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

ident 		"P2020DS-$Revision: 1.32 $"

maxusers	32

#options 	UVMHIST
#options 	UVMHIST_PRINT

options 	P2020
options 	PIXIS
#options 	SYS_CLK=100000000
#options 	HZ=1000
#options 	MEMSIZE=0x40000000
#options 	PMAP_MINIMALTLB
#makeoptions	KERNLDSCRIPT="${POWERPC}/conf/kern-mb.ldscript"

makeoptions	NEED_BINARY="yes"
makeoptions	NEED_UBOOTIMAGE="yes"

options 	INSECURE	# disable kernel security levels
#options 	NTP		# NTP phase/frequency locked loop
options 	KTRACE		# system call tracing via ktrace(1)
options 	MODULAR		# new style module(7) framework
options 	MODULAR_DEFAULT_AUTOLOAD

options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory

options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
options 	DEBUG		# expensive debugging checks/support
#options 	SYSCALL_DEBUG	# syscall debugging
options 	DDB		# in-kernel debugger
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
options 	TRAP_PANICWAIT
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table

makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options

include 	"conf/compat_netbsd13.config"
#options 	COMPAT_386BSD_MBRPART # recognize old partition ID

# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges

# File systems
file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
#file-system 	FDESC		# /dev/fd
file-system 	TMPFS		# efficient memory file system
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
#file-system 	OVERLAY		# overlay file system
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
file-system 	PROCFS		# /proc
#file-system 	UMAPFS		# NULLFS + uid and gid remapping
#file-system 	UNION		# union file system
file-system	PTYFS		# /dev/pts/N support

# File system options
options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#options 	DISKLABEL_EI	# disklabel Endian Independent support
options 	NFSSERVER	# Network File System server

options 	NFS_BOOT_DHCP	# Support DHCP NFS root

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET_CSUM_COUNTERS
options 	TCP_CSUM_COUNTERS
options 	UDP_CSUM_COUNTERS
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking protocols
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
options 	SCSIVERBOSE	# human readable SCSI error messages
#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information

# wscons options
#options 	WSEMUL_SUN		# sun terminal emulation
#options 	WSEMUL_VT100		# VT100 / VT220 emulation
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling

# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?
config		nfsnetbsd	root on tsec0 type nfs
config		netbsd-esata	root on wd1a type ffs
config		netbsd-sd0a	root on sd0a type ffs

#
# Device configuration
#

mainbus0 at root			# Processor Local Bus

cpunode*	at mainbus? node ?
gpio*		at gpiobus?

cpu*		at cpunode?

obio0		at cpunode?		# On-chip Peripheral Bus

# NOR Flash
#options 	NOR_VERBOSE
cfi0	 	at obio0 cs 0
nor*		at cfi?
flash*		at nor? offset 0 size 0x8000000

e500wdog*	at cpunode?		# Watchdog timer

ddrc*		at cpunode?
duart*		at cpunode?
com*		at duart? port ?
options		CONSPEED=115200
options		CONSADDR="DUART1_BASE"

tsec0		at cpunode? phy 0	# Enhanced 3-Speed Ethernet Controller
mdio0		at tsec0
tsec1		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
tsec2		at cpunode? mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
options 	ETSEC_EVENT_COUNTERS

ehci*		at cpunode?		# usb

diic*		at cpunode?		# i2c bus
iic*		at diic?
spdmem* 	at iic0 addr 0x51	# DDR
dsrtc*		at iic1 addr 0x68 flags 3232	# RTC - DS3232

pq3pcie*	at cpunode?		# PCI-Express controller
pq3pci* 	at cpunode?		# PCI(X)
pci*		at pq3pcie?
pci*		at pq3pci?

ppb*		at pci? dev ? function ?	# PCI-PCI bridges
pci*		at ppb?

#ohci1		at pci1 dev 0 function 2
#ehci1		at pci1 dev 0 function 3
#ohci*		at pci? dev ? function ?
#ehci*		at pci? dev ? function ?
#uhci*		at pci? dev ? function ?
usb*		at ehci?
#usb*		at ohci?
#usb*		at uhci?
uhub*		at usb?
umass*		at uhub? port ?
scsibus*	at umass? channel ?
sd*		at scsibus? target ? lun ?
ugen*		at uhub? port ?
uhub*		at uhub? port ?

#sdhc*		at cpunode?		# sdmmc
#sdmmc*		at sdhc?		# SD/MMC bus
#ld*		at sdmmc?

ahcisata*	at pci? dev ? function ?
atabus0 	at ahcisata? channel 0
atabus1 	at ahcisata? channel 1
atabus2 	at ahcisata? channel 2
atabus3 	at ahcisata? channel 3
atabus*		at ahcisata? channel ?
aceride*	at pci? dev ? function ?
atabus*		at aceride? channel ?
wd0		at atabus0 drive ?
wd1		at atabus3 drive ?
wd*		at atabus? drive ?

#wm*		at pci? dev ? function ?	# Intel Ethernet

#ciphy*		at mii? phy ?			# Cicada PHY
#inphy*		at mii? phy ?			# Intel 82555 PHYs
#iophy*		at mii? phy ?			# Intel 82553 PHYs
#makphy* 	at mii? phy ?			# Marvell PHYs
ukphy*		at mii? phy ?			# generic unknown PHYs

pseudo-device	loop			# network loopback
pseudo-device	bpfilter		# packet filter
pseudo-device 	carp			# Common Address Redundancy Protocol
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	drvctl			# user control of drive subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	pty			# pseudo-terminals
pseudo-device	kttcp			# kernel ttcp
pseudo-device	vlan			# 802.1Q VLANs
pseudo-device	putter			# for puffs and pud
pseudo-device	vnd			# disk-like interface to files

include "dev/veriexec.config"