Devaraj Ranganna
6e899b3cc9
TF-M patch/workaround related to (TF-M issue #T240)
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
The issue is fixed by TF-M team. However they autogenerate region details
(code, ro, rw, zi and stack ) using linker scripts and in mbed-os we
also autogenerate region details but using mix of service definition in
json file and other template files.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:58:19 +01:00
Devaraj Ranganna
9a5110561a
TF-M patch: Remove secure_fw/core/tfm_func_api.c which is required only
...
when TFM_PSA_API is not set
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:23:26 +01:00
Devaraj Ranganna
cb748c5608
TF-M patch: Change #if TFM_PSA_API to #ifdef TFM_PSA_API to avoid
...
compiler errors as mbed-cli only generates "-D" macros only for
"macros" defined in targets.json
TF-M task link: https://developer.trustedfirmware.org/T396
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:23:26 +01:00
Michael Schwarcz
910a402ce6
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
(cherry picked from commit 280715f9b7
)
2019-06-06 16:08:34 +01:00
Michael Schwarcz
35938a4071
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
(cherry picked from commit 9c1e080e39
)
2019-06-06 16:08:33 +01:00
Michael Schwarcz
795e6418d0
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
(cherry picked from commit 5d41a2aeae
)
2019-06-06 16:08:33 +01:00
Michael Schwarcz
11bff3f3cb
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
(cherry picked from commit 185d2865da
)
(cherry picked from commit fb068d2cb4
)
2019-06-06 14:49:41 +01:00
Devaraj Ranganna
b0fe59df00
[trusted-firmware-m]: Updated to e7efdc6
2019-06-06 14:47:00 +01:00
Kevin Bracey
65e0887ef3
Permit non-TrustZone ARMv8 build
...
Change the heuristic for selection of CMSE in the tools python, so that
a non-TrustZone ARMv8 build can happen.
Ideally we would have more direct flagging in the targets, but this
refines the heuristic so the necessary behaviour can be easily
achieved.
* DOMAIN_NS=1 is based purely on the `-NS` suffix on the core name.
* Enabling CMSE in the compiler and outputting a secure import library
is now enabled when the core doesn't have an `-NS` suffix by either
the target label `TFM` being present or the flag `trustzone` being set.
This covers the existing ARMv8-M behaviour - TF-M builds have the TFM
label, as per its documentation; M2351 secure builds have no explicit
flagging, so we ensure that the M2351_NS target has the trustzone flag
set, and the out-of-tree secure target inherits that.
2019-05-03 13:36:38 +03:00
Alexander Zilberkant
ab01bea46d
Delete autogenerated files
2019-04-30 14:10:23 +03:00
Oren Cohen
5342015bb1
TF-M patch: Add necessary include in tfm_ns_lock.h
2019-04-28 15:45:06 +03:00
Michael Schwarcz
ea81bf91c9
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T236
(cherry picked from commit 008bf1b2d1
)
2019-04-28 15:45:06 +03:00
Michael Schwarcz
280715f9b7
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
2019-04-28 15:45:05 +03:00
Michael Schwarcz
78ed870287
TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
(cherry picked from commit fc78640559
)
2019-04-28 15:45:05 +03:00
Michael Schwarcz
9c1e080e39
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
2019-04-28 15:45:05 +03:00
Michael Schwarcz
5d41a2aeae
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-04-28 15:45:04 +03:00
Michael Schwarcz
fb068d2cb4
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
(cherry picked from commit 185d2865da
)
2019-04-28 15:45:04 +03:00
Oren Cohen
ae6bdc311c
[trusted-firmware-m]: Updated to f2dea5b
2019-04-28 13:14:35 +03:00
Michael Schwarcz
5a9dff2e04
TF-M patch: Fix tfm_memory_check issue (TF-M issue #224 )
...
- Add Secure/non-secure code and secure heap to memory check
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-04-10 14:20:56 +03:00
Michael Schwarcz
3badc126cf
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T236
(cherry picked from commit 008bf1b2d1
)
2019-04-10 14:20:56 +03:00
Michael Schwarcz
ad8ddd8e6e
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
2019-04-10 14:20:56 +03:00
Michael Schwarcz
f0e4583b72
TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
(cherry picked from commit fc78640559
)
2019-04-10 14:20:56 +03:00
Michael Schwarcz
3fbc73e046
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
2019-04-10 14:20:56 +03:00
Michael Schwarcz
e89c1a68ce
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-04-10 14:20:56 +03:00
Michael Schwarcz
185d2865da
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
2019-04-10 14:20:56 +03:00
Oren Cohen
4e6ed2bb46
[trusted-firmware-m]: Updated to 0101fd37
2019-04-10 14:20:56 +03:00
Oren Cohen
268b48c2e5
Run autogen
2019-03-28 10:40:56 +02:00
Michael Schwarcz
134a169e35
TF-M patch: Handle extended stack frame in tfm_svcall_psa_call
...
- Fix failing attestation test on LPC55S69
- Link to bug tracking: https://developer.trustedfirmware.org/T276
2019-03-11 11:10:14 +02:00
Michael Schwarcz
14aa347040
TF-M config: Add max_ns_thread_count parameter
2019-03-07 12:18:19 +02:00
Michael Schwarcz
730e9b83b7
TF-M: Increase TFM_SPM_MAX_ROT_SERV_NUM from 30 to 32
2019-03-06 16:43:09 +02:00
Martin Kojtal
5c24ffefa4
Merge pull request #9915 from kfnta/tfm_import_new
...
Update TF-M sources
2019-03-04 10:53:12 +01:00
Michael Schwarcz
7a2c7d7df4
TF-M patch: Fix tfm_memory_check issue (TF-M issue #224 )
...
- Add Secure/non-secure code and secure heap to memory check
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-03-03 16:47:53 +02:00
Michael Schwarcz
749faa6534
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T236
(cherry picked from commit 008bf1b2d1
)
2019-03-03 16:47:47 +02:00
Michael Schwarcz
8a087a6504
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
2019-03-03 16:47:41 +02:00
Michael Schwarcz
ea8bff57b1
TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
(cherry picked from commit fc78640559
)
2019-03-03 16:47:34 +02:00
Michael Schwarcz
03dbd4bb28
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
2019-03-03 16:47:28 +02:00
Michael Schwarcz
87f22efcb5
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-03-03 16:47:22 +02:00
Michael Schwarcz
71cd34df32
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
2019-03-03 16:47:17 +02:00
Michael Schwarcz
823e5a2a7f
[trusted-firmware-m]: Updated to f876e5c
2019-03-03 16:47:11 +02:00
Oren Cohen
cfb60ec955
Fixes
...
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz
8fefa25a84
TF-M: Remove not-used platform headers
2019-03-03 10:55:47 +02:00
Michael Schwarcz
b62c48977f
Review fixes
2019-03-03 10:55:46 +02:00
Michael Schwarcz
f9fbd6ae82
Align PSA SPM tests to TF-M
2019-03-03 10:55:42 +02:00
Edison Ai
ebc961dab8
TF-M patch: Free connection handle in psa_reply (TF-M issue #263 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T263
2019-02-25 14:35:21 +02:00
Michael Schwarcz
d2c433ccfe
TFM Importer: Update SHAa of TFM patches
2019-02-21 17:42:56 +02:00
Oren Cohen
8800ad5c80
TFM: Add defines to mbed_lib.json
2019-02-21 17:38:30 +02:00
Michael Schwarcz
6354b9a473
TF-M patch: More fixes to tfm_memory_check issue (TF-M issue #224 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-02-21 17:38:30 +02:00
Michael Schwarcz
6a90da42fa
Add BSD3-clause license file to TF-M folder
2019-02-19 16:29:28 +02:00
Michael Schwarcz
9e33f0d8cd
Re-generate TF-M partition files
2019-02-19 15:19:07 +02:00
Alexander Zilberkant
0ba963acfc
Adding TF-M integration guide
2019-02-19 15:19:05 +02:00