mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Mihaita Ivascu <mihaita_ivascu@trimble.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: MFGTools from NXP
Date: Tue, 15 Oct 2019 16:41:42 +0200	[thread overview]
Message-ID: <CAEp+FuB2AgbWW0OYh3zaiJsej1Gzo12Vat+YTK+w2j=RBvDLhA@mail.gmail.com> (raw)
In-Reply-To: <bf21c116-8293-1773-6271-f066be5fd477@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 2125 bytes --]

Hello,

   Thanks for your link. I have tried and got to the step shown in the
attachment.
   Looked here:
https://www.barebox.org/doc/latest/user/usb.html#usb-gadget-autostart-support
  did not understand how to create and execute a script from the host.
  For me the imx6ul board must be in peripheral mode. I wish to flash
the barebox from a windows/Linux workstation, not using usb stick.

barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ otg.mode=peripheral
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -A
/kernel(kernel)c,/initrd(initrd)c,/devicetree(devicetree)c
udc0: registering UDC driver [g_multi]
multi_bind: creating Fastboot function
g_multi usbgadget: Multifunction Composite Gadget
g_multi usbgadget: userspace failed to provide iSerialNumber
g_multi usbgadget: g_multi ready
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l
fastboot: No such file or directory
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/

thanks,
     Mihaita


On Tue, Oct 15, 2019 at 4:17 PM Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:
>
> Hello,
>
> On 10/15/19 4:07 PM, Mihaita Ivascu wrote:
> > Hello,
> >
> >    does anyone have experience with using imx_usb_loader to flash the
> > barebox on a NAND(mtd partition)? If yes some reference scripts would
> > be helpful for me. Or where should I look for an example?
>
> Check out this thread:
> https://www.spinics.net/lists/u-boot-v2/msg37199.html
>
> TL;DR: imx_usb_loader to get barebox into SDRAM, then Android Fastboot for flashing
>
> >
> > Thanks,
> >       Mihaita Ivascu
> >
> >
>
>
>
> --
> 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

[-- Attachment #2: fastboot.PNG --]
[-- Type: image/png, Size: 30276 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

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

  reply	other threads:[~2019-10-15 14:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 13:03 Mihaita Ivascu
2019-10-11  7:21 ` Marco Felsch
2019-10-11  9:47   ` Mihaita Ivascu
2019-10-14 13:07     ` Mihaita Ivascu
2019-10-15 14:07       ` Mihaita Ivascu
2019-10-15 14:17         ` Ahmad Fatoum
2019-10-15 14:41           ` Mihaita Ivascu [this message]
2019-10-15 14:44             ` Ahmad Fatoum
2019-10-16  7:32               ` Mihaita Ivascu
2019-10-16  8:40                 ` Mihaita Ivascu
2019-10-16  8:51                   ` Ahmad Fatoum
2019-10-16  9:21                     ` Mihaita Ivascu
2019-10-16  9:26                       ` Ahmad Fatoum
2019-10-16  9:48                         ` Mihaita Ivascu
2019-10-16  9:53                           ` Ahmad Fatoum
2019-10-16 11:32                             ` Mihaita Ivascu
     [not found]                             ` <CAEp+FuDPDra+umeaLYuLUdjuzHiV+_eB+s2pMmwij8Scp6Gd=w@mail.gmail.com>
2019-10-16 11:36                               ` Ahmad Fatoum
2019-10-16 12:35                                 ` Mihaita Ivascu
2019-10-16 12:41                                   ` Ahmad Fatoum
2019-10-16 12:44                                     ` Mihaita Ivascu
2019-10-16 12:45                                       ` Ahmad Fatoum
2019-10-17  8:40                                         ` Mihaita Ivascu
2019-10-18 12:46                                           ` Ahmad Fatoum
2019-10-21 12:39                                             ` Mihaita Ivascu

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='CAEp+FuB2AgbWW0OYh3zaiJsej1Gzo12Vat+YTK+w2j=RBvDLhA@mail.gmail.com' \
    --to=mihaita_ivascu@trimble.com \
    --cc=a.fatoum@pengutronix.de \
    --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