From owner-freebsd-embedded@FreeBSD.ORG Sat Jun 7 17:21:34 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 210351065676 for ; Sat, 7 Jun 2008 17:21:34 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id E78D18FC13 for ; Sat, 7 Jun 2008 17:21:33 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m57HLVRW020371; Sat, 7 Jun 2008 11:21:31 -0600 Message-ID: <484AC399.8030809@semihalf.com> Date: Sat, 07 Jun 2008 19:21:29 +0200 From: Rafal Jaworowski MIME-Version: 1.0 To: Bruce M Simpson References: <484AC0DE.8000006@incunabulum.net> In-Reply-To: <484AC0DE.8000006@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Low cost ARM9 SoC board - NSD100/NCB3AST X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 17:21:34 -0000 Bruce M Simpson wrote: > Ian Smith wrote: >> You're not keeping up :) Linux 2.6 startup with a dmesg / session: >> >> http://tinyhack.com/2008/06/05/porting-linux-kernel-26254-to-star-str9100-agestar/ > > Whups. I see he noticed the on-chip USB host controller is on the SoC's > internal bus, which isn't PCI. > > Does anyone know if Hans' new USB stack supports attachment of USB host > controllers which are not on PCI? I don't know Hans' new code, but can comment on our legacy USB stack: if the controller is EHCI-compliant (and I take it it is, as you mentioned USB2 previously), the attachment shouldn't be a big deal. The ehci(4) driver is well split into the core driver piece and the bus attachment, so it should be easy to provide your glue code. As an example, see our EHCI attachment code for Marvell Orion SoC: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/arm/src/sys/dev/usb/ehci%5fmbus.c&REV=1 It's rather trivial, and we only had to deal with silicon bugs and introduce some workarounds according to errata. Rafal