R: R: USB on lite5200 does not work.

gianfranco.casanova at alice.it gianfranco.casanova at alice.it
Fri Nov 21 19:36:29 EST 2008


Hi Grant&Wolfgang

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.

The main HW difference between our board and lite5200 is:
console on PSC3 and

port_config. On lite5200 defined as

	/* Set port config */
	port_config = in_be32(&gpio->port_config);

	port_config &= ~0x00800000;	/* 48Mhz internal, pin is GPIO	*/

	port_config &= ~0x00007000;	/* USB port : Differential mode	*/
	port_config |=  0x00001000;	/*            USB 1 only	*/

	port_config &= ~0x03000000;	/* ATA CS is on csb_4/5		*/
	port_config |=  0x01000000;

on our HW defined as:
	/* Radionav configuration */
	port_config =  0x0C712E66;

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?

Thanks J

-----Messaggio originale-----
Da: Grant Likely [mailto:grant.likely at secretlab.ca]
Inviato: gio 20/11/2008 16.49
A: gianfranco.casanova at alice.it; linuxppc-dev
Oggetto: Re: R: USB on lite5200 does not work.
 
On Thu, Nov 20, 2008 at 8:33 AM,  <gianfranco.casanova at alice.it> wrote:
> I Grant
> I would but I cannot move up to an other kernel, project constraints.
>
> Complement of INFO:
> using a lite5200EVB USB works. using our board (kernel modified for our
> board), USB does not work.
>
> Have you got some ideas? I can send you what file have been modified (a
> couple).

Check your settings in the port config register.

Also, please remember to CC: the mailing list when replying to questions.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20081121/7a3380e7/attachment.htm>


More information about the Linuxppc-dev mailing list