From owner-freebsd-arm@FreeBSD.ORG Thu Dec 27 10:01:24 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 DD92B5B1 for ; Thu, 27 Dec 2012 10:01:24 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 947E88FC0C for ; Thu, 27 Dec 2012 10:01:23 +0000 (UTC) Received: from terran (unknown [192.168.10.90]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id E5CBDC493C; Thu, 27 Dec 2012 12:01:21 +0200 (EET) Date: Thu, 27 Dec 2012 12:01:41 +0200 From: Aleksandr Rybalko To: Hans Petter Selasky Subject: Re: Allwinner A10 Message-Id: <20121227120141.6cff665cd399e722967efbe5@ddteam.net> In-Reply-To: <201212271004.01598.hselasky@c2i.net> References: <201212271004.01598.hselasky@c2i.net> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org 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 10:01:24 -0000 On Thu, 27 Dec 2012 10:04:01 +0100 Hans Petter Selasky wrote: > 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 > _______________________________________________ > 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" I've ask Ganbold to inspect EHCI registers and they all is 0, so I think it is not port count problem, but clock and/or power control. Thanks! WBW -- Aleksandr Rybalko