Skip to content

SPSDK 1.5.0

Choose a tag to compare

@mwsk mwsk released this 07 Sep 13:49
· 79 commits to master since this release

New features

  • nxpdevhsm - new application added:
    • The nxpdevhsm is a tool to create initial provisioning SB3 file for LPC55S36 to provision device with SB KEK needed to validate in device all standard SB3 files.
  • LIBUSBSIO integration as a replacement for HID_API module:
    • blhost - extend blhost by LPCUSBSIO interface
  • blhost - following trust-provisioning sub-commands added:
    • oem_get_cust_cert_dice_puk - creates the initial trust provisioning keys
    • oem_gen_master_share - creates shares for initial trust provisioning keys
    • oem_set_master_share - takes the entropy seed and the Encrypted OEM Master Share
    • hsm_gen_key - creates OEM common keys, including encryption keys and signing keys
    • hsm_store_key - stores known keys, and generate the corresponding key blob
    • hsm_enc_blk - encrypts the given SB3 data bloc
    • hsm_enc_sign - signs the given data
  • elftosb:
    • support for SB 2.1 generation using BD file
    • LPC55S3x - add support for unsigned/plain images
    • SB2.1 - SHA256 digest of all sections included in signed SB2.1 header
    • add supported families listing into elftosb
    • implement chip family option as a click.Choice
    • allow loading certificates for MBI in PEM format
  • nxpcertgen:
    • generate the template for yml configuration file containing the parameters for certificate
    • improve yml template description for nxpcertgen
    • add support for generating certificates in DER format
  • nxpkeygen:
    • moved option -p from general space to gendc subcommand.
    • add new -k keygen subcommand option to specify key type to generate
  • nxpdebugmbox:
    • refactor DebugCredential base class so that it will be possible to pass certificates in yml config file
    • check nxpdebugmbox on LPC55S3x
  • pfr - update CMPA/CFPA registers XML data for LPC55S3x with CRR update
  • SPSDK Applications:
    • spsdk applications show help message when no parameter on command line provided
    • improved help messages
    • support Ctrl+C in cmd applications
  • replace functional asserts with raising a SPSDK-based exception
  • replace all general exception with SPSDK-based exceptions

Bugfixes

  • nxpkeygen - regenerates a key without –force
  • elftosb - unclear error message: No such file or directory: ‘None’
  • pfr - duplicated error message: The silicon revision is not specified
  • nxpdebugmbox - fix Retry of AP register reads after Chip reset
  • nxpdebugmbox - add timeout to never ending loops in spin_read/write methods in Debug mailbox
  • blhost - flash-erase-region command doesn’t accept the memory_id argument in hex form
  • elftosb - using kdkAccessRigths = 0 in SB31 is throwing an error in KeyDerivator