Looks like it is not integrated with the latest HAL change since broadcasted months ago.

Let me try to resolve this – Hope it is the last platform not synced with the latest HAL change.

 

/Ken

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of chris.brand--- via TF-M
Sent: Thursday, November 11, 2021 5:53 AM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Musca B1 SE build broken?

 

Hi,

 

I’m trying to build Musca B1 SE (as part of my work to create a new ns_agent_mailbox partition), and it seems that it has been missed in some HAL API changes:

spm/libtfm_spm.a(backend_ipc.o): In function `ipc_system_run':

…/secure_fw/spm/ffm/backend_ipc.c:132: undefined reference to `tfm_hal_update_boundaries'

spm/libtfm_spm.a(spm_ipc.o): In function `tfm_spm_init':

…/secure_fw/spm/cmsis_psa/spm_ipc.c:643: undefined reference to `tfm_hal_bind_boundaries'

spm/libtfm_spm.a(spm_ipc.o): In function `do_schedule':

…/secure_fw/spm/cmsis_psa/spm_ipc.c:694: undefined reference to `tfm_hal_update_boundaries'

spm/libtfm_spm.a(static_load.o): In function `load_irqs_assuredly':

…/secure_fw/spm/cmsis_psa/static_load.c:195: undefined reference to `tfm_hal_irq_enable'

…/secure_fw/spm/cmsis_psa/static_load.c:198: undefined reference to `tfm_hal_irq_disable'

spm/libtfm_spm.a(psa_api.o): In function `tfm_spm_partition_psa_eoi':

…/secure_fw/spm/ffm/psa_api.c:830: undefined reference to `tfm_hal_irq_clear_pending'

…/secure_fw/spm/ffm/psa_api.c:831: undefined reference to `tfm_hal_irq_enable'

spm/libtfm_spm.a(psa_api.o): In function `tfm_spm_partition_irq_enable':

…/secure_fw/spm/ffm/psa_api.c:858: undefined reference to `tfm_hal_irq_enable'

spm/libtfm_spm.a(psa_api.o): In function `tfm_spm_partition_irq_disable':

…/secure_fw/spm/ffm/psa_api.c:876: undefined reference to `tfm_hal_irq_disable'

spm/libtfm_spm.a(tfm_core_svcalls_ipc.o): In function `tfm_flih_prepare_depriv_flih':

…/secure_fw/spm/cmsis_psa/tfm_core_svcalls_ipc.c:137: undefined reference to `tfm_hal_update_boundaries'

spm/libtfm_spm.a(tfm_core_svcalls_ipc.o): In function `tfm_flih_return_to_isr':

…/secure_fw/spm/cmsis_psa/tfm_core_svcalls_ipc.c:170: undefined reference to `tfm_hal_update_boundaries'

 

Chris Brand

 

Cypress Semiconductor (Canada), Inc.

An Infineon Technologies Company

Sr Prin Software Engr

CSCA CSS ICW SW PSW 1

Office: +1 778 234 0515

Chris.Brand@infineon.com

 

International Place 13700

V6V 2X8 Richmond

Canada

 

www.infineon.com  www.cypress.com  Discoveries  Facebook  Twitter  LinkedIn

 

Part of your life. Part of tomorrow.

 

NOTICE: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material of Infineon Technologies AG and its affiliated entities which is for the exclusive use of the individual designated above as the recipient. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact immediately the sender by returning e-mail and delete the material from any computer. If you are not the specified recipient, you are hereby notified that all disclosure, reproduction, distribution or action taken on the basis of this message is prohibited.