Skip to main content
PS.2
Associate III
October 4, 2022
Question

Is there any custom Linux image available for STM32MP1 based SoM ?

  • October 4, 2022
  • 4 replies
  • 2625 views

Hi @Community member​ ,

Is there any common Linux image available for accelerating STM32MP1 based SoM, irrespective of eMMC (JEDEC Version 5.0/5.1 Complying) & DDR3 manufacturer.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
October 4, 2022

Which SOM?

Pins and Parts presumably do matter..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
PS.2
PS.2Author
Associate III
October 5, 2022

A custom build SOM using STM32MP1 Chipset.

Yeah, It matters but there should be a combined bundled Linux Distro for all.

PatrickF
Technical Moderator
November 16, 2022

Hi @PS.2​ 

Usually, SOM maker provide tailored SW deliveries to their HW (e.g. using Yocto).

Otherwise, see wiki, e.g. those pages:

https://wiki.st.com/stm32mpu/wiki/How_to_configure_U-Boot_for_your_board

https://wiki.st.com/stm32mpu/wiki/How_to_create_your_board_device_tree

https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_image

Regards.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

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.NEW ! Sidekick STM32 AI agent, see here
info
Associate II
November 17, 2022

I find using buildroot the easiest way to create a linux system you can customize. Use the 2020.08 branch. It is the last to use basic boot using SPL and UBOOT so the security stuff does not get in your way. Uses Kernel 5.7.10.

I used this for a custom PCB using STM32MP157C based on DK2. Chucked all device support out of the system except MMC, USB and GPU/LTDC - handling all other hardware directly in my own driver without Linux knowing about it. Boots in 3 seconds currently - can probably speed that up further. Fast boot is needed for our application.

Buildroot is easy to use and quite fast (once you have the first compilation done). Makes you a nice SD card image you can flash straight to a card. It just works.