Skip to main content
Associate III
October 25, 2024
Solved

Installing the x86_64 SDK

  • October 25, 2024
  • 1 reply
  • 1215 views

Hello, I am trying to install the SDK to work on the STM32MPU257F-EV1 Development board and I followed the instructions for the x86_64 Architecture, however when I use the command echo $ARCH it says the architecture is arm64? Is that what should be displaying? I feel like it should be x86_64 right? Thanks!

 

Carson

Best answer by gbm

In order to work on projects for STM32MP, which is ARM-based, you need to install tools for ARM target. You are installing these tools on x86-64 architecture host, I assume. The tools report target architecture, so everything looks correct.

1 reply

gbm
gbmBest answer
Principal
October 26, 2024

In order to work on projects for STM32MP, which is ARM-based, you need to install tools for ARM target. You are installing these tools on x86-64 architecture host, I assume. The tools report target architecture, so everything looks correct.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
CarsonAuthor
Associate III
October 28, 2024

So when I am installing the SDK, I should still be installing the en.sdk-x86_64-stm32mp2-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.tar.gz because that is my host architecture, but it will still make an ARM64 SDK because that is the target architecture of the board?

Ozone
Principal
October 29, 2024

Yes.

The "arm" variant of of the SDK is for ARM-based host systems like e.g. the Raspberry Pi.
The target architecture is always "arm64".