cancel
Showing results for 
Search instead for 
Did you mean: 

Installing the x86_64 SDK

Carson
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
gbm
Lead III

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

View solution in original post

3 REPLIES 3
gbm
Lead III

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
Carson
Associate III

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?

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