diff options
author | imp <imp@FreeBSD.org> | 2010-01-09 18:13:13 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-01-09 18:13:13 +0000 |
commit | aeec05b6b07bf17d9a0e4f07db0ea73901e7811e (patch) | |
tree | 3d06a956470f8558cd8605470a130cdc468e38c9 | |
parent | 424d2a94aa3542fdc7909382f8adde3b66832bbb (diff) | |
parent | 75f6d17b0e6c09d65b88078c4f9eb12e4e637651 (diff) | |
download | FreeBSD-src-aeec05b6b07bf17d9a0e4f07db0ea73901e7811e.zip FreeBSD-src-aeec05b6b07bf17d9a0e4f07db0ea73901e7811e.tar.gz |
Merge from projects/mips to head by hand:
Copy over OCTEON1-32 file: the 32-bit variant of the octeon kernel
config file.
-rw-r--r-- | sys/mips/conf/OCTEON1-32 | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/sys/mips/conf/OCTEON1-32 b/sys/mips/conf/OCTEON1-32 new file mode 100644 index 0000000..361964e --- /dev/null +++ b/sys/mips/conf/OCTEON1-32 @@ -0,0 +1,92 @@ +# OCTEON1 -- Configuration kernel for all Octeon1 SoCs from Cavium Networks +# +# 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 +ident OCTEON1 + +#makeoptions ARCH_FLAGS="-march=mips64 -mabi=64" +#makeoptions LDSCRIPT_NAME= ldscript.mips.mips64 + +# Don't build any modules yet. +makeoptions MODULES_OVERRIDE="" +makeoptions TARGET_BIG_ENDIAN=defined +makeoptions LDSCRIPT_NAME=ldscript.mips.octeon1.32 +#makeoptions TARGET_64BIT=defined + +options KERNVIRTADDR=0x80100000 +makeoptions KERNLOADADDR=0x80100000 +include "../octeon1/std.octeon1" + +hints "OCTEON1.hints" #Default places to look for devices. + +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols + +#XXXimp: Need to make work with 64-bit too +#options ISA_MIPS64 +options ISA_MIPS32 + +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 + +#XXXimp device genclock +device loop +device ether +device md +device uart +nodevice uart_ns8250 +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 +#XXX: Bring up UP first, then generalize. +#options SMP |