[U-Boot] [PATCH] imx: Create distinct pre-processed mkimage config files

Fabio Estevam festevam at gmail.com
Sat Apr 7 00:45:36 UTC 2018


Hi Trent,

On Fri, Apr 6, 2018 at 9:11 PM, Trent Piepho <tpiepho at impinj.com> wrote:
> Each imx image is created by a separate sub-make and during this process
> the mkimage config file is run though cpp.
>
> The cpp output is to the same file no matter what imx image is being
> created.
>
> This means if two imx images are generated in parallel they will attempt
> to independently produce the same pre-processed mkimage config file at
> the same time.
>
> Avoid the problem by making the pre-processed config file name unique
> based on the imx image it will be used in.  This way each image will
> create a unique config file and they won't clobber each other when run
> in parallel.
>
> This should fixed the build bug referenced in b5b0e4e3 ("imximage:
> Remove failure when no IVT offset is found").
>
> Cc: Breno Lima <breno.lima at nxp.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Signed-off-by: Trent Piepho <tpiepho at impinj.com>

I reverted b5b0e4e3, applied your patch and don't see the original
failure anymore.

Thanks for providing a proper fix!

Tested-by: Fabio Estevam <fabio.estevam at nxp.com>


More information about the U-Boot mailing list