From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 14:12:09 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59587646 for ; Sun, 30 Dec 2012 14:12:09 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B88108FC08 for ; Sun, 30 Dec 2012 14:12:08 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id qBUE18M3056856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 30 Dec 2012 15:01:08 +0100 (CET) (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 qBUE137A025324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Dec 2012 15:01:03 +0100 (CET) (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 qBUE13Cb040767; Sun, 30 Dec 2012 15:01:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id qBUE12Sa040766; Sun, 30 Dec 2012 15:01:02 +0100 (CET) (envelope-from ticso) Date: Sun, 30 Dec 2012 15:01:02 +0100 From: Bernd Walter To: Thomas Skibo Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Message-ID: <20121230140102.GA40637@cicely7.cicely.de> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50DF555B.9060601@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=ham 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.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: Sun, 30 Dec 2012 14:12:09 -0000 On Sat, Dec 29, 2012 at 12:40:59PM -0800, Thomas Skibo wrote: > > Hello. > > I have been tinkering with this for several weeks: I booted FreeBSD > on a Zedboard (a low-cost evaluation board for the Xilinx Zynq-7000 SoC). That's very exciting because I hope to get two parallella boards next year from their kickstarter event. > It was just a matter of coming up with a device tree file, implementing > a UART driver, attaching the generic sdhci driver to the Zynq's SD > hardware, and adding a new CPU id. I don't have an ethernet driver yet > but I've started on it. > > I created an sdhci_fdt driver based on sdhci_pci.c. It should be > useful for other platforms. I won't be surprised if somebody points > out there is one already. > > One thing that stumped me for a while is that the interrupt controller > driver, gic.c, does not initialize the priority mask register > (GICC_PMR). The boot-loader left it at zero which masked all > interrupts. For now, I plug 0xff into it in my initarm_late_init() > function in zynq7_machdep.c. > > I'll provide my source soon. I want to do a few clean-ups of course > and I'll take any feed-back on my naming conventions and how I organized > the files. > -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.