From owner-freebsd-arm@freebsd.org Wed Dec 14 08:12:31 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7818C77446 for ; Wed, 14 Dec 2016 08:12:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 786C519BB for ; Wed, 14 Dec 2016 08:12:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BD6F31FE157; Wed, 14 Dec 2016 09:12:28 +0100 (CET) Subject: Re: dwc_otg problem To: Ganbold Tsagaankhuu References: <5ce7a4e6-25a0-73b4-0e6b-751814c62121@selasky.org> Cc: freebsd-arm From: Hans Petter Selasky Message-ID: <37250581-e9cc-dd57-0724-94769148046b@selasky.org> Date: Wed, 14 Dec 2016 09:12:01 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 08:12:31 -0000 On 12/14/16 02:25, Ganbold Tsagaankhuu wrote: > On Wed, Dec 14, 2016 at 3:06 AM, Hans Petter Selasky > wrote: > >> On 12/13/16 10:01, Ganbold Tsagaankhuu wrote: >> >>> usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) >>> usbd_setup_device_desc: getting device descriptor at addr 2 failed, >>> USB_ERR_TIMEOUT >>> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, >>> ignored) >>> usbd_setup_device_desc: getting device descriptor at addr 2 failed, >>> USB_ERR_TIMEOUT >>> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, >>> ignored) >>> usbd_setup_device_desc: getting device descriptor at addr 2 failed, >>> USB_ERR_TIMEOUT >>> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, >>> ignored) >>> usbd_setup_device_desc: getting device descriptor at addr 2 failed, >>> USB_ERR_TIMEOUT >>> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, >>> ignored) >>> usbd_setup_device_desc: getting device descriptor at addr 2 failed, >>> USB_ERR_TIMEOUT >>> ugen1.2: at usbus1 (disconnected) >>> uhub_reattach_port: could not allocate new device >>> ... >>> >> >> Hi, >> >> This might look like a DWC OTG IRQ problem. Can you check "vmstat -i" ? > > > I can't boot further than those messages. > > Ganbold Hi, You can possibly enable "hw.usb.dwc_otg.debug=16" from the loader. I suspect it is a problem with the FDT, that the IRQ is incorrectly mapped. --HPS