2013-11-13 01:54 AM
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. 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-stm324f2014-07-27 06:21 AM
2014-11-16 06:46 AM
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-stm32f42. If that means emcraft has a usb driver for stm32f4 under uclinux, thenwe can modify u-boot trying to boot uclinux from a USB thumb drive?regards,Paul,2017-02-01 10:09 AM
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 alot2017-02-02 02:51 AM
Hi
sefidgar.mehdi
,It should be better to create a new thread in which you describe exactly your needs.
Khouloud
2018-03-12 03:08 AM
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
2018-03-12 05:19 AM
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=90MHzBoard: STM32429-DISCO board + STM-MEM add-on,Rev 2.ADRAM: 8 MBUsing default environmentBut nothing else.
On the board's display I see last message 'root login on ttyS2'.