mbox series

[0/3] arm-bsp/trusted-firmware-m: Switch to TF-M BL1 and fix

Message ID 20230419165422.15990-1-emekcan.aras@arm.com
Headers show
Series arm-bsp/trusted-firmware-m: Switch to TF-M BL1 and fix | expand

Message

Emekcan Aras April 19, 2023, 4:54 p.m. UTC
From: Emekcan Aras <emekcan.aras@arm.com>

Integrates TF-M BL1 into corstone1000 platform. This needs a large
changeset since it changes how TF-M builds and packs the bl1 image.
It also adds changes to make the new BL1 compatible with GPT parser
changes. And finally it bumps to SHA to include necessary changes and fixes
on TFM master and removes already upstreamed GPT patches. It also fixes few 
issues about applying out-of-tree patches for tfm external projects for 
Corstone1000.


Emekcan Aras (3):
  arm-bsp/trusted-firmware-m: apply patches correctly from external
    repos
  arm-bsp/trusted-firmware-m: Switch to TF-M BL1 in Corstone1000
  arm-bsp/corstone1000: add OTP config for fvp

 .../conf/machine/corstone1000-fvp.conf        |    1 +
 ...-corstone1000-Introduce-IO-framework.patch | 1354 -----------------
 ...-sure-to-write-fwu-metadata-to-repl.patch} |    2 +-
 ...ne1000-Add-IO-test-in-ci_regressions.patch |  646 --------
 ...1000-get-fwu-and-private-metadata-f.patch} |    2 +-
 ...stone1000-Add-soft-crc32-calculation.patch |  171 ---
 ...orstone1000-Add-watchdog_reset_timer.patch |   47 +
 ...one1000-Replace-MCUBOOT-BL1-by-TFM-s.patch | 1034 +++++++++++++
 ...orstone1000-calculate-metadata-crc32.patch |   89 --
 ...e1000-Replace-MCUBOOT-BL1-by-TFM-s-B.patch |  202 +++
 ...e1000-fwu-metadata_read-validate-crc.patch |   99 --
 ...stone1000-Add-common-platform-logger.patch |  125 --
 ...rm-corstone1000-Reorganize-bl2-files.patch |   61 +
 ...rstone1000-Fix-linker-script-comment.patch |   47 +
 ...rm-corstone1000-Introduce-GPT-parser.patch |  735 ---------
 ...e1000-BL1-changes-to-adapt-to-new-fl.patch |  337 ----
 ...e1000-Fix-linkerscripts-copyright-ye.patch |   39 +
 ...orm-corstone1000-BL2-uses-GPT-layout.patch |  411 -----
 ...e1000-fix-flash-reading-issue-for-fi.patch |   38 +
 ...e1000-Adds-compiler-flags-to-FWU-age.patch |  273 ++++
 ...tone1000-flash_layout-simplification.patch |  103 --
 ...ne1000-adjust-PS-asset-configuration.patch |   29 +
 .../files/corstone1000/rwx.patch              |   25 +
 .../trusted-firmware-m-1.7.0-corstone1000.inc |   55 +-
 24 files changed, 1838 insertions(+), 4087 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0001-Platform-corstone1000-Introduce-IO-framework.patch
 rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0011-corstone1000-make-sure-to-write-fwu-metadata-to-repl.patch => 0001-Platform-corstone1000-make-sure-to-write-fwu-metadata-to-repl.patch} (94%)
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0002-Platform-corstone1000-Add-IO-test-in-ci_regressions.patch
 rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0012-Platform-Corstone1000-get-fwu-and-private-metadata-f.patch => 0002-Platform-corstone1000-get-fwu-and-private-metadata-f.patch} (99%)
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0003-Platform-corstone1000-Add-soft-crc32-calculation.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0003-Platform-corstone1000-Add-watchdog_reset_timer.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0004-Platform-corstone1000-Replace-MCUBOOT-BL1-by-TFM-s.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0004-Platform-corstone1000-calculate-metadata-crc32.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0005-Platform-corstone1000-Replace-MCUBOOT-BL1-by-TFM-s-B.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0005-Platform-corstone1000-fwu-metadata_read-validate-crc.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0006-Platform-corstone1000-Add-common-platform-logger.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0006-Platform-corstone1000-Reorganize-bl2-files.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0007-Platform-corstone1000-Fix-linker-script-comment.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0007-Platform-corstone1000-Introduce-GPT-parser.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0008-Platform-corstone1000-BL1-changes-to-adapt-to-new-fl.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0008-Platform-corstone1000-Fix-linkerscripts-copyright-ye.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-Platform-corstone1000-BL2-uses-GPT-layout.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-Platform-corstone1000-fix-flash-reading-issue-for-fi.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0010-Platform-corstone1000-Adds-compiler-flags-to-FWU-age.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0010-Platform-corstone1000-flash_layout-simplification.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0011-Platform-corstone1000-adjust-PS-asset-configuration.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/rwx.patch

Comments

Jon Mason April 19, 2023, 11:39 p.m. UTC | #1
On Wed, 19 Apr 2023 17:54:19 +0100, emekcan.aras@arm.com wrote:
> Integrates TF-M BL1 into corstone1000 platform. This needs a large
> changeset since it changes how TF-M builds and packs the bl1 image.
> It also adds changes to make the new BL1 compatible with GPT parser
> changes. And finally it bumps to SHA to include necessary changes and fixes
> on TFM master and removes already upstreamed GPT patches. It also fixes few
> issues about applying out-of-tree patches for tfm external projects for
> Corstone1000.
> 
> [...]

Applied, thanks!

[1/3] arm-bsp/trusted-firmware-m: apply patches correctly from external repos
      commit: 323362f682f327ca83c94a34a3e53d1f2bdd85ac
[2/3] arm-bsp/trusted-firmware-m: Switch to TF-M BL1 in Corstone1000
      commit: 524203dc17fe6d2cb63e1a6b4abbcf4dda845acc
[3/3] arm-bsp/corstone1000: add OTP config for fvp
      commit: f54a9f37eb285f27d9823abb076b85000e45f9aa

Best regards,