Re: MFGTools from NXP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox

Attachment: fastboot.PNG
Description: PNG image

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

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux