mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Burkey <mdburkey@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: [RFC][PATCH] pcm043: usb support --not working--
Date: Tue, 6 Nov 2012 19:48:32 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121106T203753-607@post.gmane.org> (raw)
In-Reply-To: <20120802081509.GH30009@pengutronix.de>

Sascha Hauer <s.hauer@...> writes:

> 
> On Wed, Aug 01, 2012 at 11:04:38PM +0200, Christoph Fritz wrote:
> > On Wed, 2012-08-01 at 18:56 +0200, Eric Bénard wrote: 
> > > > The clock settings seems to be the same as for eukrea_cpuimx35. Eric:
> > > > Does USB work for you on your board?
> > > > 
> > > thanks for the heads up : now it works.
> > 
> > great 
> > 
> > > > Sascha, I currently have no working config for kernel >=3.5 to check for
> > > > clocks in debugfs.
> > > > 
> > > > Any thoughts on this?
> > > > 
> > > try to copy the config in that patch I just sent 
> > 
> > I did - without success. I suppose the external phy needs to be
> > configured properly.
> > 
> > When you type the command "usb", you are getting a list of connected
> > devices. Can you execute command "usb" a second and third time with the
> > same result?
> 
> By default 'usb' now only probes once. That is because the USB stack is
> too silly to just keep already enumarated devices, but instead just
> removes all devices and reenumarates them. Bad things happen if one of
> your devices was a mounted USB mass storage device for example.
> If you want to probe multiple times try the -f aka force aka I know what
> I'm doing option.
> 
> Sascha
> 

Sascha,

I work with Jerry and I've been doing a lot more testing with USB lately and 
we are still having issues under Barebox. We are on new hardware that now 
uses the internal Phy and everything seems to work find under Linux itself.
However,under Barebox I am still seeing the following behaviour:

1) The first time after reset, when I do the "USB" command it detects the
built-in hub device and any HID devices I have tested without issue. 
2) Any additional times I do "USB -F" after that it ONLY detects the
internal hub.
3) USB Mass Storage devices (flash drives, hard drives, et al) are NEVER
detected -- and I've tried a LOT of different ones. The vast majority are
never even detected at all, but I have one really old one that it will at
least say "2 devices detected" on the probe but never shows any description
of the device.

We are using a PCM043 SOM on a custom carrier board -- and to the best of 
my knowledge everything is setup properly. I've also checked the USB clock
and it is correct. I have so far tried this with both Barebox 9 and Barebox
10, with no success. I have made sure that USB support is compiled in, as
well as mass storage support and FAT support.

Do you have any ideas as to what might be going on or what we should be 
looking at? 

Thanks,
Michael Burkey





_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2012-11-06 19:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 15:37 USB On PCM043? Jerry Kirk
2012-07-19 16:11 ` Sascha Hauer
2012-07-19 20:56   ` Jerry Kirk
2012-07-20  8:04     ` Sascha Hauer
2012-08-01 13:33       ` [RFC][PATCH] pcm043: usb support --not working-- Christoph Fritz
2012-08-01 16:56         ` Eric Bénard
2012-08-01 21:04           ` Christoph Fritz
2012-08-02  7:08             ` Eric Bénard
2012-08-02  8:15             ` Sascha Hauer
2012-08-02 13:59               ` Jerry Kirk
2012-11-06 19:48               ` Michael Burkey [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=loom.20121106T203753-607@post.gmane.org \
    --to=mdburkey@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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