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

M. Warner Losh imp at bsdimp.com
Sat Feb 27 21:03:28 UTC 2010


In message: <201002270356.o1R3uDHe044895 at svn.freebsd.org>
            Juli Mallett <jmallett at freebsd.org> writes:
: 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

This likely has some bad ripple effects...

: +makeoptions	ARCH_FLAGS="-march=mips64 -mabi=n32"

This should have been -march=octeon :)

:  options		DDB
:  options		KDB



More information about the svn-src-user mailing list