ARM-software / tf-issues

Issue tracking for the ARM Trusted Firmware project
37 stars 16 forks source link

stm32mp157c-dk2 error in configuring TRUSTED_BOARD_BOOT #709

Closed zhengtf0963 closed 3 months ago

zhengtf0963 commented 3 years ago

I am trying to configure the arm trusted firmware of the stm board, but when I place TRUSTED_BOARD_BOOT=1 \GENERATE_COT=1 \, the compilation will fail, and the error code is as follows: /home/tflgr/stm32_test/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd: ./build/stm32mp1/debug/bl2/bl2_main.o: in functionbl2_main': /home/tflgr/stm32_test/trusted-firmware-a/bl2/bl2_main.c:90: undefined reference to auth_mod_init' /home/tflgr/stm32_test/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd: ./build/stm32mp1/debug/bl2/bl_common.o: in functionload_auth_image_recursive': /home/tflgr/stm32_test/trusted-firmware-a/common/bl_common.c:178: undefined reference to auth_mod_get_parent_id' /home/tflgr/stm32_test/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd: /home/tflgr/stm32_test/trusted-firmware-a/common/bl_common.c:193: undefined reference toauth_mod_verify_img' Makefile:1053: recipe for target 'build/stm32mp1/debug/bl2/bl2.elf' failed make[1]: *** [build/stm32mp1/debug/bl2/bl2.elf] Error 1

`

ssg-bot commented 3 years ago

Hello @zhengtf0963!

Thank you for raising an issue for Trusted Firmware-A.

The TF-A project has now migrated to www.trustedfirmware.org. This issue tracker will still remain accessible for some time, but only for historical reasons. From now on you should raise new issues on trustedfirmware.org.

If it is a query or a design discussion it is better discussed via the mailing list. If it is issue/bug which need to be tracked, raise an issue in the issue tracking board and also send an email to the mailing list to notify the TF-A community.

How do I raise issues for TF-A?

Please use our new issue tracking board. For this you just need to login with your existing GitHub account. We also have a guide to help you raise the issue with the appropriate labels and tags. This way it will be easier for both you and us to track and address the issue most effectively.

We are looking forward to seeing you in trustedfirmware.org!

The Trusted Firmware-A team

Yann-lms commented 3 years ago

Hello @zhengtf0963,

Several features are not supported in upstream TF-A for STM32MP1 platform. You should check STMicroelectronics github repo: https://github.com/STMicroelectronics/arm-trusted-firmware

Best regards, Yann

Yann-lms commented 3 months ago

The support of Trusted Boot for STM32MP1 has been merged in this series: https://review.trustedfirmware.org/q/topic:%22stm32mp1-trusted-boot%22 And is integrated since TF-A v2.8.