On Thu, Feb 21, 2019 at 02:30:36PM +0000, Patrick Schneider wrote: > 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! Well if you like that, try otg.mode=peripheral and https://www.barebox.org/doc/latest/user/usb.html#usb-gadget-autostart-support With this you can bootstrap the whole device from the host with a simple script and no further interaction. 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox