From owner-freebsd-arm@FreeBSD.ORG Sat Oct 25 22:49:13 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 157DA46D for ; Sat, 25 Oct 2014 22:49:13 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8088160C for ; Sat, 25 Oct 2014 22:49:11 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9PMmfXb095832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 26 Oct 2014 00:48:42 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9PMmTno079042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Oct 2014 00:48:29 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9PMmTTR035987; Sun, 26 Oct 2014 00:48:29 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9PMmTuA035986; Sun, 26 Oct 2014 00:48:29 +0200 (CEST) (envelope-from ticso) Date: Sun, 26 Oct 2014 00:48:29 +0200 From: Bernd Walter To: Rui Paulo Subject: Re: PRU on BBB Message-ID: <20141025224829.GC34989@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <544BA593.4020706@freenet.de> <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5E3FBBA8-2CBB-4BCE-BE2C-FB044CF0BEF6@me.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de 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 22:49:13 -0000 On Sat, Oct 25, 2014 at 09:32:09AM -0700, Rui Paulo wrote: > On Oct 25, 2014, at 06:28, Manuel Stühn wrote: > > > > Hello list, > > > > 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. > > > > 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. We have PRU supprt? That's awesome. Had been interested in PRU, but not even dreamed about existing support. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.