cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 custom board, linux build tutorial

jaehoon
Associate

Is there a tutorial for newbie? I made my custom board by myself as hobby.

KakaoTalk_20250304_223414540.jpgKakaoTalk_20250304_223414540_01.jpgKakaoTalk_20250304_223414540_02.jpgKakaoTalk_20250304_223414540_03.jpg

the board has switches to select boot 0 and boot 1, boot 2 is tied to ground through 10k resistor. so I could implement boot selector that switches between `00` flashing mode, `01` serial NOR, `10` NAND, `11` eMMC on SDMMC2. and I tested the MPU could run as DFU mode and I could see it in Cube Programmer tool.

but I can not get understood how can I flash linux to my board

exactly, I could build linux using yocto but, where should I put my DTS files that generated by Cube IDE?

I'm under WSL2 environment to build yocto. unfortunately, I'm not expert of linux kernel :(

 

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @jaehoon ,

Doing such a project as hobby is really impressive! 

Main documentation point is our wiki : 

stm32mpu 

Seems you don't experiment with one ST evaluation board. It would really help. 

Be aware that Yocto build is not fully support on WSL2. We really recommand to use a Linux station. 

Before to flash it's mandatory to build binary suited to your hardware

You can consider these articles 

FAQ: STM32MP1 How to bring up STM32MP1 - STMicroelectronics Community

FAQ: STM32MPUs: How to create a device tree adapte... - STMicroelectronics Community 

How to compile the device tree with the Distribution Package - stm32mpu 

Hope it help 

Olivier 

 

 

 

 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.