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-stm324f2013-12-18 12:38 AM
It is not necessary to process romfs.bin file before flashing. You should use ''STM32 ST-LINK Utility'' for flashing. It is run on windows.
2013-12-18 09:53 PM
Hi TMK,
How to build romfs.bin ?2013-12-19 01:23 PM
Hi TMK
Problem is old Ubuntu (version 10). I update Ubuntu to version 12.04. Mkimage is working fine :)2013-12-21 12:27 PM
Hi TMK,
Thanks for your project!! I have attached a few scripts to automatically download and builds your projects under Ubuntu 04LTS - this creates a functional image that I have tested. (The script downloads, builds and install any and all required tools) The compiled code works! Flashing Under Linux only works if the user USB is not connected when flashing ________________ Attachments : build_uclinux.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzYo&d=%2Fa%2F0X0000000bNo%2F0LQdn1QdQAtZFOBzR1fbtSPHdciUI53.zdzhk8T8lk0&asPdf=false2013-12-24 02:59 AM
thanks mike. It is very usefull :)
2014-01-03 01:55 PM
Hi Tmk.
Thank you very much.2014-01-04 10:11 AM
2014-01-04 10:56 AM
Hi friends,
I have created busybox repos and added sample config file. You can check https://github.com/robutest/busybox.git2014-01-04 05:59 PM
@tmk
Thanks for the awesome level of support you're providing here.2014-01-06 07:10 PM