public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Debugging, Why USB is not stable
Date: Mon, 30 Aug 2010 11:12:25 +0200	[thread overview]
Message-ID: <m2wrr8lb0m.fsf@ohwell.denx.de> (raw)
In-Reply-To: <4C7997E1.3090005@gmail.com> ("Gérald Kerma"'s message of "Sun, 29 Aug 2010 01:12:33 +0200")

Hi G?rald,

> I have some few problems with usb start / reset commands on last uboot.
>
> USB hard drive are not always detected.
>
> Is there something I missed ?

Only the fact that USB is a nightmare to work with.  No, honestly, we
have a continuous stream of USB related problems with the current USB
code.  As I understand it this results from the ever more diverging USB
implementation in U-Boot and e.g. in the Linux kernel.  The latter has
received a lot of work which is simply not possible by reading
datasheets and writing software according to those.  This involves a lot
of testing on literally thousands of different HW incarnations and on
working around the discovered idosyncracies of the parts.

Sometimes I get the impression that we would save a lot of headache by
starting afresh and porting the current Linux code into U-Boot thus
leverage all this, but nobody yet dared to start such a feat.

For the problem at hand, you may try to test variations on your setup,
e.g. by introducing different hubs in different combinations.  I'm
pretty sure that this will change the situation - sadly may be not for
the better.

Cheers
  Detlev

-- 
Among the  -) the .-) is king
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  reply	other threads:[~2010-08-30  9:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 23:12 [U-Boot] Debugging, Why USB is not stable Gérald Kerma
2010-08-30  9:12 ` Detlev Zundel [this message]
2010-08-30  9:37   ` Bas Mevissen
2010-08-30  9:52     ` Detlev Zundel
2010-08-30 10:13       ` Bas Mevissen
2010-08-30 10:20         ` Detlev Zundel
2010-08-31 18:12   ` Remy Bohmer
2010-09-01 15:15     ` Detlev Zundel

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=m2wrr8lb0m.fsf@ohwell.denx.de \
    --to=dzu@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox