Skip to main content
Apill
Associate III
August 20, 2019
Question

How can I dump/install linux OS in STM32 boards? Tool chains necessary for it

  • August 20, 2019
  • 5 replies
  • 2242 views

I have STM32F4 discovery kit, Keil trail version with 32KByte code size limit, I am interested in knowing how can i install Linux OS in stm32 discoveryF4 board? and I would like to know the following:

  1. with tool chain I have( Keil trail vesion) is it possible to install linux OS? currently i cannot license MDK professional or any other licences.
  2. can stm32f4 suffice my requirement or Do i need a higher end version of board like stm32f7?
This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
August 20, 2019

uCLinux​ perhaps.

Look at the MP1 series​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Ozone
Principal
August 20, 2019

uCLinux only.

A proper Linux requires a MMU, which no Cortex M has.

You won't get happy with a 32k-limited test version of a toolchain in this case, though.

Tesla DeLorean
Guru
August 20, 2019

The OS would do what in this context?

If the 32KB of Keil is limiting, perhaps you could just use a GNU/GCC based toolset.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Apill
ApillAuthor
Associate III
August 21, 2019

hi clive, will stm32 cube ide work in my case ?

Rami Rosenbaum
Associate II
September 26, 2019

Hi,

I'm thinking on testing Linux on STM32 as well.

The size-limit license will not help, but KEIL/IWARM won't as well, as the kernel is a GCC/Makefile project... the tools are free!

Is uCLinux maintained? I think it's stuck on Linux 2.6 - isn't it?

Mainstream kernel.org has a stm32_defconfig and stm32429i-eval.dts, umong other DTSs.