Skip to main content
Explorer
July 11, 2023
Solved

Yocto mickledore SIGN_TOOL

  • July 11, 2023
  • 2 replies
  • 3172 views

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?

https://github.com/STMicroelectronics/meta-st-stm32mp/blob/mickledore/recipes-bsp/trusted-firmware-a/tf-a-stm32mp.inc#L296

Thanks

 

    This topic has been closed for replies.
    Best answer by Erwan SZYMANSKI

    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.

    2 replies

    syedelecAuthor
    Explorer
    August 9, 2023

    Any update?

    Technical Moderator
    August 9, 2023

    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.

    syedelecAuthor
    Explorer
    August 10, 2023

    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

    Technical Moderator
    August 10, 2023

    Hello @syedelec ,
    OK and no possibility to install it on another laptop and just copy the installed folder ? 

    Kind regards,
    Erwan.