From owner-p4-projects@FreeBSD.ORG Wed Jun 13 22:50:03 2012 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 82E2D1065672; Wed, 13 Jun 2012 22:50:02 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35476106566B for ; Wed, 13 Jun 2012 22:50:02 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [69.147.83.45]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5838FC08 for ; Wed, 13 Jun 2012 22:50:02 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id q5DMo1RH057918 for ; Wed, 13 Jun 2012 22:50:01 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id q5DMo1rp057915 for perforce@freebsd.org; Wed, 13 Jun 2012 22:50:01 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 13 Jun 2012 22:50:01 GMT Message-Id: <201206132250.q5DMo1rp057915@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 212790 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 22:50:03 -0000 http://p4web.freebsd.org/@@212790?ac=10 Change 212790 by rwatson@rwatson_svr_ctsrd_mipsbuild on 2012/06/13 22:49:43 Add speculative avgen(4) entries for the tPad frame buffer and touch screen based on the November 2011 BERI tPad configuration. However, include a note that placement of the devices in DRAM may be non-ideal and require revisiting now that we are using a real operating system but without a way to pass it memory topology (and especially discontinuity) information. Affected files ... .. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_TPAD.hints#2 edit Differences ... ==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_TPAD.hints#2 (text+ko) ==== @@ -18,6 +18,32 @@ hint.altera_jtag_uart.2.msize=0x40 # +# Expose the tPad touchscreen device via an Avalon "generic" device. Observe +# that this is a portion of DRAM, so some care may be required in how memory +# is exposed to FreeBSD to avoid use of that DRAM for both the touch screen +# and FreeBSD use. +# +# Two separate devices are used here because alignment/width requirements for +# I/O differ: the frame buffer accepts 16-bit I/O, and the touch input device +# requires 32-bit I/O. +# +hint.altera_avgen.0.at="nexus0" +hint.altera_avgen.0.maddr=0x04000000 +hint.altera_avgen.0.msize=0x01000000 +hint.altera_avgen.0.width=2 +hint.altera_avgen.0.fileio="rw" +hint.altera_avgen.0.mmapio="rw" +hint.altera_avgen.0.devname="display" + +hint.altera_avgen.1.at="nexus0" +hint.altera_avgen.1.maddr=0x05000000 +hint.altera_avgen.1.msize=0x00000020 +hint.altera_avgen.1.width=4 +hint.altera_avgen.1.fileio="rw" +hint.altera_avgen.1.mmapio="rw" +hint.altera_avgen.1.devname="touch" + +# # On-board DE4 and tPad SD Card IP core # hint.altera_sdcardc.0.at="nexus0"