Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 03:56:13 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r204394 - user/jmallett/octeon/sys/mips/conf
Message-ID:  <201002270356.o1R3uDHe044895@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002270356.o1R3uDHe044895>