Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2013 22:06:34 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Allwinner A10
Message-ID:  <CAGtf9xOA4Adc9c11rm30djnsWzoETgTsAROJM06M398z08echw@mail.gmail.com>
In-Reply-To: <201212271004.01598.hselasky@c2i.net>
References:  <CAGtf9xOquNGakvSmRfmN31zqqQ49MMLmGscH5XvpwRoVJ6e3FQ@mail.gmail.com> <201212271004.01598.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hans,

I was able to give power to one of usb controllers and now I see ehci:

http://pastebin.ca/2299028

But even though devices scbus, da, pass are included in kernel config,
it is not detecting ufs freebsd install memstick.
But from outside I see the led light of usb stick.
Can you advise me the ways to debug or next thing to try for this
issue? FYI, USB_DEBUG, USB_REQ_DEBUG, USB_VERBOSE options are enabled
in config.

thanks,

Ganbold




On Thu, Dec 27, 2012 at 5:04 PM, Hans Petter Selasky <hselasky@c2i.net> 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



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