From owner-freebsd-arm@FreeBSD.ORG Tue Jul 20 12:08:42 2010 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 BF710106568C for ; Tue, 20 Jul 2010 12:08:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 2604D8FC12 for ; Tue, 20 Jul 2010 12:08:41 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=54-H3ucdrW8A:10 a=IkcTkHD0fZMA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=5KR62X8JAAAA:8 a=0kFOGFCJm3w7nv2YeCQA:9 a=jdU--WXyqFDK4PXolKwA:7 a=3c5EHj4XJNScpctUED1YS47TBFkA:4 a=QEXdDO2ut3YA:10 a=WmIdRVL8glqQs9iJ:21 a=3JXxVht94jGjTG-q:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1243823491; Tue, 20 Jul 2010 14:08:39 +0200 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Date: Tue, 20 Jul 2010 14:05:43 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <4C4590E5.1020407@ansley.com> In-Reply-To: <4C4590E5.1020407@ansley.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?utf-8?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?utf-8?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7CoTlKM?= =?utf-8?q?usi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201007201405.43686.hselasky@c2i.net> Cc: Subject: Re: AT91RM9200: USB broken? 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, 20 Jul 2010 12:08:42 -0000 On Tuesday 20 July 2010 14:04:53 Greg Ansley wrote: > While regression testing my patches, I found that USB is not working on > the AT91RM9200 from head (pre-patch). Error shown are the same with or > without a USB device attached. >=20 > Just wondering of anyone has any insights before I spend time going down > this rabbit hole... >=20 > KB920x >go 0x200000e0 > ## Starting application at 0x200000E0 ... > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2010 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.0-CURRENT #1: Tue Jul 20 07:49:38 EDT 2010 > gja@DL380.internal.ansley.com:/usr/obj/arm.arm/usr/home/gja/freebsd-sam9g= 20 > /svn2/sys/KB920X arm > CPU: ARM920T rev 0 (ARM9TDMI core) > DC enabled IC enabled WB enabled LABT > 16KB/32B 64-way Instruction cache > 16KB/32B 64-way write-back-locking-A Data cache > real memory =3D 67108864 (64 MB) > avail memory =3D 61509632 (58 MB) > atmelarm0: on motherboard > at91_st0: mem 0xdffffd00-0xdffffdff irq 1 on atmelarm0 > at91_st0: watchdog registered, timeout intervall max. 64 sec > at91_pio0: mem 0xdffff400-0xdffff5ff irq 1 on atmelarm0 > at91_pio0: ABSR: 0x60 OSR: 0 PSR:0x3f380000 ODSR: 0 > at91_pio0: [FILTER] > at91_pio1: mem 0xdffff600-0xdffff7ff irq 1 on atmelarm0 > at91_pio1: ABSR: 0xff301 OSR: 0x2 PSR:0x3fc00cfe ODSR: 0 > at91_pio1: [FILTER] > at91_pio2: mem 0xdffff800-0xdffff9ff irq 1 on atmelarm0 > at91_pio2: ABSR: 0 OSR: 0x1000000a PSR:0xffffc075 ODSR: 0x10000000 > at91_pio2: [FILTER] > at91_pio3: mem 0xdffffa00-0xdffffbff irq 1 on atmelarm0 > at91_pio3: ABSR: 0 OSR: 0 PSR:0xfffffff ODSR: 0 > at91_pio3: [FILTER] > at91_pmc0: mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0 > at91_pmc0: Primary: 10000000 Hz PLLA: 180 MHz CPU: 180 MHz MCK: 60 MHz > at91_mci0: mem 0xdffb4000-0xdffb7fff irq 10 on > atmelarm0 > at91_mci0: [ITHREAD] > mmc0: on at91_mci0 > at91_twi0: mem 0xdffb8000-0xdffbbfff irq 12 on atmelarm0 > at91_twi0: [ITHREAD] > iicbus0: on at91_twi0 > setting cwgr to 0x1a4a4 > iic0: on iicbus0 > icee0: at addr 0xa0 on iicbus0 > ate0: mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0 > miibus0: on ate0 > ukphy0: PHY 0 on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ate0: Ethernet address: 04:00:00:00:00:00 > ate0: [ITHREAD] > uart0: mem 0xdffff200-0xdffff3ff irq 1 on atmelarm0 > uart0: [FILTER]=EF=BF=BDuart0: console (115200,n,8,1) > uart1: mem 0xdffc0000-0xdffc3fff irq 6 on atmelarm0 > uart1: [FILTER] > uart2: mem 0xdffc4000-0xdffc7fff irq 7 on atmelarm0 > uart2: [FILTER] > uart3: mem 0xdffc8000-0xdffcbfff irq 8 on atmelarm0 > uart3: [FILTER] > uart4: mem 0xdffcc000-0xdffcffff irq 9 on atmelarm0 > uart4: [FILTER] > spi0: mem 0xdffe0000-0xdffe3fff irq 13 on atmelarm0 > spi0: [ITHREAD] > spibus0: on spi0 > ohci0: mem 0xdfe00000-0xdfefffff irq > 23 on atmelarm0 > ohci0: [ITHREAD] > usbus0 on ohci0 > Cannot get 100 Hz clock; using 100Hz > at91_st0: [FILTER] > Timecounter "AT91RM9200 timer" frequency 32768 Hz quality 1000 > Timecounters tick every 10.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > Root mount waiting for: usbus0 > ugen0.1: at usbus0 > uhub0: on usbus0 > uhub0: 2 ports with 2 removable, self powered > Root mount waiting for: usbus0 > usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) > usb_alloc_device: getting device descriptor at addr 2 failed, > USB_ERR_IOERROR > usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, > ignored) > usbd_req_re_enumerate: getting device descriptor at addr 2 failed, > USB_ERR_IOERROR > Root mount waiting for: usbus0 > usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, > ignored) > Root mount waiting for: usbus0 > usbd_req_re_enumerate: getting device descriptor at addr 2 failed, > USB_ERR_IOERROR > ugen0.2: <(null)> at usbus0 (disconnected) > uhub_reattach_port: could not allocate new device > Trying to mount root from ufs:/dev/mmcsd0s1a >=20 Hi, I think those messages are normal, because one of the USB ports is not=20 connected. What messages do you get when plugging in a real USB device? =2D-HPS