diff options
author | Xinyu Zhang <xinyu.zhang@arm.com> | 2022-12-23 17:11:22 +0800 |
---|---|---|
committer | Xinyu Zhang <xinyu.zhang@arm.com> | 2022-12-23 10:31:56 +0100 |
commit | ab9d1eaf5dd3b28b783718e178934a691d5aa71f (patch) | |
tree | dda2bd3ee9f530f9ba02888ece5646184763cb1f /run-build.sh | |
parent | 0ef15bab04f6445b0750f047f8c6fedfa27f9642 (diff) |
Build: Update build configs to enable RAM FS on MUSCA B1 and STM
TF-M configs ITS_RAM_FS & PS_RAM_FS is now controlled by header file.
The one in CMake does not work any more. This patch uses two TF-M
patches to update the RAM FS settings in TF-M for MUSCA B1 and STM32.
This patch also enable OTP_NV_COUNTERS_RAM_EMULATION for MUSCA B1, to
avoid MCUBOOT using flash when doing OTP.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I1e4b6d2f0ce84ae640d516ca6b677f19c14fd1f4
Diffstat (limited to 'run-build.sh')
-rwxr-xr-x | run-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/run-build.sh b/run-build.sh index 0e24813..ecc10ce 100755 --- a/run-build.sh +++ b/run-build.sh @@ -57,6 +57,10 @@ if [ "$cnt" != "0" ] ; then cd - fi +cd trusted-firmware-m +git apply ../tf-m-ci-scripts/build_helper/platform_settings/*.patch +cd - + rm -rf trusted-firmware-m/build mkdir trusted-firmware-m/build cd trusted-firmware-m/build |