[U-Boot] [PATCH v4 08/25] arm: imx: hab: Fix authenticate image lockup on MX7

Breno Matheus Lima brenomatheus at gmail.com
Wed Jan 3 01:25:28 UTC 2018


Hi Bryan,

2018-01-02 14:43 GMT-02:00 Bryan O'Donoghue <bryan.odonoghue at linaro.org>:
> The i.MX6 has some pretty explicit code associated with informing the IROM
> about flushing caches during authenticate_image().
>
> Looking at various pieces of documentation its pretty clear the i.MX6 IROM
> registers are not documented and absent similar documentation on the i.MX7
> the next-best fix is to disabled the dcache while making an
> authenticate_image() callback.
>
> This patch therefore disables dcache temporarily while doing an IROM
> authenticate_image() callback, thus resolving a lockup encountered in a
> complex set of authenticate-image calls observed.
>

I'm trying to reproduce the same issue on an i.MX7D board but I'm not
being able so far, Is it possible to share more details on how to
reproduce this issue? Looking the thread at the NXP community seems
that this can be reproduced in a specific situation, I would like to
test in a similar environment as yours.

Thanks,
Breno Lima


More information about the U-Boot mailing list