On Thu, Jun 07, 2018 at 10:53:01PM +0200, Uwe Kleine-König wrote: > Hello, > > On Fri, Jun 01, 2018 at 08:07:48PM +0200, Uwe Kleine-König wrote: > > + fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT); > > This doesn't work on the target machine (dove cubox) I intended to use > it on an m25p0 device. It returns -28. When dropping O_TRUNC | O_CREAT > it works though. So I suggest to either back out patches 3 and 4, or > change the line above to O_WRONLY (which also matches the function > removed in patch 4). Ok, changed to O_WRONLY only. 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