From owner-freebsd-arm@FreeBSD.ORG Mon Dec 17 13:03:06 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 BB205F2 for ; Mon, 17 Dec 2012 13:03:06 +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 5BE108FC0A for ; Mon, 17 Dec 2012 13:03:05 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id qBHD2rqY035839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 Dec 2012 14:02:53 +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 qBHD2beF021565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Dec 2012 14:02:37 +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 qBHD2bbq049017; Mon, 17 Dec 2012 14:02:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id qBHD2aLO049016; Mon, 17 Dec 2012 14:02:36 +0100 (CET) (envelope-from ticso) Date: Mon, 17 Dec 2012 14:02:36 +0100 From: Bernd Walter To: Warner Losh Subject: Re: SAM9G45 (was: sheevaplug boot from nandfs hangs) Message-ID: <20121217130236.GB46193@cicely7.cicely.de> References: <1355364418.87661.489.camel@revolution.hippie.lan> <1355595537.1198.72.camel@revolution.hippie.lan> <20121216000839.GS16564@cicely7.cicely.de> <1355619852.1198.98.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, ticso@cicely.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: Mon, 17 Dec 2012 13:03:06 -0000 On Sat, Dec 15, 2012 at 06:27:12PM -0700, Warner Losh wrote: > > On Dec 15, 2012, at 6:04 PM, Ian Lepore wrote: > > > On Sun, 2012-12-16 at 01:08 +0100, Bernd Walter wrote: > >> On Sat, Dec 15, 2012 at 11:18:57AM -0700, Ian Lepore wrote: > >>> Wow, this is all very familiar. I had this exact situation a couple > >>> months ago as I was trying to get freebsd running on my pico-sam9g45 > >> > >> You have a SAM9G45 running? > >> > > > > Yeah, this board: http://www.mini-box.com/pico-SAM9G45-X > > > > The mci driver is stuck in "1 sector at a time" mode (slow) because all > > the workarounds for the rm9200 errata seem to interfere with the new > > less-buggy mci hardware. I think I just need to write a new driver from > > scratch for the new hardware rev. I've also got ehci working for it. > > The G45 also has newer MCI control (with different DMA) than the old RM9200 or the SAM9260 boards. > > > I did some pretty ugly stuff in the at91 directory to get it going. I > > was just hacking to get it working, then I was going to work with Warner > > to clean up what I had done and get it committed, but both his and my > > lives got busy and nothing much has happened for 2 months now. But it > > does sit here on my desk running just fine (and notably not ever > > crashing or anything). Pretty much I've been using it when I need to > > see a freebsd 10 manpage, but not much else. :) > > I've wanted to do more, and had planned on using my G45 for my sprinkler control panel (which would include LCD support), but $WORK has been kinda busy, and life has been over-full... Unfortunately I'm also low on time, but I have two g45 boards: http://shop.in-circuit.de/products/Home/ICnova-CPU-Module/6/ICnova-SAM9G45-OEM Have them together with different devboards - one with display. > > I heard a rumor that the hardware guys at work are taking a look at > > using a G45 for an upcoming project. If that happens, that'll ensure a > > better mci driver gets written. > > Yea, if I don't beat you to it... > > > If you need a patchset and are willing to deal with the ugly half-baked > > nature of what I've got, just let me know. > > Has it changed? -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.