Deleted Added
full compact
XLRN32 (215085) XLRN32 (215270)
1# XLRN32 -- Kernel configuration file for N32 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#
1# XLRN32 -- Kernel configuration file for N32 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/XLRN32 215085 2010-11-10 10:23:39Z jchandra $
18# $FreeBSD: head/sys/mips/conf/XLRN32 215270 2010-11-13 22:34:12Z imp $
19
19
20machine mips
20machine mips mipseb
21cpu CPU_RMI
22ident XLRN32
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=n32"
31makeoptions LDSCRIPT_NAME=ldscript.mips.n32
32
33#profile 2
34
35options SCHED_ULE # ULE scheduler
36#options VERBOSE_SYSINIT
37#options SCHED_4BSD # 4BSD scheduler
38options SMP
39options 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=nlge0
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
67#options DDB
68#options KDB
69#options GDB
70#options 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 nlge
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=0x80100000
21cpu CPU_RMI
22ident XLRN32
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=n32"
31makeoptions LDSCRIPT_NAME=ldscript.mips.n32
32
33#profile 2
34
35options SCHED_ULE # ULE scheduler
36#options VERBOSE_SYSINIT
37#options SCHED_4BSD # 4BSD scheduler
38options SMP
39options 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=nlge0
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
67#options DDB
68#options KDB
69#options GDB
70#options 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 nlge
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=0x80100000