Module Name: src
Committed By: macallan
Date: Wed May 21 10:04:03 UTC 2014
Added Files:
src/sys/arch/sgimips/conf: GENERIC64_32_IP3x std.sgimips64_32
Log Message:
config goop for building 32bit sgimips64 kernels
works fine on my O2
( now to make the actual LP64 kernels work... )
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/sgimips/conf/GENERIC64_32_IP3x \
src/sys/arch/sgimips/conf/std.sgimips64_32
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/sys/arch/sgimips/conf/GENERIC64_32_IP3x
diff -u /dev/null src/sys/arch/sgimips/conf/GENERIC64_32_IP3x:1.1
--- /dev/null Wed May 21 10:04:03 2014
+++ src/sys/arch/sgimips/conf/GENERIC64_32_IP3x Wed May 21 10:04:03 2014
@@ -0,0 +1,45 @@
+# $NetBSD: GENERIC64_32_IP3x,v 1.1 2014/05/21 10:04:03 macallan Exp $
+#
+# GENERIC32_IP3x machine description file
+#
+# This machine description file is used to generate the default NetBSD
+# kernel. The generic kernel does not include all options, subsystems
+# and device drivers, but should be useful for most applications.
+#
+# The machine description file can be customised for your specific
+# machine to reduce the kernel size and improve its performance.
+#
+# For further information on compiling NetBSD kernels, see the config(8)
+# man page.
+#
+# For further information on hardware support for this architecture, see
+# the intro(4) man page. For further information about kernel options
+# for this architecture, see the options(4) man page. For an explanation
+# of each device driver in this file see the section 4 man page for the
+# device.
+#
+#
+# Currently this config file supports O2 (IP32).
+#
+
+include "arch/sgimips/conf/GENERIC32_IP3x"
+include "arch/sgimips/conf/std.sgimips64_32"
+
+no makeoptions TEXTADDR
+makeoptions TEXTADDR="0xffffffff80069000" # entry point
+no makeoptions CPUFLAGS
+makeoptions CPUFLAGS="-march=mips4 -mtune=vr5000"
+
+#ident "GENERIC64_IP3x-$Revision: 1.1 $"
+
+# Compatibility options
+#options COMPAT_15 # NetBSD 1.5
+#options COMPAT_16 # NetBSD 1.6
+#options COMPAT_20 # NetBSD 2.0
+#options COMPAT_30 # NetBSD 3.0
+#options COMPAT_40 # NetBSD 4.0 compatibility.
+#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
+
+no options COMPAT_LINUX # binary compatibility with Linux
+#options COMPAT_ULTRIX # binary compatibility with Ultrix
+#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
Index: src/sys/arch/sgimips/conf/std.sgimips64_32
diff -u /dev/null src/sys/arch/sgimips/conf/std.sgimips64_32:1.1
--- /dev/null Wed May 21 10:04:03 2014
+++ src/sys/arch/sgimips/conf/std.sgimips64_32 Wed May 21 10:04:03 2014
@@ -0,0 +1,9 @@
+# $NetBSD: std.sgimips64_32,v 1.1 2014/05/21 10:04:03 macallan Exp $
+# this is for building n32 kernels
+
+no makeoptions MACHINE_ARCH
+makeoptions MACHINE_ARCH="mips64eb"
+makeoptions LP64="no"
+
+#options EXEC_ELF64 # exec ELF64 binaries
+options COMPAT_NETBSD32