Skip to main content
Associate III
Oct 25, 2024 22:16 UTC
Solved

Installing the x86_64 SDK

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

This topic has been closed for replies.
gbm
gbmBest answer
Super User
Oct 26, 2024 05:36 UTC

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

3 replies

gbm
gbmBest answer
Super User
Oct 26, 2024 05:36 UTC

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
Oct 28, 2024 15:07 UTC

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
Oct 29, 2024 11:16 UTC

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".