From owner-freebsd-arm@FreeBSD.ORG Sat Oct 25 16:32:15 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 9B3B9831 for ; Sat, 25 Oct 2014 16:32:15 +0000 (UTC) Received: from st11p02mm-asmtp001.mac.com (st11p02mm-asmtp001.mac.com [17.172.220.236]) (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 6FD63B97 for ; Sat, 25 Oct 2014 16:32:15 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NE000ML0DXLK680@st11p02mm-asmtp001.mac.com> for freebsd-arm@freebsd.org; Sat, 25 Oct 2014 16:32:11 +0000 (GMT) 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=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410250174 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: PRU on BBB From: Rui Paulo In-reply-to: <544BA593.4020706@freenet.de> Date: Sat, 25 Oct 2014 09:32:09 -0700 Content-transfer-encoding: quoted-printable Message-id: <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com> References: <544BA593.4020706@freenet.de> To: =?utf-8?Q?Manuel_St=C3=BChn?= X-Mailer: Apple Mail (2.1990.1) 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: Sat, 25 Oct 2014 16:32:15 -0000 On Oct 25, 2014, at 06:28, Manuel St=C3=BChn = 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? There's a work in progress PRU library: https://bitbucket.org/rpaulo/libpru And a program to upload binaries to the PRU: https://bitbucket.org/rpaulo/pructl These don't have documentation yet and you have to build them yourself, = but that should be straightforward. You can use the assembler from ports: devel/pasm. -- Rui Paulo