RB800 revision 1.23
1#	$NetBSD: RB800,v 1.23 2013/03/02 02:42:14 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.23 $"
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
21
22options 	PAX_ASLR=0
23
24#options 	INSECURE	# disable kernel security levels
25#options 	NTP		# NTP phase/frequency locked loop
26options 	KTRACE		# system call tracing via ktrace(1)
27
28options 	SYSVMSG		# System V message queues
29options 	SYSVSEM		# System V semaphores
30options 	SYSVSHM		# System V shared memory
31
32options 	MODULAR		# new style module(7) framework
33
34options 	USERCONF	# userconf(4) support
35#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
36#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
37
38# Diagnostic/debugging support options
39#options 	VERBOSE_INITPPC
40options 	DIAGNOSTIC	# cheap kernel consistency checks
41options 	DEBUG		# expensive debugging checks/support
42#options 	SYSCALL_DEBUG	# syscall debugging
43options 	DDB		# in-kernel debugger
44options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
45options 	TRAP_PANICWAIT
46options 	SYMTAB_SPACE=410000	# size for embedded symbol table
47
48makeoptions	DEBUG="-g"	# compile full symbol table
49
50# Compatibility options
51#options 	COMPAT_09	# NetBSD 0.9,
52#options 	COMPAT_10	# NetBSD 1.0,
53#options 	COMPAT_11	# NetBSD 1.1,
54#options 	COMPAT_12	# NetBSD 1.2,
55options 	COMPAT_13	# NetBSD 1.3,
56options 	COMPAT_14	# NetBSD 1.4,
57options 	COMPAT_15	# NetBSD 1.5,
58options 	COMPAT_16	# NetBSD 1.6,
59options 	COMPAT_20	# NetBSD 2.0,
60options 	COMPAT_30	# NetBSD 3.0,
61options 	COMPAT_40	# NetBSD 4.0,
62options 	COMPAT_50	# NetBSD 5.0 compatibility.
63options 	COMPAT_60	# NetBSD 6.0 compatibility.
64options 	COMPAT_43	# and 4.3BSD
65#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
66#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
67options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
68
69# Wedge support
70options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
71options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
72
73# File systems
74file-system 	FFS		# UFS
75file-system 	EXT2FS		# second extended file system (linux)
76file-system 	LFS		# log-structured file system
77file-system 	MFS		# memory file system
78file-system 	NFS		# Network File System client
79file-system 	CD9660		# ISO 9660 + Rock Ridge file system
80file-system 	MSDOSFS		# MS-DOS file system
81#file-system 	FDESC		# /dev/fd
82file-system 	TMPFS		# efficient memory file system
83file-system 	KERNFS		# /kern
84file-system 	NULLFS		# loopback file system
85#file-system 	OVERLAY		# overlay file system
86#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
87file-system 	PROCFS		# /proc
88#file-system 	UMAPFS		# NULLFS + uid and gid remapping
89#file-system 	UNION		# union file system
90file-system	PTYFS		# /dev/pts/N support
91
92# File system options
93options 	QUOTA		# legacy UFS quotas
94options 	QUOTA2		# new, in-filesystem UFS quotas
95options 	FFS_EI		# FFS Endian Independent support
96options 	WAPBL		# File system journaling support
97options 	NFSSERVER	# Network File System server
98#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
99options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
100				# immutable) behave as system flags.
101
102options 	NFS_BOOT_BOOTP	# Support BOOTP NFS root
103#options 	NFS_BOOT_DHCP	# Support DHCP NFS root
104
105# Networking options
106#options 	GATEWAY		# packet forwarding
107options 	INET		# IP + ICMP + TCP + UDP
108options 	INET_CSUM_COUNTERS
109options 	TCP_CSUM_COUNTERS
110options 	UDP_CSUM_COUNTERS
111#options 	INET6		# IPV6
112#options 	IPSEC		# IP security
113#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
114#options 	IPSEC_DEBUG	# debug for IP security
115#options 	MROUTING	# IP multicast routing
116#options 	PIM		# Protocol Independent Multicast
117#options        DIRECTED_BROADCAST      # allow broadcasts through routers
118#options 	NETATALK	# AppleTalk networking protocols
119#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
120#options 	PPP_DEFLATE	# Deflate compression support for PPP
121#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
122#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
123#options 	IPFILTER_LOG	# ipmon(8) log support
124#options 	IPFILTER_LOOKUP	# ippool(8) support
125#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
126
127# These options enable verbose messages for several subsystems.
128# Warning, these may compile large string tables into the kernel!
129options 	PCIVERBOSE	# verbose PCI device autoconfig messages
130options 	MIIVERBOSE	# verbose PHY autoconfig messages
131#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
132options 	SCSIVERBOSE	# human readable SCSI error messages
133options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
134options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
135
136# wscons options
137#options 	WSEMUL_SUN		# sun terminal emulation
138#options 	WSEMUL_VT100		# VT100 / VT220 emulation
139#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
140
141# Kernel root file system and dump configuration.
142config		netbsd		root on ? type ?
143config		nfsnetbsd	root on tsec1 type nfs
144
145#
146# Device configuration
147#
148
149mainbus0 at root			# Processor Local Bus
150
151cpunode*	at mainbus? node ?
152
153cpu0		at cpunode?
154
155obio0		at cpunode?		# On-chip Peripheral Bus
156#ds1553rtc0	at obio0 addr 0xf8000000 size 8192
157#wdc0		at obio0 cs 2
158#atabus* 	at wdc?
159#wd*		at atabus?
160gpio*		at gpiobus?
161
162# NOR Flash
163#options 	NOR_VERBOSE
164cfi0	 	at obio0 cs 0
165nor*		at cfi?
166flash*		at nor? offset 0 size 0x1000000
167
168e500wdog*	at cpunode?		# Watchdog timer
169
170duart*		at cpunode?
171com*		at duart? port ?
172options		CONSPEED=115200
173options		CONSADDR="DUART1_BASE"
174
175tsec0		at cpunode? phy 2	# 3-Speed Ethernet Controller (phy 2)
176mdio0		at tsec0
177tsec1		at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1)
178atphy*		at mii?			# Attansic PHY
179ukphy*		at mii?
180#options 	TSEC_EVENT_COUNTERS
181
182diic*		at cpunode?		# i2c bus
183iic*		at diic?
184#lm* 		at iic? addr 0x48
185#lm* 		at iic? addr 0x49
186#lm* 		at iic? addr 0x4a
187#lm* 		at iic? addr 0x4b
188#lm* 		at iic? addr 0x4c
189#lm* 		at iic? addr 0x4d
190#lm* 		at iic? addr 0x4e
191#lm*	 	at iic? addr 0x4f
192
193options 	PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000
194options 	PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000
195pq3pcie*	at cpunode?		# PCI-Express controller
196pq3pci*		at cpunode?		# PCI(X)
197pci*		at pq3pcie?
198pci*		at pq3pci?
199
200ppb*		at pci? dev ? function ?	# PCI-PCI bridges
201pci*		at ppb?
202
203alc*		at pci? dev ? function ?
204
205#ehci*		at pci? dev ? function ?
206#ohci*		at pci? dev ? function ?
207#uhci*		at pci? dev ? function ?
208#usb*		at ehci?
209#usb*		at ohci?
210#usb*		at uhci?
211#uhub*		at usb?
212#umass*		at uhub? port ?
213#scsibus*	at umass? channel ?
214
215arcmsr* 	at pci? dev ? function ?
216scsibus* 	at arcmsr?
217sd*		at scsibus? target ? lun ?
218
219viaide* 	at pci? dev ? function ?
220atabus* 	at viaide? channel ?
221wd*		at atabus? drive ?
222#rtk*		at pci? dev ? function ?
223wm*		at pci? dev ? function ?	# Intel Ethernet
224
225makphy* 	at mii? phy ?			# Marvell PHYs
226ukphy*		at mii? phy ?			# generic unknown PHYs
227
228pseudo-device	md		1	# memory disk device
229pseudo-device	loop			# network loopback
230pseudo-device	bpfilter		# packet filter
231pseudo-device	clockctl		# user control of clock subsystem
232pseudo-device	drvctl			# user control of drive subsystem
233pseudo-device	ksyms			# /dev/ksyms
234pseudo-device	pty			# pseudo-terminals
235pseudo-device	kttcp			# kernel ttcp
236