cancel
Showing results for 
Search instead for 
Did you mean: 

uCLinux on STM32F429I-DISCO

tmkaran
Associate II
Posted on November 13, 2013 at 10:54

Hi everybody,

I was very happy to see uCLinux port for Cortex-M4 and my favorite MCU STM32. This well done job was achieved by emcraft. So I wonder that is it possible to run uCLinux on my new toy STM32F429I-DISCO? I have started for it and some u-boot and kernel patching I finished my first job. You must known that code execution from SDRAM on STM32F4 much slower than from FLASH (~6x times slower). So in fact this core is not suitable code execution from SDRAM. But maybe you don't have any chance so you can accept this penalty. 

Than I modified the kernel to load romfs from flash, simple frame buffer driver, u-boot patching for SDRAM and LCD init functions. You can try and decide for yourself. This is boot-up and simple framebuffer demo video. 

http://youtu.be/avbnkhvZrVo

Emcraft original source git is https://github.com/EmcraftSystems (not including STM32F429I-DISCO board drivers)

Sample image attached to the post. This image contains u-boot, kernel and romfs. 

The serial console is USART3 and PC10->MCU TX, PC11->MCU RX. Don't forget that this interface has TTL levels.

#usart #stm32-uclinux-u-boot #usb-driver-p19-stm324f
65 REPLIES 65
thanhnhi
Associate II
Posted on July 27, 2014 at 15:21

Hi

We can port it from mbed code source:

https://mbed.org/users/va009039/code/F401RE-USBHost/

tang
Associate
Posted on November 16, 2014 at 15:46

Hi tmk,

1. Is this what we need?

Using USB WiFi with USB High Speed (HS) on STM32F4 under uClinux

http://www.emcraft.com/som/stm32f4/usb-wifi-stm32f4

2. If that means emcraft has a usb driver for stm32f4 under uclinux, then

we can modify u-boot trying to boot uclinux from a USB thumb drive?

regards,

Paul,

mehdi2399
Associate II
Posted on February 01, 2017 at 19:09

Hey guys

I used this topic and related folders in github and now uclinux is running on my DISCO board.

I need to install SNMP-V3 on uc linu. what is the next step and how can I do this?

thanks alot
Posted on February 02, 2017 at 10:51

Hi

sefidgar.mehdi

,

It should be better to create a new thread in which you describe exactly your needs.

Khouloud

Posted on March 12, 2018 at 10:08

Hello Mike, I managed to build uclinux using your script and flash it to the board. It comes up with a message 'root login on ttyS2'. I tried to connect USB to TTL converter to pins PC10 and PC11 but I get nothing in minicom. Do you know where might be the problem? Thanks, Vaclav

Posted on March 12, 2018 at 12:19

OK, after reset I see this in console:

U-Boot 2010.03 (Kas 12 2013 - 22:12:55)

CPU  : STM32F4 (Cortex-M4)

Freqs: SYSCLK=180MHz,HCLK=180MHz,PCLK1=45MHz,PCLK2=90MHz

Board: STM32429-DISCO board + STM-MEM add-on,Rev 2.A

DRAM:   8 MB

Using default environment

But nothing else.

On the board's display I see last message 'root login on ttyS2'.