From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Gianfranco Casanova" <gianfranco.casanova@alice.it>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: R: R: USB on lite5200 does not work.
Date: Sat, 22 Nov 2008 10:35:31 -0500 [thread overview]
Message-ID: <9e4733910811220735o378f785arfa3b577b2420f213@mail.gmail.com> (raw)
In-Reply-To: <4927F7DF.6070605@alice.it>
If you are using a 33.333Mz crystal it is not possible to generate
exactly 48Mhz for USB. Best you can do is 48.11Mz. With a 33Mhz
crystal you can make 48Mhz exactly. But that's probably not your
problem, that just results in errors on the USB bus. Some USB devices
don't care and others will get errors.
On Sat, Nov 22, 2008 at 7:15 AM, Gianfranco Casanova
<gianfranco.casanova@alice.it> wrote:
> Grant Likely ha scritto:
>>
>> On Fri, Nov 21, 2008 at 1:36 AM, <gianfranco.casanova@alice.it> wrote:
>>>
>>> The main HW difference between our board and lite5200 is:
>>> console on PSC3 and
>>
>> [...]
>>>
>>> on our HW defined as:
>>> /* Radionav configuration */
>>> port_config = 0x0C712E66;
>>>
>>
>> You've got quite a bit of difference than just console on PSC3. USB
>> is on the Ethernet pin group instead of on the USB pin group. Does
>> the kernel change the value of port_config when it boots, or does it
>> leave the value setup by U-Boot intact?
>
> As far as I sow from debugger no.
>
> We are able to boot with a mini operating system (see previous post).
> Plugging USB the system get frozen.
>
> We have got the same version of kernel compiled on PPC ARCH and USB, in this
> case, works.
>
> Between PPC and PowerPC from debugger there is only one difference the label
> for USB interrupt, in PPC is 50 in PowerPC is 134.
>
> I've already checked CDM register and GPIO register and all are the same.
>
> From USB register only one difference on HDDC values (not important from my
> point of view).
>
> Our processor frequency is different from lite5200. We are thinking that
> scaling frequency processor to determine frequency of USB bus is different
> in PPC and PowerPC. Other street we are looking for is some WR patchs from
> lite5200 on PowerPC that are not accepted from our HW.
>
>>> I still do not understand our bug with USB.
>>> Have you got some suggestions or some test to be performed in order to
>>> find
>>> out a solutions?
>>
>> Not over a quick exchange via email.
>
> Yes of course :)
>
>> Your kernel is too old and USB
>> debugging can be complex. I'd need to be working with your hardware
>> to figure out what is going on.
>
> I see. We also wont debug USB.
> Thaks J
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2008-11-22 15:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 14:09 USB on lite5200 does not work gianfranco.casanova
2008-11-20 14:56 ` Grant Likely
[not found] ` <47602D18F269934AB73B7E550804A1E00213796F@FBCMST09V03.fbc.local>
2008-11-20 15:49 ` R: " Grant Likely
2008-11-21 8:36 ` R: " gianfranco.casanova
2008-11-21 14:59 ` Grant Likely
2008-11-22 12:15 ` Gianfranco Casanova
2008-11-22 15:35 ` Jon Smirl [this message]
2009-01-29 9:38 ` velumani
2008-11-20 18:48 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e4733910811220735o378f785arfa3b577b2420f213@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=gianfranco.casanova@alice.it \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).