Re: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-18 Thread Ryan CHEN
Ryan Chen -Original Message- From: Markus Klotzbücher [mailto:[EMAIL PROTECTED] Sent: Saturday, May 17, 2008 12:25 AM To: Matthias Fuchs Cc: u-boot-users@lists.sourceforge.net; Ryan CHEN; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Zhang Wei Subject: Re: [U-Boot-Users] U-Boot help request for

Re: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-16 Thread Markus Klotzbücher
Hi Matthias, Matthias Fuchs <[EMAIL PROTECTED]> writes: > On Thursday 15 May 2008 10:37:04 Markus Klotzbücher wrote: >> > Could you suggest me how to solve the problem? >> > Is there any specific part of USB driver that requires cache handling? >> >> None that I'm aware of, but I could imagine th

Re: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-15 Thread Matthias Fuchs
On Thursday 15 May 2008 10:37:04 Markus Klotzbücher wrote: > > Could you suggest me how to solve the problem? > > Is there any specific part of USB driver that requires cache handling? > > None that I'm aware of, but I could imagine that enabling caches might > cause some kind of problems. With U-B

Re: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-15 Thread Matthias Fuchs
Hi Ryan, you are probably using the CONFIG_USB_OHCI_NEW option for your PCI OHCI controller. The code in drivers/usb/usb_ohci.c is currently not aware of caches. So we need to add some flush/invalidates at the correct places. I think nobody will keep you from starting to work on this :-) Matthia

Re: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-15 Thread Markus Klotzbücher
Ryan CHEN <[EMAIL PROTECTED]> writes: > I am porting U-Boot to a MIPS64 platform, that uses USB host controller NEC > uPD720101 on PCI bus. What CPU? What version of U-Boot are you using? > I didn't modify anything related with USB driver, I just enabled OHCI > in the configuration. Please be

[U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-14 Thread Ryan CHEN
Hi all, I am porting U-Boot to a MIPS64 platform, that uses USB host controller NEC uPD720101 on PCI bus. I didn't modify anything related with USB driver, I just enabled OHCI in the configuration. When CPU cache is disabled, USB is perfect working. When CPU cache is enabled, every driver works