On Sun, May 3, 2015 at 1:28 PM, Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote: > 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. > I wasn't sure what would be the most appropriate way to fix this, so I chose the path of a least resistance. But now that I know that the tool is used in multiple places -- I agree -- it makes more sense to fix the problem at its root. I will send the updated patch shortly. Andrey > 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 | > _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox