svn commit: r204394 - user/jmallett/octeon/sys/mips/conf

Juli Mallett jmallett at FreeBSD.org
Sat Feb 27 03:56:13 UTC 2010


Author: jmallett
Date: Sat Feb 27 03:56:12 2010
New Revision: 204394
URL: http://svn.freebsd.org/changeset/base/204394

Log:
  o) Correct the ISA and -march values for Octeon -- it's not MIPS32.
  o) Switch to using the n32 ABI.

Modified:
  user/jmallett/octeon/sys/mips/conf/OCTEON1-32

Modified: user/jmallett/octeon/sys/mips/conf/OCTEON1-32
==============================================================================
--- user/jmallett/octeon/sys/mips/conf/OCTEON1-32	Sat Feb 27 03:55:08 2010	(r204393)
+++ user/jmallett/octeon/sys/mips/conf/OCTEON1-32	Sat Feb 27 03:56:12 2010	(r204394)
@@ -24,16 +24,18 @@ ident		OCTEON1
 # Don't build any modules yet.
 makeoptions	MODULES_OVERRIDE=""
 makeoptions     TARGET_BIG_ENDIAN=defined
-makeoptions     LDSCRIPT_NAME=ldscript.mips.octeon1.32
+makeoptions	TARGET_N32=defined
+makeoptions     LDSCRIPT_NAME=ldscript.mips.octeon1.n32
 
-makeoptions	KERNLOADADDR=0x81000000
+makeoptions	KERNLOADADDR=0xffffffff81000000
 include		"../cavium/std.octeon1"
 
 hints		"OCTEON1.hints"		#Default places to look for devices.
 
 makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
 
-options 	ISA_MIPS32
+options 	ISA_MIPS64
+makeoptions	ARCH_FLAGS="-march=mips64 -mabi=n32"
 
 options		DDB
 options		KDB


More information about the svn-src-user mailing list