mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Patrick Schneider <patrick.schneider@bhtronik.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: AW: i.MX6ul USB serial downloader and Barebox
Date: Thu, 21 Feb 2019 14:30:36 +0000	[thread overview]
Message-ID: <AM0PR08MB3842E348B4CD31892B48EF19EB7E0@AM0PR08MB3842.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20190221133151.apxmkxdu72glcvwa@pengutronix.de>

Hi Sascha,

$ otg.mode=host

Did the trick for me. Now I can flash the nand from usb-stick data on /dev/disk0.0
Works like a charm, thanks!

Regards,
Patrick 

> > Hi Sascha,
> > thanks for the reply.
> > It seems that I am lacking something in the usb configuration. I am always
> getting:
> >
> > couldn't find an available UDC
> > usbgadget: No such device
> 
> I don't know which hardware you are on, but you may have to enable the
> USB controller in the device tree. If otg mode is configured there you also
> have to do a "otg.mode=peripheral" to turn the controller into gadget mode.
> 
> >
> > $ fastboot devices -l
> >
> > Delivers nothing on my windows host side.
> > Before I proceed, wouldn't it be also possible to just plug a usb-stick and
> copy rootfs and barebox.bin from there?
> > Unfortunately
> >
> > $ usb
> >
> > Also doesn't recognize my plugged in usb-stick.
> > The USB port functions normally under linux itself.
> 
> If that's the same port as you do fastboot on then you might have to do a
> "otg.mode=host" to turn the controller into host mode.
> 
> Sascha
> 
> 
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2019-02-21 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 10:01 Patrick Schneider
2019-02-21 10:21 ` Ahmad Fatoum
2019-02-21 10:41 ` Sascha Hauer
2019-02-21 12:01   ` AW: " Patrick Schneider
2019-02-21 13:31     ` Sascha Hauer
2019-02-21 14:30       ` Patrick Schneider [this message]
2019-02-22  7:57         ` Sascha Hauer
2019-02-22  8:12           ` AW: " Patrick Schneider
2019-02-22  8:33             ` 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=AM0PR08MB3842E348B4CD31892B48EF19EB7E0@AM0PR08MB3842.eurprd08.prod.outlook.com \
    --to=patrick.schneider@bhtronik.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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