Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 13:48:59 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Krassimir Slavchev <krassi@bulinfo.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ohci not detected on at91rm9200?
Message-ID:  <200907141349.00740.hselasky@c2i.net>
In-Reply-To: <4A5C6DAC.6030103@bulinfo.net>
References:  <4A5C3BF5.9030200@bulinfo.net> <200907141030.57784.hselasky@c2i.net> <4A5C6DAC.6030103@bulinfo.net>

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

Hi,

%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

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.

BTW: Does the OHCI part work like expected?

--HPS



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