[PATCH 0/1] fix verified boot on BE hosts

Rasmus Villemoes rasmus.villemoes at prevas.dk
Tue Oct 6 12:09:44 CEST 2020


On 05/10/2020 16.10, Rasmus Villemoes wrote:

> I wanted to try using tools/fit_check_sign as a quick way to bisect
> this, unfortunately the v2020.10-rc4 version (also) says that the kernel
> image is correctly signed.
> 
> Does anyone have a crystal ball that says what might have changed to
> cause this? The board in question is based on mpc8309, i.e. big-endian
> powerpc.

I had a hunch that is was an endianness issue since fit_check_sign
(run on the little-endian build host) reported success, and indeed it
is.


Rasmus Villemoes (1):
  rsa: fix retrieving public exponent on big-endian systems

 lib/rsa/rsa-mod-exp.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.23.0



More information about the U-Boot mailing list