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 217630 2011-01-20 09:01:14Z jchandra $
19
20machine mips mipsn32eb
21cpu CPU_RMI
22ident XLRN32
23
24makeoptions MODULES_OVERRIDE=""
25include "../rmi/std.xlr"
26
27makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
28makeoptions ARCH_FLAGS="-march=mips64 -mabi=n32"
29makeoptions KERNLOADADDR=0x80100000
30
31options ISA_MIPS64
32#profile 2
33
34options SCHED_ULE # ULE scheduler
35#options VERBOSE_SYSINIT
36#options SCHED_4BSD # 4BSD scheduler
37options SMP
38options PREEMPTION # Enable kernel thread preemption
39#options FULL_PREEMPTION # Enable kernel thread preemption
40options INET # InterNETworking
41options INET6 # IPv6 communications protocols
42options FFS # Berkeley Fast Filesystem
43#options SOFTUPDATES # Enable FFS soft updates support
--- 5 unchanged lines hidden (view full) ---
49options BOOTP
50options BOOTP_NFSROOT
51options BOOTP_NFSV3
52options BOOTP_WIRED_TO=nlge0
53options BOOTP_COMPAT
54options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
55#
56#options MD_ROOT # MD is a potential root device
57#options MD_ROOT_SIZE=27000
58#options MD_ROOT_SIZE=5120
59#options ROOTDEVNAME=\"ufs:md0\"
60options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options HZ=1000
62options NO_SWAPPING
63
64#Debugging options
65options KTRACE # ktrace(1) support
66#options DDB
67#options KDB
68#options GDB
69#options ALT_BREAK_TO_DEBUGGER
70#options DEADLKRES #Enable the deadlock resolver
71options INVARIANTS #Enable calls of extra sanity checking
72options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
73#options WITNESS #Enable checks to detect deadlocks and cycles
74#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
75#options KTR # ktr(4) and ktrdump(8) support
76#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
77#options KTR_ENTRIES=131072
78
79#options LOCK_PROFILING
80#options SLEEPQUEUE_PROFILING
81#options TURNSTILE_PROFILING
82
83device pci
84#device ata
85#device atadisk
86#options XLR_PERFMON # Enable XLR processor activity monitoring
87options BREAK_TO_DEBUGGER
88device uart
89# Pseudo
90device loop
91device random
92device md
93device pty
94device bpf
95
96# Network
97device miibus
98device nlge
99device ether
100device re
--- 8 unchanged lines hidden (view full) ---
109#device udbp # USB Double Bulk Pipe devices
110#device ugen # Generic
111#device uhid # "Human Interface Devices"
112device umass # Disks/Mass storage - Requires scbus and da
113
114#device cfi
115
116#i2c
117device ic
118device iic
119device iicbb
120device iicbus
121device ds1374u # RTC on XLR boards
122device max6657 # Temparature sensor on XLR boards
123device at24co2n # EEPROM on XLR boards
124
125#crypto
126# Not yet
127#device cryptodev
128#device crypto
129#device rmisec
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 217630 2011-01-20 09:01:14Z jchandra $
19
20machine mips mipsn32eb
21cpu CPU_RMI
22ident XLRN32
23
24makeoptions MODULES_OVERRIDE=""
25include "../rmi/std.xlr"
26
27makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
28makeoptions ARCH_FLAGS="-march=mips64 -mabi=n32"
29makeoptions KERNLOADADDR=0x80100000
30
31options ISA_MIPS64
32#profile 2
33
34options SCHED_ULE # ULE scheduler
35#options VERBOSE_SYSINIT
36#options SCHED_4BSD # 4BSD scheduler
37options SMP
38options PREEMPTION # Enable kernel thread preemption
39#options FULL_PREEMPTION # Enable kernel thread preemption
40options INET # InterNETworking
41options INET6 # IPv6 communications protocols
42options FFS # Berkeley Fast Filesystem
43#options SOFTUPDATES # Enable FFS soft updates support
--- 5 unchanged lines hidden (view full) ---
49options BOOTP
50options BOOTP_NFSROOT
51options BOOTP_NFSV3
52options BOOTP_WIRED_TO=nlge0
53options BOOTP_COMPAT
54options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
55#
56#options MD_ROOT # MD is a potential root device
57#options MD_ROOT_SIZE=27000
58#options MD_ROOT_SIZE=5120
59#options ROOTDEVNAME=\"ufs:md0\"
60options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options HZ=1000
62options NO_SWAPPING
63
64#Debugging options
65options KTRACE # ktrace(1) support
66#options DDB
67#options KDB
68#options GDB
69#options ALT_BREAK_TO_DEBUGGER
70#options DEADLKRES #Enable the deadlock resolver
71options INVARIANTS #Enable calls of extra sanity checking
72options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
73#options WITNESS #Enable checks to detect deadlocks and cycles
74#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
75#options KTR # ktr(4) and ktrdump(8) support
76#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
77#options KTR_ENTRIES=131072
78
79#options LOCK_PROFILING
80#options SLEEPQUEUE_PROFILING
81#options TURNSTILE_PROFILING
82
83device pci
84#device ata
85#device atadisk
86#options XLR_PERFMON # Enable XLR processor activity monitoring
87options BREAK_TO_DEBUGGER
88device uart
89# Pseudo
90device loop
91device random
92device md
93device pty
94device bpf
95
96# Network
97device miibus
98device nlge
99device ether
100device re
--- 8 unchanged lines hidden (view full) ---
109#device udbp # USB Double Bulk Pipe devices
110#device ugen # Generic
111#device uhid # "Human Interface Devices"
112device umass # Disks/Mass storage - Requires scbus and da
113
114#device cfi
115
116#i2c
117device ic
118device iic
119device iicbb
120device iicbus
121device ds1374u # RTC on XLR boards
122device max6657 # Temparature sensor on XLR boards
123device at24co2n # EEPROM on XLR boards
124
125#crypto
126# Not yet
127#device cryptodev
128#device crypto
129#device rmisec