From owner-freebsd-arm@FreeBSD.ORG Tue Jul 14 15:04:05 2009 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA6CD106566B for ; Tue, 14 Jul 2009 15:04:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4DBC48FC15 for ; Tue, 14 Jul 2009 15:04:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n6EExrck012901; Tue, 14 Jul 2009 08:59:54 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 14 Jul 2009 09:00:23 -0600 (MDT) Message-Id: <20090714.090023.709401729.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200907141349.00740.hselasky@c2i.net> References: <200907141030.57784.hselasky@c2i.net> <4A5C6DAC.6030103@bulinfo.net> <200907141349.00740.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org Subject: Re: ohci not detected on at91rm9200? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 15:04:05 -0000 In message: <200907141349.00740.hselasky@c2i.net> Hans Petter Selasky writes: : On Tuesday 14 July 2009 13:36:12 Krassimir Slavchev wrote: : > Hans Petter Selasky wrote: : > > On Tuesday 14 July 2009 10:04:05 Krassimir Slavchev wrote: : > >> Hi, : > >> : > >> The ohci controller is not detected by FreeBSD 8.0-BETA1 r195653. : > >> Last working kernel I have is r187522 (~ Jan 2009) with old USB stack. : > >> I have only removed the 'ugen' device from my kernel config file. : > >> : > >> Can someone confirm this? Or may be I miss something? : > > : > > Does your kernel contain: "device ohci". Also diff the example config : > > files for AT91RM9200 with yours under /sys/arm/conf . : > > : > > --HPS : > : > This fixes the problem: : > : > --- files.at91 (revision 195653) : > +++ files.at91 (working copy) : > @@ -18,6 +18,7 @@ : > arm/at91/uart_bus_at91usart.c optional uart : > arm/at91/uart_cpu_at91rm9200usart.c optional uart : > arm/at91/uart_dev_at91usart.c optional uart : > +dev/usb/controller/ohci_atmelarm.c optional ohci : > # : > # All the boards we support : > # This patch looks good. : %grep -d recurse ohci_atmelarm.c . : ./files:dev/usb/controller/ohci_atmelarm.c optional ohci at91rm9200 : : The option is already there, but you need to add: : : device at91rm9200 This is lame. Totally lame. For a variety of reasons. I'll go fix this now. : To your kernel config file. : : Maybe you also want to test the device port: : : ./files:dev/usb/controller/at91dci_atmelarm.c optional at91dci at91rm9200 : : Requires usb_template module and ustorage module. dev/usb/controller/at91dci_atmelarm.c optional at91dci at91rm9200 dev/usb/controller/musb_otg_atmelarm.c optional musb at91rm9200 dev/usb/controller/uss820dci_atmelarm.c optional uss820dci at91rm9200 How many of these devices are actually present in at91rm9200 systems? : BTW: Does the OHCI part work like expected? : : --HPS : _______________________________________________ : 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" : :