From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 30 Jun 2009 00:44:10 +0200 Subject: [U-Boot] [patch] csb337 board support (ARM at91rm9200) In-Reply-To: <200906291446.26085.david-b@pacbell.net> References: <200906121458.58296.david-b@pacbell.net> <200906282320.51697.david-b@pacbell.net> <20090629211601.GE23292@game.jcrosoft.org> <200906291446.26085.david-b@pacbell.net> Message-ID: <20090629224410.GF23292@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14:46 Mon 29 Jun , David Brownell wrote: > On Monday 29 June 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > - USB didn't work; the software wouldn't detect usb-storage devices. > > > > > So it's not yet enabled. > > > > > > > > what is the power on the USB? > > > > > > I don't understand the question. 5V of course. Not switchable. > > > > is the usb provide enough power to supply the usb key > > Well all the devices run on Linux just fine. Two were > flash devices, one was an honest-to-gosh 200 MByte disk. > > So it's fairly clear the issue relates to OHCI support > in u-boot, perhaps specific to the rm9200. Not hardware. IIRC it's work on my rm9200ek > > > > > > > +#if 0 > > > > please > > > > if CONFIG_CMD_USB > > > > > +/* REVISIT: USB failed to enumerate devices of any kind ... sw issues */ > > > > > > An #if 0 won't work without completely re-whacking things. > > > > > > Right now the commands kick in *MUCH LATER* depending on > > > whether the driver is available. And here, the driver > > > (CONFIG_USB_OHCI_NEW driver) and its support is disabled > > > since it's not working... > > so move it > > That's what we call "way too much work". It involves > completely restructuring things ... so that instead of > enabling commands based on driver support (which may > not be viable) it enables drivers (which may not work) > based on commands (which should never have been enabled > unless the relevant driver works). so remove it until it will work Best Regards, J.