[U-Boot] [PATCH] cmd_ide: Fix detection problem with missing devices

Stefan Roese sr at denx.de
Thu May 14 17:14:33 CEST 2009


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
=====================================================================


More information about the U-Boot mailing list