[PATCH v2] imx: spl: fix imx8m secure boot

Rasmus Villemoes rasmus.villemoes at prevas.dk
Mon Nov 1 08:52:36 CET 2021


On 17/08/2021 08.17, Heiko Schocher wrote:
> cherry-picked from NXP code:
> 719d665a87c6: ("MLK-20467 imx8m: Fix issue for booting signed image through uuu")
> 
> which fixes secure boot on imx8m based boards. 
> 
[...]

> Works on sdcard and QSPI NOR boot on phycore-imx8mp board.

Hm, the subject of that patch mentions booting through uuu, and here you
mention imx8mp. I'm quite interested in that combination, as it doesn't
seem that the imx8mp_evk in mainline U-Boot (signed or not) can be
booted via uuu. Does serial download work on phycore-imx8mp?

As I mentioned in
https://lore.kernel.org/u-boot/0996154d-774c-607f-8b5c-9cc0d268ecaa@prevas.dk/
, I've bisected the start of it working in the NXP fork to a specific
commit, but I can't figure out what part of that is really responsible
(and if it's just that that commit enables some CONFIG_* symbols for
imx8mp_evk, the real meat is likely in earlier commits adding the code
that thus gets enabled).

Any ideas?

Rasmus


More information about the U-Boot mailing list