Skip to main content
Visitor II
November 4, 2020
Solved

stm32wrapper4dbg not found when compile TF-A

  • November 4, 2020
  • 2 replies
  • 1042 views

I executed the following command in linux system:

make -f Makefile.sdk all TF_A_CONFIG=trusted FTA_DEVICETREE=stm32mp15c-ev1

but there is the following fault information:

/bin/sh: 22: stm32wrapper4dbg: not found

I have a try to install it, this is not successful. (sudo spt-get install stm32wrapper4dbg)

How to fix this question?

0693W000005AGsJQAW.png

    This topic has been closed for replies.
    Best answer by OlivierK

    Hello DXian (Community Member)

    Using the latest available image (openSTLinux 2.0.0), no issues on my side.

    Have you correctly installed the SDK and sourced the SDK env?

    stm32wrapper4dbg is found here <STM32MPU-Release-20-06-24>/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/bin/stm32wrapper4dbg

    Generate /home/osboxes/Desktop/working/STM32MPU-Release-20-06-24/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/tf-a-stm32mp-2.2.r1-r0/tf-a-stm32mp-2.2.r1/../build/trusted/tf-a-stm32mp157c-ev1.stm32

    Image Type  : ST Microelectronics STM32 V1.0

    Image Size  : 241728 bytes

    Image Load  : 0x2ffc2500

    Entry Point : 0x2ffd6000

    Checksum    : 0x00e4ce4c

    Option    : 0x00000001

    Version   : 0x00000000

    Building stm32mp1

    make[1]: Leaving directory '/home/osboxes/Desktop/working/STM32MPU-Release-20-06-24/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/tf-a-stm32mp-2.2.r1-r0/tf-a-stm32mp-2.2.r1'

    Image Type  : ST Microelectronics STM32 V1.0

    Image Size  : 241784 bytes

    Image Load  : 0x2ffc2500

    Entry Point : 0x2fffd541

    Checksum    : 0x00e4e4e7

    Option      : 0x00000001

    Version     : 0x00000000

    Halt Address : 0x2ffd6000

    2 replies

    OlivierKAnswer
    Technical Moderator
    November 17, 2020

    Hello DXian (Community Member)

    Using the latest available image (openSTLinux 2.0.0), no issues on my side.

    Have you correctly installed the SDK and sourced the SDK env?

    stm32wrapper4dbg is found here <STM32MPU-Release-20-06-24>/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/bin/stm32wrapper4dbg

    Generate /home/osboxes/Desktop/working/STM32MPU-Release-20-06-24/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/tf-a-stm32mp-2.2.r1-r0/tf-a-stm32mp-2.2.r1/../build/trusted/tf-a-stm32mp157c-ev1.stm32

    Image Type  : ST Microelectronics STM32 V1.0

    Image Size  : 241728 bytes

    Image Load  : 0x2ffc2500

    Entry Point : 0x2ffd6000

    Checksum    : 0x00e4ce4c

    Option    : 0x00000001

    Version   : 0x00000000

    Building stm32mp1

    make[1]: Leaving directory '/home/osboxes/Desktop/working/STM32MPU-Release-20-06-24/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/tf-a-stm32mp-2.2.r1-r0/tf-a-stm32mp-2.2.r1'

    Image Type  : ST Microelectronics STM32 V1.0

    Image Size  : 241784 bytes

    Image Load  : 0x2ffc2500

    Entry Point : 0x2fffd541

    Checksum    : 0x00e4e4e7

    Option      : 0x00000001

    Version     : 0x00000000

    Halt Address : 0x2ffd6000

    DXianAuthor
    Visitor II
    November 18, 2020

    Thanks for your reply. I will re-install all software.