XLR revision 199103
155682Smarkm#################################RMI_BSD#####################################
2233294Sstas# Copyright (c) 2003-2009 RMI Corporation
3233294Sstas# All rights reserved.
4233294Sstas# 
555682Smarkm# Redistribution and use in source and binary forms, with or without
6233294Sstas# modification, are permitted provided that the following conditions
7233294Sstas# are met:
8233294Sstas# 1. Redistributions of source code must retain the above copyright
955682Smarkm#    notice, this list of conditions and the following disclaimer.
10233294Sstas# 2. Redistributions in binary form must reproduce the above copyright
11233294Sstas#    notice, this list of conditions and the following disclaimer in the
1255682Smarkm#    documentation and/or other materials provided with the distribution.
13233294Sstas# 3. Neither the name of RMI Corporation, nor the names of its contributors,
14233294Sstas#    may be used to endorse or promote products derived from this software
15233294Sstas#    without specific prior written permission.
1655682Smarkm# 
17233294Sstas# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18233294Sstas# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19233294Sstas# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2055682Smarkm# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21233294Sstas# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22233294Sstas# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23233294Sstas# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24233294Sstas# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25233294Sstas# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26233294Sstas# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27233294Sstas# SUCH DAMAGE.
28233294Sstas#################################RMI_BSD#####################################
29233294Sstas# XLR -- Generic kernel configuration file for FreeBSD/mips
30233294Sstas#
31233294Sstas# For more information on this file, please read the handbook section on
3255682Smarkm# Kernel Configuration Files:
3355682Smarkm#
3455682Smarkm#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
3555682Smarkm#
36233294Sstas# The handbook is also available locally in /usr/share/doc/handbook
3755682Smarkm# if you've installed the doc distribution, otherwise always see the
38178825Sdfr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
39178825Sdfr# latest information.
4055682Smarkm#
4155682Smarkm# An exhaustive list of options and more detailed explanations of the
4255682Smarkm# device lines is also present in the ../../conf/NOTES and NOTES files. 
43233294Sstas# If you are in doubt as to the purpose or necessity of a line, check first 
4455682Smarkm# in NOTES.
45178825Sdfr#
4655682Smarkm# $FreeBSD$
4755682Smarkm
4855682Smarkmmachine 	mips
49178825Sdfrcpu 		CPU_MIPS4KC
5055682Smarkmident 		XLR
51178825Sdfr
52178825Sdfrmakeoptions	MODULES_OVERRIDE=""
5355682Smarkmmakeoptions     TARGET_BIG_ENDIAN
54178825Sdfr#
5555682Smarkm
56233294Sstasoptions		KERNVIRTADDR=0x80100000
57178825Sdfrinclude		"../rmi/std.xlr"
58178825Sdfr
59178825Sdfr
60178825Sdfrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
61178825Sdfr#profile		2
62178825Sdfr
63178825Sdfr#options 	SCHED_ULE		# ULE scheduler
64178825Sdfr#options		VERBOSE_SYSINIT
65178825Sdfroptions 	SCHED_4BSD		# 4BSD scheduler
66178825Sdfr#options 	PREEMPTION		# Enable kernel thread preemption
67178825Sdfr#options 	FULL_PREEMPTION		# Enable kernel thread preemption
68178825Sdfroptions 	INET			# InterNETworking
69178825Sdfroptions 	INET6			# IPv6 communications protocols
70178825Sdfroptions 	FFS			# Berkeley Fast Filesystem
71178825Sdfr#options 	SOFTUPDATES		# Enable FFS soft updates support
72178825Sdfroptions 	UFS_ACL			# Support for access control lists
73178825Sdfroptions 	UFS_DIRHASH		# Improve performance on big directories
74178825Sdfroptions		NFSCLIENT
75178825Sdfroptions		NFS_ROOT
76178825Sdfroptions		ROOTDEVNAME=\"nfs:10.1.1.15:/extra/nfsroot\"
77178825Sdfroptions         BOOTP
78178825Sdfroptions         BOOTP_NFSROOT
79178825Sdfroptions         BOOTP_NFSV3
80178825Sdfroptions         BOOTP_WIRED_TO=rge0
81178825Sdfroptions         BOOTP_COMPAT
8255682Smarkm#
83178825Sdfr#options 	MD_ROOT			# MD is a potential root device
84178825Sdfr#options		MD_ROOT_SIZE=21264
85233294Sstas#options		MD_ROOT_SIZE=5120
86178825Sdfr#options		ROOTDEVNAME=\"ufs:md0\"
87178825Sdfroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
88178825Sdfroptions 	HZ=1000	
89178825Sdfroptions 	PHYS_ADDR_64BIT
90178825Sdfroptions 	NO_SWAPPING
91178825Sdfr
92178825Sdfr#Debugging options
93178825Sdfroptions 	KTRACE			# ktrace(1) support
94178825Sdfroptions 	DDB
9555682Smarkmoptions 	KDB
96178825Sdfroptions 	GDB
97178825Sdfroptions 	ALT_BREAK_TO_DEBUGGER
98178825Sdfr#options 	INVARIANTS		#Enable calls of extra sanity checking
99178825Sdfr#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
10055682Smarkm#options 	WITNESS			#Enable checks to detect deadlocks and cycles
101178825Sdfr#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
102178825Sdfr#options 	KTR			# ktr(4) and ktrdump(8) support
103178825Sdfr#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
104178825Sdfr#options 	KTR_ENTRIES=131072
105178825Sdfr#options 	MUTEX_DEBUG
106178825Sdfr#options 	MUTEX_PROFILING
107178825Sdfr
108178825Sdfrdevice		pci
109178825Sdfr#device		ata
110178825Sdfr#device		atadisk
111178825Sdfr#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
112178825Sdfr
113233294Sstas#device 		genclock
114233294Sstasdevice 		uart
115233294Sstas
116233294Sstas# Pseudo
117178825Sdfrdevice 		loop
118178825Sdfrdevice 		random
119233294Sstasdevice 		md
120233294Sstasdevice 		mem
121233294Sstasdevice 		pty
122233294Sstasdevice		bpf
123178825Sdfr
124178825Sdfr# Network
125178825Sdfrdevice		miibus
126178825Sdfrdevice		rge
127178825Sdfrdevice 		ether
128178825Sdfrdevice		re
129178825Sdfrdevice		msk
130178825Sdfr
131178825Sdfrdevice          da
132178825Sdfrdevice          scbus
133178825Sdfr#device          ohci            # OHCI PCI->USB interface
134178825Sdfrdevice          ehci            # EHCI PCI->USB interface (USB 2.0)
135178825Sdfrdevice          usb             # USB Bus (required)
136178825Sdfr#device         udbp            # USB Double Bulk Pipe devices
137178825Sdfr#device          ugen            # Generic
138178825Sdfr#device          uhid            # "Human Interface Devices"
139178825Sdfrdevice          umass           # Disks/Mass storage - Requires scbus and da
140178825Sdfr
141178825Sdfr#device		cfi
142178825Sdfr
143178825Sdfr#i2c
144178825Sdfr# Not yet
145178825Sdfr#device      ic
146178825Sdfr#device      iic
147178825Sdfr#device      iicbb
148178825Sdfr#device      iicbus
149178825Sdfr#device      xlr_rtc
150233294Sstas#device      xlr_temperature
151178825Sdfr#device      xlr_eeprom
152178825Sdfr
153178825Sdfr#crypto
154233294Sstas# Not yet
155178825Sdfr#device cryptodev
156178825Sdfr#device crypto
157178825Sdfr#device rmisec
158178825Sdfroptions		ISA_MIPS32
159178825Sdfrmakeoptions	KERNLOADADDR=0x80100000
160233294Sstas