xref: /netbsd-src/sys/arch/evbppc/conf/RB800 (revision c78676accca07215237e546e46e3c7eee6d5716d)
1#	$NetBSD: RB800,v 1.41 2024/01/29 18:27:12 christos Exp $
2#
3#	RB800 -- everything that's currently supported
4#
5
6include 	"arch/evbppc/conf/std.mpc85xx"
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10ident 		"RB800-$Revision: 1.41 $"
11
12maxusers	32
13
14#options 	UVMHIST
15#options 	UVMHIST_PRINT
16
17options 	MPC8544
18options 	PPC_HAVE_SPE
19no options 	GUR_BASE
20options 	GUR_BASE=0xe0000000
21options 	ROUTERBOOT
22
23options 	PAX_ASLR=0
24
25#options 	INSECURE	# disable kernel security levels
26#options 	NTP		# NTP phase/frequency locked loop
27options 	KTRACE		# system call tracing via ktrace(1)
28
29options 	SYSVMSG		# System V message queues
30options 	SYSVSEM		# System V semaphores
31options 	SYSVSHM		# System V shared memory
32
33options 	MODULAR		# new style module(7) framework
34options 	MODULAR_DEFAULT_AUTOLOAD
35
36options 	USERCONF	# userconf(4) support
37#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
38#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
39
40# Alternate buffer queue strategies for better responsiveness under high
41# disk I/O load.
42#options 	BUFQ_READPRIO
43options 	BUFQ_PRIOCSCAN
44
45# Diagnostic/debugging support options
46#options 	VERBOSE_INITPPC
47options 	DIAGNOSTIC	# cheap kernel consistency checks
48options 	DEBUG		# expensive debugging checks/support
49#options 	SYSCALL_DEBUG	# syscall debugging
50options 	DDB		# in-kernel debugger
51options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
52options 	TRAP_PANICWAIT
53makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
54
55makeoptions	DEBUG="-g"	# compile full symbol table
56
57# Compatibility options
58include 	"conf/compat_netbsd13.config"
59#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
60
61# Wedge support
62options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
63options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
64
65# File systems
66file-system 	FFS		# UFS
67file-system 	EXT2FS		# second extended file system (linux)
68file-system 	LFS		# log-structured file system
69file-system 	MFS		# memory file system
70file-system 	NFS		# Network File System client
71file-system 	CD9660		# ISO 9660 + Rock Ridge file system
72file-system 	MSDOSFS		# MS-DOS file system
73#file-system 	FDESC		# /dev/fd
74file-system 	TMPFS		# efficient memory file system
75file-system 	KERNFS		# /kern
76file-system 	NULLFS		# loopback file system
77#file-system 	OVERLAY		# overlay file system
78#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
79file-system 	PROCFS		# /proc
80#file-system 	UMAPFS		# NULLFS + uid and gid remapping
81#file-system 	UNION		# union file system
82file-system	PTYFS		# /dev/pts/N support
83
84# File system options
85options 	FFS_EI		# FFS Endian Independent support
86#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
87options 	QUOTA		# legacy UFS quotas
88options 	QUOTA2		# new, in-filesystem UFS quotas
89options 	UFS_DIRHASH	# UFS Large Directory Hashing
90#options 	UFS_EXTATTR	# Extended attribute support for UFS1
91options 	WAPBL		# File system journaling support
92#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
93#options 	DISKLABEL_EI	# disklabel Endian Independent support
94options 	NFSSERVER	# Network File System server
95
96options 	NFS_BOOT_BOOTP	# Support BOOTP NFS root
97#options 	NFS_BOOT_DHCP	# Support DHCP NFS root
98
99# Networking options
100#options 	GATEWAY		# packet forwarding
101options 	INET		# IP + ICMP + TCP + UDP
102options 	INET_CSUM_COUNTERS
103options 	TCP_CSUM_COUNTERS
104options 	UDP_CSUM_COUNTERS
105#options 	INET6		# IPV6
106#options 	IPSEC		# IP security
107#options 	IPSEC_DEBUG	# debug for IP security
108#options 	MROUTING	# IP multicast routing
109#options 	PIM		# Protocol Independent Multicast
110#options 	NETATALK	# AppleTalk networking protocols
111#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
112#options 	PPP_DEFLATE	# Deflate compression support for PPP
113#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
114#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
115
116# These options enable verbose messages for several subsystems.
117# Warning, these may compile large string tables into the kernel!
118options 	PCIVERBOSE	# verbose PCI device autoconfig messages
119options 	MIIVERBOSE	# verbose PHY autoconfig messages
120#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
121options 	SCSIVERBOSE	# human readable SCSI error messages
122options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
123options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
124
125# wscons options
126#options 	WSEMUL_SUN		# sun terminal emulation
127#options 	WSEMUL_VT100		# VT100 / VT220 emulation
128#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
129
130# Kernel root file system and dump configuration.
131config		netbsd		root on ? type ?
132config		nfsnetbsd	root on tsec1 type nfs
133
134#
135# Device configuration
136#
137
138mainbus0 at root			# Processor Local Bus
139
140cpunode*	at mainbus? node ?
141
142cpu0		at cpunode?
143
144obio0		at cpunode?		# On-chip Peripheral Bus
145#ds1553rtc0	at obio0 addr 0xf8000000 size 8192
146#wdc0		at obio0 cs 2
147#atabus* 	at wdc?
148#wd*		at atabus?
149gpio*		at gpiobus?
150
151# NOR Flash
152#options 	NOR_VERBOSE
153cfi0	 	at obio0 cs 0
154nor*		at cfi?
155flash*		at nor? offset 0 size 0x1000000
156
157e500wdog*	at cpunode?		# Watchdog timer
158
159duart*		at cpunode?
160com*		at duart? port ?
161options		CONSPEED=115200
162options		CONSADDR="DUART1_BASE"
163
164tsec0		at cpunode? phy 2	# 3-Speed Ethernet Controller (phy 2)
165mdio0		at tsec0
166tsec1		at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1)
167atphy*		at mii?			# Attansic PHY
168ukphy*		at mii?
169#options 	TSEC_EVENT_COUNTERS
170
171diic*		at cpunode?		# i2c bus
172iic*		at diic?
173#lm* 		at iic? addr 0x48
174#lm* 		at iic? addr 0x49
175#lm* 		at iic? addr 0x4a
176#lm* 		at iic? addr 0x4b
177#lm* 		at iic? addr 0x4c
178#lm* 		at iic? addr 0x4d
179#lm* 		at iic? addr 0x4e
180#lm*	 	at iic? addr 0x4f
181
182options 	PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000
183options 	PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000
184pq3pcie*	at cpunode?		# PCI-Express controller
185pq3pci*		at cpunode?		# PCI(X)
186pci*		at pq3pcie?
187pci*		at pq3pci?
188
189ppb*		at pci? dev ? function ?	# PCI-PCI bridges
190pci*		at ppb?
191
192alc*		at pci? dev ? function ?
193
194# NVM Express controllers and devices
195nvme*		at pci? dev ? function ?
196ld*		at nvme? nsid ?
197
198ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
199atabus* 	at ahcisata? channel ?
200
201#ehci*		at pci? dev ? function ?
202#ohci*		at pci? dev ? function ?
203#uhci*		at pci? dev ? function ?
204#usb*		at ehci?
205#usb*		at ohci?
206#usb*		at uhci?
207#uhub*		at usb?
208#umass*		at uhub? port ?
209#scsibus*	at umass? channel ?
210
211arcmsr* 	at pci? dev ? function ?
212scsibus* 	at arcmsr?
213sd*		at scsibus? target ? lun ?
214
215viaide* 	at pci? dev ? function ?
216atabus* 	at viaide? channel ?
217wd*		at atabus? drive ?
218#rtk*		at pci? dev ? function ?
219wm*		at pci? dev ? function ?	# Intel Ethernet
220
221makphy* 	at mii? phy ?			# Marvell PHYs
222ukphy*		at mii? phy ?			# generic unknown PHYs
223
224pseudo-device	md			# memory disk device
225pseudo-device	loop			# network loopback
226pseudo-device	bpfilter		# packet filter
227pseudo-device 	carp			# Common Address Redundancy Protocol
228pseudo-device	clockctl		# user control of clock subsystem
229pseudo-device	drvctl			# user control of drive subsystem
230pseudo-device	ksyms			# /dev/ksyms
231pseudo-device	pty			# pseudo-terminals
232pseudo-device	kttcp			# kernel ttcp
233
234include "dev/veriexec.config"
235