head	1.20;
access;
symbols
	RELENG_8_4:1.19.0.2
	RELENG_9_1_0_RELEASE:1.15.2.1.4.2
	RELENG_9_1:1.15.2.1.0.4
	RELENG_9_1_BP:1.15.2.1
	RELENG_8_3_0_RELEASE:1.10.2.2.4.1
	RELENG_8_3:1.10.2.2.0.4
	RELENG_8_3_BP:1.10.2.2
	RELENG_9_0_0_RELEASE:1.15.2.1.2.1
	RELENG_9_0:1.15.2.1.0.2
	RELENG_9_0_BP:1.15.2.1
	RELENG_9:1.15.0.2
	RELENG_9_BP:1.15
	RELENG_8_2_0_RELEASE:1.10.2.2.2.1
	RELENG_8_2:1.10.2.2.0.2
	RELENG_8_2_BP:1.10.2.2
	RELENG_8:1.10.0.2;
locks; strict;
comment	@# @;


1.20
date	2013.04.05.00.25.43;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2012.03.29.02.54.35;	author jmallett;	state Exp;
branches;
next	1.17;

1.17
date	2012.03.21.08.38.42;	author ed;	state Exp;
branches;
next	1.16;

1.16
date	2012.03.12.21.25.32;	author jmallett;	state Exp;
branches;
next	1.15;

1.15
date	2011.05.11.00.52.41;	author gonzo;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2011.01.20.12.45.29;	author jchandra;	state Exp;
branches;
next	1.13;

1.13
date	2011.01.20.09.01.14;	author jchandra;	state Exp;
branches;
next	1.12;

1.12
date	2011.01.20.08.15.11;	author jchandra;	state Exp;
branches;
next	1.11;

1.11
date	2010.12.12.06.00.26;	author jchandra;	state Exp;
branches;
next	1.10;

1.10
date	2010.11.13.22.34.12;	author imp;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2010.11.10.10.23.39;	author jchandra;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.13.12.56.00;	author jchandra;	state Exp;
branches;
next	1.7;

1.7
date	2010.05.16.19.43.48;	author rrs;	state Exp;
branches;
next	1.6;

1.6
date	2010.04.22.21.31.34;	author thompsa;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.20.06.39.14;	author neel;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.15.23.44.48;	author attilio;	state Exp;
branches;
next	1.3;

1.3
date	2010.02.10.16.30.04;	author attilio;	state Exp;
branches;
next	1.2;

1.2
date	2010.01.26.05.17.03;	author rrs;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.09.18.17.39;	author imp;	state Exp;
branches;
next	;

1.19.2.1
date	2012.11.17.01.52.48;	author svnexp;	state dead;
branches;
next	1.19.2.2;

1.19.2.2
date	2013.03.28.13.05.15;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.15.2.1.2.1
	1.15.2.1.4.1;
next	1.15.2.2;

1.15.2.2
date	2012.11.17.11.37.15;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.15.2.1.2.2;

1.15.2.1.2.2
date	2012.11.17.08.37.11;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.15.2.1.4.2;

1.15.2.1.4.2
date	2012.11.17.08.48.02;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2010.11.27.12.26.40;	author jchandra;	state dead;
branches;
next	1.10.2.2;

1.10.2.2
date	2010.11.27.12.26.40;	author jchandra;	state Exp;
branches
	1.10.2.2.2.1
	1.10.2.2.4.1;
next	1.10.2.3;

1.10.2.3
date	2012.11.17.10.36.54;	author svnexp;	state Exp;
branches;
next	;

1.10.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.10.2.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.10.2.2.4.2;

1.10.2.2.4.2
date	2012.11.17.08.25.31;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249083
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#################################RMI_BSD#####################################
# Copyright (c) 2003-2009 RMI Corporation
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of RMI Corporation, nor the names of its contributors,
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#################################RMI_BSD#####################################
# XLR -- Generic kernel configuration file for FreeBSD/mips
#
# 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: head/sys/mips/conf/XLR 249083 2013-04-04 07:12:24Z mav $

machine 	mips mips
ident 		XLR
include		"../rmi/std.xlr"

makeoptions	MODULES_OVERRIDE=""
makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
makeoptions	KERNLOADADDR=0x80100000
#profile		2

options 	SCHED_ULE		# ULE scheduler
#options 	VERBOSE_SYSINIT
#options 	SCHED_4BSD		# 4BSD scheduler
options 	SMP
options 	PREEMPTION		# Enable kernel thread preemption
#options 	FULL_PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
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
options 	NFSCL
options 	NFS_ROOT
#
options 	BOOTP
options 	BOOTP_NFSROOT
options 	BOOTP_NFSV3
options 	BOOTP_WIRED_TO=nlge0
options 	BOOTP_COMPAT
options 	ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
#
#options 	MD_ROOT			# MD is a potential root device
#options 	MD_ROOT_SIZE=27000
#options 	MD_ROOT_SIZE=5120
#options 	ROOTDEVNAME=\"ufs:md0\"
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	HZ=1000	
options 	NO_SWAPPING

#Debugging options
options 	KTRACE			# ktrace(1) support
options 	DDB
options 	KDB
options 	GDB
options 	ALT_BREAK_TO_DEBUGGER
options  	BREAK_TO_DEBUGGER
#options 	DEADLKRES		#Enable the deadlock resolver
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
#options 	KTR			# ktr(4) and ktrdump(8) support
#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
#options 	KTR_ENTRIES=131072

#options 	LOCK_PROFILING
#options 	SLEEPQUEUE_PROFILING
#options 	TURNSTILE_PROFILING

device		pci
#device		ata
device 		uart
# Pseudo
device 		loop
device 		random
device 		md
device		bpf

# Network
device		miibus
device		nlge
device 		ether
device		re
device		msk

device		da
device		scbus
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#options 	USB_DEBUG	# enable debug msgs
#device		uhid		# "Human Interface Devices"
device		umass		# Disks/Mass storage - Requires scbus and da

#device		cfi

#i2c
device		ic
device		iic
device		iicbb
device		iicbus
device		ds1374u	# RTC on XLR boards
device		max6657	# Temparature sensor on XLR boards
device		at24co2n	# EEPROM on XLR boards

#crypto
# Not yet
#device		cryptodev
#device		crypto
#device		rmisec
@


1.19
log
@Switching exporter and resync
@
text
@d46 1
a46 1
# $FreeBSD: head/sys/mips/conf/XLR 233644 2012-03-29 02:54:35Z jmallett $
a108 1
#device		atadisk
@


1.19.2.1
log
@file XLR was added on branch RELENG_8_4 on 2013-03-28 13:05:15 +0000
@
text
@d1 147
@


1.19.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 158
#################################RMI_BSD#####################################
# Copyright (c) 2003-2009 RMI Corporation
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of RMI Corporation, nor the names of its contributors,
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#################################RMI_BSD#####################################
# XLR -- Generic kernel configuration file for FreeBSD/mips
#
# 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: releng/8.4/sys/mips/conf/XLR 215938 2010-11-27 12:26:40Z jchandra $

machine 	mips
cpu 		CPU_RMI
ident 		XLR

makeoptions	MODULES_OVERRIDE=""
makeoptions     TARGET_BIG_ENDIAN
#

include		"../rmi/std.xlr"


makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
#profile		2

options 	SCHED_ULE		# ULE scheduler
#options		VERBOSE_SYSINIT
#options 	SCHED_4BSD		# 4BSD scheduler
options         SMP
options 	PREEMPTION		# Enable kernel thread preemption
#options 	FULL_PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
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
options		NFSCLIENT
options		NFS_ROOT
#
options         BOOTP
options         BOOTP_NFSROOT
options         BOOTP_NFSV3
options         BOOTP_WIRED_TO=nlge0
options         BOOTP_COMPAT
options		ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
#
#options 	MD_ROOT			# MD is a potential root device
#options		MD_ROOT_SIZE=27000
#options		MD_ROOT_SIZE=5120
#options		ROOTDEVNAME=\"ufs:md0\"
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	HZ=1000	
options 	NO_SWAPPING

#Debugging options
options 	KTRACE			# ktrace(1) support
options 	DDB
options 	KDB
options 	GDB
options 	ALT_BREAK_TO_DEBUGGER
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
#options 	KTR			# ktr(4) and ktrdump(8) support
#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
#options 	KTR_ENTRIES=131072
#options 	MUTEX_DEBUG
#options 	MUTEX_PROFILING

device		pci
#device		ata
#device		atadisk
#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
options  	BREAK_TO_DEBUGGER
#device 		genclock
device 		uart
# Pseudo
device 		loop
device 		random
device 		md
device 		mem
device 		pty
device		bpf

# Network
device		miibus
device		nlge
device 		ether
device		re
device		msk

device          da
device          scbus
#device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device          ugen            # Generic
#device          uhid            # "Human Interface Devices"
device          umass           # Disks/Mass storage - Requires scbus and da

#device		cfi

#i2c
# Not yet
#device      ic
#device      iic
#device      iicbb
#device      iicbus
#device      xlr_rtc
#device      xlr_temperature
#device      xlr_eeprom

#crypto
# Not yet
#device cryptodev
#device crypto
#device rmisec
options		ISA_MIPS32
makeoptions	KERNLOADADDR=0x80100000
@


1.18
log
@SVN rev 233644 on 2012-03-29 02:54:35Z by jmallett

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software.  MIPS builds which are little-endian
should require and exhibit no changes.  Big-endian TARGET_ARCHes must be
changed:
	From:		To:
	mipseb		mips
	mipsn32eb	mipsn32
	mips64eb	mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.
@
text
@d46 1
a46 1
# $FreeBSD$
@


1.17
log
@SVN rev 233271 on 2012-03-21 08:38:42Z by ed

Remove pty(4) from our kernel configurations.

As of FreeBSD 8, this driver should not be used. Applications that use
posix_openpt(2) and openpty(3) use the pts(4) that is built into the
kernel unconditionally. If it turns out high profile depend on the
pty(4) module anyway, I'd rather get those fixed. So please report any
issues to me.

The pty(4) module is still available as a kernel module of course, so a
simple `kldload pty' can be used to run old-style pseudo-terminals.
@
text
@d48 1
a48 1
machine 	mips mipseb
@


1.16
log
@SVN rev 232896 on 2012-03-12 21:25:32Z by jmallett

o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern
   required for the ABI the kernel is being built for.
   XXX This is implemented in a kind-of nasty way that involves including source
       files, but it's still an improvement.
o) Retire ISA_* options since they're unused and were always wrong.
@
text
@a114 1
device 		pty
@


1.15
log
@SVN rev 221753 on 2011-05-11 00:52:41Z by gonzo

Use new option names for NFS client and NFS server

See UPDATING entry for 20110427
@
text
@a55 1
options 	ISA_MIPS32
@


1.15.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.15.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d46 1
a46 1
# $FreeBSD: stable/9/sys/mips/conf/XLR 221753 2011-05-11 00:52:41Z gonzo $
@


1.15.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.15.2.1.4.2
log
@Switch importer
@
text
@d46 1
a46 1
# $FreeBSD: releng/9.1/sys/mips/conf/XLR 221753 2011-05-11 00:52:41Z gonzo $
@


1.15.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.15.2.1.2.2
log
@Switch importer
@
text
@d46 1
a46 1
# $FreeBSD: releng/9.0/sys/mips/conf/XLR 221753 2011-05-11 00:52:41Z gonzo $
@


1.14
log
@SVN rev 217636 on 2011-01-20 12:45:29Z by jchandra

Move 'cpu CPU_RMI' to std.xlr, this is common for all XLR cpus.
@
text
@d70 1
a70 1
options 	NFSCLIENT
@


1.13
log
@SVN rev 217630 on 2011-01-20 09:01:14Z by jchandra

Re-format XLR configuartion files and remove obsolete options.
@
text
@a48 1
cpu 		CPU_RMI
d50 1
a52 3

include		"../rmi/std.xlr"

@


1.12
log
@SVN rev 217626 on 2011-01-20 08:15:11Z by jchandra

ldscript and conf cleanup for MIPS

- Remove sys/conf/ldscript.mips.64 and sys/conf/ldscript.mips.n32 and use
  ldscript.mips for all ABIs. The default OUTPUT_FORMAT of the toolchain
  is correct.
- Remove LDSCRIPT_NAME entires from XLR n32 and n64 conf files.
- Remove TARGET_BIG_ENDIAN from XLR conf files.
- Fix machine entry in XLRN32
@
text
@a52 1
#
a55 1

d57 1
d59 1
a59 2
makeoptions	KERNLOADADDR=0x80100000
options		ISA_MIPS32
d62 1
a62 1
#options		VERBOSE_SYSINIT
d64 1
a64 1
options         SMP
d73 2
a74 2
options		NFSCLIENT
options		NFS_ROOT
d76 6
a81 6
options         BOOTP
options         BOOTP_NFSROOT
options         BOOTP_NFSV3
options         BOOTP_WIRED_TO=nlge0
options         BOOTP_COMPAT
options		ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
d84 3
a86 3
#options		MD_ROOT_SIZE=27000
#options		MD_ROOT_SIZE=5120
#options		ROOTDEVNAME=\"ufs:md0\"
d97 1
d104 1
a104 1
#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
d106 4
a109 2
#options 	MUTEX_DEBUG
#options 	MUTEX_PROFILING
a113 3
#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
options  	BREAK_TO_DEBUGGER
#device 		genclock
a118 1
device 		mem
d129 7
a135 10
device          da
device          scbus
#device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
options 	USB_DEBUG	# enable debug msgs
#device         udbp            # USB Double Bulk Pipe devices
#device          ugen            # Generic
#device          uhid            # "Human Interface Devices"
device          umass           # Disks/Mass storage - Requires scbus and da
d140 7
a146 8
# Not yet
device      ic
device      iic
device      iicbb
device      iicbus
device      ds1374u	# RTC on XLR boards
device      max6657	# Temparature sensor on XLR boards
device      at24co2n	# EEPROM on XLR boards
d150 3
a152 3
#device cryptodev
#device crypto
#device rmisec
@


1.11
log
@SVN rev 216390 on 2010-12-12 06:00:26Z by jchandra

I2C drivers for XLR/XLS processors.

- Major update to xlr_i2c.c: do multi-byte ops correctly, remove unnecessary
  code, add mutex to protect bus operations, style(9) fixes.
- Drivers for I2C devices on XLR/XLS engineering boards, ds1374u RTC, max6657
  temparature sensor and at24co2n EEPROM.

Submitted by:	Sreekanth M. S. (kanthms at netlogicmicro com)
@
text
@a52 1
makeoptions     TARGET_BIG_ENDIAN
d60 2
a159 2
options		ISA_MIPS32
makeoptions	KERNLOADADDR=0x80100000
@


1.10
log
@SVN rev 215270 on 2010-11-13 22:34:12Z by imp

Remove the 'machine mips' from DEFAULTS.  Put the proper 'machine mips
mipsel' or 'machine mips mipseb' into the config file (with a few 64's
tossed in for good measure).  This will let us build the proper
kernels with different worlds as part of make universe.
@
text
@d146 7
a152 7
#device      ic
#device      iic
#device      iicbb
#device      iicbus
#device      xlr_rtc
#device      xlr_temperature
#device      xlr_eeprom
@


1.10.2.1
log
@file XLR was added on branch RELENG_8 on 2010-11-27 12:29:01 +0000
@
text
@d1 160
@


1.10.2.2
log
@SVN rev 215938 on 2010-11-27 12:26:40Z by jchandra

Merge MIPS platform support to 8-STABLE.

This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:

r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.

r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.

r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.

r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.

r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.

r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.

r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()

r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.

r210327:  (changes to sys/vm/)
Support for MIPS page table page allocation.  Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.

Reviewed by:	alc(vm changes only)
Approved by:	kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
@
text
@a0 158
#################################RMI_BSD#####################################
# Copyright (c) 2003-2009 RMI Corporation
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of RMI Corporation, nor the names of its contributors,
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#################################RMI_BSD#####################################
# XLR -- Generic kernel configuration file for FreeBSD/mips
#
# 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_RMI
ident 		XLR

makeoptions	MODULES_OVERRIDE=""
makeoptions     TARGET_BIG_ENDIAN
#

include		"../rmi/std.xlr"


makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
#profile		2

options 	SCHED_ULE		# ULE scheduler
#options		VERBOSE_SYSINIT
#options 	SCHED_4BSD		# 4BSD scheduler
options         SMP
options 	PREEMPTION		# Enable kernel thread preemption
#options 	FULL_PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
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
options		NFSCLIENT
options		NFS_ROOT
#
options         BOOTP
options         BOOTP_NFSROOT
options         BOOTP_NFSV3
options         BOOTP_WIRED_TO=nlge0
options         BOOTP_COMPAT
options		ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
#
#options 	MD_ROOT			# MD is a potential root device
#options		MD_ROOT_SIZE=27000
#options		MD_ROOT_SIZE=5120
#options		ROOTDEVNAME=\"ufs:md0\"
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	HZ=1000	
options 	NO_SWAPPING

#Debugging options
options 	KTRACE			# ktrace(1) support
options 	DDB
options 	KDB
options 	GDB
options 	ALT_BREAK_TO_DEBUGGER
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
#options 	KTR			# ktr(4) and ktrdump(8) support
#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
#options 	KTR_ENTRIES=131072
#options 	MUTEX_DEBUG
#options 	MUTEX_PROFILING

device		pci
#device		ata
#device		atadisk
#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
options  	BREAK_TO_DEBUGGER
#device 		genclock
device 		uart
# Pseudo
device 		loop
device 		random
device 		md
device 		mem
device 		pty
device		bpf

# Network
device		miibus
device		nlge
device 		ether
device		re
device		msk

device          da
device          scbus
#device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device          ugen            # Generic
#device          uhid            # "Human Interface Devices"
device          umass           # Disks/Mass storage - Requires scbus and da

#device		cfi

#i2c
# Not yet
#device      ic
#device      iic
#device      iicbb
#device      iicbus
#device      xlr_rtc
#device      xlr_temperature
#device      xlr_eeprom

#crypto
# Not yet
#device cryptodev
#device crypto
#device rmisec
options		ISA_MIPS32
makeoptions	KERNLOADADDR=0x80100000
@


1.10.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d46 1
a46 1
# $FreeBSD: stable/8/sys/mips/conf/XLR 215938 2010-11-27 12:26:40Z jchandra $
@


1.10.2.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.2.4.2
log
@Switch importer
@
text
@d46 1
a46 1
# $FreeBSD: releng/8.3/sys/mips/conf/XLR 215938 2010-11-27 12:26:40Z jchandra $
@


1.10.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.9
log
@SVN rev 215085 on 2010-11-10 10:23:39Z by jchandra

Switch to the new network driver nlge, the old rge driver is deprecated now.
@
text
@d48 1
a48 1
machine 	mips
@


1.8
log
@SVN rev 211280 on 2010-08-13 12:56:00Z by jchandra

Rename TARGET_XLR_XLS to CPU_RMI to match other CPU_xxx definitions.
use CPU_RMI all XLR configurations. Update ident string for N32 and
N64 kernels.
@
text
@d80 1
a80 1
options         BOOTP_WIRED_TO=rge0
d126 1
a126 1
device		rge
@


1.7
log
@SVN rev 208165 on 2010-05-16 19:43:48Z by rrs

This pushes all of JC's patches that I have in place. I
am now able to run 32 cores ok.. but I still will hang
on buildworld with a NFS problem. I suspect I am missing
a patch for the netlogic rge driver.

JC check and see if I am missing anything except your
core-mask changes

Obtained from:	JC
@
text
@d49 1
a49 1
cpu 		CPU_MIPS4KC
@


1.6
log
@SVN rev 207077 on 2010-04-22 21:31:34Z by thompsa

Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
the illusion of a tunable setting but was always turned on regardless.

MFC after:	1 week
@
text
@d62 1
a62 1
#options 	SCHED_ULE		# ULE scheduler
d64 3
a66 2
options 	SCHED_4BSD		# 4BSD scheduler
#options 	PREEMPTION		# Enable kernel thread preemption
@


1.5
log
@SVN rev 204108 on 2010-02-20 06:39:14Z by neel

Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BIT

Discussed with: gonzo, imp
@
text
@d135 1
@


1.4
log
@SVN rev 203938 on 2010-02-15 23:44:48Z by attilio

Adjust style (following the already existing rules) for the newly
introduced option DEADLKRES.

Reported by:	danfe, julian, avg
@
text
@a55 1
options		KERNVIRTADDR=0x80100000
a88 1
options 	PHYS_ADDR_64BIT
@


1.3
log
@SVN rev 203758 on 2010-02-10 16:30:04Z by attilio

Add the options DEADLKRES (introducing the deadlock resolver thread) in
the 'debugging' section of any HEAD kernel and enable for the mainstream
ones, excluding the embedded architectures.
It may, of course, enabled on a case-by-case basis.

Sponsored by:	Sandvine Incorporated
Requested by:	emaste
Discussed with:	kib
@
text
@d99 1
a99 1
#options	DEADLKRES		#Enable the deadlock resolver
@


1.2
log
@SVN rev 203011 on 2010-01-26 05:17:03Z by rrs

My current conf, that comes up but
locks up in make buildworld.

You need to follow the mips wiki for building
the nfs partition and setup things to mount there
(in the conf and in your bootp setup).
@
text
@d99 1
@


1.1
log
@SVN rev 201915 on 2010-01-09 18:17:39Z by imp

Merge from projects/mips to head by hand:

Copy over XLR kernel config file.
@
text
@d82 1
a82 1
options		ROOTDEVNAME=\"nfs:10.1.1.15:/extra/nfsroot\"
d85 1
a85 1
#options		MD_ROOT_SIZE=21264
d99 2
a100 2
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
d113 1
a113 1

a115 1

@

