Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2008 19:21:29 +0200
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Bruce M Simpson <bms@incunabulum.net>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Low cost ARM9 SoC board - NSD100/NCB3AST
Message-ID:  <484AC399.8030809@semihalf.com>
In-Reply-To: <484AC0DE.8000006@incunabulum.net>
References:  <Pine.BSF.3.96.1080607231457.18133E-100000@gaia.nimnet.asn.au> <484AC0DE.8000006@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484AC399.8030809>