All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cmd_ide: Fix detection problem with missing devices
Date: Thu, 14 May 2009 17:14:33 +0200	[thread overview]
Message-ID: <200905141714.34154.sr@denx.de> (raw)
In-Reply-To: <20090514145951.2D589832E416@gemini.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
=====================================================================

  reply	other threads:[~2009-05-14 15:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14  5:24 [U-Boot] [PATCH] cmd_ide: Fix detection problem with missing devices Stefan Roese
2009-05-14 13:44 ` Wolfgang Denk
2009-05-14 13:55   ` Stefan Roese
2009-05-14 14:59     ` Wolfgang Denk
2009-05-14 15:14       ` Stefan Roese [this message]
2009-05-14 20:54         ` Wolfgang Denk
2009-05-14 20:57           ` [U-Boot] [PATCH] IDE: bail out of dev_print() for unknow device types Wolfgang Denk
2009-05-14 20:59             ` [U-Boot] [PATCH v2] IDE: bail out of dev_print() for unknown " Wolfgang Denk
2009-05-15  5:27               ` Stefan Roese
2009-05-15  7:27                 ` Wolfgang Denk
2009-05-15  7:33                   ` Stefan Roese
2009-05-15  7:27                 ` [U-Boot] [PATCH v3] " Wolfgang Denk
2009-05-15 20:30                   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905141714.34154.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.