On Fri, Feb 22, 2019 at 08:12:49AM +0000, Patrick Schneider wrote: > Hi again, > thanks for that suggestion, I'll look into that, because 'no console > interaction' would indeed be the preferable way to go here. But in > the production process we also need to burn some ocotp fuses (which we > would do by automated console commands atm). Is it possible to send > commands over usb in gadget mode? Yes. One possibility is to use "fastboot oem exec <cmd>". This can be a bit tricky since the fastboot string length is very limited (64 bytes I think). The other possibility is to create a multi gadget which also creates a console. See the global.usbgadget.acm option. With this you can remote control barebox via a USB serial console. You might want to look into the labgrid project which integrates all this nicely. 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