public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Orjan Friberg <of@flatfrog.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB works (or not) depending on SYS_BOOT (with TPS65920)
Date: Thu, 7 Jul 2011 11:37:31 +0200	[thread overview]
Message-ID: <4E157E5B.8070308@flatfrog.com> (raw)

Hi,

I'm seeing some weird behaviour with host mode USB on the OTG port in 
u-boot (2011.03), and just wondering if anyone else seen this.

Booting from NAND after a power cycle, host mode USB doesn't work (the 
'usb reset' command times out).

However, if I change the boot order (external button) to go through USB 
and UART before NAND it does work (it enters host mode, and devices are 
discovered).

After that, USB continues to work after warm-resetting the board.  It's 
not until after a cold reset/power cycle that it stops working again.


It seems the boot rom must be doing some initialization of the USB phy 
(this is with a TPS65920).  Dumping the I2C regs of the USB phy in 
u-boot shows a lot of differences between the two boot modes.

This is on a custom board, BeagleBoard derived but with a 3730.


Any ideas?

Thanks,
Orjan

-- 
Orjan Friberg
FlatFrog Laboratories AB

             reply	other threads:[~2011-07-07  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07  9:37 Orjan Friberg [this message]
2011-07-07 12:27 ` [U-Boot] USB works (or not) depending on SYS_BOOT (with TPS65920) Orjan Friberg
2011-08-09  8:21   ` Orjan Friberg
2011-08-09 18:25     ` Jason Kridner
2011-08-09 18:26       ` Jason Kridner

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=4E157E5B.8070308@flatfrog.com \
    --to=of@flatfrog.com \
    --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