From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 10:51:14 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1ACE08B5 for ; Tue, 1 Oct 2013 10:51:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 86DDB2FD7 for ; Tue, 1 Oct 2013 10:51:13 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r91Ap0RH075460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 1 Oct 2013 12:51:00 +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 r91AonSP079821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Oct 2013 12:50:49 +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 r91AonIa009153; Tue, 1 Oct 2013 12:50:49 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r91AonYe009152; Tue, 1 Oct 2013 12:50:49 +0200 (CEST) (envelope-from ticso) Date: Tue, 1 Oct 2013 12:50:49 +0200 From: Bernd Walter To: Thomas Skibo Subject: Re: Own PL code on ZedBoard Message-ID: <20131001105049.GD8746@cicely7.cicely.de> References: <20130927231143.GF82284@cicely7.cicely.de> <5249B73C.8000907@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5249B73C.8000907@sbcglobal.net> 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, bernd@bwct.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 10:51:14 -0000 On Mon, Sep 30, 2013 at 10:39:08AM -0700, Thomas Skibo wrote: > > > > >Did anyone already setup own logic on ZedBoard with FreeBSD? > >Where do I need to place my bitstream to have the FPGA part configured > >at boot? > >Can I change PL configuration at runtime, or does FreeBSD require > >some preconfigured logic to work. > >I have expirience with Xilinx FPGA, but this is first time with Zynq. > > > >-- > >B.Walter http://www.bwct.de > >Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > > FreeBSD doesn't require the PL to be programmed. The PL can be > programmed any time using the devcfg(4) driver. But if you need > something in the PL at initialization time, a bitstream can be included > in BOOT.BIN which is generated using Xilinx tools. > > Another option would be to create an rc script that programs the PL at > boot-up using the method described in devcfg(4) man page. That's perfect. I'm targeting two things. One is using the board for fast IO with different kind of FMC/PMOD moduls varying purpose. In this case a fixed PL configuration would be problematic as it makes tests harder and loading special support from shell is much easier. The other one is the parallella system, which is also based on Zynq. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.