2023-07-11 04:35 AM
Hello
In the new version of Yocto release mickedore, SIGN_TOOL variable needs to be specified to sign TF-A binary which should corresponds to STM32CubeProgrammer signing tool https://wiki.st.com/stm32mpu/wiki/Signing_tool
Practically, how can we set the the variable to the STM32CubeProgrammer signing tool? Is there a Yocto recipe native that include this tool?
Thanks
Solved! Go to Solution.
2023-08-11 01:49 AM
Hello @syedelec ,
Great, thanx for the update.
I will check with Yocto team how we could provide a such solution.
Thank your for your feedback ! :)
Kind regards,
Erwan.
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
2023-08-09 04:01 AM
Any update?
2023-08-09 04:59 AM
Hello @syedelec ,
Really sorry for the delay of this answer.
Indeed we just have seen that the wiki page were not well updated for the new release, we will fix it ASAP when expert will come back from summer break.
Concerning the SIGN_TOOL, you have a such way to do it. If you already have cubeProgramer installed on your PC, you can point on the binary of SigningTool placed inside, such as:
SIGN_TOOL = "signingtool/x86_64-linux/bin/STM32MP_SigningTool_CLI"
I hope it well help you to go forward.
Kind regards,
Erwan.
2023-08-10 04:56 AM
Thank you for your reply!
Unfortunately I am building in a machine where I cannot run graphical application, so I cannot install cubeProgramer which, from my understanding, is not installable using command line.
Is there a way to statically compile the STM32MP_SigningTool_CLI ? So that it can easily integrate in our meta?
Thanks
2023-08-10 07:10 AM
Hello @syedelec ,
OK and no possibility to install it on another laptop and just copy the installed folder ?
Kind regards,
Erwan.
2023-08-11 01:14 AM
This is what I did for the moment, thanks!
In the long term it would be great to be able to integrate only the STM32MP_SigningTool_CLI tool in our meta to avoid installing the whole cubeProgramer for only using one tool and also to have a standalone meta not depending on external tools. Is this something you plan to do in the near future?
Thanks
2023-08-11 01:49 AM
Hello @syedelec ,
Great, thanx for the update.
I will check with Yocto team how we could provide a such solution.
Thank your for your feedback ! :)
Kind regards,
Erwan.
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.