linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Using Cypress EZ-Host on ML403/5
@ 2007-04-16 16:17 Peter Mendham
  2007-04-16 16:32 ` Grant Likely
  0 siblings, 1 reply; 14+ messages in thread
From: Peter Mendham @ 2007-04-16 16:17 UTC (permalink / raw)
  To: linuxppc-embedded

Dear all,

Has anyone had the Cypress EZ-Host chip working as a USB host under 
Linux?  It's the one that comes fitted as standard to ML403 and ML405 
boards (probably other Xilinx boards too).  If not, can anyone tell me 
where I should start?  Any advice at all?  Our own embedded device needs 
to have USB host support and we are using an ML40x for development so 
the EZ-Host is the preferred solution as we can prototype it.

Thanks in advance,
--Peter


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <-2527994964044273640@unknownmsgid>]
* Re: Using Cypress EZ-Host on ML403/5
@ 2007-05-26 10:20 Peter Luan
  0 siblings, 0 replies; 14+ messages in thread
From: Peter Luan @ 2007-05-26 10:20 UTC (permalink / raw)
  To: grant.likely, jacmet; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2088 bytes --]

Hi First of all, I'm a beginner, so my questions may be funny .... sorry for
that. 

Any how your ideas are very valuable for me. I'm going to have the usb work
on ML403.

I have two questions about the usb on ml403 board.

 

1) In EDK9.1i, we can use the wizard to build a new design with usb. But I
found it's different from the reference design that xilinx provided for
edk8.1i. So which design should I choose? In datasheet of opb_epc, I found
that we should add the irq manually. So I added the irq and reset according
to xapp925. After that, I patched my linux kernel using the patch by Peter
Korsgaard. But when I pluged in the usb camera, it can't probe it. What
should I do additionally?

 

2) I can't find where to initialize the base registers and irq in the usb
driver for cy7c67300 provided by Peter Korsgaard. In the function
usb_c67x00_drv_probe, I found it called platform_get_resource(pdev,
IORESOURCE_MEM, 0). So I think I should add some register codes for usb like
uartlite or temac in virtex.c. I added the following codes:

 #ifdef XPAR_USB_0_BASEADDR

      [VIRTEX_USB_0] = {

           .name = "xilix_usb",

           .id = 0,

           .num_resource = 2,

           .resource = (struct resource[]) {

                 {

                      .start  = XPAR_USB_0_BASEADDR,

                      .end    = XPAR_USB_0_HIGHADDR,

                      .flags  = IORESOURCE_MEM,

                 },

                 {

                      .start  = XPAR_INTC_0_USB_0_VEC_ID,

                      .end    = XPAR_INTC_0_USB_0_VEC_ID,

                      .flags  = IORESOURCE_IRQ,

                 }

           }

      },

#endif

 

and define the following macro in xparameters_ml403.h.

 

#define XPAR_INTC_0_USB_0_VEC_ID XPAR_OPB_INTC_0_SYSTEM_USB_HPI_INT_INTR

#define XPAR_USB_0_BASEADDR XPAR_CYPRESS_USB_PRH0_BASEADDR

#define XPAR_USB_0_HIGHADDR XPAR_CYPRESS_USB_PRH0_HIGHADDR

 

After that, it still can't prob the usb device. So could you give me some
suggestion about making usb work on ml403?

 

Thank you very much!

 

Peter Luan


[-- Attachment #2: Type: text/html, Size: 10310 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-06-04 23:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-16 16:17 Using Cypress EZ-Host on ML403/5 Peter Mendham
2007-04-16 16:32 ` Grant Likely
2007-04-19 12:44   ` Peter Korsgaard
2007-04-19 14:17     ` Grant Likely
2007-04-19 18:19       ` Maxim USB chips support Leonid
     [not found]       ` <87vefsmoaj.fsf@sleipner.barco.com>
     [not found]         ` <528646bc0704190750r4b6d76y72a862c249fa0520@mail.gmail.com>
     [not found]           ` <9305ca410704240042w7f8b12fau331a6407f45be74c@mail.gmail.com>
     [not found]             ` <528646bc0704240637sd3797a2q5ae48db19155ba61@mail.gmail.com>
     [not found]               ` <9305ca410704270141y66928deyab59300b8c5ccb95@mail.gmail.com>
     [not found]                 ` <528646bc0704301223q2024505ah5308147ba6eead0a@mail.gmail.com>
2007-05-02 21:08                   ` Using Cypress EZ-Host on ML403/5 Grant Likely
2007-05-02 21:39                     ` Peter Korsgaard
2007-05-02 21:48                       ` Grant Likely
2007-06-04 22:59                       ` Grant Likely
2007-06-04 23:12                         ` Peter Korsgaard
2007-05-02  9:05     ` Peter Mendham
2007-05-02 13:04       ` Peter Korsgaard
     [not found] <-2527994964044273640@unknownmsgid>
2007-05-22 13:30 ` Grant Likely
  -- strict thread matches above, loose matches on Subject: below --
2007-05-26 10:20 Peter Luan

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).