Skip to contentSkip to conversation

NEC OHCI chip bug

U-Boot Martin Mueller 1 participant 1 message Dec 15, 2010

lore
Share & tools
lore
#0 lore raw

Hi Gavin ,

Quoted 6 lines

We need NEC pci-to-usb host controller work on U-boot. Because using Faraday technology PCI controller, I need to complete the PCI driver first. Now the PCI driver is completed. At this time, the NEC host controller can work. When plugging a keyboard, 2 devices can be found showing on console. But things are not as easy as we think, OHCI host controller encounter an "Unrecoverable Error"

Quoted 8 lines

when getting device descriptor from keyboard. In the Linux kernel,
I found that there is a workaround if the OHCI host controller is NEC's. The following link explain more detail:
http://www.mail-archive.com/linux-usb-devel at lists.sourceforge.net/msg54465.html After looking at the source code in U-boot, it seems that there
isn't any workaround about the NEC's bug ? Any idea about how to
get the controller, or do I need to implement the workaround by myself ??

are you sure it is that NEC bug? We had a similar error message when the PCI bridge was not properly setup and the OHCI could not access RAM through PCI (DMA), hence the "unrecoverable error".

Martin