1# XLP64 -- Generic kernel configuration file for FreeBSD/mips
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/XLP64 226545 2011-10-19 14:38:01Z jchandra $
19
20machine mips mips64eb
21ident XLP64
22
23options ISA_MIPS64
24makeoptions ARCH_FLAGS="-march=mips64r2 -mabi=64"
25makeoptions KERNLOADADDR=0xffffffff80100000
26
27include "../nlm/std.xlp"
28
29makeoptions MODULES_OVERRIDE=""
30makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
31#profile 2
32makeoptions TRAMPLOADADDR=0xffffffff85000000
33makeoptions TRAMP_ARCH_FLAGS="-mabi=64 -march=mips64"
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
41#options MAXCPU=128 # XLP can probe 128 CPUs
42options INET # InterNETworking
43options INET6 # IPv6 communications protocols
44options FFS # Berkeley Fast Filesystem
45#options SOFTUPDATES # Enable FFS soft updates support
46options UFS_ACL # Support for access control lists
47options UFS_DIRHASH # Improve performance on big directories
48options NFSCL
49options NFS_ROOT
50options MSDOSFS #MSDOS Filesystem
51#
52#options BOOTP
53#options BOOTP_NFSROOT
54#options BOOTP_NFSV3
55#options BOOTP_WIRED_TO=nlge0
56#options BOOTP_COMPAT
57#options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
58#
59options MD_ROOT # MD is a potential root device
60options MD_ROOT_SIZE=27000
61options ROOTDEVNAME=\"ufs:md0\"
62options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
63options HZ=1000
64options NO_SWAPPING
65
66#Debugging options
67options KTRACE # ktrace(1) support
68options DDB
69options KDB
70options GDB
71options BREAK_TO_DEBUGGER
72options ALT_BREAK_TO_DEBUGGER
73#options DEADLKRES #Enable the deadlock resolver
74#options INVARIANTS #Enable calls of extra sanity checking
75#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
76#options WITNESS #Enable checks to detect deadlocks and cycles
77#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
78#options KTR # ktr(4) and ktrdump(8) support
79#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
80#options KTR_ENTRIES=131072
81#options LOCK_DEBUG
82#options LOCK_PROFILING
83
84
85# Pseudo
86device loop
87device random
88device md
89device pty
90device bpf
91
92# UART
93device uart
94device pci
95
96# Network
97device ether
98
99# FDT support
100#options FDT
101#options FDT_DTB_STATIC
102#makeoptions FDT_DTS_FILE=xlp-basic.dts
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/XLP64 226545 2011-10-19 14:38:01Z jchandra $
19
20machine mips mips64eb
21ident XLP64
22
23options ISA_MIPS64
24makeoptions ARCH_FLAGS="-march=mips64r2 -mabi=64"
25makeoptions KERNLOADADDR=0xffffffff80100000
26
27include "../nlm/std.xlp"
28
29makeoptions MODULES_OVERRIDE=""
30makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
31#profile 2
32makeoptions TRAMPLOADADDR=0xffffffff85000000
33makeoptions TRAMP_ARCH_FLAGS="-mabi=64 -march=mips64"
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
41#options MAXCPU=128 # XLP can probe 128 CPUs
42options INET # InterNETworking
43options INET6 # IPv6 communications protocols
44options FFS # Berkeley Fast Filesystem
45#options SOFTUPDATES # Enable FFS soft updates support
46options UFS_ACL # Support for access control lists
47options UFS_DIRHASH # Improve performance on big directories
48options NFSCL
49options NFS_ROOT
50options MSDOSFS #MSDOS Filesystem
51#
52#options BOOTP
53#options BOOTP_NFSROOT
54#options BOOTP_NFSV3
55#options BOOTP_WIRED_TO=nlge0
56#options BOOTP_COMPAT
57#options ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
58#
59options MD_ROOT # MD is a potential root device
60options MD_ROOT_SIZE=27000
61options ROOTDEVNAME=\"ufs:md0\"
62options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
63options HZ=1000
64options NO_SWAPPING
65
66#Debugging options
67options KTRACE # ktrace(1) support
68options DDB
69options KDB
70options GDB
71options BREAK_TO_DEBUGGER
72options ALT_BREAK_TO_DEBUGGER
73#options DEADLKRES #Enable the deadlock resolver
74#options INVARIANTS #Enable calls of extra sanity checking
75#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
76#options WITNESS #Enable checks to detect deadlocks and cycles
77#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
78#options KTR # ktr(4) and ktrdump(8) support
79#options KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
80#options KTR_ENTRIES=131072
81#options LOCK_DEBUG
82#options LOCK_PROFILING
83
84
85# Pseudo
86device loop
87device random
88device md
89device pty
90device bpf
91
92# UART
93device uart
94device pci
95
96# Network
97device ether
98
99# FDT support
100#options FDT
101#options FDT_DTB_STATIC
102#makeoptions FDT_DTS_FILE=xlp-basic.dts