2009-06-14 03:01:39 +00:00
|
|
|
# OCTEON1 -- Configuration kernel for all Octeon1 SoCs from Cavium Networks
|
2009-06-14 02:46:07 +00:00
|
|
|
#
|
|
|
|
# For more information on this file, please read the handbook section on
|
|
|
|
# Kernel Configuration Files:
|
|
|
|
#
|
|
|
|
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
|
|
|
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
|
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
machine mips
|
|
|
|
cpu CPU_MIPS4KC
|
2009-06-14 03:01:39 +00:00
|
|
|
ident OCTEON1
|
2009-06-14 02:46:07 +00:00
|
|
|
|
2009-07-05 06:49:56 +00:00
|
|
|
makeoptions ARCH_FLAGS="-march=mips64 -mabi=64"
|
2009-11-24 14:57:50 +00:00
|
|
|
makeoptions LDSCRIPT_NAME=ldscript.mips.octeon.64
|
2009-06-14 02:46:07 +00:00
|
|
|
|
|
|
|
# Don't build any modules yet.
|
|
|
|
makeoptions MODULES_OVERRIDE=""
|
2009-06-14 06:12:21 +00:00
|
|
|
makeoptions TARGET_BIG_ENDIAN=defined
|
2009-08-15 04:29:18 +00:00
|
|
|
makeoptions TARGET_64BIT=defined
|
2009-11-24 14:57:50 +00:00
|
|
|
makeoptions KERNLOADADDR=0xffffffff80100000
|
2009-06-14 02:46:07 +00:00
|
|
|
|
2009-11-24 14:57:50 +00:00
|
|
|
options KERNVIRTADDR=0xffffffff80100000
|
2009-06-14 03:01:39 +00:00
|
|
|
include "../octeon1/std.octeon1"
|
2009-06-14 02:46:07 +00:00
|
|
|
|
2009-06-14 03:01:39 +00:00
|
|
|
hints "OCTEON1.hints" #Default places to look for devices.
|
2009-06-14 02:46:07 +00:00
|
|
|
|
|
|
|
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
|
2009-06-14 06:12:21 +00:00
|
|
|
#XXXimp: Need to make work with 64-bit too
|
2009-07-05 06:49:56 +00:00
|
|
|
options ISA_MIPS64
|
2009-06-14 06:12:21 +00:00
|
|
|
|
2009-06-14 02:46:07 +00:00
|
|
|
options DDB
|
|
|
|
options KDB
|
|
|
|
|
|
|
|
options SCHED_4BSD #4BSD scheduler
|
|
|
|
options INET #InterNETworking
|
|
|
|
options NFSCLIENT #Network Filesystem Client
|
|
|
|
#options NFS_ROOT #NFS usable as /, requires NFSCLIENT
|
|
|
|
options PSEUDOFS #Pseudo-filesystem framework
|
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
|
|
|
#options ROOTDEVNAME=\"ufs:ad0s1a\" # Original
|
|
|
|
options NO_SWAPPING
|
|
|
|
|
|
|
|
|
|
|
|
options FFS #Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES #Enable FFS soft updates support
|
|
|
|
options UFS_ACL #Support for access control lists
|
|
|
|
options UFS_DIRHASH #Improve performance on big directories
|
|
|
|
|
|
|
|
|
|
|
|
# Debugging for use in -current
|
|
|
|
options INVARIANTS #Enable calls of extra sanity checking
|
|
|
|
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
|
|
|
#options WITNESS #Enable checks to detect deadlocks and cycles
|
|
|
|
#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
|
|
|
|
|
2009-06-14 03:44:43 +00:00
|
|
|
#XXXimp device genclock
|
2009-06-14 02:46:07 +00:00
|
|
|
device loop
|
|
|
|
device ether
|
|
|
|
device md
|
|
|
|
device uart
|
2009-06-14 03:44:43 +00:00
|
|
|
nodevice uart_ns8250
|
2009-06-14 02:46:07 +00:00
|
|
|
device rgmii
|
|
|
|
#options VERBOSE_SYSINIT
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use the following for Compact Flash file-system
|
|
|
|
device cf
|
|
|
|
options ROOTDEVNAME = \"ufs:cf0s2\" # Unmask if compact flash is needed as RFS
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use the following for RFS in mem-device
|
|
|
|
#options MD_ROOT
|
|
|
|
#options ROOTDEVNAME = \"ufs:md0\"
|
|
|
|
|
|
|
|
#options MD_ROOT_SIZE = 21264
|
2009-06-14 04:26:56 +00:00
|
|
|
#XXX: Bring up UP first, then generalize.
|
|
|
|
#options SMP
|