From: Joseph C. <jo...@id...> - 2002-10-30 05:33:29
|
William A. Gatliff [mailto:bg...@bi...] wrote: > Not sure what you mean by the "SA1100 version of the usb driver": that > chip doesn't have USB Host, does it? The SA-1100 has OHCI on it... There's supposed to be a modified USB driver out there with this. Alas, in my shuffle to get lots of other things working, I lost the chunk of code that would have generated nice patches against a fairly recent SF tree. Right now, what I have is a hodge podge of old HHL-tree derived source and SF-tree. My USB work was a proof-of-concept work for [a confidential party] that I had to put together in a hurry. If [they] want to proceed with the project, I'll probably be asked to do some work for them, in which I case I can make a proper(!) driver patch. Joseph -----Original Message----- From: Sent: Tuesday, October 29, 2002 9:14 PM To: Joseph Chiu Cc: lin...@li... Subject: Re: [Linux-mips-kernel]Re: enabling usb-ohci on Alchemy Au1000? Joseph: On Tue, Oct 29, 2002 at 09:07:27PM -0800, Joseph Chiu wrote: > I got it to work with my Au1000... The problem turned out to be two-fold: > > 1) The "official" USB code with the PCI registration stuff needed to be > modified. The SA1100 version of the usb driver does this. The MontaVista > HHL JE-version of the USB drivers also does this. I looked at those two, > and hacked away until I did something quite similar. Not sure what you mean by the "SA1100 version of the usb driver": that chip doesn't have USB Host, does it? /me starts downloading arm-linux... > 2) I moved the USB peripheral setup code from setup.c to the init function > in the USB driver... After the USB peripheral setup (in setup.c), if too > much time has elapsed, the USB driver-init functions die while trying to > write to the OHCI registers. By not turning on the USB peripherals until > the USB driver was starting up, I avoided this problem. Ok. I'll take a look at that. > My implementation is cruddy, and I'm not even sure if it's quite "right", > but it did work for me. Alas, I've been tied up with other work and some > personal emergencies that I haven't had the chance to go back and make a > patch, or even figure out what all the little details to what I did to get > it to work. I know about those personal emergencies, having been fighting a few of my own lately as well... I'm heavy into Au1500 work right now. I'd be happy to try and package up your work if I could get it working over here, maybe even get it incorporated into the CVS tree. Just send me anything. :^) Cheers, b.g. > > Sorry ccjoe... I know I said I was going to make a tidy little package for > this... Haven't gotten there yet. :( > > Joseph > -----Original Message----- > From: lin...@li... > [mailto:lin...@li...]On Behalf Of > William A. Gatliff > Sent: Tuesday, October 29, 2002 8:36 PM > To: lin...@li... > Subject: [Linux-mips-kernel]Re: enabling usb-ohci on Alchemy Au1000? > > > Guys: > > > Any updates on this? I have an Au1500 board (Cogent CSB250) that I'd > love to get USB host functionality working on... > > Pete: do you have a contact at Alchemy/AMD for this code? > > > Thanks! > > b.g. > > >On Sat, 2002-09-07 at 17:04, Joseph Chiu wrote: > > > Hi, > > > I am trying to use the usb-ohci driver with my Alchemy Au1000, but the > > > driver won't load because it fails to register with an appropriate PCI > > > device. > > > What would be the way to get around this? Am I supposed to "spoof" > > > something to makes it look like the on-board OHCI controller is mapped > to a > > > PCI bus? Or am I missing something? > > > > The usb code for Alchemy that we did (non pci devices) was not accepted > > in the usb project, which is why it's not in sourceforge. I think > > someone at Alchemy (now AMD) recently our code and did some merging with > > the sforge tree and got it working. You might want to ping them and see > > if you can get a tarball. > > > -- > Bill Gatliff > I'm an embedded GNU developer first, GNU instructor second. > See http://billgatliff.com for details. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Linux-mips-kernel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-mips-kernel > -- Bill Gatliff I'm an embedded GNU developer first, GNU instructor second. See http://billgatliff.com for details. |