head	1.6;
access;
symbols;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.05.07.04.36.48;	author jmallett;	state Exp;
branches;
next	1.4;

1.4
date	2012.05.07.04.15.46;	author jmallett;	state Exp;
branches;
next	1.3;

1.3
date	2012.05.06.08.28.08;	author jmallett;	state Exp;
branches;
next	1.2;

1.2
date	2012.05.02.12.15.34;	author rwatson;	state Exp;
branches;
next	1.1;

1.1
date	2012.05.02.08.10.15;	author rwatson;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switching exporter and resync
@
text
@#
# GXEMUL "oldtestmips" sample kernel configuration.
#
# $FreeBSD: head/sys/mips/conf/GXEMUL 235118 2012-05-07 04:36:48Z jmallett $
#

ident		GXEMUL

machine		mips mips64
cpu		CPU_MIPS4KC

options 	HZ=100

makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"

makeoptions 	KERNLOADADDR=0xffffffff80100000

include		"../gxemul/std.gxemul"

hints		"GXEMUL.hints"		#Default places to look for devices.

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

makeoptions	MODULES_OVERRIDE=""

options 	DDB
options 	KDB

# Make an SMP-capable kernel by default
options 	SMP			# Symmetric MultiProcessor Kernel

options 	SCHED_ULE
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols

options 	FFS			#Berkeley Fast Filesystem

# Debugging for use in -current
#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 	ROOTDEVNAME=\"ufs:gxemul_disk0\"

device		gxemul_cons
device		gxemul_disk
device		gxemul_ether

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		tun		# Packet tunnel.
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter
@


1.5
log
@SVN rev 235118 on 2012-05-07 04:36:48Z by jmallett

Add basic SMP support for GXemul.  Ideally we would have some way to override
some of the IPI mechanisms used by the common MIPS SMP code so we could use
the multicast IPI facilities, on GXemul as well as on several real hardware
platforms, and the ability to have multiple hard IPI types.
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.4
log
@SVN rev 235117 on 2012-05-07 04:15:46Z by jmallett

Add a trivial driver for the GXemul Ethernet device.  Probably quite buggy and
certainly non-optimal, but enough for basic networking use.

Requested by:	rwatson
@
text
@d29 3
@


1.3
log
@SVN rev 235073 on 2012-05-06 08:28:08Z by jmallett

Add a driver for the GXemul test machine's disk controller and disk devices.
Prefer it to using an md device in the GXEMUL kernel configuration.

Requested by:	rwatson, theraven
@
text
@d30 2
d46 15
a60 3
device		md
device		loop
device		random
@


1.2
log
@SVN rev 234926 on 2012-05-02 12:15:34Z by rwatson

mips/mips64eb became mips/mips64 while I wasn't looking (whoops), so update
GXEMUL kernel config for the new world order.

Spotted by:	bz
MFC after:	3 weeks
@
text
@d40 1
a40 8
#
# This kernel configuration uses an embedded 8MB memory root file system.
# Adjust the following path based on local requirements.
#
options 	MD_ROOT			# MD is a potential root device
options 	MD_ROOT_SIZE=8192
#makeoptions	MFS_IMAGE=/local/scratch/rnw24/mdroot.img
options 	ROOTDEVNAME=\"ufs:md0\"
d43 1
@


1.1
log
@SVN rev 234920 on 2012-05-02 08:10:15Z by rwatson

Merge a rudimentary gxemul "oldtestmips" port.  This consists almost
entirely of one machdep file lifted from the MALTA port, as well as
a low-level console and tty driver for the gxemul debugging console
device (the emulators stdio).  As with many low-level embedded and
hypervisor console devices, it is polled only, so we drive TTY I/O
from a callout; we are perhaps a bit too aware of the MIPS physical
maps in order to attach the console before newbus comes to life.

The sample kernel configuration depends on an MD-based root file
system, which is not provided.  However, any 64-bit, big-endian
userspace image (such as one generated for MALTA) should work.

This will hopefully be supplemented by additional device drivers for
gxemul-specific hardware simulations from Juli Mallett.  We have
found oldtestmips quite useful for testing and improving aspects of
the MIPS port, so it's worth supporting better in FreeBSD.

Requested by:	theraven, jmallett
Sponsored by:	DARPA, AFRL
MFC after:	3 weeks
@
text
@d9 1
a9 1
machine		mips mips64eb
@

