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 217626 2011-01-20 08:15:11Z jchandra $
| 46# $FreeBSD: head/sys/mips/conf/XLR 217630 2011-01-20 09:01:14Z jchandra $
|
47 48machine mips mipseb 49cpu CPU_RMI 50ident XLR 51 52makeoptions MODULES_OVERRIDE=""
| 47 48machine mips mipseb 49cpu CPU_RMI 50ident XLR 51 52makeoptions MODULES_OVERRIDE=""
|
53#
| |
54 55include "../rmi/std.xlr" 56
| 53 54include "../rmi/std.xlr" 55
|
57
| |
58makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
| 56makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
59#profile 2
| |
60makeoptions KERNLOADADDR=0x80100000
| 57makeoptions KERNLOADADDR=0x80100000
|
61options ISA_MIPS32
| 58#profile 2 59options ISA_MIPS32
|
62 63options SCHED_ULE # ULE scheduler
| 60 61options SCHED_ULE # ULE scheduler
|
64#options VERBOSE_SYSINIT
| 62#options VERBOSE_SYSINIT
|
65#options SCHED_4BSD # 4BSD scheduler
| 63#options SCHED_4BSD # 4BSD scheduler
|
66options SMP
| 64options SMP
|
67options PREEMPTION # Enable kernel thread preemption 68#options FULL_PREEMPTION # Enable kernel thread preemption 69options INET # InterNETworking 70options INET6 # IPv6 communications protocols 71options FFS # Berkeley Fast Filesystem 72#options SOFTUPDATES # Enable FFS soft updates support 73options UFS_ACL # Support for access control lists 74options UFS_DIRHASH # Improve performance on big directories
| 65options PREEMPTION # Enable kernel thread preemption 66#options FULL_PREEMPTION # Enable kernel thread preemption 67options INET # InterNETworking 68options INET6 # IPv6 communications protocols 69options FFS # Berkeley Fast Filesystem 70#options SOFTUPDATES # Enable FFS soft updates support 71options UFS_ACL # Support for access control lists 72options UFS_DIRHASH # Improve performance on big directories
|
75options NFSCLIENT 76options NFS_ROOT
| 73options NFSCLIENT 74options NFS_ROOT
|
77#
| 75#
|
78options BOOTP 79options BOOTP_NFSROOT 80options BOOTP_NFSV3 81options BOOTP_WIRED_TO=nlge0 82options BOOTP_COMPAT 83options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
| 76options BOOTP 77options BOOTP_NFSROOT 78options BOOTP_NFSV3 79options BOOTP_WIRED_TO=nlge0 80options BOOTP_COMPAT 81options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
|
84# 85#options MD_ROOT # MD is a potential root device
| 82# 83#options MD_ROOT # MD is a potential root device
|
86#options MD_ROOT_SIZE=27000 87#options MD_ROOT_SIZE=5120 88#options ROOTDEVNAME=\"ufs:md0\"
| 84#options MD_ROOT_SIZE=27000 85#options MD_ROOT_SIZE=5120 86#options ROOTDEVNAME=\"ufs:md0\"
|
89options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 90options HZ=1000 91options NO_SWAPPING 92 93#Debugging options 94options KTRACE # ktrace(1) support 95options DDB 96options KDB 97options GDB 98options ALT_BREAK_TO_DEBUGGER
| 87options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 88options HZ=1000 89options NO_SWAPPING 90 91#Debugging options 92options KTRACE # ktrace(1) support 93options DDB 94options KDB 95options GDB 96options ALT_BREAK_TO_DEBUGGER
|
| 97options BREAK_TO_DEBUGGER
|
99#options DEADLKRES #Enable the deadlock resolver 100options INVARIANTS #Enable calls of extra sanity checking 101options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 102#options WITNESS #Enable checks to detect deadlocks and cycles 103#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 104#options KTR # ktr(4) and ktrdump(8) support
| 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
|
105#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
| 104#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
|
106#options KTR_ENTRIES=131072
| 105#options KTR_ENTRIES=131072
|
107#options MUTEX_DEBUG 108#options MUTEX_PROFILING
| |
109
| 106
|
| 107#options LOCK_PROFILING 108#options SLEEPQUEUE_PROFILING 109#options TURNSTILE_PROFILING 110
|
110device pci 111#device ata 112#device atadisk
| 111device pci 112#device ata 113#device atadisk
|
113#options XLR_PERFMON # Enable XLR processor activity monitoring 114options BREAK_TO_DEBUGGER 115#device genclock
| |
116device uart 117# Pseudo 118device loop 119device random 120device md
| 114device uart 115# Pseudo 116device loop 117device random 118device md
|
121device mem
| |
122device pty 123device bpf 124 125# Network 126device miibus 127device nlge 128device ether 129device re 130device msk 131
| 119device pty 120device bpf 121 122# Network 123device miibus 124device nlge 125device ether 126device re 127device msk 128
|
132device da 133device scbus 134#device ohci # OHCI PCI->USB interface 135device ehci # EHCI PCI->USB interface (USB 2.0) 136device usb # USB Bus (required) 137options USB_DEBUG # enable debug msgs 138#device udbp # USB Double Bulk Pipe devices 139#device ugen # Generic 140#device uhid # "Human Interface Devices" 141device umass # Disks/Mass storage - Requires scbus and da
| 129device da 130device scbus 131device ehci # EHCI PCI->USB interface (USB 2.0) 132device usb # USB Bus (required) 133#options USB_DEBUG # enable debug msgs 134#device uhid # "Human Interface Devices" 135device umass # Disks/Mass storage - Requires scbus and da
|
142 143#device cfi 144 145#i2c
| 136 137#device cfi 138 139#i2c
|
146# Not yet 147device ic 148device iic 149device iicbb 150device iicbus 151device ds1374u # RTC on XLR boards 152device max6657 # Temparature sensor on XLR boards 153device at24co2n # EEPROM on XLR boards
| 140device ic 141device iic 142device iicbb 143device iicbus 144device ds1374u # RTC on XLR boards 145device max6657 # Temparature sensor on XLR boards 146device at24co2n # EEPROM on XLR boards
|
154 155#crypto 156# Not yet
| 147 148#crypto 149# Not yet
|
157#device cryptodev 158#device crypto 159#device rmisec
| 150#device cryptodev 151#device crypto 152#device rmisec
|
| |