From owner-freebsd-arm@FreeBSD.ORG Sun Oct 26 00:05:18 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC871EEA for ; Sun, 26 Oct 2014 00:05:18 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtpout002.mac.com [17.172.220.237]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EF73CB6 for ; Sun, 26 Oct 2014 00:05:18 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NE000B9DYWLXF50@st11p02mm-asmtp002.mac.com> for freebsd-arm@freebsd.org; Sun, 26 Oct 2014 00:05:11 +0000 (GMT) Content-type: text/plain; charset=iso-8859-1 MIME-version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: PRU on BBB From: Rui Paulo In-reply-to: <20141025224829.GC34989@cicely7.cicely.de> Date: Sat, 25 Oct 2014 17:05:08 -0700 Content-transfer-encoding: quoted-printable Message-id: <78C2D5E5-DEFB-46BA-8874-B137D6E1E00C@me.com> References: <544BA593.4020706@freenet.de> <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com> <20141025224829.GC34989@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.1990.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-10-25_03:2014-10-24,2014-10-25,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410250260 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 00:05:18 -0000 On Oct 25, 2014, at 15:48, Bernd Walter wrote: >=20 > On Sat, Oct 25, 2014 at 09:32:09AM -0700, Rui Paulo wrote: >> On Oct 25, 2014, at 06:28, Manuel St=FChn = wrote: >>>=20 >>> Hello list, >>>=20 >>> I'm a great fan of FreeBSD and was very glad to see, that FreeBSD = supports the beaglebone black. Even the PRUs, which I want to put into = operation, are supported by FreeBSD. But unfortunately i do not have a = clue, how the driver is intended to be used. For linux there is some = API/docu to load/start/stop and communicate with the PRU. >>>=20 >>> Did anyone put the PRUs already into operation with FreeBSD and = could give me a hint how this is done? >>=20 >> There's a work in progress PRU library: >>=20 >> https://bitbucket.org/rpaulo/libpru >>=20 >> And a program to upload binaries to the PRU: >>=20 >> https://bitbucket.org/rpaulo/pructl >>=20 >> These don't have documentation yet and you have to build them = yourself, but that should be straightforward. >>=20 >> You can use the assembler from ports: devel/pasm. >=20 > We have PRU supprt? > That's awesome. > Had been interested in PRU, but not even dreamed about existing = support. The library and the userland utility are both under active development. = I expect to have something stable before the year ends. Right now, I = can upload/reset/enable/disable the PRUs just fine. A PRU debugger is also in the works. Regards, -- Rui Paulo