[PATCH u-boot v2019.04-aspeed-openbmc v2 00/10] Use HACE to accelerate sha512

Joel Stanley joel at jms.id.au
Fri Apr 23 10:32:53 AEST 2021


On Thu, 22 Apr 2021 at 20:46, Klaus Heinrich Kiwi
<klaus at linux.vnet.ibm.com> wrote:
>
>
>
> On 4/20/2021 3:46 AM, Joel Stanley wrote:
> > Joel Stanley (10):
> >    configs/ast2600: Make early malloc pool larger
> >    crypto: Add driver for Aspeed HACE
> >    ast2600: Enable HACE probing in SPL
> >    ast2600: Add HACE to device tree
> >    ast2600: spl: Remove SECBOOT BL2 kconfig option
> >    ast2600: spl: Add ASPEED_LOADERS option
> >    ast2600: spl: Support common boot loader features
> >    config: ast2600: Configure common MMC SPL loader
> >    configs: ast2600: Enable FIT SHA512 support
> >    config: ast2600: Disable SPL raw image support
>
> Looks like you forgot to include 'clk: aspeed: Add HACE yclk to ast2600'

That patch was already applied to the u-boot tree.

I've since applied this series to the top of v2019.04-aspeed-openbmc.

> It fails pretty instantly even in Qemu without it.
>
>
> Additionally, looks like the spl binary size grew significantly to 59696
> bytes (around 10KB larger than before). The final SPL size when added to
> the Device-tree blob with the 4096bits public key is 65058 bytes, which
> is just a tad over the maximum limit we have of 65024 bytes.

That's a surprise. Were you able to work out where the size increase came from?

Here's the size I see with HEAD:

44a8c618c1215e0faac0f335f0afd56ed4240e76 49986

I'm using arm-linux-gnueabi-gcc (Debian 10.2.1-6) 10.2.1 20210110.

Cheers,

Joel


More information about the openbmc mailing list