2026-03-09 11:24 PM
Hi!
I am working on the STM32MP257F-DK board for a robotics project. For this, I want to map some of the GPIO to M33 in order to control the motors while the Linux of the A35 will run the ROS software. From what I understood is follows:
How to achieve it I am not sure and I am unable to do it. I went through the STM resources but I am finding it quite confusing.
I have installed the Developer-Package, Distribution-Package and Starter-Package as given in following documents:
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-A35/Install_the_SDK https://wiki.st.com/stm32mpu/wiki/STM32MPU_Distribution_Package#Installing_the_OpenSTLinux_distribution https://wiki.st.com/stm32mpu/wiki/Example_of_directory_structure_for_Packages
I successfully used OpenAMP with the default starter image and managed to send messages, but that ELF is not working on the image I compiled using BitBake. Also, even tough I installed these software correctly, I am not able to use "Setup OpenSTLinux". It does nothing when I press it. The Preferences/STM32Cube/OpenSTLinux SDK Manager does detect the version though. (My PC: Ubuntu 24.04 LTS and CubeIDE Version: 2.0.0).
My working directory tree output:
STM32MPU-Ecosystem-v6.2.0/
├── Developer-Package
│ ├── SDK
│ ├── STM32Cube_FW_MP2_V1.1.0
│ ├── STM32Cube_FW_MP2_V1.3.0
│ ├── stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18
│ └── stm32mp-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18
├── Distribution-Package
│ ├── build-openstlinuxweston-stm32mp2
│ └── layers
└── Starter-Package
└── stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18I managed to compile the default image by instructions using the distribution package, but I am unsure how can I modify the device tree there.
My questions are now:
Just for little background, I am quite new to this mpu system and I don't have prior experience with yocto. I have experience with microcontroller programming and desktop linux tough.
Thanks in advance!
2026-04-03 2:52 AM
Can you please share logs you can get when you test your ELF generated with Bitbake ?
Thanks
Olivier