On 09/05/2017 08:20 AM, Michael Olbrich wrote: > Hi, > > On Mon, Sep 04, 2017 at 06:00:18AM +0000, Denis OSTERLAND wrote: >> as far as I know, this will require a change in Barebox scripts/imx/imx-image.c, >> because in this version it expects input file as command line option >> and does not understand piped input anymore. >> >> This is how I deal with this issue, but it wont work with both versions. > > Marc, you added the initial support. Can you comment on this? Maybe you can parse the output of "cst --version"? No, it's the same for both versions :( But you can parse the output of "cst", the new version does have the "-i" parameter. Another option would be to let imx-image first try the "-i" approach, if this doesn't work then try the stdin. I think this would be the best. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |