From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 14 May 2009 17:14:33 +0200 Subject: [U-Boot] [PATCH] cmd_ide: Fix detection problem with missing devices In-Reply-To: <20090514145951.2D589832E416@gemini.denx.de> References: <1242278687-23685-1-git-send-email-sr@denx.de> <200905141555.33901.sr@denx.de> <20090514145951.2D589832E416@gemini.denx.de> Message-ID: <200905141714.34154.sr@denx.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 Thursday 14 May 2009 16:59:51 Wolfgang Denk wrote: > > > If my understanding is correct, then this is a bug on your hardware. > > > > I don't think so. > > I do, because what we see on other hardware looks different: > > For example: > > U-Boot 1.3.2-rc2-g02e4b4e3 (Feb 28 2008 - 16:46:26) ^^^^^^^^^^^^^ That's very old. > ... > IDE: Bus 0: ..OK > Device 0: Model: HITACHI_DK23DA-20 Firm: 00J2A0A1 Ser#: 12Y0MN > Type: Hard Disk > Capacity: 19077.1 MB = 18.6 GB (39070080 x 512) > Device 1: not available > SRAM: 512 kB > ... > > > If your board probes for a non-existing Device 1 and tries to print > Model and Firmware versions, then there must be something wrong... >From my understanding this worked at some point on the CPCI750 as well. Perhaps you could give the TOT U-Boot version a try on your board used above. My guess is that this will fail as well. I tried to locate a problem that was introduced at some time but couldn't locate it (no, I didn't use git bisect). But looking at the current code this just can't work as is for the 2nd drive. And I still think my fix is ok. Thanks. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================