All of lore.kernel.org
 help / color / mirror / Atom feed
From: ner0 <avazquez.dev@gmail.com>
To: barebox@lists.infradead.org
Subject: Support USB port SAMA5D3
Date: Tue, 21 Jun 2016 17:26:56 +0200	[thread overview]
Message-ID: <57695CC0.20403@gmail.com> (raw)

Hi, All!

I know that it is possible detect usb (mass storage devices) and mount 
it using Barebox.

I am trying detect a pen drive in a sama5d3 Xplained but it don't work.
I use the command detect -l  but it seems that USB is not detectable.
I've taken a look at the file "init.c" but there is no declaration of 
USB ports.
I have been modifying the code and have added support for USB (basing on 
at91sam9x5k) but can't get it to work.
The driver started correctly
atmel-ehci atmel-ehci: USB EHCI 1.00
when I run "usb" to detect the devices gives me the following message:

# usb
USB: scanning bus for devices...
atmel-ehci atmel-ehci: fail to reset
0 USB Device(s) found

Am I correctly defining the USB port?
Did I miss something?

I add the patch to the version barebox-2016.06.0
Code (patch)
http://pastebin.com/FN1hcgzR

Thanks!
Regards!


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

             reply	other threads:[~2016-06-21 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 15:26 ner0 [this message]
2016-06-22 14:41 ` Support USB port SAMA5D3 Sascha Hauer
     [not found]   ` <CAOTEMUR1kyNt0y6FigsqKiBP0Sjzzq+q4vxba4e73p3oxH7_Fw@mail.gmail.com>
2016-06-30 13:44     ` Sascha Hauer

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=57695CC0.20403@gmail.com \
    --to=avazquez.dev@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 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.