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


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

1.6
date	2012.09.05.15.55.51;	author brooks;	state Exp;
branches;
next	1.5;

1.5
date	2012.08.26.09.21.59;	author rwatson;	state Exp;
branches;
next	1.4;

1.4
date	2012.08.25.22.35.29;	author rwatson;	state Exp;
branches;
next	1.3;

1.3
date	2012.08.25.18.08.20;	author brooks;	state Exp;
branches;
next	1.2;

1.2
date	2012.08.25.17.34.48;	author brooks;	state Exp;
branches;
next	1.1;

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


desc
@@


1.7
log
@Switching exporter and resync
@
text
@#
# BERI_DE4 -- Kernel for the SRI/Cambridge "BERI" (Bluespec Extensible RISC
# Implementation) FPGA soft core, as configured in its Terasic DE-4 reference
# configuration.
#
# $FreeBSD: head/sys/mips/conf/BERI_DE4_MDROOT 240139 2012-09-05 15:55:51Z brooks $
#

include "BERI_TEMPLATE"

ident		BERI_DE4_MDROOT

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

#
# 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
options 	ROOTDEVNAME=\"ufs:md0\"

device		altera_avgen
device		altera_jtag_uart
device		altera_sdcard
device		terasic_de4led
device		terasic_mtl

device		isf
device		sc
@


1.6
log
@SVN rev 240139 on 2012-09-05 15:55:51Z by brooks

Don't hardcode paths to MFS_IMAGE in the kernel config.  When they don't
exist they don't cause "make tinderbox" to fail.

Reported by:	jhb
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.5
log
@SVN rev 239709 on 2012-08-26 09:21:59Z by rwatson

Add terasic_de4led, a led(4) driver for the on-board 8-element LED on the
Terasic DE-4 board.  Allow LED configuration to be set using loader
tunables, not just from userspace, and preconfigure LED 8 as a kernel
heartbeat.  For now, this is a Nexus-attached, BERI-only driver, but it
could be used with other hard and soft cores on Altera FPGAs as well, in
principle.

Sponsored by:	DARPA, AFRL
@
text
@a20 1
makeoptions	MFS_IMAGE=/local/scratch/rnw24/mdroot.img
@


1.4
log
@SVN rev 239691 on 2012-08-25 22:35:29Z by rwatson

Add terasic_mtl(4), a device driver for the Terasic Multi-Touch LCD,
used with Terasic's DE-4 and other similar FPGA boards.  This display
is 800x480 and includes a capacitive touch screen, multi-touch
gesture recognition, etc.  This device driver depends on a Cambridge-
provided IP core that allows the MTL device to be hooked up to the
Altera Avalon SoC bus, and also provides a VGA-like text frame buffer.

Although it is compiled as a single device driver, it actually
implements a number of different device nodes exporting various
aspects of this multi-function device to userspace:

- Simple memory-mapped driver for the MTL 24-bit pixel frame buffer.
- Simple memory-mapped driver for the MTL control register set.
- Simple memory-mapped driver for the MTL text frame buffer.
- syscons attachment for the MTL text frame buffer.

This driver attaches directly to Nexus as is common for SoC device
drivers, and for the time being is considered BERI-specific, although
in principle it might be used with other hard and soft cores on
Altera FPGAs.

Control registers, including touchscreen input, are simply memory
mapped; in the future it would be desirable to hook up a more
conventional device node that can stream events, support kqueue(2)/
poll(2)/select(2), etc.

This is the first use of syscons on MIPS, as far as I can tell, and
there are some loose ends, such as an inability to use the hardware
cursor.  More fundamentally, it appears that syscons(4) assumes that
either a host is PC-like (i386, amd64) *or* it must be using a
graphical frame buffer.  While the MTL supports a graphical frame
buffer, using the text frame buffer is preferable for console use.
Fixing this issue in syscons(4) requires non-trivial changes, as the
text frame buffer support assumes that direct memory access can be
done to the text frame buffer without using bus accessor methods,
which is not the case on MIPS.  As a workaround for this, we instead
double-buffer and pretend to be a graphical frame buffer exposing
text accessor methods, leading to some quirks in syscons behaviour.

Sponsored by:	DARPA, AFRL
@
text
@d27 1
@


1.3
log
@SVN rev 239685 on 2012-08-25 18:08:20Z by brooks

Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts.

The driver attempts to support all documented parts, but has only been
tested with the 512Mbit part on the Terasic DE4 FPGA board.  It should be
trivial to adapt the driver's attach routine to other embedded boards
using with any parts in the family.

Also import isfctl(8) which can be used to erase sections of the flash.

Sponsored by:	DARPA, AFRL
@
text
@d27 1
d30 1
a30 1
#device		sc
@


1.2
log
@SVN rev 239683 on 2012-08-25 17:34:48Z by brooks

Don't include syscons in the config just yet.  We haven't imported the
touchscreen driver yet.
@
text
@d28 1
@


1.1
log
@SVN rev 239679 on 2012-08-25 12:02:13Z by rwatson

Add reference kernel configurations for FreeBSD/beri in simulation, on the
Terasic DE-4, and Terasic tPad Altera-based boards.

Sponsored by:	DARPA, AFRL
@
text
@d28 1
a28 1
device		sc
@

