From owner-freebsd-arm@FreeBSD.ORG Sat Dec 29 20:49:35 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 1F8DC1E1 for ; Sat, 29 Dec 2012 20:49:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-f173.google.com (mail-ia0-f173.google.com [209.85.210.173]) by mx1.freebsd.org (Postfix) with ESMTP id CD56E8FC0C for ; Sat, 29 Dec 2012 20:49:34 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id w21so9697809iac.32 for ; Sat, 29 Dec 2012 12:49:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=Q1bQRjMeHnVQ9pLbwUZtul3gThRBi3y+ojzlzlTsCxQ=; b=P4CFbFqZgxF+KA1KQTkyZsvINHayABPz+rU4kEHpde35YazntXsDSEu6MooxlJLpB3 y1z9pk/SF713P5fZ3diwo8VtWdzvcQbP0yPnTQ1wKnDrH1R2TpN+CeRmMU2hh6Tp1Ib7 cNmJIpKaVsBESiMK/hkcTxVul6fRDlkUopnauDh3bTlmBeOjQ9CCz+LBaW5WizxIs+de czLrt+J4rQBHakFWIDLZkseMSI8jnO9vW3iJrKlS1XFZHE4JlaQhjzu9vqQlnLX8rn6M FT3yRGHqqBTfJXnHpQpGg8t4r7Gxi/0nky4cxWBwcEVFgqmRIFEPZQV5bvoOFaGbY8yu iEow== X-Received: by 10.43.125.133 with SMTP id gs5mr28681077icc.54.1356814168456; Sat, 29 Dec 2012 12:49:28 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id ex10sm29620710igc.15.2012.12.29.12.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Dec 2012 12:49:27 -0800 (PST) Sender: Warner Losh Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <50DF555B.9060601@sbcglobal.net> Date: Sat, 29 Dec 2012 13:49:25 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> To: Thomas Skibo X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQl/zrnt97VXNXOYuia/oyS+AlDqgYdcynZT192x/yBO4TdbEMkC03GID9dwstbgIk6Beyso Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 20:49:35 -0000 Cool! But don't be a tease! Share the code :) Bringing up new platforms is getting easier and easier now that we've = put all the weight behind FDT, eh? Warner On Dec 29, 2012, at 1:40 PM, Thomas Skibo wrote: >=20 > Hello. >=20 > 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). >=20 > 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. >=20 > 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. >=20 > 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. >=20 > 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. >=20 > Thanks, >=20 > --=20 > -------- > Thomas Skibo > ThomasSkibo@sbcglobal.net >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"