From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Wed, 8 Apr 2009 22:03:02 +0200 Subject: [U-Boot] Multiple device support -- sorry state :( In-Reply-To: References: <49DCF8B7.8020904@ge.com> Message-ID: <20090408200302.GZ5367@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 08, 2009 at 12:25:16PM -0700, ksi at koi8.net wrote: > On Wed, 8 Apr 2009, Jerry Van Baren wrote: > > > ksi at koi8.net wrote: > > > OK, this is _NOT_ just multiple I2C adapters... The entire thing is > > > fundamentally broken. > > > > > > One supposed to have _THE_ device and only this device is somehow > > supported. > > > > > > Now it is USB. Each and every USB driver exports the same set of > > functions, > > > submit_XXX_msg(...) That means there can be one and only one USB > > device in > > > the system. > > > > [snip the badly scorched spot ;-)] > > > > > USB keyboard is another grand kludge deserving its own chapter... As > > of now > > > one can only switch to it from command line because USB is not even > > > initialized until do_usb() from cmd_usb.c is called... What if we do > > NOT > > > have a serial console at all? > > > > Dumb question because I have not looked seriously at the v2 fork of > > u-boot: > > how does the v2 fork handle this? Better? Since the v2 fork uses (or > > is > > close to) the linux driver model, I would expect it to be better. > > Nothing's changed here... > > And that is _NOT_ just USB, it is everywhere -- I2C, SPI, etc. It is stiff, > inflexible, everything written in stone and that stone is permanently set in > concrete. I suppose you didn't look in the right place. We don't even have support for i2c and spi in v2 :-) rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |