XLR64 revision 209814
1# XLR64 -- Kernel configuration file for N64 kernel on XLR/XLS
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files. 
15# If you are in doubt as to the purpose or necessity of a line, check first 
16# in NOTES.
17#
18# $FreeBSD: head/sys/mips/conf/XLR64 209814 2010-07-08 16:06:58Z jchandra $
19
20machine 	mips
21cpu 		CPU_MIPS4KC
22ident 		XLR
23
24makeoptions	MODULES_OVERRIDE=""
25makeoptions     TARGET_BIG_ENDIAN
26
27include		"../rmi/std.xlr"
28
29makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"
31makeoptions	LDSCRIPT_NAME=ldscript.mips.64
32
33#profile		2
34
35options 	SCHED_ULE		# ULE scheduler
36#options		VERBOSE_SYSINIT
37#options 	SCHED_4BSD		# 4BSD scheduler
38#options         SMP
39#options 	PREEMPTION		# Enable kernel thread preemption
40#options 	FULL_PREEMPTION		# Enable kernel thread preemption
41options 	INET			# InterNETworking
42options 	INET6			# IPv6 communications protocols
43options 	FFS			# Berkeley Fast Filesystem
44#options 	SOFTUPDATES		# Enable FFS soft updates support
45options 	UFS_ACL			# Support for access control lists
46options 	UFS_DIRHASH		# Improve performance on big directories
47options		NFSCLIENT
48options		NFS_ROOT
49#
50options         BOOTP
51options         BOOTP_NFSROOT
52options         BOOTP_NFSV3
53options         BOOTP_WIRED_TO=rge0
54options         BOOTP_COMPAT
55options		ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
56#
57#options 	MD_ROOT			# MD is a potential root device
58#options		MD_ROOT_SIZE=27000
59#options		MD_ROOT_SIZE=5120
60#options		ROOTDEVNAME=\"ufs:md0\"
61options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
62options 	HZ=1000	
63options 	NO_SWAPPING
64
65#Debugging options
66options 	KTRACE			# ktrace(1) support
67options 	DDB
68options 	KDB
69options 	GDB
70options 	ALT_BREAK_TO_DEBUGGER
71#options 	DEADLKRES		#Enable the deadlock resolver
72options 	INVARIANTS		#Enable calls of extra sanity checking
73options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
74#options 	WITNESS			#Enable checks to detect deadlocks and cycles
75#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
76#options 	KTR			# ktr(4) and ktrdump(8) support
77#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
78#options 	KTR_ENTRIES=131072
79#options 	MUTEX_DEBUG
80#options 	MUTEX_PROFILING
81
82device		pci
83#device		ata
84#device		atadisk
85#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
86options  	BREAK_TO_DEBUGGER
87#device 		genclock
88device 		uart
89# Pseudo
90device 		loop
91device 		random
92device 		md
93device 		mem
94device 		pty
95device		bpf
96
97# Network
98device		miibus
99device		rge
100device 		ether
101device		re
102device		msk
103
104device          da
105device          scbus
106#device          ohci            # OHCI PCI->USB interface
107device          ehci            # EHCI PCI->USB interface (USB 2.0)
108device          usb             # USB Bus (required)
109options 	USB_DEBUG	# enable debug msgs
110#device         udbp            # USB Double Bulk Pipe devices
111#device          ugen            # Generic
112#device          uhid            # "Human Interface Devices"
113device          umass           # Disks/Mass storage - Requires scbus and da
114
115#device		cfi
116
117#i2c
118# Not yet
119#device      ic
120#device      iic
121#device      iicbb
122#device      iicbus
123#device      xlr_rtc
124#device      xlr_temperature
125#device      xlr_eeprom
126
127#crypto
128# Not yet
129#device cryptodev
130#device crypto
131#device rmisec
132options		ISA_MIPS64
133makeoptions	KERNLOADADDR=0xffffffff80100000
134# XLR64 -- Kernel configuration file for N64 kernel on XLR/XLS
135#
136# For more information on this file, please read the handbook section on
137# Kernel Configuration Files:
138#
139#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
140#
141# The handbook is also available locally in /usr/share/doc/handbook
142# if you've installed the doc distribution, otherwise always see the
143# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
144# latest information.
145#
146# An exhaustive list of options and more detailed explanations of the
147# device lines is also present in the ../../conf/NOTES and NOTES files. 
148# If you are in doubt as to the purpose or necessity of a line, check first 
149# in NOTES.
150#
151# $FreeBSD: head/sys/mips/conf/XLR64 209814 2010-07-08 16:06:58Z jchandra $
152
153machine 	mips
154cpu 		CPU_MIPS4KC
155ident 		XLR
156
157makeoptions	MODULES_OVERRIDE=""
158makeoptions     TARGET_BIG_ENDIAN
159
160include		"../rmi/std.xlr"
161
162makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
163makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"
164makeoptions	LDSCRIPT_NAME=ldscript.mips.64
165
166#profile		2
167
168options 	SCHED_ULE		# ULE scheduler
169#options		VERBOSE_SYSINIT
170#options 	SCHED_4BSD		# 4BSD scheduler
171#options         SMP
172#options 	PREEMPTION		# Enable kernel thread preemption
173#options 	FULL_PREEMPTION		# Enable kernel thread preemption
174options 	INET			# InterNETworking
175options 	INET6			# IPv6 communications protocols
176options 	FFS			# Berkeley Fast Filesystem
177#options 	SOFTUPDATES		# Enable FFS soft updates support
178options 	UFS_ACL			# Support for access control lists
179options 	UFS_DIRHASH		# Improve performance on big directories
180options		NFSCLIENT
181options		NFS_ROOT
182#
183options         BOOTP
184options         BOOTP_NFSROOT
185options         BOOTP_NFSV3
186options         BOOTP_WIRED_TO=rge0
187options         BOOTP_COMPAT
188options		ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
189#
190#options 	MD_ROOT			# MD is a potential root device
191#options		MD_ROOT_SIZE=27000
192#options		MD_ROOT_SIZE=5120
193#options		ROOTDEVNAME=\"ufs:md0\"
194options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
195options 	HZ=1000	
196options 	NO_SWAPPING
197
198#Debugging options
199options 	KTRACE			# ktrace(1) support
200options 	DDB
201options 	KDB
202options 	GDB
203options 	ALT_BREAK_TO_DEBUGGER
204#options 	DEADLKRES		#Enable the deadlock resolver
205options 	INVARIANTS		#Enable calls of extra sanity checking
206options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
207#options 	WITNESS			#Enable checks to detect deadlocks and cycles
208#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
209#options 	KTR			# ktr(4) and ktrdump(8) support
210#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
211#options 	KTR_ENTRIES=131072
212#options 	MUTEX_DEBUG
213#options 	MUTEX_PROFILING
214
215device		pci
216#device		ata
217#device		atadisk
218#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
219options  	BREAK_TO_DEBUGGER
220#device 		genclock
221device 		uart
222# Pseudo
223device 		loop
224device 		random
225device 		md
226device 		mem
227device 		pty
228device		bpf
229
230# Network
231device		miibus
232device		rge
233device 		ether
234device		re
235device		msk
236
237device          da
238device          scbus
239#device          ohci            # OHCI PCI->USB interface
240device          ehci            # EHCI PCI->USB interface (USB 2.0)
241device          usb             # USB Bus (required)
242options 	USB_DEBUG	# enable debug msgs
243#device         udbp            # USB Double Bulk Pipe devices
244#device          ugen            # Generic
245#device          uhid            # "Human Interface Devices"
246device          umass           # Disks/Mass storage - Requires scbus and da
247
248#device		cfi
249
250#i2c
251# Not yet
252#device      ic
253#device      iic
254#device      iicbb
255#device      iicbus
256#device      xlr_rtc
257#device      xlr_temperature
258#device      xlr_eeprom
259
260#crypto
261# Not yet
262#device cryptodev
263#device crypto
264#device rmisec
265options		ISA_MIPS64
266makeoptions	KERNLOADADDR=0xffffffff80100000
267