-
Notifications
You must be signed in to change notification settings - Fork 3k
Some build issues with PSA_Target on M2351 #9699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ARMmbed/mbed-os-psa Why are you adding But the current PSA solution in Please see Future-Sequana PSA targets for reference for the current dual-core PSA target configuration, but again it is relevant only to dual core. |
Re-check NuMaker-mbed-TZ-secure-example/mbed_app.json, CPU core is changed to secure target "target_overrides": {
"*": {
"platform.stdio-baud-rate": 9600,
"platform.stdio-convert-newlines": true
},
"NUMAKER_PFM_M2351": {
"target.core": "Cortex-M23",
"target.inherits": ["NUMAKER_PFM_M2351"],
"target.device_has_remove": ["TRNG", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "STDIO_MESSAGES"],
|
The secure side build process is completely different than regular mbed-os build. There will be no no Mbed-OS running in the secure side at all, only TF-M and specific drivers will be built, you can look at TF-M integration guide from #9653 with instructions on how to port a new target with TF-M to Mbed-OS (note that this guide is still a work-in-progress). |
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-863 |
Checking #9221, it seems that I need to specify source paths through For the duplicate
MUSCA_A1 neither has its CMSIS pack integrated into mbed-os nor defines |
I think the issue was addressed on master. Now we can configure and build both secure and non-secure images for V8-M target. @ccli8 - is this issue still relevant for you? If not, can we close it? |
@alzix I re-check and find all the issues are fixed on master. Thanks for your information. |
Environment
NuMaker-mbed-TZ-secure-example
b996816 Update to mbed-os 5.10.2
mbed-os
709e6ff Merge pull request #9600 from kjbracey-arm/atomic_exchange_64
Description
I am adding
PSA_Target
support into NUMAKER_PFM_M2351 target and meet some issues with build tool. To re-produce the build issues, I make the following draft modifications. The compile process will fail, but this modification is just to show the build issues.Add
SPE_Target
into inheritance list of NUMAKER_PFM_M2351 in mbed-os/targets/target.json:Override
target.secure-rom-start
and like symbols in NuMaker-mbed-TZ-secure-example/mbed_app.json:Compile by running under NuMaker-mbed-TZ-secure-example:
mbed compile -m NUMAKER_PFM_M2351 -t ARMC6
And meet some issues:
MBED_ROM_START
and like symbols are duplicated (see BUILD/NUMAKER_PFM_M2351/ARMC6/.profile-ld).mbed_app.json
is not consumed implicitly.PSA_SECURE_ROM_START
and like symbols are not listed in BUILD/NUMAKER_PFM_M2351/ARMC6/mbed_config.h. This error disappears if I specify--app-config mbed_app.json
explicitly instead:mbed compile -m NUMAKER_PFM_M2351 -t ARMC6 --app-config mbed_app.json
.mbedignore
doesn't work. For example, LoRa related files are listed in .mbedignore, but they are still added into compile list.Issue request type
The text was updated successfully, but these errors were encountered: