Deleted Added
full compact
XLR (215085) XLR (215270)
1#################################RMI_BSD#####################################
2# Copyright (c) 2003-2009 RMI Corporation
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13# 3. Neither the name of RMI Corporation, nor the names of its contributors,
14# may be used to endorse or promote products derived from this software
15# without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27# SUCH DAMAGE.
28#################################RMI_BSD#####################################
29# XLR -- Generic kernel configuration file for FreeBSD/mips
30#
31# For more information on this file, please read the handbook section on
32# Kernel Configuration Files:
33#
34# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
35#
36# The handbook is also available locally in /usr/share/doc/handbook
37# if you've installed the doc distribution, otherwise always see the
38# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
39# latest information.
40#
41# An exhaustive list of options and more detailed explanations of the
42# device lines is also present in the ../../conf/NOTES and NOTES files.
43# If you are in doubt as to the purpose or necessity of a line, check first
44# in NOTES.
45#
1#################################RMI_BSD#####################################
2# Copyright (c) 2003-2009 RMI Corporation
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13# 3. Neither the name of RMI Corporation, nor the names of its contributors,
14# may be used to endorse or promote products derived from this software
15# without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27# SUCH DAMAGE.
28#################################RMI_BSD#####################################
29# XLR -- Generic kernel configuration file for FreeBSD/mips
30#
31# For more information on this file, please read the handbook section on
32# Kernel Configuration Files:
33#
34# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
35#
36# The handbook is also available locally in /usr/share/doc/handbook
37# if you've installed the doc distribution, otherwise always see the
38# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
39# latest information.
40#
41# An exhaustive list of options and more detailed explanations of the
42# device lines is also present in the ../../conf/NOTES and NOTES files.
43# If you are in doubt as to the purpose or necessity of a line, check first
44# in NOTES.
45#
46# $FreeBSD: head/sys/mips/conf/XLR 215085 2010-11-10 10:23:39Z jchandra $
46# $FreeBSD: head/sys/mips/conf/XLR 215270 2010-11-13 22:34:12Z imp $
47
47
48machine mips
48machine mips mipseb
49cpu CPU_RMI
50ident XLR
51
52makeoptions MODULES_OVERRIDE=""
53makeoptions TARGET_BIG_ENDIAN
54#
55
56include "../rmi/std.xlr"
57
58
59makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
60#profile 2
61
62options SCHED_ULE # ULE scheduler
63#options VERBOSE_SYSINIT
64#options SCHED_4BSD # 4BSD scheduler
65options SMP
66options PREEMPTION # Enable kernel thread preemption
67#options FULL_PREEMPTION # Enable kernel thread preemption
68options INET # InterNETworking
69options INET6 # IPv6 communications protocols
70options FFS # Berkeley Fast Filesystem
71#options SOFTUPDATES # Enable FFS soft updates support
72options UFS_ACL # Support for access control lists
73options UFS_DIRHASH # Improve performance on big directories
74options NFSCLIENT
75options NFS_ROOT
76#
77options BOOTP
78options BOOTP_NFSROOT
79options BOOTP_NFSV3
80options BOOTP_WIRED_TO=nlge0
81options BOOTP_COMPAT
82options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
83#
84#options MD_ROOT # MD is a potential root device
85#options MD_ROOT_SIZE=27000
86#options MD_ROOT_SIZE=5120
87#options ROOTDEVNAME=\"ufs:md0\"
88options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
89options HZ=1000
90options NO_SWAPPING
91
92#Debugging options
93options KTRACE # ktrace(1) support
94options DDB
95options KDB
96options GDB
97options ALT_BREAK_TO_DEBUGGER
98#options DEADLKRES #Enable the deadlock resolver
99options INVARIANTS #Enable calls of extra sanity checking
100options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
101#options WITNESS #Enable checks to detect deadlocks and cycles
102#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
103#options KTR # ktr(4) and ktrdump(8) support
104#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
105#options KTR_ENTRIES=131072
106#options MUTEX_DEBUG
107#options MUTEX_PROFILING
108
109device pci
110#device ata
111#device atadisk
112#options XLR_PERFMON # Enable XLR processor activity monitoring
113options BREAK_TO_DEBUGGER
114#device genclock
115device uart
116# Pseudo
117device loop
118device random
119device md
120device mem
121device pty
122device bpf
123
124# Network
125device miibus
126device nlge
127device ether
128device re
129device msk
130
131device da
132device scbus
133#device ohci # OHCI PCI->USB interface
134device ehci # EHCI PCI->USB interface (USB 2.0)
135device usb # USB Bus (required)
136options USB_DEBUG # enable debug msgs
137#device udbp # USB Double Bulk Pipe devices
138#device ugen # Generic
139#device uhid # "Human Interface Devices"
140device umass # Disks/Mass storage - Requires scbus and da
141
142#device cfi
143
144#i2c
145# Not yet
146#device ic
147#device iic
148#device iicbb
149#device iicbus
150#device xlr_rtc
151#device xlr_temperature
152#device xlr_eeprom
153
154#crypto
155# Not yet
156#device cryptodev
157#device crypto
158#device rmisec
159options ISA_MIPS32
160makeoptions KERNLOADADDR=0x80100000
49cpu CPU_RMI
50ident XLR
51
52makeoptions MODULES_OVERRIDE=""
53makeoptions TARGET_BIG_ENDIAN
54#
55
56include "../rmi/std.xlr"
57
58
59makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
60#profile 2
61
62options SCHED_ULE # ULE scheduler
63#options VERBOSE_SYSINIT
64#options SCHED_4BSD # 4BSD scheduler
65options SMP
66options PREEMPTION # Enable kernel thread preemption
67#options FULL_PREEMPTION # Enable kernel thread preemption
68options INET # InterNETworking
69options INET6 # IPv6 communications protocols
70options FFS # Berkeley Fast Filesystem
71#options SOFTUPDATES # Enable FFS soft updates support
72options UFS_ACL # Support for access control lists
73options UFS_DIRHASH # Improve performance on big directories
74options NFSCLIENT
75options NFS_ROOT
76#
77options BOOTP
78options BOOTP_NFSROOT
79options BOOTP_NFSV3
80options BOOTP_WIRED_TO=nlge0
81options BOOTP_COMPAT
82options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
83#
84#options MD_ROOT # MD is a potential root device
85#options MD_ROOT_SIZE=27000
86#options MD_ROOT_SIZE=5120
87#options ROOTDEVNAME=\"ufs:md0\"
88options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
89options HZ=1000
90options NO_SWAPPING
91
92#Debugging options
93options KTRACE # ktrace(1) support
94options DDB
95options KDB
96options GDB
97options ALT_BREAK_TO_DEBUGGER
98#options DEADLKRES #Enable the deadlock resolver
99options INVARIANTS #Enable calls of extra sanity checking
100options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
101#options WITNESS #Enable checks to detect deadlocks and cycles
102#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
103#options KTR # ktr(4) and ktrdump(8) support
104#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
105#options KTR_ENTRIES=131072
106#options MUTEX_DEBUG
107#options MUTEX_PROFILING
108
109device pci
110#device ata
111#device atadisk
112#options XLR_PERFMON # Enable XLR processor activity monitoring
113options BREAK_TO_DEBUGGER
114#device genclock
115device uart
116# Pseudo
117device loop
118device random
119device md
120device mem
121device pty
122device bpf
123
124# Network
125device miibus
126device nlge
127device ether
128device re
129device msk
130
131device da
132device scbus
133#device ohci # OHCI PCI->USB interface
134device ehci # EHCI PCI->USB interface (USB 2.0)
135device usb # USB Bus (required)
136options USB_DEBUG # enable debug msgs
137#device udbp # USB Double Bulk Pipe devices
138#device ugen # Generic
139#device uhid # "Human Interface Devices"
140device umass # Disks/Mass storage - Requires scbus and da
141
142#device cfi
143
144#i2c
145# Not yet
146#device ic
147#device iic
148#device iicbb
149#device iicbus
150#device xlr_rtc
151#device xlr_temperature
152#device xlr_eeprom
153
154#crypto
155# Not yet
156#device cryptodev
157#device crypto
158#device rmisec
159options ISA_MIPS32
160makeoptions KERNLOADADDR=0x80100000