Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 10:04:01 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Allwinner A10
Message-ID:  <201212271004.01598.hselasky@c2i.net>
In-Reply-To: <CAGtf9xOquNGakvSmRfmN31zqqQ49MMLmGscH5XvpwRoVJ6e3FQ@mail.gmail.com>
References:  <CAGtf9xOquNGakvSmRfmN31zqqQ49MMLmGscH5XvpwRoVJ6e3FQ@mail.gmail.com>

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



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