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

Wolfgang Denk wd at denx.de
Thu May 14 16:59:51 CEST 2009


Dear Stefan Roese,

In message <200905141555.33901.sr at denx.de> you wrote:
> 
> > > IDE:   Bus 0: OK Bus 1: OK
> > >   Device 0: Model: HITACHI_DK23FA-20J Firm: 00M7A0A0 Ser#: 42D182
> > >             Type: Hard Disk
> > >             Capacity: 19077.1 MB = 18.6 GB (39070080 x 512)
> > >   Device 1: Model:  Firm:  Ser#:
> > >             Type: # 1F #
> > >             Capacity: not available
> > >   Device 2: Model: SanDisk SDCFB-128 Firm: vde 1.10 Ser#: gmo5i311404
> > >             Type: Removable Hard Disk
> > >             Capacity: 122.5 MB = 0.1 GB (250880 x 512)
> > >   Device 3: Model:  Firm:  Ser#:
> > >             Type: # 1F #
> > >             Capacity: not available
> >
> > 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)
...
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...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Many aligators will be slain, but the swamp will remain.


More information about the U-Boot mailing list