From owner-freebsd-arm@FreeBSD.ORG Thu Dec 27 09:02:35 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8207292C for ; Thu, 27 Dec 2012 09:02:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 083EB8FC0C for ; Thu, 27 Dec 2012 09:02:34 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 357980192; Thu, 27 Dec 2012 10:02:26 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Subject: Re: Allwinner A10 Date: Thu, 27 Dec 2012 10:04:01 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201212271004.01598.hselasky@c2i.net> X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 09:02:35 -0000 On Wednesday 26 December 2012 17:05:35 Ganbold Tsagaankhuu wrote: > Just some information, > > Still nothing useful yet, but with the help of andrew@, ray@, gonzo@ > and other arm guys kernel boots: > > https://github.com/tsgan/allwinner_a10/blob/master/dmesg_ehci.txt > > Tried usb/ehci glue code, no success yet, so maybe I will leave it now > and try next SD/MMC :) > Hi, It looks like number of ports is zero. Can you try this: Edit sys/dev/usb/controller/ehci.c Find this: sc->sc_noport = EHCI_HCS_N_PORTS(sparams); Add this: if (sc->sc_noport == 0) sc->sc_noport = 1; Does the EHCI work now? --HPS