<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.27">
<TITLE>R: R: USB on lite5200 does not work.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi Grant&amp;Wolfgang<BR>
<BR>
thanks for yours posts. You are right about WR. For lite5200 only few patchs have been used. Most of the job is for support other boards or to introduce some patchs for its debug system.<BR>
<BR>
The main HW difference between our board and lite5200 is:<BR>
console on PSC3 and<BR>
<BR>
port_config. On lite5200 defined as<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* Set port config */<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config = in_be32(&amp;gpio-&gt;port_config);<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config &amp;= ~0x00800000;&nbsp;&nbsp;&nbsp;&nbsp; /* 48Mhz internal, pin is GPIO&nbsp; */<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config &amp;= ~0x00007000;&nbsp;&nbsp;&nbsp;&nbsp; /* USB port : Differential mode */<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config |=&nbsp; 0x00001000;&nbsp;&nbsp;&nbsp;&nbsp; /*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; USB 1 only&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config &amp;= ~0x03000000;&nbsp;&nbsp;&nbsp;&nbsp; /* ATA CS is on csb_4/5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config |=&nbsp; 0x01000000;<BR>
<BR>
on our HW defined as:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* Radionav configuration */<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port_config =&nbsp; 0x0C712E66;<BR>
<BR>
I still do not understand our bug with USB.<BR>
Have you got some suggestions or some test to be performed in order to find out a solutions?<BR>
<BR>
Thanks J<BR>
<BR>
-----Messaggio originale-----<BR>
Da: Grant Likely [<A HREF="mailto:grant.likely@secretlab.ca">mailto:grant.likely@secretlab.ca</A>]<BR>
Inviato: gio 20/11/2008 16.49<BR>
A: gianfranco.casanova@alice.it; linuxppc-dev<BR>
Oggetto: Re: R: USB on lite5200 does not work.<BR>
<BR>
On Thu, Nov 20, 2008 at 8:33 AM,&nbsp; &lt;gianfranco.casanova@alice.it&gt; wrote:<BR>
&gt; I Grant<BR>
&gt; I would but I cannot move up to an other kernel, project constraints.<BR>
&gt;<BR>
&gt; Complement of INFO:<BR>
&gt; using a lite5200EVB USB works. using our board (kernel modified for our<BR>
&gt; board), USB does not work.<BR>
&gt;<BR>
&gt; Have you got some ideas? I can send you what file have been modified (a<BR>
&gt; couple).<BR>
<BR>
Check your settings in the port config register.<BR>
<BR>
Also, please remember to CC: the mailing list when replying to questions.<BR>
<BR>
g.<BR>
<BR>
--<BR>
Grant Likely, B.Sc., P.Eng.<BR>
Secret Lab Technologies Ltd.<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>