Skip to main content
Associate
April 1, 2025
Solved

Linux on STM32 microcontroller ?

  • April 1, 2025
  • 3 replies
  • 1149 views

Dear Sir,

Please, answer

What STM32 microcontrollers allows install Linux OS ? I need microcontroller such as STM32F407VET6. 

TIA 

Vladimir Naumenkov

 

Best answer by Andrew Neil

None of them - you need a micro-processor for that.

See the STM32MP range:

https://www.st.com/en/microcontrollers-microprocessors/stm32-arm-cortex-mpus.html

https://wiki.st.com/stm32mpu

 

Note that there's a separate forum section for MPU topics:

https://community.st.com/t5/stm32-mpus/ct-p/stm32-mpus

 

3 replies

Andrew Neil
Andrew NeilBest answer
Super User
April 1, 2025

None of them - you need a micro-processor for that.

See the STM32MP range:

https://www.st.com/en/microcontrollers-microprocessors/stm32-arm-cortex-mpus.html

https://wiki.st.com/stm32mpu

 

Note that there's a separate forum section for MPU topics:

https://community.st.com/t5/stm32-mpus/ct-p/stm32-mpus

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Vo1Author
Associate
April 1, 2025

Dear Andrew,

Thank you,

Vladimir Naumenkov

Ozone
Principal
April 1, 2025

> What STM32 microcontrollers allows install Linux OS ? I need microcontroller such as STM32F407VET6. 

None, really. At least for the example MCU you have given.
The Cortex M0 ... M7 - including ST's - all lack the MMU and thus virtual memory to run a proper Linux.

ST has a range of Cortex A devices (STM32MPxxx) for that purpose.

However, there are several ucLinux variants you can try.
I had e.g. experimented successfully with NuttX on STM32s, Atmel and TI devices (mostly Cortex M4). 

Uwe Bonnes
Chief
April 1, 2025

You can run a minimal and modified linux on f427:

http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/

Andrew Neil
Super User
April 1, 2025

@Uwe Bonnes wrote:

You can run a minimal and modified linux on f427:


NO!

That's about using Linux as the development Host - it's not about installing linux on the STM32F4 !

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Uwe Bonnes
Chief
April 1, 2025

Wrong link, use e.g. https://github.com/i25ffz/uclinux-stm32f4

 

I had once linux boot up od Disco-F42x...