All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8377: USB breaks board
Date: Mon, 15 Nov 2010 11:43:26 +0100	[thread overview]
Message-ID: <4CE10ECE.6010601@matrix-vision.de> (raw)
In-Reply-To: <4CDBE085.8050007@matrix-vision.de>

On 11/11/2010 01:24 PM, Andre Schwarz wrote:
> Kim, Timur,
>
> some comments on this from your side would really help !
>
>
> The issue can be summarized like this :
>
> - MPC8377 based board is basically running fine with both U-Boot and Linux.
> - Activating USB support within U-Boot leads to *very* early crash :
>        No console output - not even PCI clocks enabled.
> - Within Linux USB is working without problems, i.e. there's no hardware
> issue.
>
> I have an SMSC USB3300 PHY connected via ULPI and a self powered SMSC
> 2514 1:4 Hub.
> This is exactly the same as on mvblm7 board (=MPC8343).
>
> This behaviour reminds me of e.g. one or more missing sync instructions
> during early init as discussed with Jocke in the past weeks.
>
> It is very unlikely that I'm the only one facing this problem.
>    

got it - line 330 in arch/powerpc/cpu/mpc83xx/cpu_init.c does some EHCI 
configs masked by

#ifndef CONFIG_MPC834x

Removing this makes the board work again.

It still hangs during "usb start" but this is most propably due to 
missing initialization.

Will have a look and send a proper patch.

After all I do like mondays ;-)

Cheers,
Andr?


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

      parent reply	other threads:[~2010-11-15 10:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 14:51 [U-Boot] MPC8377: USB breaks board Andre Schwarz
2010-11-05 15:00 ` Joakim Tjernlund
2010-11-05 15:45   ` Andre Schwarz
2010-11-05 15:07 ` Joakim Tjernlund
2010-11-05 16:13   ` Andre Schwarz
2010-11-05 16:27     ` Joakim Tjernlund
2010-11-11 12:24 ` Andre Schwarz
2010-11-11 16:36   ` Timur Tabi
2010-11-11 20:11     ` Schwarz, Andre
2010-11-11 20:21       ` Timur Tabi
2010-11-15 10:43   ` Andre Schwarz [this message]

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=4CE10ECE.6010601@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.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.