[PATCH u-boot v2019.04-aspeed-openbmc 0/5] OTP Fixes

Joel Stanley joel at jms.id.au
Mon Jul 18 18:47:23 AEST 2022


The v0.4.11 Aspeed SDK has reworked the OTP command, which breaks the
current OpenBMC eMMC SPL config by force-enabling the ACRY hardware for
RSA. It also pulls in the software version of the hashing algorithms
into u-boot proper. Both changes increase the code size.

This resolves both of those issues and further reduces the proper binary
size.

The patches are to be applied on top of a rebased version of the tree.
An example is provided here:

 https://github.com/shenki/u-boot/tree/v00.04.11-rebase

This will become the new v2019.04-aspeed-openbmc branch once these
patches are reviewed.

Joel Stanley (5):
  config/openbmc: Enable SHA384
  cmd/otp: Use any MOD_EXP driver
  cmd/otp: Depend on SHA variants
  cmd/otp: Use hashing API
  cmd/otp: Reduce size of otpkey

 cmd/otp.c                                  | 63 +++++++++-------------
 cmd/Kconfig                                |  7 +--
 configs/ast2600_openbmc_spl_emmc_defconfig |  2 +-
 3 files changed, 27 insertions(+), 45 deletions(-)

-- 
2.35.1



More information about the openbmc mailing list