Date: Wed, 13 Jun 2012 22:50:01 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 212790 for review Message-ID: <201206132250.q5DMo1rp057915@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206132250.q5DMo1rp057915>