On 05/03/2015 10:13 PM, Andrey Smirnov wrote: > If called with '-b' option 'imx-image' tool prepends barebox header to > the image, but the tool does not fill the data at image size offset > correctly. Call 'fix_size', right after 'imx-image' to fix that. What about fixing the tool instead? The imx-image tool in used imx-habv4, too, see images/Makefile.imxhabv4. 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 |