[PATCH 00/30] imx: misc update and fix

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Jun 2 08:45:37 CEST 2023


From: Peng Fan <peng.fan at nxp.com>

This patchset includes some misc update and fix from NXP downstream
 - i.MX8 SCU API usage correction
 - Use ELE(EdgeLockSecure Enclave) public from NXP to replace S400 or Sentinel
 - Secondary container support and header checking fix
 - New ELE API to support secure fuse and lifecycle and DEK Blob
 - Bootaux: update macro and support i.MX8
 - i.MX8 AHAB code clean up to reuse common code
 - ELE MU update

CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/16469

Clement Faure (1):
  imx: cmd_dek: add ELE DEK Blob generation support

Gaurav Jain (1):
  imx: imx8: ahab: sha256: enable image verification using ARMv8 crypto
    extension

Maximus Sun (1):
  imx: priblob: Update to use structure

Nitin Garg (1):
  imx: parse-container: Use malloc for container processing

Peng Fan (17):
  imx: mach: correct SCU API usage
  imx: toradex/apalis-imx8: correct SCU API usage
  imx: toradex/colibri-imx8x: correct SCU API usage
  imx: siemens/capricorn: correct SCU API usage
  imx: advantech: correct SCU API usage
  imx: congatec/cgtqmx8: correct SCU API usage
  imx: scu_api: update to version 1.16 and add more APIs
  imx: use generic name ele(EdgeLockSecure Enclave)
  imx: parse-container: fix build warning
  imx: ele_ahab: use hextoul
  imx: ele_api: support program secure fuse and return lifecycle
  imx: ele_api: add DEK Blob generation
  imx: imx8ulp: start the ELE RNG at boot
  imx: iamge-container: support secondary container
  imx: bootaux: change names of MACROs used to boot MCU on iMX devices
  imx: imx8m: clock: not configure reserved SRC register
  imx: imx8m: add CAAM_BASE_ADDR

Utkarsh Gupta (1):
  imx: fsl_sec: preprocessor casting issue with addresses involving math

Ye Li (8):
  imx: cmd_dek: Fix Uninitialized pointer read
  imx: misc: ele_mu: Update MU TR registers count
  imx: misc: ele_mu: Update ELE MU driver
  imx: hab: Fix coverity issue in HAB event decoding
  imx: image-container: Fix container header checking
  imx: bootaux: Fix bootaux issue when running on ARM64
  imx: imx8: bootaux: Add i.MX8 M4 boot support
  imx: ahab: Update AHAB for iMX8 and iMX8ULP

 arch/arm/Kconfig                              |   4 +-
 arch/arm/include/asm/arch-imx8m/imx-regs.h    |   3 +-
 arch/arm/include/asm/arch-imx9/ccm_regs.h     |   2 +-
 arch/arm/include/asm/arch-mx6/imx-regs.h      |   2 +-
 arch/arm/include/asm/arch-mx7/imx-regs.h      |   2 +-
 arch/arm/include/asm/global_data.h            |   4 +-
 arch/arm/include/asm/mach-imx/ahab.h          |  15 +
 .../asm/mach-imx/{s400_api.h => ele_api.h}    |  53 +--
 arch/arm/include/asm/mach-imx/sys_proto.h     |   1 +
 arch/arm/mach-imx/Kconfig                     |   9 +-
 arch/arm/mach-imx/Makefile                    |   5 +
 arch/arm/mach-imx/cmd_dek.c                   |  89 ++++-
 arch/arm/mach-imx/ele_ahab.c                  |  91 ++++-
 arch/arm/mach-imx/hab.c                       |  41 ++-
 arch/arm/mach-imx/image-container.c           |  96 ++++-
 arch/arm/mach-imx/imx8/ahab.c                 | 161 ++++++---
 arch/arm/mach-imx/imx8/cpu.c                  | 180 +++++++++-
 arch/arm/mach-imx/imx8/fdt.c                  |   2 +-
 arch/arm/mach-imx/imx8/snvs_security_sc.c     | 175 +++++----
 arch/arm/mach-imx/imx8m/clock_imx8mm.c        |   1 -
 arch/arm/mach-imx/imx8ulp/Makefile            |   1 -
 arch/arm/mach-imx/imx8ulp/rdc.c               |  18 +-
 arch/arm/mach-imx/imx8ulp/soc.c               |  16 +-
 arch/arm/mach-imx/imx8ulp/upower/upower_hal.c |   6 +-
 arch/arm/mach-imx/imx9/clock.c                |   8 +-
 arch/arm/mach-imx/imx9/clock_root.c           |   2 +-
 arch/arm/mach-imx/imx9/imx_bootaux.c          |   6 +-
 arch/arm/mach-imx/imx9/soc.c                  |  16 +-
 arch/arm/mach-imx/imx9/trdc.c                 |  14 +-
 arch/arm/mach-imx/imx_bootaux.c               |  45 ++-
 arch/arm/mach-imx/parse-container.c           | 119 ++-----
 arch/arm/mach-imx/priblob.c                   |  10 +-
 board/advantech/imx8qm_dmsse20_a1/spl.c       |   6 +-
 board/advantech/imx8qm_rom7720_a1/spl.c       |   6 +-
 board/congatec/cgtqmx8/cgtqmx8.c              |   8 +-
 board/freescale/imx8ulp_evk/spl.c             |  20 +-
 board/freescale/imx93_evk/spl.c               |   1 -
 board/kontron/sl-mx8mm/sl-mx8mm.c             |   2 +-
 board/kontron/sl-mx8mm/spl.c                  |   2 +-
 board/siemens/capricorn/board.c               |  12 +-
 board/technexion/pico-imx8mq/pico-imx8mq.c    |   2 +-
 board/technexion/pico-imx8mq/spl.c            |   2 +-
 board/toradex/apalis-imx8/apalis-imx8.c       |  10 +-
 board/toradex/colibri-imx8x/colibri-imx8x.c   |  10 +-
 drivers/misc/Kconfig                          |   4 +-
 drivers/misc/Makefile                         |   2 +-
 drivers/misc/imx8/scu_api.c                   |  78 ++++
 drivers/misc/{sentinel => imx_ele}/Makefile   |   2 +-
 .../s400_api.c => imx_ele/ele_api.c}          | 333 ++++++++++++------
 .../{sentinel/s4mu.c => imx_ele/ele_mu.c}     |  38 +-
 drivers/misc/{sentinel => imx_ele}/fuse.c     |  40 +--
 .../power/domain/imx8-power-domain-legacy.c   |   9 +-
 include/firmware/imx/sci/rpc.h                |  27 +-
 include/firmware/imx/sci/sci.h                |  24 ++
 include/firmware/imx/sci/svc/misc/api.h       |  42 ++-
 include/firmware/imx/sci/svc/pm/api.h         |  94 +++++
 include/firmware/imx/sci/svc/rm/api.h         |  14 +-
 include/firmware/imx/sci/svc/seco/api.h       |   5 +-
 include/firmware/imx/sci/svc/timer/api.h      |  33 ++
 include/fsl_sec.h                             |   4 +-
 include/imx_sip.h                             |   6 +-
 61 files changed, 1446 insertions(+), 587 deletions(-)
 create mode 100644 arch/arm/include/asm/mach-imx/ahab.h
 rename arch/arm/include/asm/mach-imx/{s400_api.h => ele_api.h} (74%)
 rename drivers/misc/{sentinel => imx_ele}/Makefile (71%)
 rename drivers/misc/{sentinel/s400_api.c => imx_ele/ele_api.c} (50%)
 rename drivers/misc/{sentinel/s4mu.c => imx_ele/ele_mu.c} (85%)
 rename drivers/misc/{sentinel => imx_ele}/fuse.c (84%)
 create mode 100644 include/firmware/imx/sci/svc/timer/api.h

-- 
2.40.0



More information about the U-Boot mailing list